NaCl: Call __nacl_main in preference to main.
[glibc.git] / ChangeLog
blob8230149d4a29a09e3978fe6b03c7f92e5ddac546
1 2015-08-25  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4         if the weak reference is not null.
6 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8         [BZ #18796]
9         * scripts/test-installation.pl: Don't add -lmvec to build options
10         if libmvec wasn't built.
11         * NEWS: Mention this fix.
13 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15         [BZ #18778]
16         * elf/Makefile (tests): Add Add tst-nodelete2.
17         (modules-names): Add tst-nodelete2mod.
18         (tst-nodelete2mod.so-no-z-defs): New.
19         ($(objpfx)tst-nodelete2): Likewise.
20         ($(objpfx)tst-nodelete2.out): Likewise.
21         (LDFLAGS-tst-nodelete2): Likewise.
22         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
23         out of loop through all loaded libraries.
24         * elf/tst-nodelete2.c: New file.
25         * elf/tst-nodelete2mod.c: Likewise.
27 2015-08-10  Andreas Schwab  <schwab@suse.de>
29         [BZ #18781]
30         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31         MORE_OFLAGS to oflag.
32         * io/test-lfs.c (do_test): Test openat64.
34 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
36         [BZ #18787]
37         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
38         clobber registers.
39         (atomic_compare_and_exchange_val_acq): Use register asms to assign
40         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
41         Cast return to __typeof (oldval).
43 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
45         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
46         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
47         and delete sys/syscall.h include.
49 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
51         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
53 2015-08-05  Zack Weinberg  <zackw@panix.com>
55         * misc/regexp.h: Update comments.
57 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
59         * version.h (RELEASE): Set to "stable".
60         (VERSION): Set to "2.22"
61         * include/features.h (__GLIBC_MINOR__): Set to 22.
63 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
65         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
66         Restructure macro to avoid "value computed is not used" warning.
67         (atomic_compare_and_exchange_val_acq): Likewise.
69 2015-08-04  Andreas Schwab  <schwab@suse.de>
71         [BZ #18635]
72         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
73         ret.
74         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
76 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
78         * po/pl.po: Updated translation.
79         * po/uk.po: Likewise.
80         * po/fi.po: Likewise.
81         * po/ko.po: Likewise.
82         * po/ru.po: Likewise.
83         * po/vi.po: Likewise.
85 2015-07-31  Zack Weinberg  <zackw@panix.com>
87         [BZ #18681]
88         * regexp.h: Add unconditional #warning stating that this header
89         will be removed soon.  Revise banner comment to match.
90         (compile): Consistently use ERROR instead of RETURN to report
91         errors (partial fix for bz#18681).
92         * regexp.c: Don't include regexp.h. Remove some unnecessary
93         declarations.
95 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
97         * po/libc.pot: Regenerated.
99 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
101         [BZ #18740]
102         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
103         float-vlen4-arch-ext-cflags): Removed.
104         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
105         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
107 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
109         [BZ #14113]
110         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
111         aligned to __aligned__.
112         (pthread_cond_t, pthread_rwlock_t): Likewise.
114 2015-07-30  Torvald Riegel  <triegel@redhat.com>
116         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
118 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
120         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
121         (struct sigaction): Change sa_flags from a long to an int, and add
122         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
124 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
126         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
127         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
128         sysdeps/generic/sysdep.h include.
129         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
130         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
131         sysdeps/hppa/sysdep.h.
132         (ENTRY, PSEUDO): Undefine before defining.
134 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
136         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
137         from scratch to use INTERNAL_SYSCALL.
139 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
141         [BZ #18078]
142         * scripts/check-localplt.awk: Support alternate relocations.
143         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
144         sections.
145         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
146         malloc entries with + REL R_386_GLOB_DAT.
147         * sysdeps/x86_64/localplt.data: New file.
149 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
151         [BZ #18731]
152         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
153         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
154         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
156 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
158         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
160 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
162         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
163         directly in terms of __sync_fetch_and_add and delete (int) cast.
165 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
167         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
168         the -D_ASM_IA64_CURRENT_H flag.
170 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
172         [BZ #18641]
173         * pwd/pwd.h (putpwent): Delete __nonnull markings.
175 2015-07-27  Andreas Schwab  <schwab@suse.de>
177         * conform/conformtest.pl (checknamespace): Filter out string
178         literals while tokenizing.
180 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
182         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
183         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
184         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
186 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
188         * nptl/tst-join7mod.c: Add #include <string.h>.
190 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
192         * sysdeps/nios2/libm-test-ulps: Update.
194 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
196         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
197         Fix order of arguments to the rt_sigprocmask syscall.
198         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
199         Likewise.
201 2015-07-24  Roland McGrath  <roland@hack.frob.com>
203         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
205 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
207         [BZ #18457]
208         * nptl/Makefile (tests): New test case tst-join7.
209         (modules-names): New test case module tst-join7mod.
210         * nptl/tst-join7.c: New file.
211         * nptl/tst-join7mod.c: New file.
212         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
213         all translation units in libc.so, libpthread.so and rtld.
215 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
219 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
223         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
224         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
225         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
229         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
230         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
233         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
234         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
236         implementation.
238 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
240         [BZ #17711]
241         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
242         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
243         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
244         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
245         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
246         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
248 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
250         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
251         instead of just saying load lock in the comments.
253 2015-07-23  Roland McGrath  <roland@hack.frob.com>
255         * sysdeps/unix/Subdirs: Moved ...
256         * sysdeps/posix/Subdirs: ... here.
257         * login/pty.h (struct termios, struct winsize): Add forward decls.
258         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
259         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
260         * sysdeps/arm/nacl/libc.abilist: Updated.
261         * sysdeps/nacl/libutil.abilist: New file.
263         * bits/signum.h: Update comments to mention 1003.1-2013 too.
264         (SIGWINCH): New macro.
266         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
267         * sysdeps/arm/nacl/libc.abilist: Add it.
269 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
271         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
273 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
275         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
276         Swap __glibc_reserved0 and sa_flags order.
278 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
280         [BZ #18657]
281         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
282         are pending TLS destructor calls.
283         * include/link.h (struct link_map): Add concurrency note for
284         L_TLS_DTOR_COUNT.
285         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
286         Don't touch the link map flag.  Atomically increment
287         l_tls_dtor_count.
288         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
289         Avoid taking the load lock and don't touch the link map flag.
290         * stdlib/tst-tls-atexit-nodelete.c: New test case.
291         * stdlib/Makefile (tests): Use it.
292         * stdlib/tst-tls-atexit.c (do_test): dlopen
293         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
294         to allow tst-tls-atexit-nodelete test case to use it.
296 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
298         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
299         to bits/types.h.
300         (msgqnum_t): New typedef.
301         (msglen_t): Likewise.
302         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
303         and msg_qbytes type to msglen_t.
305 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
307         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
308         pad0 to __glibc_reserved0.
309         (struct stat64): Likewise.
311 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
313         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
314         Change sa_flags from a long to an int and add __glibc_reserved0 before
315         it for padding.
317 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
319         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
320         anonymous by deleting "siginfo" name.
322 2015-07-21  Roland McGrath  <roland@hack.frob.com>
324         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
325         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
326         rather than __nacl_irt_filename.
327         * sysdeps/nacl/xstat.c (__xstat): Likewise.
329         * NEWS: New item for arm-nacl port.
330         * sysdeps/arm/nacl/libc.abilist: New file.
331         * sysdeps/nacl/ld.abilist: New file.
332         * sysdeps/nacl/libBrokenLocale.abilist: New file.
333         * sysdeps/nacl/libanl.abilist: New file.
334         * sysdeps/nacl/libcrypt.abilist: New file.
335         * sysdeps/nacl/libdl.abilist: New file.
336         * sysdeps/nacl/libm.abilist: New file.
337         * sysdeps/nacl/libpthread.abilist: New file.
338         * sysdeps/nacl/libresolv.abilist: New file.
339         * sysdeps/nacl/librt.abilist: New file.
341 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
343         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
344         __startcontext to initialize the new context.
345         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
346         up CFI directive to forbid further backtracing.
348 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
350         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
351         reference.
352         * charmaps/ANSI_X3.4-1968: Likewise.
353         * charmaps/BS_4730: Likewise.
354         * charmaps/BS_VIEWDATA: Likewise.
355         * charmaps/CP1250: Likewise.
356         * charmaps/CP1251: Likewise.
357         * charmaps/CP1252: Likewise.
358         * charmaps/CP1253: Likewise.
359         * charmaps/CP1254: Likewise.
360         * charmaps/CP1255: Likewise.
361         * charmaps/CP1256: Likewise.
362         * charmaps/CSN_369103: Likewise.
363         * charmaps/EBCDIC-DK-NO: Likewise.
364         * charmaps/GB_1988-80: Likewise.
365         * charmaps/GREEK-CCITT: Likewise.
366         * charmaps/GREEK7: Likewise.
367         * charmaps/INIS-8: Likewise.
368         * charmaps/ISIRI-3342: Likewise.
369         * charmaps/ISO_2033-1983: Likewise.
370         * charmaps/ISO_5427-EXT: Likewise.
371         * locales/POSIX: Likewise.
372         * locales/ar_SA: Likewise.
373         * locales/be_BY: Likewise.
374         * locales/be_BY@latin: Likewise.
375         * locales/ca_ES: Likewise.
376         * locales/cs_CZ: Likewise.
377         * locales/da_DK: Likewise.
378         * locales/de_BE: Likewise.
379         * locales/de_CH: Likewise.
380         * locales/de_LU: Likewise.
381         * locales/en_AU: Likewise.
382         * locales/en_BW: Likewise.
383         * locales/en_CA: Likewise.
384         * locales/en_DK: Likewise.
385         * locales/en_GB: Likewise.
386         * locales/en_IE: Likewise.
387         * locales/en_NZ: Likewise.
388         * locales/en_ZA: Likewise.
389         * locales/en_ZW: Likewise.
390         * locales/es_AR: Likewise.
391         * locales/es_BO: Likewise.
392         * locales/es_CL: Likewise.
393         * locales/es_CO: Likewise.
394         * locales/es_DO: Likewise.
395         * locales/es_EC: Likewise.
396         * locales/es_ES: Likewise.
397         * locales/es_HN: Likewise.
398         * locales/es_MX: Likewise.
399         * locales/es_PA: Likewise.
400         * locales/es_PE: Likewise.
401         * locales/es_PY: Likewise.
402         * locales/es_SV: Likewise.
403         * locales/es_US: Likewise.
404         * locales/es_UY: Likewise.
405         * locales/es_VE: Likewise.
406         * locales/et_EE: Likewise.
407         * locales/fa_IR: Likewise.
408         * locales/fo_FO: Likewise.
409         * locales/fr_CA: Likewise.
410         * locales/fr_CH: Likewise.
411         * locales/gv_GB: Likewise.
412         * locales/he_IL: Likewise.
413         * locales/hr_HR: Likewise.
414         * locales/id_ID: Likewise.
415         * locales/is_IS: Likewise.
416         * locales/it_CH: Likewise.
417         * locales/iw_IL: Likewise.
418         * locales/kl_GL: Likewise.
419         * locales/ko_KR: Likewise.
420         * locales/kw_GB: Likewise.
421         * locales/lg_UG: Likewise.
422         * locales/lt_LT: Likewise.
423         * locales/lv_LV: Likewise.
424         * locales/mi_NZ: Likewise.
425         * locales/nhn_MX: Likewise.
426         * locales/nl_BE: Likewise.
427         * locales/pl_PL: Likewise.
428         * locales/sk_SK: Likewise.
429         * locales/sl_SI: Likewise.
430         * locales/sv_FI: Likewise.
431         * locales/tl_PH: Likewise.
432         * locales/tr_TR: Likewise.
433         * locales/vi_VN: Likewise.
435 2015-07-21  Khem Raj  <raj.khem@gmail.com>
437         [BZ #17475]
438         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
439         of tu_IN and bh_IN.
441 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
443         [BZ #18694]
444         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
445         bits/wordsize.h.
446         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
448 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
450         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
451         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
452         (spawn_thread): New function.
453         (load): Rename to reg_dtor_and_close.  Move dlopen to...
454         (do_test): ... here.  Use IS_LOADED to test for its
455         availability.
457 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
459         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
461 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
463         [BZ #18696]
464         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
465         si_addr_bnd.
466         (si_lower): New.
467         (si_upper): Likewise.
469 2015-07-16  David S. Miller  <davem@davemloft.net>
471         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
473 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
475         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
476         buffer.
477         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
478         fail output information.
480 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
483         and strstr-ppc64..
484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
485         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
486         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
487         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
488         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
490 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
492         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
493         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
494         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
495         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
497 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
499         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
500         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
501         rtld_hidden_proto.
502         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
504 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
506         * tst-nodelete-opened.c (do_test): Add comment to clarify how
507         the test can fail.
509         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
511         [BZ #18676]
512         * elf/tst-nodelete-opened.c: New test case.
513         * elf/tst-nodelete-opened-lib.c: New test case module.
514         * elf/Makefile (tests, modules-names): Use them.
515         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
516         early.
518 2015-07-15  David S. Miller  <davem@davemloft.net>
520         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
521         futex-intenal.h
522         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
523         * sysdeps/sparc/sparc64/Makefile: Likewise.
524         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
525         Remove space from macro define.
526         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
528 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
530         [BZ #17475]
531         * locale/iso-639.def: Update Bhili and Tulu language codes as
532         per iso639-3.
534 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
536         * elf/tst-leaks1.c (main): Converted to ...
537         (do_test): ... this.
538         (TEST_FUNCTION): New macro.
539         Include test-skeleton.c.
540         * localedata/tst-langinfo.c (main): Converted to ...
541         (do_test): ... this.
542         (TEST_FUNCTION): New macro.
543         Include test-skeleton.c.
544         * math/test-fpucw.c (main): Converted to ...
545         (do_test): ... this.
546         (TEST_FUNCTION): New macro.
547         Include test-skeleton.c.
548         * math/test-tgmath.c (main): Converted to ...
549         (do_test): ... this.
550         (TEST_FUNCTION): New macro.
551         Include test-skeleton.c.
552         * math/test-tgmath2.c (main): Converted to ...
553         (do_test): ... this.
554         (TEST_FUNCTION): New macro.
555         Include test-skeleton.c.
556         * setjmp/tst-setjmp.c (main): Converted to ...
557         (do_test): ... this.
558         (TEST_FUNCTION): New macro.
559         Include test-skeleton.c.
560         * stdio-common/tst-sscanf.c (main): Converted to ...
561         (do_test): ... this.
562         (TEST_FUNCTION): New macro.
563         Include test-skeleton.c.
564         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
565         (do_test): ... this.
566         (TEST_FUNCTION): New macro.
567         Include test-skeleton.c.
569         * elf/tst-audit9.c (main): Converted to ...
570         (do_test): ... this.
571         (TEST_FUNCTION): New macro.
572         Include test-skeleton.c.
574 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
576         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
578 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
580         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
581         New variable.
583 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
585         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
587 2015-07-14  Roland McGrath  <roland@hack.frob.com>
589         * sysdeps/generic/dl-fileid.h: New file.
590         * sysdeps/posix/dl-fileid.h: New file.
591         * sysdeps/nacl/dl-fileid.h: New file.
592         * include/link.h: Include <dl-fileid.h>.
593         (struct link_map): Replace l_dev and l_ino with l_file_id.
594         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
595         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
596         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
598 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
600         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
602 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
604         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
605         Add iff $CXX is set.
606         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
607         Likewise.
608         (tst-nodelete-zmodiff): Likewise.
609         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
611 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
613         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
615 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
617         * sysdeps/aarch64/fpu/math_private.h
618         (define math_opt_barrier): Add AArch64 version.
619         (math_force_eval): Likewise.
621 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
623         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
625 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
627         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
628         %ld with %jd and cast to intmax_t.
629         (do_test_length_zero): Likewise.
631 2015-07-10  Roland McGrath  <roland@hack.frob.com>
633         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
635 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
637         * sysdeps/tile/libm-test-ulps: Regenerated.
639         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
640         Comment out the whole function, not just its body.
642 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
644         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
645         locks.
647         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
649 2015-07-10  Torvald Riegel  <triegel@redhat.com>
651         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
652         (sem_assume_only_signals_cause_futex_EINTR): Remove.
654 2015-07-10  Torvald Riegel  <triegel@redhat.com>
656         * sysdeps/nptl/futex-internal.h: New file.
657         * sysdeps/nacl/futex-internal.h: New file.
658         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
659         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
660         error checking.
661         (setxid_unmark_thread): Likewise.
662         (__nptl_setxid): Likewise.
663         (__wait_lookup_done): Likewise.
664         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
665         * nptl/nptl-init.c (sighandler_setxid): Likewise.
666         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
667         * nptl/pthread_once.c (clear_once_control): Likewise.
668         (__pthread_once_slow): Likewise.
669         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
670         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
671         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
672         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
673         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
674         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
675         Likewise.
676         (__pthread_rwlock_rdlock): Likewise.
677         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
678         Likewise.
679         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
680         Likewise.
681         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
682         Likewise.
683         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
684         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
685         Likewise.
686         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
687         __ASSUME_PRIVATE_FUTEX check.
688         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
689         Check that shared futexes are supported.
690         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
691         wrappers with error checking.
692         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
693         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
694         * nptl/pthread_barrierattr_setpshared.c
695         (pthread_barrierattr_setpshared): Check that shared futexes are
696         supported.
697         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
698         Likewise.
699         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
700         Likewise.
701         * nptl/sem_init.c (futex_private_if_supported): Remove.
702         (__new_sem_init): Adapt and check that shared futexes are supported.
703         * nptl/sem_open.c (sem_open): Likewise.
704         * nptl/sem_post.c (futex_wake): Remove.
705         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
706         (do_futex_wait): Use futex wrappers with error checking.
707         * nptl/sem_wait.c: Include lowlevellock.h.
708         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
709         Use futex_supports_pshared.
710         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
711         Use futex wrappers with error checking.
712         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
713         Likewise.
714         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
715         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
716         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
717         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
718         (futex_wake): Likewise.
719         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
720         (do_futex_wait): Use futex wrappers with error checking.
721         (__new_sem_wait_slow): Update EINTR handling.
722         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
724 2015-07-09  Martin Sebor  <msebor@redhat.com>
726         [BZ #18435]
727         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
728         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
729         * nptl/Makefile (test-xfail-tst-once5): Define.
731 2015-07-09  Roland McGrath  <roland@hack.frob.com>
733         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
734         * elf/dl-minimal.c: For readability, reorder some definitions and
735         introduce more page breaks.  Include <stdio.h>.
736         (__libc_fatal): New function.
738         * include/unistd.h: Add rtld_hidden_proto for _exit.
739         * posix/_exit.c: Add rtld_hidden_def.
740         * sysdeps/mach/hurd/_exit.c: Likewise.
741         * sysdeps/nacl/_exit.c: Likewise.
742         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
743         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
745 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
747         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
748         bndmov encoding with zero displacement.
750 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
751             H.J. Lu  <hongjiu.lu@intel.com>
753         [BZ #18134]
754         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
755         * sysdeps/i386/configure: Regenerated.
756         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
757         (_dl_runtime_profile): Save and restore Intel MPX return bound
758         registers when calling _dl_call_pltexit.  Add
759         PRESERVE_BND_REGS_PREFIX before return.
760         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
761         (LRV_BND1_OFFSET): Likewise.
762         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
763         lrv_bnd1.
764         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
765         typo in bndmov encoding.
766         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
767         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
768         branch instructions to preserve bounds.
770 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
773         [GLIBC_2.22]: Add fmemopen.
775 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
777         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
778         returns an error, also try to use host port from __mach_host_self for
779         the __vm_wire call.
780         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
782 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
784         [BZ #18400]
785         [BZ #18648]
786         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
787         Fix pr_uid and pr_gid members.
788         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
789         definition to elf_greg_t.
791 2015-07-08  Roland McGrath  <roland@hack.frob.com>
793         [BZ #18383]
794         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
795         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
796         * sysdeps/arm/configure: Regenerated.
797         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
798         (test-xfail-tst-tlsalign-static): Variable removed.
800         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
801         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
802         rather than explicit 'ln -s'.
804         * resolv/rpc/netdb.h: New file.
805         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
807 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
809         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
810         length buffers.
811         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
812         test-skeleton.c.
814         [BZ #6544]
815         [BZ #11216]
816         [BZ #12836]
817         [BZ #13151]
818         [BZ #13152]
819         [BZ #14292]
820         * include/stdio.h (fmemopen): Remove hidden prototype.
821         (__fmemopen): Add new hidden prototype.
822         * libio/Makefile: Add oldfmemopen object.
823         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
824         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
825         compliance.
826         * libio/oldfmemopen.c: New file: old fmemopen implementation for
827         symbol compatibility.
828         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
829         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
830         fmemopen.
831         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
832         on append and read mode.
833         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
834         fmemopen.
835         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
836         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
837         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
838         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
839         Likewise.
840         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
841         [GLIBC_2.22]: Likewise.
842         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
843         Likewise.
844         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
845         Likewise.
846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
847         [GLIBC_2.22]: Likewise.
848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
849         [GLIBC_2.22]: Likewise.
850         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
851         [GLIBC_2.22]: Likewise.
852         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
853         [GLIBC_2.22]: Likewise.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
855         [GLIBC_2.22]: Likewise.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
857         [GLIBC_2.22]: Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
859         [GLIBC_2.22]: Likewise.
860         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
861         Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
863         Likewise.
864         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
865         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
866         [GLIBC_2.22]: Likewise.
867         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
868         [GLIBC_2.22]: Likewise.
869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
870         [GLIBC_2.22]: Likewise.
871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
872         [GLIBC_2.22]: Likewise.
873         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
874         Likewise.
875         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
876         Likewise.
877         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
878         Likewise.
879         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
880         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
882 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
884         [BZ #18643]
885         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
886         IPV6_PATHMTU, and IPV6_DONTFRAG.
888 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
890         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
891         and _IO_UNBUFFERED.
892         * libio/oldfileops.c: Likewise.
893         * libio/wfileops.c: Likewise.
895 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
897         * nscd/selinux.c: Delete selinux/flask.h include.
899 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
901         [BZ #18641]
902         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
903         (putpwent): Likewise.
904         (getpwnam): Likewise.
905         (getpwent_r): Likewise.
906         (getpwuid_r): Likewise.
907         (getpwnam_r): Likewise.
908         (fgetpwent_r): Likewise.
910 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
912         [BZ #18557]
913         * inet/rcmd.c (__validuser2_sa): Check user first to
914         short-circuit host check.
916 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
917             Mikhail Ilin  <m.ilin@samsung.com>
919         [BZ #17833]
920         * elf/Makefile (tests): Add tst-nodelete.
921         (modules-names): Add tst-nodelete-uniquemod.
922         (tst-nodelete-uniquemod.so-no-z-defs): New.
923         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
924         (tst-nodelete-zmod.so-no-z-defs): Likewise.
925         ($(objpfx)tst-nodelete): Likewise.
926         ($(objpfx)tst-nodelete.out): Likewise.
927         (LDFLAGS-tst-nodelete): Likewise.
928         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
929         * elf/dl-close.c (_dl_close_worker): Add a parameter to
930         implement forced object deletion.
931         (_dl_close): Pass false to _dl_close_worker.
932         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
933         * elf/tst-nodelete.cc: New file.
934         * elf/tst-nodeletelib.cc: Likewise.
935         * elf/tst-znodeletelib.cc: Likewise.
936         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
938 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
940         [BZ #18508]
941         * stdlib/Makefile ($(objpfx)tst-makecontext3):
942         Depend on $(libdl).
943         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
944         is not called infinitely times.
945         (backtrace_helper): New function.
946         (trace_arg): New struct.
947         (st1): Enlarge stack size.
948         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
949         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
950         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
951         Likewise.
953 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
955         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
957 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
959         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
960         Include sys/types.h instead of bits/types.h.
961         Remove inclusion of bits/wordsize.h.
963 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
965         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
966         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
967         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
968         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
969         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
970         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
972 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
974         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
975         link-defines.sym.
976         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
977         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
978         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
979         and LR_SIZE.
980         * sysdeps/i386/link-defines.sym: New file.
982 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
984         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
985         (modules-names): Add tst-auditmod3a tst-auditmod3b.
986         ($(objpfx)tst-audit3): New rule.
987         ($(objpfx)tst-audit3.out): Likewise.
988         * sysdeps/i386/tst-audit3.c: New file.
989         * sysdeps/i386/tst-audit3.h: Likewise.
990         * sysdeps/i386/tst-auditmod3a.c: Likewise.
991         * sysdeps/i386/tst-auditmod3b.c: Likewise.
993 2015-07-07  Torvald Riegel  <triegel@redhat.com>
995         [BZ #18633]
996         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
997         pointer in C code.
998         (__strcat_c): Likewise.
999         (__strcat_g): Likewise.
1001 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1003         [BZ #18592]
1004         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1006 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1008         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1009         New function.  (__ieee754_sqrtf): New function.
1010         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1011         New function.
1012         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1013         New function.
1015 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1017         * sysdeps/ieee754/support.c: Remove unused file.
1019 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1021         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1022         registers instead of d ones so the layout is kernel abi compatible.
1023         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1024         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1025         Likewise.
1027 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1029         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1031 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1033         [BZ #18619]
1034         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1035         and return argument in case of subnormal argument.
1037 2015-07-01  Martin Sebor  <msebor@redhat.com>
1039         [BZ #18435]
1040         * nptl/Makefile: Add tst-once5.cc.
1041         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1042         Remove macro redefinitions.
1043         * nptl/tst-once5.cc: New test.
1045 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1047         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1049         * sysdeps/arm/libm-test-ulps: Regenerated.
1051         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1052         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1054 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1056         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1057         lll_lock_wait_private and lll_futex_wake probes.
1059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1060         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1061         Likewise.
1062         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1063         atomic_spin_nop.
1064         * sysdeps/x86_64/bits/atomic.h: Likewise.
1065         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1066         to atomic_spin_nop and move ...
1067         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1068         ... here and ...
1069         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1070         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1071         atomic_spin_nop instead of BUSY_WAIT_NOP.
1072         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1073         Likewise.
1074         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1075         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1076         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1077         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1078         instead of atomic_delay.
1080 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1082         [BZ #18613]
1083         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1084         X_ADJ not X when adjusting exponent.
1085         (__ieee754_gamma_r): Do intermediate computations in
1086         round-to-nearest then adjust overflowing and underflowing results
1087         as needed.
1088         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1089         of X_ADJ not X when adjusting exponent.
1090         (__ieee754_gammaf_r): Do intermediate computations in
1091         round-to-nearest then adjust overflowing and underflowing results
1092         as needed.
1093         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1094         log of X_ADJ not X when adjusting exponent.
1095         (__ieee754_gammal_r): Do intermediate computations in
1096         round-to-nearest then adjust overflowing and underflowing results
1097         as needed.  Use 1.0L not 1.0f as numerator of division.
1098         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1099         log of X_ADJ not X when adjusting exponent.
1100         (__ieee754_gammal_r): Do intermediate computations in
1101         round-to-nearest then adjust overflowing and underflowing results
1102         as needed.  Use 1.0L not 1.0f as numerator of division.
1103         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1104         of X_ADJ not X when adjusting exponent.
1105         (__ieee754_gammal_r): Do intermediate computations in
1106         round-to-nearest then adjust overflowing and underflowing results
1107         as needed.  Use 1.0L not 1.0f as numerator of division.
1108         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1109         to auto-libm-test-in.
1110         (tgamma_test): Use ALL_RM_TEST.
1111         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1112         tests of tgamma with spurious-overflow.
1113         * math/auto-libm-test-out: Regenerated.
1114         * math/gen-libm-have-vector-test.sh: Do not check for START.
1115         * sysdeps/i386/fpu/libm-test-ulps: Update.
1116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1118         [BZ #18612]
1119         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1120         arguments, just return 0.5 times the argument, with underflow
1121         forced as needed.
1122         * math/auto-libm-test-in: Add more tests of j1.
1123         * math/auto-libm-test-out: Regenerated.
1125         [BZ #16559]
1126         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1127         (__ieee754_j1): Force underflow exception for small results.
1128         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1129         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1130         (__ieee754_j1f): Force underflow exception for small results.
1131         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1132         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1134         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1135         (__ieee754_j1l): Force underflow exception for small results.
1136         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1137         * math/auto-libm-test-in: Add more tests of j1 and jn.
1138         * math/auto-libm-test-out: Regenerated.
1140         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1141         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1142         (PF_MPLS): Likewise.
1143         (AF_IB): Likewise.
1144         (AF_MPLS): Likewise.
1145         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1146         value and macro.
1147         (MS_RMT_MASK): Include MS_LAZYTIME.
1149 2015-06-26  Mel Gorman  <mgorman@suse.de>
1151         [BZ #18502]
1152         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1153         already minimal.
1155 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1157         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1158         (DT_MIPS_NUM): Update.
1159         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1160         DT_MIPS_RLD_MAP_REL.
1162 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1164         [BZ #16559]
1165         [BZ #18602]
1166         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1167         round-to-nearest internally then recompute results that
1168         underflowed to zero in the original rounding mode.
1169         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1170         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1173         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1174         * sysdeps/i386/fpu/libm-test-ulps: Update.
1175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1179         * NEWS: Fixed description of link with vector math library.
1181 2015-06-25  Andreas Schwab  <schwab@suse.de>
1183         [BZ #18549]
1184         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1185         * libio/test-fmemopen.c (do_test): Add test for it.
1187 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1189         [BZ #17841]
1190         * Makeconfig (no-pie-ldflag): New.
1191         (+link): Set to $(+link-pie) if default to PIE.
1192         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1193         * config.make.in (build-pie-default): New.
1194         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1195         is default.  AC_SUBST.
1196         * configure: Regenerated.
1197         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1199 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1201         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1202         to 'unsigned int'.
1204         * resolv/gai_misc.h (struct waitlist): Change type of field
1205         counterp to 'volatile unsigned int *'.
1206         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1207         FUTEXADDR and OLDVAL.
1208         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1209         Give local variable TOTAL type 'volatile unsigned int'.
1210         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1211         * resolv/gai_suspend.c (gai_suspend):
1212         Give local variable CNTR type 'unsigned int'.
1214         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1215         counterp to 'volatile unsigned int *'.
1216         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1217         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1218         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1219         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1220         Give local variable TOTAL type 'volatile unsigned int'.
1221         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1223 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1225         [BZ #18383]
1226         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1227         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1228         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1229         comment for i386/x86-64.
1230         (test-xfail-tst-tlsalign-extern-static): Removed.
1232 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1234         * math/test-double.h: New file.
1235         * math/test-float.h: Likewise.
1236         * math/test-ldouble.h: Likewise.
1237         * math/test-math-inline.h: Likewise.
1238         * math/test-math-no-inline.h: Likewise.
1239         * math/test-math-scalar.h: Likewise.
1240         * math/test-math-vector.h: Likewise.
1241         * math/test-vec-loop.h: Remove file.  Contents moved into
1242         test-math-vector.h.
1243         * math/libm-test.inc (MATHCONST): Do not document macro.
1244         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1245         and test-math-scalar.h.
1246         (FUNC): Remove macro.
1247         (FUNC_TEST): Likewise.
1248         (FLOAT): Likewise.
1249         (MATHCONST): Likewise.
1250         (PRINTF_EXPR): Likewise.
1251         (PRINTF_XEXPR): Likewise.
1252         (PRINTF_NEXPR): Likewise.
1253         (TEST_DOUBLE): Likewise.
1254         (TEST_MATHVEC): Likewise.
1255         (__NO_MATH_INLINES): Likewise.
1256         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1257         and test-math-scalar.h.
1258         (FUNC): Remove macro.
1259         (FUNC_TEST): Likewise.
1260         (FLOAT): Likewise.
1261         (MATHCONST): Likewise.
1262         (PRINTF_EXPR): Likewise.
1263         (PRINTF_XEXPR): Likewise.
1264         (PRINTF_NEXPR): Likewise.
1265         (TEST_FLOAT): Likewise.
1266         (TEST_MATHVEC): Likewise.
1267         (__NO_MATH_INLINES): Likewise.
1268         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1269         and test-math-scalar.h.
1270         (FUNC): Remove macro.
1271         (FUNC_TEST): Likewise.
1272         (FLOAT): Likewise.
1273         (MATHCONST): Likewise.
1274         (PRINTF_EXPR): Likewise.
1275         (PRINTF_XEXPR): Likewise.
1276         (PRINTF_NEXPR): Likewise.
1277         (TEST_DOUBLE): Likewise.
1278         (TEST_MATHVEC): Likewise.
1279         (TEST_INLINE): Likewise.
1280         (__NO_MATH_INLINES): Likewise.
1281         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1282         test-math-scalar.h.
1283         (FUNC): Remove macro.
1284         (FUNC_TEST): Likewise.
1285         (FLOAT): Likewise.
1286         (MATHCONST): Likewise.
1287         (PRINTF_EXPR): Likewise.
1288         (PRINTF_XEXPR): Likewise.
1289         (PRINTF_NEXPR): Likewise.
1290         (TEST_FLOAT): Likewise.
1291         (TEST_MATHVEC): Likewise.
1292         (TEST_INLINE): Likewise.
1293         (__NO_MATH_INLINES): Likewise.
1294         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1295         and test-math-scalar.h.
1296         (FUNC): Remove macro.
1297         (FUNC_TEST): Likewise.
1298         (FLOAT): Likewise.
1299         (MATHCONST): Likewise.
1300         (PRINTF_EXPR): Likewise.
1301         (PRINTF_XEXPR): Likewise.
1302         (PRINTF_NEXPR): Likewise.
1303         (TEST_LDOUBLE): Likewise.
1304         (TEST_MATHVEC): Likewise.
1305         (TEST_INLINE): Likewise.
1306         (__NO_MATH_INLINES): Likewise.
1307         * math/test-ldouble.c: Include test-ldouble.h,
1308         test-math-no-inline.h and test-math-scalar.h.
1309         (FUNC): Remove macro.
1310         (FUNC_TEST): Likewise.
1311         (FLOAT): Likewise.
1312         (MATHCONST): Likewise.
1313         (PRINTF_EXPR): Likewise.
1314         (PRINTF_XEXPR): Likewise.
1315         (PRINTF_NEXPR): Likewise.
1316         (TEST_LDOUBLE): Likewise.
1317         (TEST_MATHVEC): Likewise.
1318         (__NO_MATH_INLINES): Likewise.
1319         * math/test-double-vlen2.h: Include test-double.h,
1320         test-math-no-inline.h and test-math-vector.h.
1321         (FLOAT): Remove macro.
1322         (FUNC): Likewise.
1323         (MATHCONST): Likewise.
1324         (PRINTF_EXPR): Likewise.
1325         (PRINTF_XEXPR): Likewise.
1326         (PRINTF_NEXPR): Likewise.
1327         (TEST_DOUBLE): Likewise.
1328         (TEST_MATHVEC): Likewise.
1329         (__NO_MATH_INLINES): Likewise.
1330         (CNCT): Likewise.
1331         (CONCAT): Likewise.
1332         (WRAPPER_NAME): Likewise.
1333         (WRAPPER_DECL): Likewise.
1334         (WRAPPER_DECL_ff): Likewise.
1335         (WRAPPER_DECL_fFF): Likewise.
1336         (VECTOR_WRAPPER): Likewise.
1337         (VECTOR_WRAPPER_ff): Likewise.
1338         (VECTOR_WRAPPER_fFF): Likewise.
1339         (VEC_LEN): New macro.
1340         * math/test-double-vlen4.h: Include test-double.h,
1341         test-math-no-inline.h and test-math-vector.h.
1342         (FLOAT): Remove macro.
1343         (FUNC): Likewise.
1344         (MATHCONST): Likewise.
1345         (PRINTF_EXPR): Likewise.
1346         (PRINTF_XEXPR): Likewise.
1347         (PRINTF_NEXPR): Likewise.
1348         (TEST_DOUBLE): Likewise.
1349         (TEST_MATHVEC): Likewise.
1350         (__NO_MATH_INLINES): Likewise.
1351         (CNCT): Likewise.
1352         (CONCAT): Likewise.
1353         (WRAPPER_NAME): Likewise.
1354         (WRAPPER_DECL): Likewise.
1355         (WRAPPER_DECL_ff): Likewise.
1356         (WRAPPER_DECL_fFF): Likewise.
1357         (VECTOR_WRAPPER): Likewise.
1358         (VECTOR_WRAPPER_ff): Likewise.
1359         (VECTOR_WRAPPER_fFF): Likewise.
1360         (VEC_LEN): New macro.
1361         * math/test-double-vlen8.h: Include test-double.h,
1362         test-math-no-inline.h and test-math-vector.h.
1363         (FLOAT): Remove macro.
1364         (FUNC): Likewise.
1365         (MATHCONST): Likewise.
1366         (PRINTF_EXPR): Likewise.
1367         (PRINTF_XEXPR): Likewise.
1368         (PRINTF_NEXPR): Likewise.
1369         (TEST_DOUBLE): Likewise.
1370         (TEST_MATHVEC): Likewise.
1371         (__NO_MATH_INLINES): Likewise.
1372         (CNCT): Likewise.
1373         (CONCAT): Likewise.
1374         (WRAPPER_NAME): Likewise.
1375         (WRAPPER_DECL): Likewise.
1376         (WRAPPER_DECL_ff): Likewise.
1377         (WRAPPER_DECL_fFF): Likewise.
1378         (VECTOR_WRAPPER): Likewise.
1379         (VECTOR_WRAPPER_ff): Likewise.
1380         (VECTOR_WRAPPER_fFF): Likewise.
1381         (VEC_LEN): New macro.
1382         * math/test-float-vlen4.h: Include test-float.h,
1383         test-math-no-inline.h and test-math-vector.h.
1384         (FLOAT): Remove macro.
1385         (FUNC): Likewise.
1386         (MATHCONST): Likewise.
1387         (PRINTF_EXPR): Likewise.
1388         (PRINTF_XEXPR): Likewise.
1389         (PRINTF_NEXPR): Likewise.
1390         (TEST_FLOAT): Likewise.
1391         (TEST_MATHVEC): Likewise.
1392         (__NO_MATH_INLINES): Likewise.
1393         (CNCT): Likewise.
1394         (CONCAT): Likewise.
1395         (WRAPPER_NAME): Likewise.
1396         (WRAPPER_DECL): Likewise.
1397         (WRAPPER_DECL_ff): Likewise.
1398         (WRAPPER_DECL_fFF): Likewise.
1399         (VECTOR_WRAPPER): Likewise.
1400         (VECTOR_WRAPPER_ff): Likewise.
1401         (VECTOR_WRAPPER_fFF): Likewise.
1402         (VEC_LEN): New macro.
1403         * math/test-float-vlen8.h: Include test-float.h,
1404         test-math-no-inline.h and test-math-vector.h.
1405         (FLOAT): Remove macro.
1406         (FUNC): Likewise.
1407         (MATHCONST): Likewise.
1408         (PRINTF_EXPR): Likewise.
1409         (PRINTF_XEXPR): Likewise.
1410         (PRINTF_NEXPR): Likewise.
1411         (TEST_FLOAT): Likewise.
1412         (TEST_MATHVEC): Likewise.
1413         (__NO_MATH_INLINES): Likewise.
1414         (CNCT): Likewise.
1415         (CONCAT): Likewise.
1416         (WRAPPER_NAME): Likewise.
1417         (WRAPPER_DECL): Likewise.
1418         (WRAPPER_DECL_ff): Likewise.
1419         (WRAPPER_DECL_fFF): Likewise.
1420         (VECTOR_WRAPPER): Likewise.
1421         (VECTOR_WRAPPER_ff): Likewise.
1422         (VECTOR_WRAPPER_fFF): Likewise.
1423         (VEC_LEN): New macro.
1424         * math/test-float-vlen16.h: Include test-float.h,
1425         test-math-no-inline.h and test-math-vector.h.
1426         (FLOAT): Remove macro.
1427         (FUNC): Likewise.
1428         (MATHCONST): Likewise.
1429         (PRINTF_EXPR): Likewise.
1430         (PRINTF_XEXPR): Likewise.
1431         (PRINTF_NEXPR): Likewise.
1432         (TEST_FLOAT): Likewise.
1433         (TEST_MATHVEC): Likewise.
1434         (__NO_MATH_INLINES): Likewise.
1435         (CNCT): Likewise.
1436         (CONCAT): Likewise.
1437         (WRAPPER_NAME): Likewise.
1438         (WRAPPER_DECL): Likewise.
1439         (WRAPPER_DECL_ff): Likewise.
1440         (WRAPPER_DECL_fFF): Likewise.
1441         (VECTOR_WRAPPER): Likewise.
1442         (VECTOR_WRAPPER_ff): Likewise.
1443         (VECTOR_WRAPPER_fFF): Likewise.
1444         (VEC_LEN): New macro.
1445         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1446         test-vec-loop.h.
1447         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1449         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1450         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1451         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1455 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1457         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1458         (__getlogin_r): ... this.
1460 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1462         [BZ #18594]
1463         * math/s_ccosh.c (__ccosh): Compare with least normal value
1464         instead of comparing class with FP_SUBNORMAL.
1465         * math/s_ccoshf.c (__ccoshf): Likewise.
1466         * math/s_ccoshl.c (__ccoshl): Likewise.
1467         * math/s_cexp.c (__cexp): Likewise.
1468         * math/s_cexpf.c (__cexpf): Likewise.
1469         * math/s_cexpl.c (__cexpl): Likewise.
1470         * math/s_csin.c (__csin): Likewise.
1471         * math/s_csinf.c (__csinf): Likewise.
1472         * math/s_csinh.c (__csinh): Likewise.
1473         * math/s_csinhf.c (__csinhf): Likewise.
1474         * math/s_csinhl.c (__csinhl): Likewise.
1475         * math/s_csinl.c (__csinl): Likewise.
1476         * math/s_ctan.c (__ctan): Likewise.
1477         * math/s_ctanf.c (__ctanf): Likewise.
1478         * math/s_ctanh.c (__ctanh): Likewise.
1479         * math/s_ctanhf.c (__ctanhf): Likewise.
1480         * math/s_ctanhl.c (__ctanhl): Likewise.
1481         * math/s_ctanl.c (__ctanl): Likewise.
1482         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1483         csin, csinh, ctan and ctanh.
1484         * math/auto-libm-test-out: Regenerated.
1485         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1486         * sysdeps/i386/fpu/libm-test-ulps: Update.
1487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1491         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1492         return value is wrong, print the expected value too.
1494 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1496         [BZ #18585]
1497         * elf/readlib.c (is_gdb_python_file): New.
1498         (process_file): Don't issue errors on filenames with -gdb.py
1499         suffix.
1501 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1503         * math/auto-libm-test-in: Add more tests of csin and csinh.
1504         * math/auto-libm-test-out: Regenerated.
1505         * math/libm-test.inc (csin_test_data): Remove tests moved to
1506         auto-libm-test-in.
1507         (csinh_test_data): Likewise.
1509         [BZ #18593]
1510         * math/s_csin.c (__csin): Negate before rather than after possibly
1511         overflowing multiplication.
1512         * math/s_csinf.c (__csinf): Likewise.
1513         * math/s_csinh.c (__csinh): Likewise.
1514         * math/s_csinhf.c (__csinhf): Likewise.
1515         * math/s_csinhl.c (__csinhl): Likewise.
1516         * math/s_csinl.c (__csinl): Likewise.
1517         * math/auto-libm-test-in: Add some tests of csin and csinh.
1518         * math/auto-libm-test-out: Regenerated.
1519         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1520         (csinh_test_data): Likewise.
1521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1523         [BZ #18586]
1524         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1525         underflow exception for small results.
1527 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1531         variable and included header.
1532         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1534         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1535         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1536         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1537         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1538         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1539         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1540         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1541         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1542         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1543         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1544         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1545         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1546         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1547         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1549 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1551         [BZ #16526]
1552         [BZ #16538]
1553         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1554         (__sin): Force underflow exception for arguments with small
1555         absolute value.
1556         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1557         (__kernel_sinf): Force underflow exception for arguments with
1558         small absolute value.
1559         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1560         (__kernel_sincosl): Force underflow exception for arguments with
1561         small absolute value.
1562         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1563         (__kernel_sinl): Force underflow exception for arguments with
1564         small absolute value.
1565         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1566         (__kernel_sincosl): Force underflow exception for arguments with
1567         small absolute value.
1568         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1569         (__kernel_sinl): Force underflow exception for arguments with
1570         small absolute value.
1571         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1572         (__kernel_sinl): Force underflow exception for arguments with
1573         small absolute value.
1574         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1575         (__kernel_sinf): Force underflow exception for arguments with
1576         small absolute value.
1577         * math/auto-libm-test-in: Add more tests of sin and sincos.
1578         * math/auto-libm-test-out: Regenerated.
1580         [BZ #18245]
1581         [BZ #18583]
1582         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1583         (__kernel_standard_l): Use feholdexcept and fesetenv around
1584         conversion to double instead of special-casing overflow and
1585         underflow.
1586         * math/libm-test.inc (fmod_test_data): Add more tests.
1587         (remainder_test_data): Likewise.
1588         (sqrt_test_data): Likewise.
1590 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1592         [BZ #17403]
1593         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1594         atomic_read_barrier, atomic_write_barrier): Define.
1595         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1596         atomic_read_barrier, atomic_write_barrier): Define.
1598 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1600         * math/Makefile [$(PERL) != no]
1601         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1602         dependency on libm-test.stmp below the inclusion of Rules.
1604 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1607         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1608         and included header.
1609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1611         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1612         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1613         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1614         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1615         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1616         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1617         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1618         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1619         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1620         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1621         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1622         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1623         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1624         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1625         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1626         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1627         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1629 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1631         [BZ #18371]
1632         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1633         intermediate but not final result might underflow.
1634         * math/s_csqrtf.c (__csqrtf): Likewise.
1635         * math/s_csqrtl.c (__csqrtl): Likewise.
1636         * math/auto-libm-test-in: Add more tests of csqrt.
1637         * math/auto-libm-test-out: Regenerated.
1638         * sysdeps/i386/fpu/libm-test-ulps: Update.
1640         [BZ #18219]
1641         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1642         threshold on absolute value of exponent for which scaling is used.
1643         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1644         * math/auto-libm-test-in: Add more tests of exp2.
1645         * math/auto-libm-test-out: Regenerated.
1647 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1649         [BZ #17977]
1650         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1651         when initializing interface list, based on the bug analysis
1652         and the patch proposed by Eric Newton.
1653         * resolv/tst-res_hconf_reorder.c: New test.
1654         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1655         tst-res_hconf_reorder.
1656         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1657         and $(shared-thread-library).
1658         (tst-res_hconf_reorder-ENV): New variable.
1660         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1661         in comment.
1663 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1665         [BZ #16353]
1666         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1667         (__expm1): Force underflow exception for arguments with small
1668         absolute value.
1669         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1670         (__expm1f): Force underflow exception for arguments with small
1671         absolute value.
1672         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1673         (__expm1): Force underflow exception for arguments with small
1674         absolute value.
1675         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1676         (__expm1f): Force underflow exception for arguments with small
1677         absolute value.
1678         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1679         Check for small arguments before calling __expm1.
1680         * math/auto-libm-test-in: Do not mark underflow exceptions as
1681         possibly missing for bug 16353.
1682         * math/auto-libm-test-out: Regenerated.
1684 2015-06-22  Andreas Schwab  <schwab@suse.de>
1686         [BZ #18513]
1687         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1688         PTR queries.
1690 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1692         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1694         * string/strcoll_l.c: Remove unused struct element idxnow.
1696 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1698         [BZ #18569]
1699         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1700         underflow and return argument in case of subnormal argument.
1701         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1702         Likewise.
1703         * math/auto-libm-test-in: Add more tests of expm1.
1704         * math/auto-libm-test-out: Regenerated.
1706         [BZ #16361]
1707         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1708         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1709         tiny results.
1710         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1711         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1712         tiny results.
1713         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1714         mark underflow exceptions as possibly missing for bug 16361.
1715         * math/auto-libm-test-out: Regenerated.
1717 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1719         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1720         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1721         Remove variable.
1722         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1723         (test-xfail-XOPEN2K8/utmpx.h/conform).
1725         * conform/conformtest.pl ($xerrors): New variable.
1726         (note_error): New function.
1727         (compiletest): New argument $xfail.  Use not_error.
1728         (runtest): Likewise.
1729         (top level): Handle xfail- lines.  Update calls to compiletest and
1730         runtest.  Handle xfail- and optional- in headers listed with
1731         allow-header.
1732         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1733         (O_EXEC): Likewise.
1734         (O_SEARCH): Likewise.
1735         * conform/data/stropts.h-data (ioctl): Likewise.
1736         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1737         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1738         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1739         (msghdr.msg_controllen): Likewise.
1740         (cmsghdr.cmsg_len): Likewise.
1741         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1742         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1743         variable.
1744         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1745         (test-xfail-XPG4/stropts.h/conform): Likewise.
1746         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1747         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1748         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1749         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1750         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1751         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1752         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1753         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1754         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1755         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1756         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1757         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1758         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1759         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1760         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1761         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1762         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1763         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1764         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1766 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1768         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1769         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1770         definitions for proper unfolding of __MATHDECL_VEC.
1772 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1774         * benchtests/bench-strcoll.c:
1775         Include string.h.
1776         (main): Remove unused variable res.
1778 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1780         * timezone/Makefile (%/UTC %/Universal):
1781         Generate test-result files for UTC and Universal.
1783 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1785         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1787 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #16350]
1790         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1791         for arguments with small absolute value.
1792         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1793         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1794         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1795         (__asinh): Force underflow exception for arguments with small
1796         absolute value.
1797         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1798         (__asinhf): Force underflow exception for arguments with small
1799         absolute value.
1800         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1801         (__asinhl): Force underflow exception for arguments with small
1802         absolute value.
1803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1804         (__asinhl): Force underflow exception for arguments with small
1805         absolute value.
1806         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1807         (__asinhl): Force underflow exception for arguments with small
1808         absolute value.
1809         * math/auto-libm-test-in: Do not mark underflow exceptions as
1810         possibly missing for bug 16350.
1811         * math/auto-libm-test-out: Regenerated.
1813         * include/bits/ipc.h: Remove file.
1814         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1815         variable.
1816         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1817         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1818         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1819         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1820         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1821         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1822         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1823         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1824         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1826         * math/auto-libm-test-in: Remove spurious underflow allowance for
1827         tests of cexp.
1828         * math/auto-libm-test-out: Regenerated.
1830         [BZ #18558]
1831         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1832         unconditional definition.
1833         (MCAST_BLOCK_SOURCE): Likewise.
1834         (MCAST_UNBLOCK_SOURCE): Likewise.
1835         (MCAST_LEAVE_GROUP): Likewise.
1836         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1837         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1838         (MCAST_MSFILTER): Likewise.
1839         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1840         Remove variable.
1841         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1842         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1843         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1844         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1845         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1847 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1849         * NEWS: Mention addition of x86_64 vector sincosf.
1850         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1851         * math/test-float-vlen4.h: Likewise.
1852         * math/test-float-vlen8.h: Likewise.
1853         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1854         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1855         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1856         * sysdeps/x86_64/fpu/Versions: New versions added.
1857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1858         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1859         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1861         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1862         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1864         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1866         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1867         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1868         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1869         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1870         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1871         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1872         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1873         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1874         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1875         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1876         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1877         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1879         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1880         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1882         * NEWS: Mention addition of x86_64 vector sincos.
1883         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1884         * math/math.h (__MATHDECL_VEC): New macro.
1885         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1886         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1887         declaration under condition.
1888         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1889         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1890         TEST_VEC_LOOP change.
1891         * math/test-double-vlen4.h: Likewise.
1892         * math/test-double-vlen8.h: Likewise.
1893         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1894         * math/test-float-vlen4.h: Likewise.
1895         * math/test-float-vlen8.h: Likewise.
1896         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1897         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1899         * sysdeps/x86_64/fpu/Versions: New versions added.
1900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1902         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1903         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1904         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1905         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1906         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1907         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1908         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1909         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1910         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1911         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1912         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1913         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1914         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1915         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1916         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1917         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1919         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1920         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1921         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1922         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1923         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1927         redirections for powf.
1928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1929         * sysdeps/x86_64/fpu/Versions: New versions added.
1930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1932         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1933         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1934         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1935         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1936         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1937         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1938         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1939         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1940         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1941         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1942         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1943         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1944         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1945         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1946         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1947         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1948         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1949         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1952         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1953         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1954         * math/test-float-vlen16.h: Fixed 2 argument macro.
1955         * math/test-float-vlen4.h: Likewise.
1956         * math/test-float-vlen8.h: Likewise.
1957         * NEWS: Mention addition of x86_64 vector powf.
1959 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1961         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1962         and redefine.
1963         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1964         and redefine.
1965         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1966         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1967         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1969         [BZ #18553]
1970         * resource/getpriority.c (getpriority): Rename to __getpriority
1971         and define as weak alias of __getpriority.
1972         * resource/setpriority.c (setpriority): Rename to __setpriority
1973         and define as weak alias of __setpriority.
1974         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1975         __getpriority and define as weak alias of __getpriority.
1976         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1977         __setpriority and define as weak alias of __setpriority.
1978         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1979         strong name.
1980         (setpriority): Use __setpriority as strong name.
1981         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1982         __getpriority and define as weak alias of __getpriority.
1983         * include/sys/resource.h (__getpriority): Declare.  Use
1984         libc_hidden_proto.
1985         (__setpriority): Likewise.
1986         (getpriority): Don't use libc_hidden_proto.
1987         (setpriority): Likewise.
1988         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1989         getpriority.  Call __setpriority instead of setpriority.
1990         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1991         Remove variable.
1993         [BZ #18547]
1994         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1995         as weak alias of __getttynam.  Use prototype function definition.
1996         Call __setttyent, __getttyent and __endttyent instead of
1997         setttyent, getttyent and endttyent.
1998         (getttyent): Rename to __getttyent and define as weak alias of
1999         __getttyent.  Call __setttyent instead of setttyent.  Call
2000         __fgets_unlocked instead of fgets_unlocked.
2001         (setttyent): Rename to __setttyent and define as weak alias of
2002         __setttyent.
2003         (endttyent): Rename to __endttyent and define as weak alias of
2004         __endttyent.
2005         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2006         (__setttyent): Likewise.
2007         (__endttyent): Likewise.
2008         (getttyent): Don't use libc_hidden_proto.
2009         (setttyent): Likewise.
2010         (endttyent): Likewise.
2011         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2012         __endttyent instead of setttyent, getttyent and endttyent.
2013         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2014         Remove variable.
2016         [BZ #18546]
2017         * socket/recv.c (__recv): Use libc_hidden_def.
2018         * socket/socket.c (__socket): Likewise.
2019         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2020         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2021         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2022         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2023         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2024         libc_hidden_def.
2025         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2026         libc_hidden_weak.
2027         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2028         Use libc_hidden_proto.
2029         (__recv): Likewise.
2030         * socket/Versions (libc): Export __recv and __socket at version
2031         GLIBC_PRIVATE.
2032         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2033         instead of recv.
2034         (init_mq_netlink): Call __socket instead of socket.
2035         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2036         Remove variable.
2038         [BZ #18545]
2039         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2040         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2041         hidden_weak.
2042         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2043         define as alias of __mq_timedsend.  Use hidden_weak.
2044         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2045         __mq_timedsend as strong name.
2046         (mq_timedreceive): Use __mq_timedreceive as strong name.
2047         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2048         (__mq_timedreceive): Likewise.
2049         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2050         __mq_timedreceive instead of mq_timedreceive.
2051         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2052         instead of mq_timedsend.
2053         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2054         Remove variable.
2056         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2057         hidden_def and hidden_weak instead of libc_hidden_def and
2058         libc_hidden_weak.
2059         (top level): Refer to hidden_def in comment.
2060         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2061         macro.  Use it instead of libc_hidden_def.
2062         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2063         specify __GI_* name explicitly.
2064         (mq_timedreceive): Likewise.
2065         (mq_setattr): Likewise.
2067         [BZ #18544]
2068         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2069         __pthread_barrier_init and define as weak alias of
2070         __pthread_barrier_init.
2071         * sysdeps/sparc/nptl/pthread_barrier_init.c
2072         (pthread_barrier_init): Likewise.
2073         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2074         __pthread_barrier_wait and define as weak alias of
2075         __pthread_barrier_wait.
2076         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2077         (pthread_barrier_wait): Likewise.
2078         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2079         (pthread_barrier_wait): Likewise.
2080         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2081         (pthread_barrier_wait): Likewise.
2082         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2083         (pthread_barrier_wait): Likewise.
2084         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2085         __pthread_barrier_wait at version GLIBC_PRIVATE.
2086         * include/pthread.h (__pthread_barrier_init): Declare.
2087         (__pthread_barrier_wait): Likewise.
2088         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2089         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2090         (helper_thread): Likewise.
2091         (init_mq_netlink): Call __pthread_barrier_init instead of
2092         pthread_barrier_init.
2094         [BZ #18542]
2095         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2096         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2097         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2098         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2099         vswscanf.
2100         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2101         Remove variable.
2103         [BZ #18540]
2104         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2105         strong alias of _IO_fflush.  Use libc_hidden_def.
2106         * libio/iofflush_u.c (fflush_unlocked): Rename to
2107         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2108         Use libc_hidden_weak.
2109         * include/stdio.h (__fflush_unlocked): Declare.  Use
2110         libc_hidden_proto.
2111         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2112         fflush_unlocked.
2113         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2114         Remove variable.
2116         [BZ #18539]
2117         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2118         define as weak alias of __addseverity.
2119         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2120         Remove variable.
2121         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2122         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2123         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2125         [BZ #18536]
2126         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2127         (__tfind): Likewise.
2128         (__tdelete): Likewise.
2129         (__twalk): Likewise.
2130         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2131         __twalk to GLIBC_PRIVATE.
2132         * include/search.h (__tsearch): Use libc_hidden_proto.
2133         (__tfind): Likewise.
2134         (__tdelete): Likewise.
2135         (__twalk): Likewise.
2136         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2137         Call __tdelete instead of tdelete.
2138         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2139         tfind.  Call __tsearch instead of tsearch.
2140         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2141         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2142         Remove variable.
2143         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2145         [BZ #18534]
2146         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2147         (dprintf): Define as a weak alias of __dprintf, not a strong
2148         alias.
2149         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2150         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2151         dprintf.
2152         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2153         Remove variable.
2154         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2155         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2157         [BZ #18533]
2158         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2159         not a strong alias.
2160         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2161         Remove variable.
2163         [BZ #18532]
2164         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2165         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2166         (in6addr_loopback): Rename to __in6addr_loopback and define as
2167         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2168         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2169         libc_hidden_proto.
2170         (__in6addr_any): Likewise.
2171         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2172         in6addr_any.
2173         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2174         variable.
2175         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2177 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2179         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2180         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2183         redirections for pow.
2184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2185         * sysdeps/x86_64/fpu/Versions: New versions added.
2186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2188         build of SSE, AVX2 and AVX512 IFUNC versions.
2189         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2190         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2191         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2192         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2196         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2197         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2198         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2199         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2200         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2201         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2202         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2203         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2205         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2206         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2207         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2208         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2209         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2210         * NEWS: Mention addition of x86_64 vector pow.
2212         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2213         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2214         redirections for expf.
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_s_expf16_core.S: New file.
2221         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2222         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2226         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2227         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2228         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2229         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2230         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2231         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2240         * NEWS: Mention addition of x86_64 vector expf.
2242         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2243         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2245         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2246         redirections for exp.
2247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2248         * sysdeps/x86_64/fpu/Versions: New versions added.
2249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2250         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2251         build of SSE, AVX2 and AVX512 IFUNC versions.
2252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2253         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2254         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2255         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2258         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2259         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2260         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2261         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2262         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2263         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2264         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2265         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2266         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2267         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2268         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2269         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2270         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2271         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2272         * NEWS: Mention addition of x86_64 vector exp.
2274         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2275         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2276         redirections for logf.
2277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2278         * sysdeps/x86_64/fpu/Versions: New versions added.
2279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2280         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2281         build of SSE, AVX2 and AVX512 IFUNC versions.
2282         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2283         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2285         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2288         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2289         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2290         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2291         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2292         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2293         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2294         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2295         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2296         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2297         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2299         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2300         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2301         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2302         * NEWS: Mention addition of x86_64 vector logf.
2304         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2305         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2306         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2307         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2308         redirections for log.
2309         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2310         * sysdeps/x86_64/fpu/Versions: New versions added.
2311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2312         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2313         build of SSE, AVX2 and AVX512 IFUNC versions.
2314         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2315         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2316         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2317         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2318         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2319         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2320         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2321         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2322         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2323         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2324         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2325         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2326         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2327         test.
2328         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2329         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2331         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2332         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2333         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2334         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2335         * NEWS: Mention addition of x86_64 vector log.
2337 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2339         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2340         cfi_adjust_cfa_offset argument.
2341         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2342         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2344         [BZ #18034]
2345         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2346         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2347         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2348         ordering using ldar.
2349         (_dl_tlsdesc_dynamic): Likewise.
2350         (_dl_tlsdesc_return_lazy): Likewise.
2351         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2352         relaxed atomics instead of volatile and synchronize with release store.
2353         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2354         volatile.
2355         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2357 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2359         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2360         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2361         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2362         * sysdeps/x86_64/fpu/Versions: New versions added.
2363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2365         build of SSE, AVX2 and AVX512 IFUNC versions.
2366         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2367         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2368         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2370         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2371         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2372         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2373         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2374         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2375         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2376         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2377         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2378         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2379         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2380         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2381         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2382         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2384         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2385         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2386         * NEWS: Mention addition of x86_64 vector sinf.
2388 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2390         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2391         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2392         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2393         Remove variable.
2394         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2395         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2397 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #18530]
2400         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2401         strong alias of _IO_fputs.  Use libc_hidden_def.
2402         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2403         and define as weak alias of __fputs_unlocked.  Use
2404         libc_hidden_weak.
2405         * include/stdio.h (__fputs_unlocked): Declare.  Use
2406         libc_hidden_proto.
2407         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2408         fputs_unlocked.
2410         [BZ #18529]
2411         * resolv/netdb.h [__USE_POSIX]: Change condition to
2412         [__USE_XOPEN2K].
2413         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2414         not expect.
2415         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2416         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2417         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2418         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2419         [XPG4 || UNIX98] (AI_ALL): Likewise.
2420         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2421         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2422         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2423         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2424         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2425         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2426         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2427         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2428         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2429         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2430         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2431         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2432         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2433         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2434         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2435         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2436         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2437         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2438         [XPG4 || UNIX98] (gai_strerror): Likewise.
2439         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2440         [XPG4 || UNIX98] (getnameinfo): Likewise.
2442         [BZ #18528]
2443         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2444         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2445         __USE_XOPEN2K8].
2446         (getgrent): Likewise.
2447         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2448         expect.
2449         [XPG3 || POSIX2008] (endgrent): Likewise.
2450         [XPG3] (setgrent): Likewise.
2451         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2452         variable.
2453         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2455         [BZ #18527]
2456         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2457         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2458         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2459         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2460         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2461         * include/unistd.h (__getlogin_r): Declare.  Use
2462         libc_hidden_proto.
2463         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2464         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2465         variable.
2466         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2467         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2468         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2470 2015-06-12  Martin Sebor  <msebor@redhat.com>
2472         [BZ #18512]
2473         * Makerules (check-install-supported): New target.
2474         (install): Add check-install-supported as a dependency.
2475         * manual/install.texi (Installing the C Library): Document
2476         that overriding prefix and exec_prefix is not supported.
2477         Mention DESTDIR.
2478         * INSTALL: Regenerate from the above.
2480 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2482         [BZ #18519]
2483         * posix/Versions (libc): Export __libc_pread at version
2484         GLIBC_PRIVATE.
2485         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2486         instead of pread.
2487         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2488         variable.
2490         [BZ #18522]
2491         * misc/efgcvt_r.c
2492         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2493         (cvt_symbol): Use weak_alias instead of strong_alias.
2494         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2495         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2496         Remove variable.
2497         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2498         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2500         [BZ #18520]
2501         * inet/herrno.c (h_errno): Rename to __h_errno.
2502         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2503         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2504         to __h_errno instead of h_errno.
2505         * nptl/herrno.c (h_errno): Rename to __h_errno.
2506         (__h_errno_location): Refer to __h_errno not h_errno.
2507         * resolv/Versions (h_errno): Rename to __h_errno.
2508         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2509         Remove variable.
2510         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2512 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2514         * configure.ac: More strict check for AVX512 assembler support.
2515         * configure: Regenerated.
2517         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2518         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2519         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2520         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2521         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2522         * sysdeps/x86_64/fpu/Versions: New versions added.
2523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2524         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2525         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2526         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2528         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2530         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2531         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2532         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2533         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2534         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2535         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2536         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2537         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2538         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2539         test.
2540         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2543         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2544         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2545         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2546         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2547         * NEWS: Mention addition of x86_64 vector sin.
2549 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2551         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2552         comment.
2554 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2556         [BZ #18479]
2557         * nptl/pt-interp.c: New file.
2558         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2559         Add pt-interp.
2560         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2561         $(common-objpfx)runtime-linker.h.
2563 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2565         * Makeconfig (+interp): Remove unused variable.
2566         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2567         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2568         $(elf-objpfx)runtime-linker.h.
2569         ($(elf-objpfx)runtime-linker.h): Rename to
2570         $(common-objpfx)runtime-linker.h and move ...
2571         * Makerules [$(build-shared) = yes]: ... here.
2572         * elf/interp.c: Include <runtime-linker.h> instead of
2573         <elf/runtime-linker.h>.
2575 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2577         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2578         (__gettimeofday_syscall): Remove vsyscall fallback.
2579         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2580         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2581         Add syscall fallback function.
2582         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2583         if vDSO is not present.
2584         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2585         fallback function.
2586         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2587         present.
2588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2589         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2591 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2593         [BZ #18497]
2594         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2595         of wcscmp.
2596         (wcscmp): Define as weak alias of WCSCMP.
2597         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2598         wcscoll.
2599         (USE_HIDDEN_DEF): Define.
2600         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2601         __wcscoll.  Don't use libc_hidden_weak.
2602         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2603         wcscmp.
2604         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2605         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2606         __GI_wcscmp.
2607         (weak_alias): Undefine and redefine.
2608         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2609         __wcscmp and define as weak alias of __wcscmp.
2610         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2611         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2612         (__wcscoll): Likewise.
2613         (wcscmp): Don't use libc_hidden_proto.
2614         (wcscoll): Likewise.
2615         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2616         wcscoll.
2617         * posix/regexec.c (check_node_accept_bytes): Likewise.
2618         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2619         variable.
2620         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2621         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2623         [BZ #18507]
2624         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2625         __fstatvfs and define as weak alias of __fstatvfs.  Use
2626         libc_hidden_weak.
2627         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2628         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2629         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2630         Define as alias of __fstatvfs, not fstatvfs.
2631         (fstatvfs64): Likewise.
2632         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2633         Define as alias of __statvfs, not statvfs.
2634         (statvfs64): Likewise.
2635         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2636         Remove variable.
2638 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2641         (HAVE_GETCPU_VSYSCALL): Define.
2642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2643         (HAVE_GETCPU_VSYSCALL): Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2645         * sysdeps/unix/sysv/linux/sched_getcpu.c
2646         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2647         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2648         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2649         prototype.
2650         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2651         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2652         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2654         Define.
2655         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2656         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2657         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2658         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2660 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2662         * sysdeps/x86_64/fpu/Makefile: New file.
2663         * sysdeps/x86_64/fpu/Versions: New file.
2664         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2665         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2666         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2667         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2668         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2669         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2670         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2671         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2672         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2673         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2674         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2675         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2678         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2679         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2680         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2681         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2682         * sysdeps/x86_64/configure: Regenerated.
2683         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2684         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2685         * manual/install.texi (Configuring and compiling): Document
2686         --disable-mathvec.
2687         * INSTALL: Regenerated.
2688         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2690         * math/Makefile: Added rules for vector tests.
2691         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2692         declaration under condition.
2693         * math/test-double-vlen2.h: New file.
2694         * math/test-double-vlen4.h: New file.
2695         * math/test-double-vlen8.h: New file.
2696         * math/test-vec-loop.h: Added initialization macro.
2697         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2699         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2700         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2701         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2702         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2703         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2704         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2705         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2706         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2707         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2710         * sysdeps/x86_64/fpu/Versions: New versions added.
2711         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2712         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2713         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2714         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2715         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2717         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2718         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2721         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2722         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2723         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2724         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2725         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2726         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2727         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2728         * NEWS: Mention addition of x86_64 vector cosf.
2730         * math/Makefile: Added CFLAGS for new tests.
2731         * math/test-float-vlen16.h: New file.
2732         * math/test-float-vlen4.h: New file.
2733         * math/test-float-vlen8.h: New file.
2734         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2735         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2736         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2737         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2738         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2739         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2740         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2741         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2742         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2743         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2744         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2746 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2748         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2749         * locale/programs/ld-ctype.c: Likewise.
2751 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2753         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2754         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2755         bit_ZMM16_31_state): New macro.
2756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2757         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2759 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2761         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2763 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2765         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2767 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2769         [BZ #18498]
2770         * libio/memstream.c (open_memstream): Rename to __open_memstream
2771         and define as weak alias of __open_memstream.
2772         * include/stdio.h (__open_memstream): Declare.  Use
2773         libc_hidden_proto.
2774         (open_memstream): Don't use libc_hidden_proto.
2775         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2776         open_memstream.
2777         * posix/getopt.c (_getopt_internal_r): Likewise.
2778         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2779         variable.
2780         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2781         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2782         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2784         [BZ #18496]
2785         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2786         instead of wcrtomb.
2788         [BZ #18483]
2789         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2790         [__USE_XOPEN2K8].  Remove redundant #endif.
2791         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2792         Remove redundant #if.
2793         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2794         Remove variable.
2795         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2796         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2798         [BZ #18495]
2799         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2800         (__iswlower): Likewise.
2801         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2802         (__iswlower): Likewise.
2803         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2804         instead of towlower.
2805         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2806         instead of iswlower.  Call __towupper instead of towupper.
2807         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2808         instead of iswalnum.
2810 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2812         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2813         errors to stderr.
2815 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2817         [BZ #15661]
2818         [BZ #17322]
2819         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2820         Check for overflow properly.  Check for O_APPEND.  Ignore large
2821         file system block sizes.  Add comments about problems.
2822         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2823         * manual/filesys.texi (Storage Allocation): New node.
2825 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2827         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2828         cancellable syscalls.
2829         (SYS_ify): Add guard to no redefine it.
2830         (INLINE_SYSCALL): Likewise.
2831         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2832         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2833         SYSCALL_CANCEL instead.
2834         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2835         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2836         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2837         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2838         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2839         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2840         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2841         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2842         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2843         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2844         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2845         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2846         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2847         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2848         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2850         Likewise.
2851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2852         (__libc_pread64): Likewise.
2853         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2854         (__libc_preadv): Likewise.
2855         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2856         (__libc_readv64): Likewise.
2857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2858         (__libc_pwrite): Likewise.
2859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2860         (__libc_pwrite64): Likewise.
2861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2862         (__libc_pwritev): Likewise.
2863         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2864         (__libc_pwritev64): Likewise.
2865         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2866         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2867         (sync_file_range): Likewise.
2868         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2871         Likewise.
2872         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2873         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2874         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2875         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2876         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2877         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2878         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2879         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2881         Likewise.
2882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2883         (__libc_read64): Likewise.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2885         Likewise.
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2887         Likewise.
2888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2889         Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2893         (__libc_pread64): Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2895         Likewise.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2897         (__libc_pwrite64): Likewise.
2898         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2899         (sync_file_range): Likewise.
2900         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2901         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2902         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2903         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2904         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2905         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2906         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2907         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2908         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2909         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2910         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2911         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2912         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2913         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2914         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2915         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2916         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2917         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2919         Likewise.
2920         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2923         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2924         Likewise.
2925         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2926         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2927         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2928         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2929         Likewise.
2930         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2931         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2932         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2933         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2934         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2936 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2938         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2939         Include dl-vdso.
2940         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2941         Use VDSO routines for gettimeofday, clock_gettime if
2942         available.
2943         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2944         Declare VDSO symbols.
2945         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2946         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2947         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2948         * sysdeps/unix/sysv/linux/arm/Versions: Add
2949         __vdso_clock_gettime.
2951 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2953         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2954         be an inline implementation regardless of library is built within.
2955         (open_not_cancel_2): Likewise.
2956         (__read_nocancel): Likewise.
2957         (__write_nocancel): Likewise.
2958         (openat_not_cancel): Likewise.
2959         (openat_not_cancel_3): Likewise.
2960         (openat64_not_cancel): Likewise.
2961         (openat64_not_cancel_3): Likewise.
2962         (__close_nocancel): Likewise.
2963         (pause_not_cancel): Likewise.
2964         (nanosleep_not_cancel): Likewise.
2965         (sigsuspend_not_cancel): Likewise.
2967 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2969         [BZ #14958]
2970         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2971         wake-up.
2972         (__pthread_rwlock_rdlock_slow): Likewise.
2973         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2974         Likewise.
2975         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2976         Likewise.
2977         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2978         * nptl/tst-rwlock16.c: New file.
2979         * nptl/Makefile (tests): Add new test.
2981 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2983         [BZ #18324]
2984         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2985         missing wake-up of readers.
2986         * nptl/tst-rwlock15.c: New file.
2987         * nptl/Makefile (tests): Add new test.
2989 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2991         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2992         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2993         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2994         and __nacl_supply_interface_rtld.
2995         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2996         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2997         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2998         Add __nacl_supply_interface_rtld.
2999         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3001 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3003         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3004         isfinite.
3005         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3006         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3008 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3010         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3011         __signbit* with standard C99 macros.
3012         * math/e_exp10l.c: Likewise.
3013         * math/e_exp2l.c: Likewise.
3014         * math/e_scalb.c: Likewise.
3015         * math/e_scalbf.c: Likewise.
3016         * math/e_scalbl.c: Likewise.
3017         * math/s_ldexp.c: Likewise.
3018         * math/s_ldexpf.c: Likewise.
3019         * math/s_ldexpl.c: Likewise.
3020         * math/w_atan2.c: Likewise.
3021         * math/w_atan2f.c: Likewise.
3022         * math/w_atan2l.c: Likewise.
3023         * math/w_cosh.c: Likewise.
3024         * math/w_coshf.c: Likewise.
3025         * math/w_coshl.c: Likewise.
3026         * math/w_exp10.c: Likewise.
3027         * math/w_exp10f.c: Likewise.
3028         * math/w_exp10l.c: Likewise.
3029         * math/w_exp2.c: Likewise.
3030         * math/w_exp2f.c: Likewise.
3031         * math/w_exp2l.c: Likewise.
3032         * math/w_fmod.c: Likewise.
3033         * math/w_fmodf.c: Likewise.
3034         * math/w_fmodl.c: Likewise.
3035         * math/w_hypot.c: Likewise.
3036         * math/w_hypotf.c: Likewise.
3037         * math/w_hypotl.c: Likewise.
3038         * math/w_jnl.c: Likewise.
3039         * math/w_lgamma.c: Likewise.
3040         * math/w_lgamma_r.c: Likewise.
3041         * math/w_lgammaf.c: Likewise.
3042         * math/w_lgammaf_r.c: Likewise.
3043         * math/w_lgammal.c: Likewise.
3044         * math/w_lgammal_r.c: Likewise.
3045         * math/w_pow.c: Likewise.
3046         * math/w_powf.c: Likewise.
3047         * math/w_powl.c: Likewise.
3048         * math/w_remainder.c: Likewise.
3049         * math/w_remainderf.c: Likewise.
3050         * math/w_remainderl.c: Likewise.
3051         * math/w_scalb.c: Likewise.
3052         * math/w_scalbf.c: Likewise.
3053         * math/w_scalbl.c: Likewise.
3054         * math/w_scalbln.c: Likewise.
3055         * math/w_scalblnf.c: Likewise.
3056         * math/w_scalblnl.c: Likewise.
3057         * math/w_sinh.c: Likewise.
3058         * math/w_sinhf.c: Likewise.
3059         * math/w_sinhl.c: Likewise.
3060         * math/w_tgamma.c: Likewise.
3061         * math/w_tgammaf.c: Likewise.
3062         * math/w_tgammal.c: Likewise.
3063         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3064         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3065         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3066         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3067         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3069         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3070         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3071         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3072         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3073         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3074         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3075         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3076         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3077         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3078         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3079         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3080         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3081         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3084         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3087         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3088         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3089         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3090         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3091         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3092         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3093         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3094         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3095         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3096         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3097         * stdio-common/printf_fp.c: Likewise.
3098         * stdio-common/printf_fphex.c: Likewise.
3099         * stdio-common/printf_size.c: Likewise.
3101 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3103         [BZ #18470]
3104         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3105         strnlen.
3106         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3107         Remove variable.
3108         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3109         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3110         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3111         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3112         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3113         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3114         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3115         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3116         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3117         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3119         [BZ #18468]
3120         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3121         weak alias of __wmemchr.  Use libc_hidden_weak.
3122         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3123         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3124         instead of wmemchr.
3126 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3128         [BZ #18383]
3129         * elf/tst-tlsalign-extern.c: New file.
3130         * elf/tst-tlsalign-extern-static.c: New file.
3131         * elf/tst-tlsalign-vars.c: New file.
3132         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3133         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3134         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3135         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3136         (test-xfail-tst-tlsalign-extern-static): New variable.
3138 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3140         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3141         Use variable name _sc_err instead of err.
3142         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3143         instead of ret.
3144         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3145         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3146         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3147         (INLINE_SYSCALL): Likewise.
3149         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3150         * include/string.h (__strnlen): Use libc_hidden_proto.
3151         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3152         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3153         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3154         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3155         (libc_hidden_def): Undefine and redefine.
3156         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3157         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3158         __GI_strnlen.
3159         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3160         libc_hidden_def.
3161         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3163         [BZ #18469]
3164         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3165         weak alias of __towlower.  Use libc_hidden_weak.
3166         (towupper): Rename to __towupper and define as weak alias of
3167         __towupper.  Use libc_hidden_weak.
3168         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3169         (__towupper): Likewise.
3170         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3171         __towlower instead of towlower.
3173 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3175         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3176         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3178 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3180         * sysdeps/aarch64/libm-test-ulps: Update.
3182 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3184         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3185         Define.
3186         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3188         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3189         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3190         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3191         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3192         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3194 2015-06-01  Martin Sebor  <msebor@redhat.com>
3196         [BZ #18116]
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3198         (__setcontext): Use extended four-operand version of mtsf whenever
3199         possible.
3200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3201         (__novec_swapcontext): Likewise.
3203 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3205         * benchtests/scripts/compare_bench.py: New file.
3206         * benchtests/scripts/import_bench.py (mean): New function.
3207         (split_list): Likewise.
3208         (do_for_all_timings): Likewise.
3209         (compress_timings): Likewise.
3211         * benchtests/scripts/import_bench.py: New file.
3212         * benchtests/scripts/validate_benchout.py: Import import_bench
3213         instead of jsonschema.
3214         (validate_bench): Remove function.
3215         (main): Use import_bench.
3217 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3219         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3220         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3222 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3226 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3228         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3229         set THREAD_SELF->tid to a magic value and futex-wake it.
3230         Pass its address to the thread_exit system call.
3231         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3232         bit is clear.
3233         * sysdeps/nacl/lowlevellock.h: New file.
3234         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3236         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3237         Add TIMEOUT to current time, don't subtract it.
3239 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3241         [BZ #2981]
3242         [BZ #18422]
3243         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3244         ($(objpfx)tst-audit2.out): Also depend on
3245         $(objpfx)tst-auditmod9b.so.
3246         * elf/tst-audit2.c: Include <dlfcn.h>.
3247         (calloc_called): New.
3248         (calloc): Allow to be called more than once.
3249         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3251 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3253         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3254         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3256 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3258         * stdlib/monetary.h: Fix comment.
3260 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3262         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3263         Avoid using variables in #defines that might cause shadowing.
3264         (INTERNAL_VSYSCALL_CALL): Likewise.
3266 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3268         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3270         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3271         * nptl/lll_timedlock_wait.c: ... to this new file.
3272         * nptl/Makefile (libpthread-routines): Add it.
3273         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3274         * nptl/lll_timedwait_tid.c: ... to this new file.
3275         * nptl/Makefile (libpthread-routines): Add it.
3276         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3277         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3278         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3279         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3280         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3281         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3282         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3283         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3284         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3285         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3287 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3289         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3290         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3291         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3293         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3294         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3295         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3297         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3298         * sysdeps/unix/sysv/linux/tile/sysdep.h
3299         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3300         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3301         using vDSO syscall macro.
3303 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3305         [BZ #17293]
3306         * uk_UA: Fix sorting order for Ukrainian locale
3308 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3310         * stdlib/monetary.h: Fix comment.
3312 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3314         [BZ #18234]
3315         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3316         st_mtim and st_ctim members.
3317         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3318         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3319         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3320         (struct stat64): Likewise.
3321         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3322         (struct stat64): Likewise.
3323         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3324         (struct stat64): Likewise.
3326 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3328         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3329         Define and include sysdep-vdso.h.
3330         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3331         Likewise.
3332         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3335         Define with VDSO_SYMBOL and use PTR_MANGLE.
3336         (__vdso_clock_gettime): Likewise.
3337         (__vdso_clock_getres): Likewise.
3338         (_libc_vdso_platform_setup): Likewise.
3339         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3340         Likewise.
3341         (_libc_vdso_platform_setup): Likewise.
3342         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3343         Likewise.
3344         (__vdso_clock_gettime): Likewise.
3345         (__vdso_clock_getres): Likewise.
3346         (__vdso_get_tbfreq): Likewise.
3347         (__vdso_getcpu): Likewise.
3348         (__vdso_time): Likewise.
3349         (__vdso_sigtramp_rt64): Likewise.
3350         (__vdso_signtramp32): Likewise.
3351         (__vdso_sigtramp_rt32): Likewise.
3352         (_libc_vdso_platform_setup): Likewise.
3353         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3354         Likewise.
3355         (__vdso_clock_gettime): Likewise.
3356         (__vdso_clock_getres): Likewise.
3357         (_libc_vdso_platform_setup): Likewise.
3358         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3359         Likewise.
3360         (__vdso_clock_gettime): Likewise.
3361         (_libc_vdso_platform_setup): Likewise.
3362         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3363         Likewise.
3364         (__vdso_getcpu): Likewise.
3365         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3366         Use VDSO_SYMBOL macro to define.
3367         (__vdso_clock_gettime): Likewise.
3368         (__vdso_clock_getres): Likewise.
3369         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3370         Likewise.
3371         (__vdso_clock_gettime): Likewise.
3372         (__vdso_clock_getres): Likewise.
3373         (__vdso_get_tbfreq): Likewise.
3374         (__vdso_getcpu): Likewise.
3375         (__vdso_time): Likewise.
3376         (__vdso_sigtramp_rt64): Likewise.
3377         (__vdso_signtramp32): Likewise.
3378         (__vdso_sigtramp_rt32): Likewise.
3379         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3380         Likewise.
3381         (__vdso_clock_gettime): Likewise.
3382         (__vdso_clock_getres): Likewise.
3383         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3384         Likewise.
3385         (__vdso_clock_gettime): Likewise.
3386         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3389         macro.
3390         (INTERNAL_VSYSCALL): Likewise.
3391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3392         Remove macro.
3393         (INTERNAL_VSYSCALL): Likewise.
3394         (INTERNAL_VSYSCALL_NCS): Likewise.
3395         (INTERNAL_VSYSCALL_CALL): New macro.
3396         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3398         Likewise.
3399         (INTERNAL_VSYSCALL): Likewise.
3400         (INTERNAL_VSYSCALL_NCS): Likewise.
3401         (INTERNAL_VSYSCALL_CALL): New macro.
3402         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3404         (INLINE_VSYSCALL): Remove macro.
3405         (INTERNAL_VSYSCALL): Remove macro.
3406         (INTERNAL_VSYSCALL_NCS): Remove macro.
3407         (INTERNAL_VSYSCALL_CALL): New macro.
3408         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3409         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3410         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3411         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3412         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3414         (INLINE_VSYSCALL): Remove macro.
3415         (INTERNAL_VSYSCALL): Likewise.
3416         (INTERNAL_VSYSCALL_NCS): Likewise.
3417         (INTERNAL_VSYSCALL_CALL): New macro.
3418         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3419         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3420         PTR_DEMANGLE on vDSO pointer.
3421         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3422         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3423         macro.
3424         (INTERNAL_SYSCALL): Likewise.
3425         (INTERNAL_VSYSCALL_NCS): Remove macro.
3426         (INTERNAL_VSYSCALL_CALL): New macro.
3427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3428         Remove macro.
3429         (INTERNAL_VSYSCALL): Likewise.
3430         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3431         sysdep-vdso.h instead of libc-vdso.h.
3432         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3433         definition.
3434         (INLINE_VSYSCALL): Likewise.
3435         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3436         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3437         definition.
3438         (INLINE_VSYSCALL): Likewise.
3439         (INTERNAL_VSYSCALL): Likewise.
3440         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3441         * sysdeps/unix/sysv/linux/timespec_get.c
3442         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3443         (timespec_get): Use ANSI prototype.
3444         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3445         and definition for Linux.
3447 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3449         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3450         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3452 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3454         [BZ #2981]
3455         [BZ #18410]
3456         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3457         for missing DT_PLTRELSZ.
3459 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3461         Remove obsolete aliases that broke 'locale -a'
3462         [BZ #18412]
3463         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3464         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3465         breaking some applications that use 'locale -a' output.
3466         Change the encoding of this file from Latin-1 to ASCII to avoid
3467         other potential problems with people grepping this file.
3469 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3471         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3472         -fasynchronous-unwind-tables.
3473         (CFLAGS-sendto.c): Likewise.
3474         (CFLAGS-sendmsg.c): Likewise.
3475         (CFLAGS-connect.c): Likewise.
3476         (CFLAGS-recvmsg.c): Likewise.
3477         (CFLAGS-recvfrom.c): Likewise.
3478         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3479         (SOCKETCALL): New macro: non-cancellable socketcall.
3480         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3481         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3482         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3483         * sysdeps/unix/sysv/linux/accept.c: New file.
3484         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3485         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3486         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3487         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3488         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3489         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3490         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3491         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3492         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3493         * sysdeps/unix/sysv/linux/send.c: Likewise.
3494         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3495         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3496         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3497         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3498         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3499         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3500         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3501         prototype.
3502         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3503         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3504         instead of __internal_xxx function.
3505         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3506         prototype.
3507         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3508         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3509         instead of __internal_xxx function.
3510         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3511         prototype.
3512         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3513         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3514         instead of __internal_xxx function.
3515         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3516         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3517         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3518         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3519         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3520         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3521         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3522         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3523         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3524         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3525         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3526         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3527         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3528         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3529         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3530         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3531         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3532         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3533         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3534         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3537         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3538         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3539         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3540         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3541         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3542         * sysdeps/unix/sysv/linux/send.S: Likewise.
3543         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3544         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3545         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3546         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3547         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3548         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3550         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3551         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3552         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3553         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3554         socketcall is implemented in GLIBC.
3556 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3558         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3559         (__fma): Ignore uninitialized warnings around packing.
3560         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3561         (__fmaf): Ignore uninitialized warnings around packing.
3562         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3563         (__fmal): Ignore uninitialized warnings around packing.
3565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3566         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3567         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3568         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3570         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3571         switch statement into default case.
3572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3574         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3575         a conditional in forcing "inexact".
3576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3577         Likewise.
3579 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3581         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3582         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3583         for each INTERNAL_SYSCALL use.
3585 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3587         [BZ #438]
3588         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3589         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3590         variable.
3592         [BZ #18444]
3593         * string/basename.c (basename): Rename to __basename and define as
3594         weak alias of __basename.  Use libc_hidden_weak.
3595         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3596         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3597         __basename instead of basename.
3598         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3599         Remove variable.
3600         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3602 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3604         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3605         (_IO_JUMPS_FILE_plus): New.
3606         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3607         _IO_CAST_FIELD_ACCESS.
3608         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3609         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3610         * libio/freopen.c (freopen): Likewise.
3611         * libio/freopen64.c (freopen64): Likewise.
3612         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3613         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3614         * libio/iofwide.c (_IO_fwide): Likewise.
3615         * libio/memstream.c (open_memstream): Likewise.
3616         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3617         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3618         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3620 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3622         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3623         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3624         NADJ.
3625         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3626         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3627         NADJ.
3628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3629         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3630         NADJ.
3632         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3633         (p == 4) case.
3635         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3636         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3637         Remove variable.
3638         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3639         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3640         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3642 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3644         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3645         Adjust jump table label generation macros.
3647 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3649         * stdio-common/vfprintf.c (vfprintf): Move local variables
3650         args_malloced, specs, specs_malloced, and the code after
3651         do_positional to the printf_positional function.
3652         (printf_positional): New function.
3654 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3656         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3657         function.
3658         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3659         STEP4_TABLE, process_arg): Move macro definitions
3660         out of the vfprintf function.  (Cosmetic change only.)
3662 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3664         * benchtests/Makefile (stdio-common-bench): Define.
3665         (benchset): Add stdio-common-bench.
3666         * sprintf-inputs: New file.
3667         * sprintf-source.c: New file.
3669 2015-05-21  Andreas Schwab  <schwab@suse.de>
3671         [BZ #13028]
3672         [BZ #17053]
3673         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3674         of struct __res_state.
3675         * resolv/res_send.c (__libc_res_nsend): Likewise.
3676         (get_nsaddr): New function.
3677         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3678         statp directly.
3680 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3682         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3683         -D_POSIX_C_SOURCE=199506L.
3685         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3687         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3688         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3689         Do not mention otherwise.
3690         [POSIX] (_XOPEN_VERSION): Do not expect.
3691         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3692         [POSIX] (_POSIX2_C_BIND): Likewise.
3693         [POSIX] (_POSIX2_VERSION): Likewise.
3694         [POSIX] (_XOPEN_XPG2): Likewise.
3695         [POSIX] (_XOPEN_XPG3): Likewise.
3696         [POSIX] (_XOPEN_XPG4): Likewise.
3697         [POSIX] (_XOPEN_UNIX): Likewise.
3698         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3699         [POSIX] (_POSIX_BARRIERS): Likewise.
3700         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3701         [POSIX] (_POSIX_CPUTIME): Likewise.
3702         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3703         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3704         [POSIX] (_POSIX_SHELL): Likewise.
3705         [POSIX] (_POSIX_SPAWN): Likewise.
3706         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3707         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3708         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3709         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3710         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3711         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3712         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3713         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3714         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3715         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3716         [POSIX] (_POSIX2_PBS): Likewise.
3717         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3718         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3719         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3720         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3721         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3722         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3723         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3724         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3725         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3726         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3727         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3728         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3729         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3730         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3731         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3732         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3733         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3734         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3735         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3736         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3737         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3738         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3739         [POSIX] (_SC_2_C_BIND): Likewise.
3740         [POSIX] (_SC_2_C_VERSION): Likewise.
3741         [POSIX] (_SC_2_PBS): Likewise.
3742         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3743         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3744         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3745         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3746         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3747         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3748         [POSIX] (_SC_BARRIERS): Likewise.
3749         [POSIX] (_SC_BASE): Likewise.
3750         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3751         [POSIX] (_SC_DEVICE_IO): Likewise.
3752         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3753         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3754         [POSIX] (_SC_FD_MGMT): Likewise.
3755         [POSIX] (_SC_FIFO): Likewise.
3756         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3757         [POSIX] (_SC_FILE_LOCKING): Likewise.
3758         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3759         [POSIX] (_SC_IOV_MAX): Likewise.
3760         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3761         [POSIX] (_SC_NETWORKING): Likewise.
3762         [POSIX] (_SC_PAGE_SIZE): Likewise.
3763         [POSIX] (_SC_PASS_MAX): Likewise.
3764         [POSIX] (_SC_PIPE): Likewise.
3765         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3766         [POSIX] (_SC_REGEXP): Likewise.
3767         [POSIX] (_SC_SHELL): Likewise.
3768         [POSIX] (_SC_SIGNALS): Likewise.
3769         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3770         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3771         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3772         [POSIX] (_SC_USER_GROUPS): Likewise.
3773         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3774         [POSIX] (_SC_STREAMS): Likewise.
3775         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3776         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3777         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3778         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3779         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3780         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3781         [POSIX] (_PC_FILESIZEBITS): Likewise.
3782         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3783         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3784         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3785         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3786         [POSIX] (uid_t): Likewise.
3787         [POSIX] (gid_t): Likewise.
3788         [POSIX] (off_t): Likewise.
3789         [POSIX] (pid_t): Likewise.
3790         [POSIX] (cuserid): Allow.
3791         (_SC_2_CHAR_TERM): Require constant.
3792         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3793         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3794         variable.
3796 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3798         * sysdeps/nacl/pthread-pids.h: New file.
3799         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3800         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3802         * nptl/pthread-pids.h: New file.
3803         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3804         * nptl/nptl-init.c: Include <pthread-pids.h>.
3805         (__pthread_initialize_minimal_internal):
3806         Call __pthread_initialize_pids instead of set_tid_address syscall.
3808         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3809         * sysdeps/posix/usleep.c: ... here.
3811 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3813         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3814         call_pselect6 object.
3815         [$(subdir) = io]: Remove call_sync_file_range object.
3816         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3817         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3818         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3819         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3821 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3823         * math/s_cproj.c: Add include "math_private.h".
3824         * math/s_cprojf.c: Likewise.
3825         * math/s_cprojl.c: Likewise.
3827 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3829         [BZ #18244]
3830         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3831         high mantissa bit when testing whether P is a NaN.
3832         * math/libm-test.inc (remainder_test_data): Add more tests.
3833         (remquo_test_data): Likewise.
3835         [BZ #18049]
3836         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3837         below -32, return the argument, with underflow if subnormal.
3838         * math/auto-libm-test-in: Add more tests of atanh.
3839         * math/auto-libm-test-out: Regenerated.
3841 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3843         [BZ #18434]
3844         * nptl/tst-sem15.c: New file.
3845         * nptl/Makefile (tests): Add it.
3846         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3847         s/<</>>/ to fix typo in EOVERFLOW check.
3848         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3850 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852         * manual/strings.texi (envz_remove): Fix typo in safety
3853         annotations.
3855 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3856             Steve Ellcey  <sellcey@imgtec.com>
3858         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3859         in order to avoid strict alias warnings.
3860         (iruserok_af): Ditto for ra.
3862 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3864         [BZ #17581]
3865         * malloc/hooks.c
3866         (magicbyte): Convert to a function and avoid returning 0x01.
3867         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3868         (mem2chunk_check): Fix unsigned comparisons to zero.
3869         Hoist defs of sz and magic.
3871 2015-05-19  Richard Henderson  <rth@redhat.com>
3873         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3875         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3877 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3879         [BZ #16159]
3880         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3881         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3882         (reused_arena): Find a non-corrupt arena.
3883         (heap_trim): Pass arena to unlink.
3884         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3885         malloc_printerr.
3886         (top_check): Likewise.
3887         (free_check): Likewise.
3888         (realloc_check): Likewise.
3889         * malloc/malloc.c (malloc_printerr): Add arena argument.
3890         (unlink): Likewise.
3891         (munmap_chunk): Adjust.
3892         (ARENA_CORRUPTION_BIT): New macro.
3893         (arena_is_corrupt): Likewise.
3894         (set_arena_corrupt): Likewise.
3895         (sysmalloc): Use mmap if there are no usable arenas.
3896         (_int_malloc): Likewise.
3897         (__libc_malloc): Don't fail if arena_get returns NULL.
3898         (_mid_memalign): Likewise.
3899         (__libc_calloc): Likewise.
3900         (__libc_realloc): Adjust for additional argument to
3901         malloc_printerr.
3902         (_int_free): Likewise.
3903         (malloc_consolidate): Likewise.
3904         (_int_realloc): Likewise.
3905         (_int_memalign): Don't touch corrupt arenas.
3906         * malloc/tst-malloc-backtrace.c: New test case.
3908         * Makefile (summarize-tests): Fix return value on success.
3910         * manual/string.texi (Envz Functions): Add envz_remove.
3912 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3914         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3915         (invalid_name): New function, broken out of ...
3916         (__opendirat): ... here.  Call it.
3917         (need_isdir_precheck): New function, broken out of ...
3918         (__opendirat): ... here.  Call it.
3919         Use __fxstatat64, not __xstatat64.
3920         (opendir_oflags): New function, broken out of ...
3921         (__opendirat): ... here.  Call it.
3922         (opendir_tail): New function, broken out of ...
3923         (__opendirat): ... here.  Call it.
3924         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3925         opendir_tail, rather than punting to __opendirat.
3926         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3928 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3930         * .gitignore: Ignore generated *.pyc.
3932 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3934         * include/stdio.h: Define __need_wint_t.
3935         * test-skeleton.c: Avoid `for' loop initial declaration.
3936         * nptl/tst-initializers1.c: Use test-skeleton.c.
3938 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3940         [BZ #18418]
3941         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3943 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3945         [BZ #16352]
3946         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3947         (__ieee754_atanh): Force underflow exception for results with
3948         small absolute value.
3949         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3950         (__ieee754_atanhf): Force underflow exception for results with
3951         small absolute value.
3952         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3953         (__ieee754_atanh): Force underflow exception for results with
3954         small absolute value.
3955         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3956         (__ieee754_atanhf): Force underflow exception for results with
3957         small absolute value.
3958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3959         (__ieee754_atanhl): Force underflow exception for results with
3960         small absolute value.
3961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3962         (__ieee754_atanhl): Force underflow exception for results with
3963         small absolute value.
3964         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3965         (__ieee754_atanhl): Force underflow exception for results with
3966         small absolute value.
3967         * math/auto-libm-test-in: Do not allow missing underflow
3968         exceptions from atanh.
3969         * math/auto-libm-test-out: Regenerated.
3971         [BZ #18221]
3972         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3973         2**-28 as threshold for returning x or +/- 1/x.
3974         * math/auto-libm-test-in: Add more tests of tan.
3975         * math/auto-libm-test-out: Regenerated.
3977         [BZ #18220]
3978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3979         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3980         * math/auto-libm-test-in: Add another test of lgamma.
3981         * math/auto-libm-test-out: Regenerated.
3983 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3985         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3986         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3987         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3988         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3989         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3990         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3991         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3993         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3994         (log1): Use fabs.  (my_log2): Use fabs.
3995         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3996         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3997         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3998         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3999         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4000         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4001         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4002         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4003         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4004         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4005         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4007 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4009         [BZ #18217]
4010         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4011         as threshold for returning 1 - x.
4012         * math/auto-libm-test-in: Add more tests of erfc.
4013         * math/auto-libm-test-out: Regenerated.
4015 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4017         [BZ #18196]
4018         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4019         threshold for large arguments.
4020         * math/auto-libm-test-in: Add another test of atan.
4021         * math/auto-libm-test-out: Regenerated.
4023         [BZ #16339]
4024         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4025         (__log1p): Force underflow exception for results with small
4026         absolute value.
4027         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4028         (__log1pf): Force underflow exception for results with small
4029         absolute value.
4030         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4031         (__log1p): Force underflow exception for results with small
4032         absolute value.
4033         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4034         (__log1pf): Force underflow exception for results with small
4035         absolute value.
4036         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4037         (__log1pl): Force underflow exception for results with small
4038         absolute value.
4039         * math/auto-libm-test-in: Do not allow missing underflow
4040         exceptions from log1p.
4041         * math/auto-libm-test-out: Regenerated.
4043 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4044             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4046         [BZ #16704]
4047         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4049 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4051         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4052         (libmvec): New variable.
4053         * configure.ac: Added option for mathvec build.
4054         * configure: Regenerated.
4055         * mathvec/Depend: New file.
4056         * mathvec/Makefile: New file.
4057         * shlib-versions: Added libmvec.
4058         * math/Makefile: Added rule for libm.so installation.
4060         * bits/math-vector.h: New file.
4061         * bits/libm-simd-decl-stubs.h: New header.
4062         * math/Makefile (headers): Added new header
4063         libm-simd-decl-stubs.h.
4064         * math/math.h (__MATHCALL_VEC): New macro.
4066         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4067         for conditions in testing functions.
4068         * math/Makefile: Added call of libm-have-vector-test.sh.
4069         * math/libm-test.inc (HAVE_VECTOR): New macros.
4071         * math/libm-test.inc: START refactored.
4072         * math/test-double.c (TEST_MATHVEC): Add define.
4073         * math/test-float.c: Likewise.
4074         * math/test-idouble.c: Likewise.
4075         * math/test-ifloat.c: Likewise.
4076         * math/test-ildoubl.c: Likewise.
4077         * math/test-ldouble.c: Likewise.
4078         * sysdeps/generic/math-tests-arch.h
4079         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4080         architecture check.
4082         * math/test-double.c (FUNC_TEST): New macro.
4083         * math/test-float.c: Likewise.
4084         * math/test-idouble.c: Likewise.
4085         * math/test-ifloat.c: Likewise.
4086         * math/test-ildoubl.c: Likewise.
4087         * math/test-ldouble.c: Likewise.
4088         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4090 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4092         * sysdeps/nacl/fdopendir.c: New file.
4094         * dirent/scandir-tail.c: New file.
4095         * dirent/scandir64-tail.c: New file.
4096         * dirent/Makefile (routines): Add them.
4097         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4098         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4099         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4100         [!SCANDIR] (SCANDIR_TAIL): New macro.
4101         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4102         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4103         (SCANDIRAT): Macro removed.
4104         (SCANDIR_TAIL): New macro.
4105         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4106         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4107         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4108         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4109         (READDIR): Macro removed.
4110         (SCANDIR_TAIL): New macro.
4111         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4112         (SCANDIR_TAIL): New macro.
4114         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4115         * dirent/scandir-cancel.c: ... to this new file.
4116         * dirent/Makefile (routines): Add it.
4117         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4118         * sysdeps/unix/sysv/linux/i386/scandir64.c
4119         (SKIP_SCANDIR_CANCEL): Macro removed.
4120         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4122         * dirent/tst-scandir.c: New file.
4123         * dirent/tst-scandir64.c: New file.
4124         * dirent/Makefile (tests): Add them.
4126 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4128         [BZ #18409]
4129         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4131 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4133         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4134         list.
4136 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4138         * benchtests/bench-strcoll.c: New benchmark.
4139         * benchtests/Makefile: Generate locales and run benchmark.
4140         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4141         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4142         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4143         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4144         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4145         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4146         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4147         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4148         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4149         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4150         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4151         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4152         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4153         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4154         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4155         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4156         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4157         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4158         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4159         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4160         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4161         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4162         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4163         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4165 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4167         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4168         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4170 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4172         * posix/uname-values.h: New file.
4173         * posix/uname.c: Include that instead of <config-name.h>.
4174         * sysdeps/nacl/uname-values.h: New file.
4175         * sysdeps/arm/nacl/uname-values.h: New file.
4177 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4179         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4180         splitting into fields.
4182 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4184         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4185         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4186         * locale/localeinfo.h: Add enum collation_encoding_type.
4187         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4188         * programs/ld-collate.c (collate_output): Add encoding type info.
4189         * string/strcoll_l.c (STRDIFF): New function.
4190         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4191         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4193 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4195         [BZ #18397]
4196         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4197         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4198         <fpu_control.h> instead of <math/fpu_control.c>.
4199         * sysdeps/mips/mips32/fpu/Makefile: New file.
4201 2015-05-11  Andreas Schwab  <schwab@suse.de>
4203         [BZ #18007]
4204         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4205         nss_endgrent.
4206         (_nss_compat_endgrent): Call nss_endgrent.
4207         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4208         nss_endpwent.
4209         (_nss_compat_endpwent): Call nss_endpwent.
4210         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4211         needent, call nss_setspent only if non-zero.
4212         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4213         (internal_endspent): Don't call nss_endspent.
4214         (_nss_compat_endspent): Call nss_endspent.
4215         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4216         Remove.  All uses removed.
4217         (internal_setent): Remove parameter stayopen, add parameter
4218         stream.  Use it instead of global variable.
4219         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4220         (internal_endent, internal_getent): Add parameter stream.  Use it
4221         instead of global variable.
4222         (CONCAT(_nss_files_end,ENTNAME))
4223         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4224         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4225         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4226         uses removed.
4227         (internal_setent, internal_endent): Add parameter stream.  Use it
4228         instead of global variable.
4229         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4230         stream.
4231         (get_next_alias): Add parameter stream.
4232         (_nss_files_getaliasent_r): Pass global stream.
4233         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4234         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4235         (_nss_files_gethostbyname4_r): Pass local stream to
4236         internal_setent, internal_getent and internal_endent.  Remove
4237         locking.
4239 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4241         * tst-strfmon1.c (tests): Update expected currency symbol.
4243 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4245         * sysdeps/nacl/gethostname.c: New file.
4247 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4249         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4250         and sinh.
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 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4257         [BZ #18125]
4258         * stdlib/tst-setcontext3.c: New file.
4259         * stdlib/tst-setcontext3.sh: New file.
4260         * stdlib/Makefile (tests): Add tst-setcontext3.
4261         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4262         to verify test program created output file.
4263         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4264         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4265         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4266         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4268 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4270         [BZ #18383]
4271         * elf/tst-tlsalign.c: New file.
4272         * elf/tst-tlsalign-static.c: New file.
4273         * elf/tst-tlsalign-lib.c: New file.
4274         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4275         (tests-static): Add tst-tlsalign-static.
4276         (modules-names): Add tst-tlsalign-lib.
4277         (test-xfail-tst-tlsalign): New variable.
4278         (test-xfail-tst-tlsalign-static): New variable.
4280         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4281         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4283 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4285         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4286         csqrt, erfc, sin and sincos.
4287         * math/auto-libm-test-out: Regenerated.
4288         * sysdeps/i386/fpu/libm-test-ulps: Update.
4289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4293         * sysdeps/aarch64/libm-test-ulps: Update.
4295 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4297         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4298         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4305         [BZ #18265]
4306         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4307         (wcsncpy): Likewise.
4309 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4311         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4312         Assume __ASSUME_FALLOCATE is always true.
4313         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4314         (__posix_fallocate64_l64): Likweise.
4315         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4316         (posix_fallocate): Likewise.
4317         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4318         (__posix_fallocate64_l64): Likewise.
4319         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4320         [!__ASSUME_FALLOCATE]: Add comment.
4322 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4324         * sysdeps/unix/sysv/linux/i386/Makefile
4325         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4326         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4327         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4328         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4329         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4330         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4331         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4333 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4335         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4336         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4337         tgamma.
4338         * math/auto-libm-test-out: Regenerated.
4339         * sysdeps/i386/fpu/libm-test-ulps: Update.
4340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4342 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4344         * math/auto-libm-test-in: Add more tests of tgamma.
4345         * math/auto-libm-test-out: Regenerated.
4346         * sysdeps/i386/fpu/libm-test-ulps: Update.
4347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349         * math/auto-libm-test-in: Add more tests of tanh.
4350         * math/auto-libm-test-out: Regenerated.
4351         * sysdeps/i386/fpu/libm-test-ulps: Update.
4352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4354         * math/auto-libm-test-in: Add more tests of tan.
4355         * math/auto-libm-test-out: Regenerated.
4356         * sysdeps/i386/fpu/libm-test-ulps: Update.
4357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4359         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4360         * math/auto-libm-test-out: Regenerated.
4361         * sysdeps/i386/fpu/libm-test-ulps: Update.
4362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4364         * math/auto-libm-test-in: Add another test of pow.
4365         * math/auto-libm-test-out: Regenerated.
4366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4368         * math/auto-libm-test-in: Add more tests of lgamma.
4369         * math/auto-libm-test-out: Regenerated.
4370         * sysdeps/i386/fpu/libm-test-ulps: Update.
4371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4373         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4374         log1p.
4375         * math/auto-libm-test-out: Regenerated.
4376         * sysdeps/i386/fpu/libm-test-ulps: Update.
4377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4379 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4381         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4382         Elf64_Chdr structs and ELFCOMPRESS constants.
4384 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4386         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4387         expm1.
4388         * math/auto-libm-test-out: Regenerated.
4389         * sysdeps/i386/fpu/libm-test-ulps: Update.
4390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4392         * math/auto-libm-test-in: Add more tests of erf and erfc.
4393         * math/auto-libm-test-out: Regenerated.
4394         * sysdeps/i386/fpu/libm-test-ulps: Update.
4395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4397 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4399         * config.h.in (HAVE_AARCH64_BE): Add.
4401 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4403         * math/auto-libm-test-in: Add more tests of csqrt.
4404         * math/auto-libm-test-out: Regenerated.
4405         * sysdeps/i386/fpu/libm-test-ulps: Update.
4406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4409         * math/auto-libm-test-out: Regenerated.
4410         * sysdeps/i386/fpu/libm-test-ulps: Update.
4411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4415 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4417         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4418         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4420         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4421         (euidaccess, eaccess): Define as weak aliases.
4423         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4424         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4425         but __suseconds_t is often 'long int' so some sources assume that
4426         type is being used (e.g. they use %ld to print tv_usec).
4428 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4430         [BZ #18007]
4431         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4432         (CVE-2014-8121)
4433         * nss/tst-nss-getpwent.c: New file.
4434         * nss/Makefile (tests): Add new test.
4436 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4438         [BZ #18346]
4439         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4440         exponents less than 48 as cases where high part of mantissa needs
4441         examining to determine whether argument is integral.
4442         * math/libm-test.inc (round_test_data): Add more tests.
4444 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4446         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4448 2015-04-27  David S. Miller  <davem@davemloft.net>
4450         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4451         __tls_get_addr.
4452         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4454 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4456         [BZ#18333]
4457         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4459 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4461         [BZ#18333]
4462         * time/tzset.c (parse_tzname): Return error on memory allocation
4463         failure.
4464         * test-skeleton.c (struct temp_name_list): Change type of name
4465         member to non-const.
4466         (add_temp_file): Create a copy of the file name.
4467         (delete_temp_files): Deallocate memory.
4468         (create_temp_file): Add comment.
4470 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4472         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4473         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4475 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4477         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4478         * sysdeps/arm/configure: Regenerated.
4480 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4482         [BZ #17715]
4483         * time/tzfile.c (__tzfile_read): Check for large values of
4484         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4485         * time/tzset.c (__tzstring_len): New function, based on the old
4486         __tzstring function.
4487         (__tzstring): Call __tzstring_len.
4488         (parse_tzname): New helper function extracted from
4489         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4490         the input string.
4491         (parse_offset): New helper function extracted from
4492         __tzset_parse_tz.  Replace switch with fallthrough with
4493         initialization before sscanf.
4494         (parse_rule): Likewise.
4495         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4496         new-style function definition.
4497         * timezone/Makefile (tests): Add tst-tzset.
4498         (tst-tzset.out): Dependencies on time zone files.
4499         (tst-tzset-ENV): Set TZDIR.
4500         (testdata/XT%): Copy crafted time zone files.
4501         * timezone/README: Mention crafted time zone files.
4502         * timezone/testdata/XT1, timezone/testdata/XT2,
4503         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4504         files.
4505         * timezone/tst-tzset.c: New test.
4507 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4509         * Makeconfig (+gccwarn): Remove -Winline.
4511 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4513         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4515 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4517         * NEWS: Mention sysconf() cache information support for s390.
4518         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4520 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4522         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4523         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4524         (__nearbyint): Likewise.
4525         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4526         (copysignl): Likewise.
4528 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4530         [BZ #18287]
4531         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4532         based on padding.  (CVE-2015-1781)
4534 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4536         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4537         libc-vdso.h.
4538         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4539         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4540         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4541         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4542         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4543         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4546         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4547         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4548         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4549         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4550         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4551         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4552         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4553         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4554         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4556         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4557         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4558         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4559         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4560         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4562 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4564         * stdlib/setenv.c (__add_to_environ):
4565         Dump core quickly if setenv (..., NULL, ...) is called.
4566         This time, do it the right way, and pacify GCC with a pragma.
4568 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4570         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4571         IMAP->l_prev cannot be null, and #if out the code for the contrary
4572         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4573         believe that NS (&_dl_ns[NSID]) could point outside the array.
4575         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4576         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4577         before using NSID as an index.
4579 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4581         [BZ #17825]
4582         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4583         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4584         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4586 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4588         Add preliminary port to Google Native Client on ARM.
4589         * abi-tags (.*-.*-nacl.*): New entry.
4590         * sysdeps/arm/nacl: New directory.
4591         * sysdeps/nacl: New directory.
4593 2015-04-16  David S. Miller  <davem@davemloft.net>
4595         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4596         lowlevellock-futex.h
4598 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4600         * sysdeps/tile/configure.ac: New file.
4601         * sysdeps/tile/configure: Regenerated.
4603 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4605         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4606         conditionals for weak_alias and libc_hidden_weak.
4607         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4608         libc_hidden_weak and weak_alias.
4609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4610         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4611         and weak_alias for static one.
4613 2015-04-15  David S. Miller  <davem@davemloft.net>
4615         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4617 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4619         [BZ #18206]
4620         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4621           Use signed comparision instead of substraction to avoid
4622           overflow bug.
4623         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4624           Take the sign of ret.
4625         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4626           Do not expect precise return values. Only the sign matters.
4627         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4628         * wcsmbs/test-wcsncmp.c: New File.
4629         * string/test-strncmp.c: Add wcsncmp support.
4631 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4633         [BZ #6792]
4634         * math/w_log1p.c: New file.
4635         * math/w_log1pf.c: Likewise.
4636         * math/w_log1pl.c: Likewise.
4637         * math/Makefile (libm-calls): Add w_log1p.
4638         * math/s_log1pl.c (log1pl): Remove weak_alias.
4639         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4640         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4641         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4642         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4643         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4644         [NO_LONG_DOUBLE] (log1pl): Likewise.
4645         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4646         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4647         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4648         (log1p): Remove long_double_symbol.
4649         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4650         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4651         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4652         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4653         remove weak_alias for corresponding log1p function.
4654         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4655         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4656         * sysdeps/ia64/fpu/w_log1p.c: New file.
4657         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4658         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4659         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4661 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #18247]
4664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4665         decimal exponent by 1.
4666         * stdlib/tst-strtod-round-data: Add more tests.
4667         * stdlib/tst-strtod-round.c (tests): Regenerated.
4669 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4671         * math/auto-libm-test-in: Add more tests of clog and clog10.
4672         * math/auto-libm-test-out: Regenerated.
4673         * sysdeps/i386/fpu/libm-test-ulps: Update.
4674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4676 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4678         * Makeconfig (module-cppflags): Exclude all .v.i files.
4679         (skip-module-cppflags): Variable removed.
4681         * configure.ac (libc_config_ok): Initialize before reading
4682         preconfigure scripts, not after.
4683         * configure: Regenerated.
4685         * test-skeleton.c (TIMEOUT): Move #define to top level.
4686         (main): Grok environment variable TEST_DIRECT.  If set, print
4687         test expectation details into that file and then behave as if
4688         given --direct.
4690 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4692         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4693         warning on 32-bit.
4695 2015-04-08  David S. Miller  <davem@davemloft.net>
4697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4699 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4701         * math/auto-libm-test-in: Add more tests of atanh.
4702         * math/auto-libm-test-out: Regenerated.
4703         * sysdeps/i386/fpu/libm-test-ulps: Update.
4704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4706         * math/auto-libm-test-in: Add more tests of atan.
4707         * math/auto-libm-test-out: Regenerated.
4708         * sysdeps/i386/fpu/libm-test-ulps: Update.
4709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4711 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4713         * elf/pldd.c (main): Rewrite to use struct
4714         scratch_buffer instead of extend_alloca.
4715         * elf/pldd-xx.c (find_maps): Likewise.
4716         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4717         <alloca.h>.
4718         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4719         scratch_buffer instead of extend_alloca.
4720         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4721         grp/compat-initgroups.c.
4722         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4723         Rewrite to use struct scratch_buffer instead of extend_alloca.
4724         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4725         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4727 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4729         * math/auto-libm-test-in: Add more tests of cbrt.
4730         * math/auto-libm-test-out: Regenerated.
4731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4733         * math/auto-libm-test-in: Add more tests of cabs.
4734         * math/auto-libm-test-out: Regenerated.
4735         * sysdeps/i386/fpu/libm-test-ulps: Update.
4736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738         [BZ #18210]
4739         [BZ #18211]
4740         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4741         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4742         computations.
4743         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4744         clog10.
4745         * math/auto-libm-test-out: Regenerated.
4746         * sysdeps/i386/fpu/libm-test-ulps: Update.
4747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4749         [BZ #18197]
4750         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4751         (atan): Set FE_TONEAREST mode for internal computations.
4752         * math/auto-libm-test-in: Add more tests of atan.
4753         * math/auto-libm-test-out: Regenerated.
4755 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4757         [BZ #17930]
4758         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4760 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4762         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4764 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4766         * include/scratch_buffer.h: New file.
4767         * malloc/scratch_buffer_grow.c: Likewise.
4768         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4769         * malloc/scratch_buffer_set_array_size.c: Likewise.
4770         * malloc/tst-scratch_buffer.c: Likewise.
4771         * malloc/Makefile (routines): Add scratch_buffer_grow.
4772         (tests): Add test case.
4773         * malloc/Versions (GLIBC_PRIVATE): Export
4774         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4775         __libc_scratch_buffer_set_array_size.
4777 2015-04-06  Richard Henderson  <rth@redhat.com>
4779         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4780         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4782         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4783         unsigned int before printing.
4785 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4787         [BZ #17596]
4788         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4789         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4791 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4793         * include/libc-internal.h (libc_max_align_t): Define.
4795 2015-04-02  Andreas Schwab  <schwab@suse.de>
4797         [BZ #16850]
4798         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4800 2015-04-02  Mel Gorman  <mgorman@suse.de>
4802         [BZ #17195]
4803         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4804         as well as the main arena.
4806 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4808         [BZ #18185]
4809         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4810         sharing L2 cache to 2 for Silvermont/Knights Landing.
4812 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4814         [BZ #17711]
4815         * config.make.in (have-protected-data): New.
4816         * configure.ac: Check linker support for protected data symbol.
4817         * configure: Regenerated.
4818         * elf/Makefile (modules-names): Add tst-protected1moda and
4819         tst-protected1modb if $(have-protected-data) is yes.
4820         (tests): Add tst-protected1a and tst-protected1b if
4821         $(have-protected-data) is yes.
4822         ($(objpfx)tst-protected1a): New.
4823         ($(objpfx)tst-protected1b): Likewise.
4824         (tst-protected1modb.so-no-z-defs): Likewise.
4825         * elf/tst-protected1a.c: New file.
4826         * elf/tst-protected1b.c: Likewise.
4827         * elf/tst-protected1mod.h: Likewise.
4828         * elf/tst-protected1moda.c: Likewise.
4829         * elf/tst-protected1modb.c: Likewise.
4831 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4833         [BZ #17711]
4834         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4835         indicates it is called from do_lookup_x on relocation against
4836         protected data, skip the data definion in the executable from
4837         copy reloc.
4838         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4839         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4840         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4841         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4842         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4843         otherwise to 0.
4844         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4845         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4846         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4847         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4848         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4849         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4851 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4853         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4854         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4856 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4858         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4859         THREAD_SETMEM_NC.
4860         * sysdeps/x86_64/nptl/tls.h: Ditto.
4862 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4864         * dlfcn/tststatic.c (main): Converted to ...
4865         (do_test): ... this.
4866         (TEST_FUNCTION): New macro.
4867         Include test-skeleton.c.
4869 2015-03-26  Alan Modra  <amodra@gmail.com>
4871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4872         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4873         zero for undefined weak.
4874         (elf_machine_plt_conflict): Similarly.
4876 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4878         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4879         atanh.
4880         * math/auto-libm-test-out: Regenerated.
4881         * sysdeps/i386/fpu/libm-test-ulps: Update.
4882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4884         * math/auto-libm-test-in: Add another test of asin.
4885         * math/auto-libm-test-out: Regenerated.
4886         * sysdeps/i386/fpu/libm-test-ulps: Update.
4887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4890         Remove macro.
4891         (LLL_EBX_REG): Likewise.
4892         (LLL_ENTER_KERNEL): Likewise.
4894         * math/auto-libm-test-in: Add more tests of asin.
4895         * math/auto-libm-test-out: Regenerated.
4896         * sysdeps/i386/fpu/libm-test-ulps: Update.
4897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899         [BZ #18138]
4900         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4901         libc_do_syscall_args): New structure.
4902         (INTERNAL_SYSCALL_MAIN_0): New macro.
4903         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4904         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4905         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4906         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4907         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4908         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4909         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4910         Replace conditional definitions by conditional definitions of ....
4911         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4912         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4913         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4914         (libpthread-sysdep_routines): Add libc-do-syscall.
4915         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4916         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4917         to __NR_futex not 240.
4919 2015-03-25  Alan Modra  <amodra@gmail.com>
4921         * NEWS: Advertise TLS optimization.
4922         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4923         (DT_PPC_NUM): Increment.
4924         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4925         (CHECK_STATIC_TLS): Use here.
4926         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4927         TLS descriptors.
4928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4929         * sysdeps/powerpc/dl-tls.c: New file.
4930         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4931         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4932         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4933         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4938 2015-03-25  Alan Modra  <amodra@gmail.com>
4940         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4941         for overlapping .opd entries" to "support...".
4942         * sysdeps/powerpc/powerpc64/configure: Regenerate
4944 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4946         * math/auto-libm-test-in: Add more tests of acos.
4947         * math/auto-libm-test-out: Regenerated.
4948         * sysdeps/i386/fpu/libm-test-ulps: Update.
4949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4951         * math/auto-libm-test-in: Add more tests of expm1.
4952         * math/auto-libm-test-out: Regenerated.
4953         * sysdeps/i386/fpu/libm-test-ulps: Update.
4954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4958         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4959         * math/auto-libm-test-out: Regenerated.
4960         * sysdeps/i386/fpu/libm-test-ulps: Update.
4961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4963         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966         * math/auto-libm-test-in: Add more tests of log2.
4967         * math/auto-libm-test-out: Regenerated.
4968         * sysdeps/i386/fpu/libm-test-ulps: Update.
4969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4973         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4974         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4975         _IO_IS_APPENDING bit in READ_WRITE instead.
4977 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4979         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4980         (__determine_cpumask_size): Replace extend_alloca with a
4981         variable-length array.  Do not treat res == 0 as an error.
4983 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4985         [BZ #18100]
4986         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4987         and integer overflow.
4988         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4989         (main): Add integer overflow tests.
4990         * manual/pattern.texi (Calling Wordexp): Document additional use
4991         for WRDE_SYNTAX.
4993 2015-03-23  Alan Modra  <amodra@gmail.com>
4995         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4996         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4997         and false branch of conditional.
4998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4999         Likewise.
5001 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5003         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5004         libc-modules.h
5005         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5006         unused declaration of _hurd_intr_rpc_msg_in_trap.
5007         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5008         defined instead of whether it is non-zero.
5009         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5010         input constraint instead of both input and output constraint.  Use ecx
5011         clobber instead of %ecx.
5012         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5013         mutex_unlock): Use a statement expression instead of an expression list.
5014         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5015         type to vm_size_t instead of vm_address_t.
5016         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5017         defined instead of whether it is non-zero.
5018         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5019         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5020         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5021         comparisons with mapaddr.
5022         * nscd/nscd-client.h: Include <time.h>.
5023         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5024         9th parameter to __vm_region instead of int.
5025         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5026         * scripts/check-local-headers.sh (exclude): Add device/,
5027         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5028         cthreads.h.
5030 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5032         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5033         to account for alignment padding.
5034         * sysdeps/arm/memmove.S: Likewise.
5036 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5038         * sysdeps/unix/sysv/linux/generic/README: New file.
5040 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5042         [BZ #18138]
5043         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5044         (futex_abstimed_wait)
5045         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5046         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5047         of lll_futex_timed_wait.
5049 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5051         [BZ #17542]
5052         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5054 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5056         [BZ #17090]
5057         [BZ #17620]
5058         [BZ #17621]
5059         [BZ #17628]
5060         * NEWS: Update.
5061         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5062         entries with Static TLS too.  Skip entries past the end of the
5063         allocated DTV, from Alan Modra.
5064         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5065         Static TLS DTV entry set up from...
5066         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5067         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5068         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5069         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5070         for Static TLS.
5071         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5072         that the slot we find is associated with the given map before
5073         using its generation count.
5074         * nptl_db/db_info.c: Include ldsodefs.h.
5075         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5076         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5077         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5078         (link_map::l_tls_offset): New struct field.
5079         (dtv_t::counter): Likewise.
5080         (rtld_global): New struct.
5081         (_rtld_global): New rtld variable.
5082         (dl_tls_dtv_slotinfo_list): New rtld global field.
5083         (dtv_slotinfo_list): New struct.
5084         (dtv_slotinfo): Likewise.
5085         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5086         (td_lookup): Rename to...
5087         (td_mod_lookup): ... this.  Use new mod parameter instead of
5088         LIBPTHREAD_SO.
5089         * nptl_db/td_thr_tlsbase.c: Include link.h.
5090         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5091         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5092         addresses even if the DTV is out of date or missing them.
5093         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5094         index zero-length arrays.
5095         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5096         (td_lookup): Make it a macro implemented in terms of...
5097         (td_mod_lookup): ... this declaration.
5098         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5099         (DB_MAIN_VARIABLE): Likewise.
5101 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5103         [BZ #18134]
5104         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5106 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5108         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5110 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5112         [BZ #18128]
5113         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5114         (atomic_add, atomic_increment_and_test)
5115         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5117 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5119         * stdlib/setenv.c (__add_to_environ):
5120         Dump core quickly if setenv (..., NULL, ...) is called.
5122 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5124         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5125         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5126         all the necessary asm magic in one place.
5127         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5128         using those.
5130 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5132         [BZ #14906]
5133         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5134         traced file mtime. Use consistent log message.
5135         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5136         (register_traced_file): Call install_watches. Always set mtime.
5137         (invalidate_cache): Iterate over all trace files. Call install_watches.
5138         (inotify_check_files): Don't inline. Handle watching parent
5139         directories and configuration file movement in and out.
5140         (handle_inotify_events): New function.
5141         (main_loop_poll): Call handle_inotify_events.
5142         (main_loop_epoll): Likewise.
5143         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5144         (struct traced_file): Use array of inotify fds. Add parent directory,
5145         and basename.
5146         (struct database_dyn): Remove unused file_mtime.
5147         (init_traced_file): New inline function.
5148         (define_traced_file): New macro.
5149         * nss/nss_db/db-init.c: Use define_traced_file.
5150         (_nss_db_init): Use init_traced_file.
5151         * nss/nss_files/files-init.c: Use define_traced_file.
5152         (_nss_files_init): Use init_traced_file.
5154 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5156         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5157         [_LIBC]: Do not include <stdlib.h>.
5158         [!_LIBC] (abort): Remove declaration.
5159         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5160         _FP_STATIC_ASSERT instead of conditionally calling abort.
5161         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5162         (_FP_EXTEND_CNAN): Likewise.
5163         (FP_TRUNC): Likewise.
5164         (__FP_CLZ): Likewise.
5165         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5167 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5169         * manual/string.texi (XPG basename): Fix prototype.
5171 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5173         [BZ #18080]
5174         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5175         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5176         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5177         (__setcontext): Likewise.
5178         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5179         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5180         Call rt_sigprocmask syscall one time to set new signal mask
5181         and retrieve the current signal mask instead of two calls.
5182         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5183         (__swapcontext): Likewise.
5184         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5185         * stdlib/tst-setcontext2.c: New file.
5187 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5189         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5191 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5193         [BZ #18093]
5194         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5195         the wrong size.
5197 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5199         [BZ #18043]
5200         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5202 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5204         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5205         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5206         Remove define.
5207         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5208         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5209         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5210         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5211         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5212         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5213         define.
5214         * nptl_db/td_symbol_list.c (td_lookup): Remove
5215         HAVE_ASM_GLOBAL_DOT_NAME code.
5216         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5217         HAVE_ASM_GLOBAL_DOT_NAME check.
5218         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5219         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5220         (DOT_LABEL): Remove define.
5221         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5222         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5223         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5224         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5225         (__TLS_GET_ADDR): Likewise.
5226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5227         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5229 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5231         [BZ #18111]
5232         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5233         (_FPU_SETCW): Initialize cw from fpsr before storing.
5234         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5235         (fesetexceptflag): Rewrite using fpu_control.h.
5236         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5238 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5240         [BZ #18110]
5241         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5242         asms.
5243         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5245 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5247         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5248         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5249         abort.
5250         (_FP_FMA): Likewise.
5251         (_FP_DIV): Likewise.
5253 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5255         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5256         with 0 in that case.
5257         * Makefile (summarize-tests): New canned sequence, factored out of
5258         commands for targets tests and xtests.  Display summary lines that
5259         don't start with PASS: or XFAIL: rather than ones that do start with
5260         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5261         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5262         do start with ERROR: or FAIL:.
5263         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5264         (except for [$(build-shared) = yes]).
5265         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5266         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5267         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5268         * nptl/Makefile: Revert 2015-03-04 changes.
5269         [$(CXX) empty] (tests-unsupported): New variable.
5270         * debug/Makefile: Likewise.
5272         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5273         gnulib file.  Replace __attribute with __attribute__ throughout.
5275 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5277         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5279 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5281         [BZ #18104]
5282         * math/auto-libm-test-in: Add another test of pow.
5283         * math/auto-libm-test-out: Regenerated.
5285 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5287         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5288         $(config-cflags-nofma).
5290 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5292         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5293         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5294         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5295         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5296         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5297         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5298         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5299         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5300         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5301         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5302         Add comment on closing #endif.
5304 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5306         * posix/wordexp.c (CHAR_IN_SET): New macro.
5307         (parse_param): Use it.
5309 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5311         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5313 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5315         [BZ #18043]
5316         * posix/wordexp.c (parse_param): Fix buffer overflow.
5317         * posix/wordexp-test.c (test_case): Add test case.
5319 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5321         [BZ #18042]
5322         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5323         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5325 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5327         [BZ #18043]
5328         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5329         (do_bz18043): Delete.
5330         (at_page_end): New.
5331         (testit): Refactor to have words at the edge of unreadable page.
5333 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5335         [BZ #16734]
5336         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5337         Cleanup read-only streams as well.
5338         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5340 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5342         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5343         <bits/libc-lockP.h>
5345 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5347         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5348         on [__KERNEL__].
5349         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5350         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5351         * soft-fp/op-common.h (_FP_DECL): Likewise.
5353 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5355         * elf/ifuncdep2.c (global): Replace
5356         __attribute__((visibility("protected"))) with
5357         asm (".protected global").
5358         * elf/ifuncmod1.c (global): Likewise.
5359         * elf/ifuncmod5.c (global): Likewise.
5361 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5363         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5364         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5366 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5368         * manual/install.texi (Configuring and compiling):
5369         Document test-wrapper-env-only.
5370         * INSTALL: Regenerated.
5372 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5374         [BZ #18043]
5375         * posix/wordexp.c (parse_param): Fix buffer overflow.
5376         * posix/wordexp-test.c (do_bz18043): Add test case.
5378 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5380         * time/tst-strptime2.c (do_test): Ensure failing tests are
5381         reported correctly.
5382         * time/tst-strptime3.c (do_test): Likewise.
5384 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5386         Fix aio_error thread-safety.
5387         * sysdeps/pthread/aio_error.c: New file
5388         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5389         synchronization.
5391 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5393         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5394         (group_number, vfprintf): Use it.
5395         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5396         (JUMP, REF): Use it.
5397         (WORK_BUFFER_SIZE): New enum constant.
5398         (process_arg, vfprintf): Use it.
5400 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5402         * manual/errno.texi (Error Messages): Complete example function
5403         by adding missing #define.
5404         (program_invocation_name): Add statement indicating GNU
5405         extension and reference which header file declares the variable.
5406         (program_invocation_short_name): Likewise.
5408 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5410         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5411         compatibility note.
5413 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5415         * Makeconfig (test-wrapper-env-only): New variable.
5416         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5417         then use that with $(test-wrapper-env-only) rather than using
5418         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5420 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5422         [BZ #18082]
5423         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5424         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5425         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5426         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5427         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5428         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5429         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5430         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5431         Likewise.
5432         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5433         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5434         Likewise.
5435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5436         Likewise.
5437         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5438         Likewise.
5439         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5440         Likewise.
5441         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5442         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5443         Likewise.
5444         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5445         Likewise.
5446         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5447         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5449 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5451         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5452         (ETH_ALEN): New macro.
5453         (struct ether_addr): Use it for length of ether_addr_octet.
5455         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5456         (setdb): Don't call __nss_configure_lookup for "rpc".
5457         (do_test): Don't call test_rpc.
5458         (output_rpcent, test_rpc): Functions moved ...
5459         * sunrpc/test-rpcent.c: ... to this new file.
5460         * sunrpc/Makefile (tests): Add it.
5462         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5463         __xpg_sigpause.
5464         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5465         * nptl/tst-signal6.c: Likewise.
5466         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5467         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5469         * configure.ac (libc_cv_cxx_link_ok): New check.
5470         Reset CXX to empty if it fails to link.
5471         * configure: Regenerated.
5472         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5473         bug-atexit3-lib only if $(CXX) is nonempty.
5474         * nptl/Makefile (tests): Likewise for tst-cancel24.
5475         (tests, tests-static): Likewise for tst-cancel24-static.
5476         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5477         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5478         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5479         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5481 2015-03-04  Andreas Schwab  <schwab@suse.de>
5483         [BZ #17631]
5484         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5485         for non-GCC compilers.
5486         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5487         Likewise.
5489 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5491         [BZ #17776]
5492         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5493         integer before bitwise and assembly operations.
5494         (feclearexcept): Likewise.
5495         * math/test-fenvinline.c: New file.
5496         * math/Makefile: Add test-fenvinline test.
5498 2015-03-03  Alan Modra  <amodra@gmail.com>
5500         [BZ #16512]
5501         * scripts/localplt.awk: Strip off symbol version.
5502         * NEWS: Mention bug fix.
5504 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5506         * sysdeps/pthread/timer_routines.c
5507         (timer_free_list, thread_free_list, thread_active_list): Make static.
5509 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #17779]
5512         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5513         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5514         Undefine.
5515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5516         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5517         Likewise.
5518         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5519         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5520         Likewise.
5522 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5524         [BZ #18036]
5525         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5526         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5528 2015-03-02  Andreas Schwab  <schwab@suse.de>
5530         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5531         variable name.
5533 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5535         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5536         Return error status.
5538 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5540         [BZ #15969]
5541         * locale/findlocale.c (_nl_find_locale): Introduce const
5542         version of loc_name and drop unsafe type casts.
5544 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5546         * dlfcn/tststatic2.c (main): Converted to ...
5547         (do_test): ... this.
5548         (TEST_FUNCTION): New macro.
5549         Include test-skeleton.c.
5551 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5553         [BZ #17711]
5554         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5555         (tests-pie): Add vismain.
5556         (CFLAGS-vismain.c): New.
5557         * elf/vismain.c: Add comments for PIE requirement.
5559 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #18046]
5562         [BZ #18047]
5563         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5564         0x1p-56L as threshold for just returning the argument.
5565         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5566         0x1p-32L as threshold for just returning the argument.
5567         * math/auto-libm-test-in: Add more tests of atanh.
5568         * math/auto-libm-test-out: Regenerated.
5569         * sysdeps/i386/fpu/libm-test-ulps: Update.
5570         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5572 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5574         * string/bcopy.c (bcopy): Call memmove for performance.
5576 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5578         * string/bzero.c (__bzero): Call memset for performance.
5580 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5582         [BZ #18068]
5583         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5584         to 00100000.
5586 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5588         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5590 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5592         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5593         (__kernel_standard): Use CSTR macro when setting exc.name.
5594         * sysdeps/ieee754/Makefile [$(subdir) = math]
5595         (CFLAGS-k_standard.c): Remove variable.
5597         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5598         setting p and q from "else if" to "else".
5599         (qzero): Likewise.
5600         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5601         (qone): Likewise.
5602         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5603         (qzerof): Likewise.
5604         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5605         (qonef): Likewise.
5606         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5607         (qzero): Likewise.
5608         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5609         (qone): Likewise.
5611         [BZ #18038]
5612         [BZ #18039]
5613         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5614         return pi/2 for arguments below 0x1p-113L.
5615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5616         return pi/2 for arguments below 0x1p-106L.
5617         * math/auto-libm-test-in: Add more tests of acos.
5618         * math/auto-libm-test-out: Regenerated.
5620         [BZ #16351]
5621         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5622         (MO): New macro.
5623         (__ieee754_asin): Force underflow exception for results with small
5624         absolute value.
5625         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5626         (MO): New macro.
5627         (__ieee754_asinf): Force underflow exception for results with
5628         small absolute value.
5629         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5630         (__ieee754_asin): Force underflow exception for results with small
5631         absolute value.
5632         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5633         (__ieee754_asinf): Force underflow exception for results with
5634         small absolute value.
5635         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5636         (__ieee754_asinl): Force underflow exception for results with
5637         small absolute value.
5638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5639         (__ieee754_asinl): Force underflow exception for results with
5640         small absolute value.
5641         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5642         (__ieee754_asinl): Force underflow exception for results with
5643         small absolute value.
5644         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5645         Include <math.h>.
5646         * math/auto-libm-test-in: Do not mark underflow exceptions as
5647         possibly missing for bug 16351.
5648         * math/auto-libm-test-out: Regenerated.
5650         [BZ #18030]
5651         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5652         of power of 2 down when low part has opposite sign.
5653         * math/libm-test.inc (logb_test_data): Add more tests.
5655 2015-02-26  Andreas Schwab  <schwab@suse.de>
5657         [BZ #18032]
5658         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5659         over collating symbol inside a bracket expression.  Minor cleanup.
5660         * posix/tst-fnmatch3.c (do_test): Add test case.
5662 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5664         [BZ #18029]
5665         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5666         Adjust exponent of power of 2 down when low part has opposite
5667         sign.
5668         * math/libm-test.inc (ilogb_test_data): Add more tests.
5670 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5672         [BZ #15969]
5673         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5674         the previous change.
5676         [BZ #15969]
5677         * locale/findlocale.c (_nl_find_locale): Retry archive search
5678         after alias expansion.
5680 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5682         * iconv/tst-iconv3.c (main): Converted to ...
5683         (do_test): ... this.
5684         (TEST_FUNCTION): New macro.
5685         Include test-skeleton.c.
5687         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5688         (convert): Make function static.
5689         (test_unalign): Likewise.  Add const to argument pointee types.
5690         (main): Replace with static function do_test.
5691         Print "Succeeded." only if RET is zero.
5692         (TEST_FUNCTION): New macro.
5693         Include test-skeleton.c.
5695         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5696         returns a null pointer.
5698 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5700         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5701         to __memcpy_ppc only for static builds.
5703 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5705         [BZ #18020]
5706         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5707         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5708         * math/auto-libm-test-in: Add more tests of asinh.
5709         * math/auto-libm-test-out: Regenerated.
5710         * sysdeps/i386/fpu/libm-test-ulps: Update.
5711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5713 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5715         [BZ #15850]
5716         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5717         and ip6_mtuinfo definitions here.
5718         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5719         in this define too.  Update comment.
5721 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5723         * elf/sprof.c (load_shobj): Tweak error message to match others.
5725 2015-02-24  Kevin Easton  <kevin@guarana.org>
5727         [BZ #16145] (partial fix)
5728         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5729         to reduce lock contention.
5731 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5733         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5734         (struct timex): Update time comment.
5735         (ADJ_SETOFFSET): Define.
5737 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5739         [BZ #18019]
5740         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5741         2**56 not 2**28 as threshold for log (2x) formula.
5742         * math/auto-libm-test-in: Add more tests of acosh.
5743         * math/auto-libm-test-out: Regenerated.
5744         * sysdeps/i386/fpu/libm-test-ulps: Update.
5745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5749         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5750         parenthesis around the buf assignment.
5751         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5753 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5755         [BZ #16783]
5756         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5757         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5758         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5759         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5760         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5761         * math/libm-test.inc (scalb_test_data): Add more tests.
5763 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5765         [BZ #17916]
5766         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5767         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5769 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5771         [BZ #17523]
5772         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5773         * io/bits/fcntl2.h (open): Use it.
5774         (openat): Likewise.
5775         * io/open.c (__libc_open): Likewise.
5776         * io/open64.c (__libc_open64): Likewise.
5777         * io/open64_2.c (__open64_2): Likewise.
5778         * io/open_2.c (__open_2): Likewise.
5779         * io/openat.c (__openat): Likewise.
5780         * io/openat64.c (__openat64): Likewise.
5781         * io/openat64_2.c (__openat64_2): Likewise.
5782         * io/openat_2.c (__openat_2): Likewise.
5783         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5784         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5785         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5786         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5787         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5788         (__open_nocancel): Likewise.
5789         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5790         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5791         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5793 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5795         [BZ #14841]
5796         * resolv/gethnamaddr.c (getanswer): Skip logging if
5797         RES_USE_DNSSEC is set.
5798         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5800 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5802         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5804 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5806         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5807         201304L, for Unicode 7.
5809 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5811         [BZ #17836]
5812         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5813         shared library.  Add gmon-start.os otherwise.
5814         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5815         $(objpfx)gmon-start.os if builing shared library.
5816         ($(objpfx)g$(static-start-installed-name)): Likewise.
5818 2015-02-23  Andreas Schwab  <schwab@suse.de>
5820         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5822 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5824         [BZ #17269]
5825         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5826         (enlarge_userbuf): Likewise.
5828 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5830         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5831         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5832         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5833         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5835 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5837         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5838         expression inside statement expression.
5840 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5842         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5843         <sysdeps/nptl/lowlevellock.h> and remove macros and
5844         functions that are now defined there.
5845         (SYS_futex): Remove.
5846         (lll_compare_and_swap): Remove.
5847         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5849 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5851         [BZ #17999]
5852         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5853         instead of scandirat.
5854         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5855         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5856         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5857         __scandirat.
5858         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5859         (__scandirat): Declare.  Use libc_hidden_proto.
5860         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5861         Remove variable.
5862         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5864 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5866         [BZ #15319]
5867         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5868         (MO): New macro.
5869         (__ieee754_atan2): For results with small absolute value, force
5870         underflow exception and remove excess range and precision from
5871         return value.
5872         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5873         (MO): New macro.
5874         (__ieee754_atan2f): For results with small absolute value, force
5875         underflow exception and remove excess range and precision from
5876         return value.
5877         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5878         (MO): New macro.
5879         (__atan): For results with small absolute value, force underflow
5880         exception and remove excess range and precision from return value.
5881         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5882         (MO): New macro.
5883         (__atanf): For results with small absolute value, force underflow
5884         exception and remove excess range and precision from return value.
5885         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5886         <math.h>.
5887         (__ieee754_atan2): Force underflow exception for results with
5888         small absolute value.
5889         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5890         <math_private.h>.
5891         (atan): Force underflow exception for results with small absolute
5892         value.
5893         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5894         (__atanf): Force underflow exception for results with small
5895         absolute value.
5896         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5897         <math.h>.
5898         (__atanl): Force underflow exception for results with small
5899         absolute value.
5900         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5901         (__atanl): Force underflow exception for results with small
5902         absolute value.
5903         * sysdeps/x86/fpu/bits/mathinline.h
5904         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5905         (__ieee754_atan2): Only define inline for long double.
5906         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5907         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5908         * math/auto-libm-test-in: Do not mark underflow exceptions as
5909         possibly missing for bug 15319.  Add more tests of atan2.
5910         * math/auto-libm-test-out: Regenerated.
5911         * math/libm-test.inc (casin_test_data): Do not mark underflow
5912         exceptions as possibly missing for bug 15319.
5913         (casinh_test_data): Likewise.
5914         * sysdeps/i386/fpu/libm-test-ulps: Update.
5916 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5918         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5919         * sysdeps/mips/bits/endian.h: Fix comments.
5921 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5923         [BZ #17996]
5924         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5925         (hdestroy_r): Likewise.
5926         (hsearch_r): Likewise.
5927         (__hcreate_r): Declare and use libc_hidden_proto.
5928         (__hdestroy_r): Likewise.
5929         (__hsearch_r): Likewise.
5930         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5931         (hcreate): Call __hcreate_r instead of hcreate_r.
5932         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5933         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5934         as weak alias of __hcreate_r.
5935         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5936         __hdestroy_r.
5937         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5938         __hsearch_r.
5939         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5940         Remove variable.
5941         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5942         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5943         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5944         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5946 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5948         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5949         arena_lock into a single arena_get.
5951 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5953         * dl-reloc.c: Inlucde libc-internal.h.
5954         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5955         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5956         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5957         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5958         (grow_heap): Likewise.
5959         * malloc/malloc.c: Include libc-internal.h.
5960         (do_check_malloc): Call powerof2.
5961         (sysmalloc): Use pagesize. Call ALIGN_UP.
5962         (systrim): Use pagesize.
5963         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5964         (__libc_valloc): Use pagesize.
5965         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5967 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5969         [BZ #17991]
5970         * include/sys/resource.h (__getrlimit64): Declare.  Use
5971         libc_hidden_proto.
5972         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5973         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5974         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5975         getrlimit64.
5976         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5977         __getrlimit64.
5978         [!getrlimit64] (getrlimit64): Define as weak alias of
5979         __getrlimit64.  Use libc_hidden_weak.
5980         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5981         using __getrlimit64 not __new_getrlimit64.
5982         (__GI_getrlimit64): Likewise.
5983         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5984         Likewise.
5985         (__GI_getrlimit64): Likewise.
5986         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5988         (getrlimit): Add __getrlimit64 alias.
5989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5990         Likewise.
5991         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5992         Remove variable.
5993         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5994         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5996 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5998         * libio/fileops.c: Add missing sys/mman.h
5999         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6001 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6003         * manual/math.texi (Errors in Math Functions): Clarify goals
6004         regarding inexact and underflow exceptions.
6006 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6008         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6009         * sysdeps/mips/memset.S: Ditto.
6011 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6013         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6015 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6017         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6018         (__v1longjmp): Remove versioned symbol.
6019         (__v1siglongjmp): Remove alias and versioned symbol.
6020         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6021         (__v2siglongjmp): Likewise.
6023 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6025         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6027 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6029         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6031 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6033         [BZ #17987]
6034         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6035         zero result does not depend on the sign resulting from
6036         subtraction.
6037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6038         Likewise.
6039         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6040         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6041         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6042         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6043         * math/libm-test.inc (remquo_test_data): Add more tests.
6045 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6047         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6048         Problem reported by J William Piggott.
6050 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6052         [BZ #17978]
6053         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6054         products 4 * y and 2 * y where those would overflow.
6055         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6056         Likewise.
6057         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6058         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6059         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6060         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6061         * math/libm-test.inc (remquo_test_data): Add more tests.
6063         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6065         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6066         [defined _COMPILING_NEWLIB].
6067         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6068         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6070         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6071         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6073 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6075         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6076         acquired.
6078 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6080         [BZ #17792]
6081         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6082         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6083         HOST_STACK_END_ADDR): Likewise.
6085 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6087         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6088         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6089         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6091 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6093         * sysdeps/generic/c++-types.data: New file.
6094         * sysdeps/generic/ld.abilist: New file.
6095         * sysdeps/generic/libBrokenLocale.abilist: New file.
6096         * sysdeps/generic/libanl.abilist: New file.
6097         * sysdeps/generic/libc.abilist: New file.
6098         * sysdeps/generic/libcrypt.abilist: New file.
6099         * sysdeps/generic/libdl.abilist: New file.
6100         * sysdeps/generic/libm.abilist: New file.
6101         * sysdeps/generic/libpthread.abilist: New file.
6102         * sysdeps/generic/libresolv.abilist: New file.
6103         * sysdeps/generic/librt.abilist: New file.
6105 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6107         [BZ #17569]
6108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6109         Compute absolute value of x as modified by fmod, not original
6110         value of x.
6111         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6112         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6113         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6114         RUN_TEST_ffI_f1_mod8.
6115         (remquo_test_data): Add more tests.
6117 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6119         * sysdeps/init_array/pt-crti.S: New file.
6121 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6123         [BZ #17967]
6124         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6125         __builtin_fmaf instead of relying on contraction of a * b + c.
6127 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6129         [BZ #17969]
6130         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6131         node.
6133 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6135         [BZ #17964]
6136         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6137         __builtin_fma instead of relying on contraction of a * b + c.
6139 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6141         * Makeconfig (ASFLAGS): Add -Werror=undef.
6142         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6143         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6144         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6146         * Makeconfig (after-link): New variable.
6147         (+link-pie, +link-pie-tests): Use it.
6148         (+link-static, +link-static-tests): Likewise.
6149         (+link, +link-tests): Likewise.
6150         * Makerules (build-module, build-module-asneeded): Likewise.
6151         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6152         Likewise.
6153         * elf/Makefile ($(objpfx)ld.so): Likewise.
6155 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6157         [BZ #17965]
6158         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6159         both struct timeval and struct timespec.
6161 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6163         [BZ #16560]
6164         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6165         and redefine.
6166         (__ieee754_exp2l): Do not multiply small fractional parts by
6167         M_LN2l.
6168         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6169         small argument.
6170         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6171         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6172         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6173         * math/auto-libm-test-in: Add more tests of exp2.
6174         * math/auto-libm-test-out: Regenerated.
6176 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6178         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6179         unaligned path.
6181 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6183         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6184         little endian.
6186 2015-02-12  Andreas Schwab  <schwab@suse.de>
6188         [BZ #15790]
6189         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6190         Filter out elision flags from value returned in kind.
6191         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6192         * nptl/tst-pthread-mutexattr.c: New file.
6194 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6196         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6197         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6198         into gnu-gnu, and update comment to refer to abi-tags.
6200 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #15467]
6203         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6204         (__sincos): Set errno to EDOM for infinite argument.
6205         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6206         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6207         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6208         (__sincosl): Set errno to EDOM for infinite argument.
6209         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6210         (__sincosl): Set errno to EDOM for infinite argument.
6211         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6212         (__sincosl): Set errno to EDOM for infinite argument.
6213         * math/libm-test.inc (sincos_test_data): Test errno setting.
6215 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6217         * string/strxfrm_l.c: Remove #define STRCMP.
6218         * string/strcoll_l.c: Remove #define STRLEN.
6219         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6220         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6222 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6224         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6225         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6226         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6227         * sysdeps/mips/mips64/Makefile: ... here.
6228         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6229         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6230         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6231         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6232         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6233         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6234         * sysdeps/mips/mips64/n64/Implies: Likewise.
6236 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6238         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6239         <sys/time.h>, <string.h>, and <errno.h>.
6240         (dest_offset, dest_address, value, zero): Remove unused variables.
6241         (ldouble): Remove typedef.
6242         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6243         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6244         1).  Fix code style.
6245         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6246         (check): Function removed.
6247         (CHECK): New macro.
6248         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6249         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6250         Don't call set_sigaction_FP and remove_sigaction_FP here.
6251         (ldouble_test): Just use 'long double' as macro argument, no need for
6252         the 'ldouble' typedef.
6253         (do_test): Set up SIGFPE handler at start, using plain signal rather
6254         than sigaction.  Fix code style.
6256 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6258         [BZ #17949]
6259         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6260         jump label.
6262 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6264         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6265         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6267         * sysdeps/powerpc/configure.ac: Remove file.
6268         * sysdeps/powerpc/configure: Likewise.
6270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6271         [sysdep_routines]: Remove wordcopy-power6 object.
6272         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6273         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6274         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6275         (__memmove_ppc32): Likewise.
6276         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6277         file.
6278         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6279         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6280         Remove preprocessor.
6282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6283         [sysdep_routines]: Remove wide chars objects.
6284         [wcsmbs]: New rule for wide char objects.
6286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6287         Remove wordcopy-power6 obejct.
6288         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6289         Use local call for wordcopy and memcpy symbols.
6290         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6292         implementation for loader.
6293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6296         Remove wordcopy-power7 object.
6297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6299         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6300         (_wordcopy_fwd_dest_aligned): Likewise.
6301         (_wordcopy_bwd_aligned): Likewise.
6302         (_wordcopy_bwd_dest_aligned): Likewise.
6304         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6305         Rewrite to call __memmove_ppc instead of include default
6306         implementation.
6308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6309         Remove wide chars objects.
6310         [wcsmbs]: New rule for wide char objects.
6312 2015-02-09  Andreas Schwab  <schwab@suse.de>
6314         [BZ #17912]
6315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6316         in terms of __O_DIRECTORY.
6318 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6320         * time/getdate.c: Include <stdbool.h>.
6321         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6322         call PTR_MANGLE.
6323         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6324         PTR_DEMANGLE.
6326 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6328         Add ersatz _Static_assert on older C hosts
6329         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6330         pre-C11 C platform that is not known to support _Static_assert.
6332 2015-02-07  Richard Braun  <rbraun@sceen.net>
6334         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6335         sigstate.
6336         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6338 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6340         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6341         priority against unexistent AIO_PRIO_DELTA_MAX.
6342         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6343         instead of int.
6344         * misc/fchflags.c (fchflags): Likewise.
6345         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6346         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6347         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6348         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6349         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6350         Declare macros.
6351         [__USE_MISC] (chflags, fchflags): Declare functions.
6352         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6353         EINVAL when nfds is greater than FD_SETSIZE.
6354         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6355         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6356         45.
6357         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6358         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6359         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6360         MACH_RCV_TIMED_OUT.
6361         * hurd/hurd/signal.h (_hurd_self_sigstate,
6362         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6363         Explicit casts from void *.
6364         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6365         * abi-tags: Rename gnu-gnu os into gnu.
6367         [BZ #4719]
6368         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6369         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6370         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6371         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6372         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6373         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6375         [BZ #17944]
6376         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6377         duplicates ADDR->sun_path with sockaddr LEN limitation.
6378         * sysdeps/mach/hurd/connect.c: Include <string.h>
6379         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6380         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6381         * sysdeps/mach/hurd/sendto.c: Likewise.
6382         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6383         implementing it by hand.
6385 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6387         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6388         Use sfi_breg on ldr.
6389         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6390         Likewise.
6392         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6393         it's defined.
6394         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6395         Test SIGSETXID only if it's defined.
6397         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6399         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6400         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6402         * nptl/tst-align2.c: Moved ...
6403         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6404         * nptl/Makefile (tests): Remove tst-align2.
6405         * sysdeps/unix/sysv/linux/Makefile
6406         [$(subdir) = nptl] (tests): Add tst-align-clone.
6407         * nptl/tst-getpid1.c: Moved ...
6408         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6409         * nptl/tst-getpid2.c: Moved ...
6410         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6411         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6412         * sysdeps/unix/sysv/linux/Makefile
6413         [$(subdir) = nptl] (tests): ... here.
6414         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6415         * sysdeps/unix/sysv/linux/Makefile
6416         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6418         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6419         Drop trailing \n from perror argument.  Use return rather than exit.
6421         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6422         on [SA_SIGINFO].
6423         * nptl/tst-cancel21.c (do_test): Likewise.
6424         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6425         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6426         [!SA_SIGINFO]: Make it a stub test.
6428         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6429         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6431         * posix/tst-getlogin.c: Move to ...
6432         * login/tst-getlogin.c: ... here.
6433         * posix/Makefile (tests): Move tst-getlogin to ...
6434         * login/Makefile (tests): ... here.
6436         * libio/tst-atime.c (do_test): Move local variables SV and E
6437         inside [ST_NOATIME] conditional.
6439         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6441         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6443         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6444         (wait_code): New function replaces macro.
6445         Call nanosleep rather than syscall.
6447         * nptl/pt-system.c: Rewritten.  Put everything under
6448         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6449         Use IFUNC to redirect when possible.
6451         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6452         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6453         Use IFUNC to redirect when possible.
6455         * nptl/pt-fork.c: Rewritten.  Put everything under
6456         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6457         Use IFUNC to redirect when possible.
6458         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6461         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6462         unconditionally nowadays.  This included the only reference to
6463         __vdso_clock_gettime that appears outside libc proper.
6464         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6465         Remove version set (containing only __vdso_clock_gettime).
6466         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6467         Add attribute_hidden.
6468         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6469         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6470         libc_hidden_data_def.
6471         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6472         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6474         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6475         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6476         setrpcent, and getrpcport to ...
6477         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6478         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6479         getrpcbynumber_r, and getrpcent_r to ...
6480         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6481         * inet/getrpcbyname.c: Moved ...
6482         * sunrpc/getrpcbyname.c: ... here.
6483         * inet/getrpcbyname_r.c: Moved ...
6484         * sunrpc/getrpcbyname_r.c: ... here.
6485         * inet/getrpcbynumber.c: Moved ...
6486         * sunrpc/getrpcbynumber.c: ... here.
6487         * inet/getrpcbynumber_r.c: Moved ...
6488         * sunrpc/getrpcbynumber_r.c: ... here.
6489         * inet/getrpcent.c: Moved ...
6490         * sunrpc/getrpcent.c: ... here.
6491         * inet/getrpcent_r.c: Moved ...
6492         * sunrpc/getrpcent_r.c: ... here.
6493         * inet/Makefile (routines): Move those to ...
6494         * sunrpc/Makefile (routines): ... here.
6495         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6496         the $(subdirs) list.
6497         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6498         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6499         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6500         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6502         * elf/Makefile (routines): Include $(all-dl-routines), not just
6503         $(dl-routines).
6504         (rtld-routines): Likewise.  Use = rather than :=.
6505         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6506         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6507         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6508         * sysdeps/arm/Makefile: Likewise.
6509         * sysdeps/i386/Makefile: Likewise.
6510         * sysdeps/x86_64/Makefile: Likewise.
6511         * sysdeps/hppa/Makefile [$(subdir) = elf]
6512         (sysdep_routines, sysdep-rtld-routines): Don't add
6513         $(sysdep-dl-routines) to these.
6514         * sysdeps/ia64/Makefile: Likewise.
6515         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6516         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6517         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6518         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6519         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6520         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6521         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6522         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6523         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6524         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6525         these; sysdep-dl-routines alone is enough.
6527 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6529         [BZ #17932]
6530         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6531         where multiplication results in zero and third argument is finite
6532         and nonzero.
6533         * math/auto-libm-test-in: Add more tests of fma.
6534         * math/auto-libm-test-out: Regenerated.
6536         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6537         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6538         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6539         (_FP_CMP_EQ): Likewise.
6540         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6542         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6543         extra argument CHECK_NAN.  Redefine as wrapper around
6544         _FP_EXTEND_CNAN.
6546 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6548         * version.h (RELEASE): Set to "stable".
6549         (VERSION): Set to "2.21"
6550         * include/features.h (__GLIBC_MINOR__): Set to 21.
6552         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6554 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6555             Paul Eggert  <eggert@cs.ucla.edu>
6557         [BZ #16618]
6558         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6560         size in bytes. Store needed elements in wpmax. Use needed size
6561         in bytes for extend_alloca.
6563 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6565         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6566         binutls 2.25, and texinfo 5.2.
6567         * INSTALL: Regenerate.
6568         * sysdeps/nios2/configure: Regenerate.
6569         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6570         * manual/contrib.texi: Update.
6571         * po/be.po: Update.
6572         * po/bg.po: Update.
6573         * po/ca.po: Update.
6574         * po/cs.po: Update.
6575         * po/da.po: Update.
6576         * po/de.po: Update.
6577         * po/el.po: Update.
6578         * po/eo.po: Update.
6579         * po/es.po: Update.
6580         * po/fi.po: Update.
6581         * po/fr.po: Update.
6582         * po/gl.po: Update.
6583         * po/hr.po: Update.
6584         * po/hu.po: Update.
6585         * po/ia.po: Update.
6586         * po/id.po: Update.
6587         * po/it.po: Update.
6588         * po/ja.po: Update.
6589         * po/ko.po: Update.
6590         * po/lt.po: Update.
6591         * po/nb.po: Update.
6592         * po/nl.po: Update.
6593         * po/pl.po: Update.
6594         * po/pt_BR.po: Update.
6595         * po/ru.po: Update.
6596         * po/rw.po: Update.
6597         * po/sk.po: Update.
6598         * po/sl.po: Update.
6599         * po/sv.po: Update.
6600         * po/tr.po: Update.
6601         * po/uk.po: Update.
6602         * po/vi.po: Update.
6603         * po/zh_CN.po: Update.
6604         * po/zh_TW.po: Update.
6606         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6607         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6608         * sysdeps/hppa/dl-irel.h: Remove #warning.
6609         * sysdeps/hppa/entry.h: Provide prototype for
6610         __canonicalize_funcptr_for_compare and cast argument.
6611         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6612         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6613         * sysdeps/hppa/sotruss-lib.c: New file.
6614         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6615         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6616         (atomic_compare_and_exchange_bool_acq): Likewise.
6617         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6618         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6620         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6621         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6622         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6624 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6626         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6627         called function in non-PIC case.
6629 2015-01-31  David S. Miller  <davem@davemloft.net>
6631         * sysdeps/sparc/sparc32/bits/atomic.h
6632         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6633         unlock not after it.
6634         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6635         volatile register usage warnings from the compiler.
6637         * sysdeps/sparc/nptl/sem_init.c: Delete.
6638         * sysdeps/sparc/nptl/sem_post.c: Delete.
6639         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6640         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6641         * sysdeps/sparc/sparc32/sem_init.c: New file.
6642         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6643         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6644         padding explicitly initialized.
6645         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6646         padding for in-semaphore spinlock.
6647         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6648         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6649         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6650         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6651         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6652         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6653         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6654         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6655         version.
6656         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6657         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6659 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6661         [BZ #17801]
6662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6663         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6664         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6665         New.
6666         (index_AVX_Fast_Unaligned_Load): Likewise.
6667         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6668         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6669         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6670         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6671         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6672         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6673         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6674         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6675         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6677 2015-01-29  Andreas Schwab  <schwab@suse.de>
6679         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6681 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6683         [BZ #17892]
6684         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6686 2015-01-28  Martin Sebor  <msebor@redhat.com>
6688         * math/README.libm-test: Clarify. Add "How to read the test output."
6690 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6692         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6693         Define to 0.
6695 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6697         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6698         (__HAVE_64B_ATOMICS): Define to 0.
6700 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6702         [BZ #17885]
6703         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6704         value to set as new flag.
6706         [BZ #16576]
6707         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6708         and use _ARCH_PPCSQ instead.
6709         (__ieee754_sqrt): Likewise.
6710         (__ieee754_sqrtf): Likewise.
6711         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6712         _ARCH_PPCSQ is defined.
6713         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6714         fsqrt instruction.
6715         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6716         _ARCH_PPCSQ is defined.
6717         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6718         fsqrts instruction.
6719         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6721 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6723         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6724         bug (GCC BZ #64739).
6726 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6729         Mark _retval as used.
6730         (lll_futex_wake_unlock): Likewise.
6731         (lll_futex_timed_wait_requeue_pi): Likewise.
6733         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6734         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6735         register variables.
6737         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6738         libm_hidden_def.
6740         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6741         (__bswap_64): Mark as __always_inline.
6743 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6745         [BZ #15378]
6746         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6747         when none of the search directories exist.
6749 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6751         [BZ #17869]
6752         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6753         power8 in .machine directive.
6755         [BZ #17868]
6756         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6757         set dependency from opd value.
6759 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6762         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6763         architecture.
6765 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6767         [BZ #17870]
6768         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6769         with uint64_t.
6770         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6771         (uint64_t) 1.
6772         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6773         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6774         Replace 1UL with (uint64_t) 1.
6775         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6776         int with uint64_t.
6778 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6780         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6781         (if_freenameindex): Likewise.
6783         * resource/getrlimit64.c: Add missing libc_hidden_def.
6785 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6787         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6788         __label__.
6789         (_FP_FMA): Likewise.
6790         (_FP_TO_INT_ROUND): Likewise.
6791         (_FP_FROM_INT): Likewise.
6793 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6795         [BZ #16418]
6796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6797         Make code racy and cancel safe.
6799 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6801         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6802         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6803         attribution.
6805         * pwd/tst-getpw.c: Rewrite.
6807         [BZ #17702]
6808         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6809         (modules-names): Add moddummy1 and moddummy2.
6810         ($(objpfx)tst-rec-dlopen): Define.
6811         * dlfcn/moddummy1.c: New file.
6812         * dlfcn/moddummy2.c: New file.
6813         * dlfcn/tst-rec-dlopen.c: New file.
6814         * elf/dl-cache.c (_dl_load_cache_lookup):
6815         Return char*. Copy result with alloca/strcpy/strdup.
6816         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6817         returns char*. Free cached. If not saving realname
6818         free cached.
6819         * elf/dl-open.c (dl_open_worker): Do not assert that
6820         _r_debug->r_state is RT_CONSISTENT.
6821         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6822         returns char*.
6824 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6825             Carlos O'Donell  <carlos@redhat.com>
6827         [BZ #12674]
6828         * nptl/sem_waitcommon.c: New file.
6829         * nptl/sem_wait.c: Include sem_waitcommon.c.
6830         (__sem_wait_cleanup, do_futex_wait): Remove.
6831         (__new_sem_wait): Adapt.
6832         (__new_sem_trywait): New function.
6833         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6834         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6835         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6836         (sem_timedwait): Adapt.
6837         * nptl/sem_post.c (__new_sem_post): Adapt.
6838         (futex_wake): New function.
6839         (__old_sem_post): Add release MO fence.
6840         * nptl/sem_open.c (sem_open): Adapt.
6841         * nptl/sem_init.c (__new_sem_init): Adapt.
6842         (futex_private_if_supported): New function.
6843         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6844         (__old_sem_getvalue): Add using previous code.
6845         * sysdeps/nptl/internaltypes.h: Adapt.
6846         * nptl/tst-sem13.c (do_test): Adapt.
6847         * nptl/tst-sem11.c (main): Adapt.
6848         * nptl/sem_trywait.c: Remove.
6849         * nptl/DESIGN-sem.txt: Remove.
6850         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6851         (gen-as-const-headers): Remove structsem.sym.
6852         * nptl/structsem.sym: Remove.
6853         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6854         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6855         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6856         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6857         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6858         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6859         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6860         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6861         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6862         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6863         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6864         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6865         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6866         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6867         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6868         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6869         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6870         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6871         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6872         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6873         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6874         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6876 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6878         * INSTALL: Regenerated.
6880         * po/libc.pot: Regenerated.
6882 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6883             Sandra Loosemore  <sandra@codesourcery.com>
6884             Andrew Jenner  <andrew@codesourcery.com>
6885             Joseph Myers  <joseph@codesourcery.com>
6886             Nathan Sidwell  <nathan@codesourcery.com>
6888         * NEWS: Mention new Nios II port.
6889         * sysdeps/nios2/Implies: New file.
6890         * sysdeps/nios2/Makefile: New file.
6891         * sysdeps/nios2/Subdirs: New file.
6892         * sysdeps/nios2/Versions: New file.
6893         * sysdeps/nios2/__longjmp.S: New file.
6894         * sysdeps/nios2/abort-instr.h: New file.
6895         * sysdeps/nios2/backtrace.c: New file.
6896         * sysdeps/nios2/bits/endian.h: New file.
6897         * sysdeps/nios2/bits/fenv.h: New file.
6898         * sysdeps/nios2/bits/link.h: New file.
6899         * sysdeps/nios2/bits/setjmp.h: New file.
6900         * sysdeps/nios2/bsd-_setjmp.S: New file.
6901         * sysdeps/nios2/bsd-setjmp.S: New file.
6902         * sysdeps/nios2/configure: New generated file.
6903         * sysdeps/nios2/configure.ac: New file.
6904         * sysdeps/nios2/crti.S: New file.
6905         * sysdeps/nios2/crtn.S: New file.
6906         * sysdeps/nios2/dl-init.c: New file.
6907         * sysdeps/nios2/dl-machine.h: New file.
6908         * sysdeps/nios2/dl-sysdep.h: New file.
6909         * sysdeps/nios2/dl-tls.h: New file.
6910         * sysdeps/nios2/dl-trampoline.S: New file.
6911         * sysdeps/nios2/gccframe.h: New file.
6912         * sysdeps/nios2/gmp-mparam.h: New file.
6913         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6914         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6915         * sysdeps/nios2/ldsodefs.h: New file.
6916         * sysdeps/nios2/libc-tls.c: New file.
6917         * sysdeps/nios2/libm-test-ulps: New file.
6918         * sysdeps/nios2/machine-gmon.h: New file.
6919         * sysdeps/nios2/math-tests.h: New file.
6920         * sysdeps/nios2/math_private.h: New file.
6921         * sysdeps/nios2/memusage.h: New file.
6922         * sysdeps/nios2/nptl/Makefile: New file.
6923         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6924         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6925         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6926         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6927         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6928         * sysdeps/nios2/nptl/tls.h: New file.
6929         * sysdeps/nios2/preconfigure: New file.
6930         * sysdeps/nios2/s_fma.c: New file.
6931         * sysdeps/nios2/s_fmaf.c: New file.
6932         * sysdeps/nios2/setjmp.S: New file.
6933         * sysdeps/nios2/sfp-machine.h: New file.
6934         * sysdeps/nios2/sotruss-lib.c: New file.
6935         * sysdeps/nios2/stackguard-macros.h: New file.
6936         * sysdeps/nios2/stackinfo.h: New file.
6937         * sysdeps/nios2/start.S: New file.
6938         * sysdeps/nios2/sysdep.h: New file.
6939         * sysdeps/nios2/tls-macros.h: New file.
6940         * sysdeps/nios2/tst-audit.h: New file.
6941         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6942         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6943         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6944         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6945         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6946         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6947         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6948         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6949         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6950         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6951         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6952         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6953         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6954         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6955         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6956         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6957         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6958         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6959         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6960         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6961         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6962         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6963         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6964         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6965         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6966         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6967         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6968         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6969         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6970         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6971         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6972         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6973         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6974         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6975         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6976         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6977         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6978         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6979         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6980         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6981         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6982         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6983         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6984         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6986 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6988         [BZ #17844]
6989         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6990         (getutent): Use weak_alias in non SHARED case
6991         and default_symbol_version in SHARED case.
6992         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6993         (getutent_r, pututline): Likewise.
6994         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6995         (getutid): Likewise.
6996         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6997         (getutid_r): Likewise.
6998         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6999         (getutline): Likewise.
7000         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7001         (getutline_r): Likewise.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7003         (updwtmp): Likewise.
7005 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7007         [BZ #17848]
7008         * sysdeps/s390/s390-32/memcmp.S
7009         (memcmp_g5): Rename to __memcmp_g5.
7010         * sysdeps/s390/s390-32/memcpy.S
7011         (memcpy_g5): Rename to __memcpy_g5.
7012         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7013         (memcpy_mvcle) Rename to __memcpy_mvcle.
7014         * sysdeps/s390/s390-32/memset.S
7015         (memset_g5): Rename to __memset_g5.
7016         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7017         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7018         and use prefixed functions.
7019         * sysdeps/s390/s390-32/multiarch/memcmp.S
7020         (memcmp_z196): Rename to __memcmp_z196.
7021         (memcmp_z10): Rename to __memcmp_z10.
7022         (memcmp): Set alias to __memcmp_g5.
7023         (bcmp): Set alias to __memcmp_g5.
7024         * sysdeps/s390/s390-32/multiarch/memcpy.S
7025         (memcpy_z196): Rename to __memcpy_z196.
7026         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7027         (memcpy_z10): Rename to __memcpy_z10.
7028         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7029         (memcpy): Set alias to __memcpy_g5.
7030         * sysdeps/s390/s390-32/multiarch/memset.S
7031         (memset_z196): Rename to __memset_z196.
7032         Jump to __memset_mvcle instead of memset_mvcle.
7033         (memset_z10): Rename to __memset_z10.
7034         Jump to __memset_mvcle instead of memset_mvcle.
7035         (memset_mvcle) Rename to __memset_mvcle.
7036         (memset): Set alias to __memset_g5.
7037         * sysdeps/s390/s390-64/memcmp.S
7038         (memcmp_z900): Rename to __memcmp_z900.
7039         * sysdeps/s390/s390-64/memcpy.S
7040         (memcpy_z900): Rename to __memcpy_z900.
7041         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7042         (memcpy_mvcle) Rename to __memcpy_mvcle.
7043         * sysdeps/s390/s390-64/memset.S
7044         (memset_z900): Rename to __memset_z900.
7045         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7046         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7047         and use prefixed functions.
7048         * sysdeps/s390/s390-64/multiarch/memcmp.S
7049         (memcmp_z196): Rename to __memcmp_z196.
7050         (memcmp_z10): Rename to __memcmp_z10.
7051         (memcmp): Set alias to __memcmp_z900.
7052         (bcmp): Set alias to __memcmp_z900.
7053         * sysdeps/s390/s390-64/multiarch/memcpy.S
7054         (memcpy_z196): Rename to __memcpy_z196.
7055         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7056         (memcpy_z10): Rename to __memcpy_z10.
7057         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7058         (memcpy): Set alias to __memcpy_z900.
7059         * sysdeps/s390/s390-64/multiarch/memset.S
7060         (memset_z196): Rename to __memset_z196.
7061         Jump to __memset_mvcle instead of memset_mvcle.
7062         (memset_z10): Rename to __memset_z10.
7063         Jump to __memset_mvcle instead of memset_mvcle.
7064         (memset_mvcle) Rename to __memset_mvcle.
7065         (memset): Set alias to __memset_z900.
7067 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7069         [BZ #17748]
7070         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7071         __fesetenv instead of fesetenv.
7073 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7075         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7076         macro.
7078 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7080         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7081         regression on LE.
7083         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7084         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7085         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7086         strncmp-power8 object.
7087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7088         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7089         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7090         * NEWS: Update.
7092 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7095         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7096         trailing byte check.
7098 2015-01-13  David S. Miller  <davem@davemloft.net>
7100         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7102 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7104         * login/logout.c (logout): Use memset rather than bzero.
7105         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7106         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7107         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7108         (_gethtbyaddr): Likewise.
7109         * locale/programs/simple-hash.c (bcopy): Macro removed.
7111 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7114         Add strcmp-power8 object.
7115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7116         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7117         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7118         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7119         __strcmp_power8 implementation.
7120         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7121         * NEWS: Update.
7123         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7124         Add strncpy-power8 and stpncpy-power8 objects.
7125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7126         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7127         implementations.
7128         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7129         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7130         __stpncpy_power8 implementation.
7131         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7132         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7133         __strncpy_power8 implementation.
7134         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7135         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7136         * NEWS: Update.
7138         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7139         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7140         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7142         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7143         strncat-power8 object.
7144         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7145         __strcat_power8 implementation.
7146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7147         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7148         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7149         optimized strcat for power8.
7151         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7152         strcpy-power8 and stpcpy-power8 objects.
7153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7154         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7155         implementations.
7156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7157         multiarch stpcpy implementation for POWER8.
7158         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7159         multiarch strcpy implementation for POWER8.
7160         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7161         __strcpy_power8 function.
7162         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7163         stpcpy for POWER8.
7164         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7165         strcpy for POWER8.
7166         * NEWS: Update.
7168 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7170         [BZ #16009]
7171         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7172         weights and rules. Use do_xfrm_cached if data fits in cache,
7173         do_xfrm otherwise.  Moved former main loop to...
7174         * (do_xfrm_cached): New function.
7175         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7176         find_idx, find_position and stack_push.
7177         * (find_idx): New function.
7178         * (find_position): Likewise.
7179         * localedata/sort-test.sh: Added test run for do_xfrm.
7180         * localedata/xfrm-test.c (main): Added command line option
7181         -nocache to run the test with strings that are too large for
7182         the STRXFRM cache.
7184 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7186         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7187         variable to lll_futex_wake call, not the value itself.
7189 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7191         [BZ #17803]
7192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7193         twom64.  Adjust value to 0x1p-64L.
7194         (__scalblnl): Only return standard underflowing result for K <=
7195         -64 not K <= -63; adjust exponent for underflowing result by 64
7196         not 63.
7197         * math/libm-test.inc (scalbn_test_data): Add more tests.
7198         (scalbln_test_data): Likewise.
7200         [BZ #17834]
7201         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7202         0x1p63L.
7203         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7204         not HX.
7205         * math/libm-test.inc (scalbn_test_data): Add more tests.
7206         (scalbln_test_data): Likewise.
7208 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7209             Stefani Seibold  <stefani@seibold.net>
7211         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7212         (sysdep_routines): Add dl-vdso here, ...
7213         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7214         (sysdep_routines): ... not here.
7215         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7216         fallback when vDSO is not presented.
7217         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7218         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7219         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7220         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7221         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7222         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7223         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7225         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7227         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7228         fallback configurable symbol when vDSO is not available.
7229         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7230         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7231         be able to redefine fallback symbol when vDSO is not available.
7232         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7233         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7235 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7237         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7238         (TLS_INIT_TP): Add tm_capable initialization.
7239         (TLS_DEFINE_INIT_TP): Likewise.
7240         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7241         TCB.
7242         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7243         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7244         calculation.
7245         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7246         transactoion is lock elision is built and TCB tm_capable is set.
7247         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7249         (INTERNAL_SYSCALL_NCS): Likewise.
7250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7251         (INTERNAL_SYSCALL_NCS): Likewise.
7252         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7254         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7255         for powerpc.
7256         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7257         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7258         and remove it for 32 bits case.
7259         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7261         initialization.
7262         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7263         Disable lock elision with rdlocks if elision is not available.
7265         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7266         (sysdep_routines): Add lock elision objects.
7267         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7268         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7269         [pthread_mutex_t] (__elision): Add field.
7270         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7271         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7272         elision definitions for powerpc.
7273         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7274         implementation of lock elision for powerpc.
7275         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7276         implementation of timed lock elision for powerpc.
7277         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7278         implementation of trylock with lock elision for powerpc.
7279         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7280         implementaion of unlock for lock elision for powerpc.
7281         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7282         automatic enable lock elision for mutexes.
7283         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7284         transaction execution definitions for powerpc.
7285         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7286         definitions.
7287         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7288         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7289         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7290         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7291         * NEWS: Update.
7293 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7295         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7296         for #include of <shm-directory.h>.
7298 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7300         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7301         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7303 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7305         [BZ #17791]
7306         * NEWS: Mention bug fix.
7307         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7308         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7309         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7311 2015-01-09  Torvald Riegel <triegel@redhat.com>
7313         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7315 2015-01-09  Torvald Riegel <triegel@redhat.com>
7317         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7319 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7321         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7322         pointer and cast to uintptr_t.
7324 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7326         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7327         removed.
7328         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7330 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7332         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7333         of 0.
7335 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7337         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7338         <nptl/pthreadP.h> instead.
7339         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7341         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7342         already defined.
7343         [__SIGRTMIN] (init): Function removed.
7344         [__SIGRTMIN] (initialized): Variable removed.
7345         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7346         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7347         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7348         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7349         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7350         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7351         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7352         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7353         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7354         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7355         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7356         * sysdeps/nptl/allocrtsig.c: New file.
7357         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7358         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7359         * sysdeps/generic/testrtsig.h: File removed.
7361         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7362         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7364         * nptl/nptl-init.c (pthread_functions): Conditionalize
7365         .ptr__nptl_setxid initialization on [SIGSETXID].
7367         * sysdeps/nptl/sys/procfs.h: New file.
7368         * nptl_db/Makefile (headers): Add it.
7369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7371         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7372         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7373         * nptl/pthread_attr_setaffinity.c: Include it.
7374         * nptl/pthread_setattr_default_np.c: Likewise.
7375         * nptl/check-cpuset.h: New file.
7377 2015-01-08  Richard Henderson  <rth@redhat.com>
7379         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7380         (CFLAGS-tst-execstack-prog.c): Likewise.
7381         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7383 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7384             Sandra Loosemore  <sandra@codesourcery.com>
7385             Andrew Jenner  <andrew@codesourcery.com>
7386             Joseph Myers  <joseph@codesourcery.com>
7387             Nathan Sidwell  <nathan@codesourcery.com>
7389         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7390         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7391         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7392         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7393         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7394         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7395         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7396         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7397         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7398         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7399         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7400         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7401         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7402         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7403         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7404         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7405         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7407 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7409         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7410         timespec struct member in syscall macro.
7411         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7412         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7413         first timeval struct member in syscall macro.
7414         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7416 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7418         [BZ #17748]
7419         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7420         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7421         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7422         __feupdateenv and define as weak alias of __feupdateenv.  Use
7423         libm_hidden_weak.
7424         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7425         libm_hidden_def.
7426         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7427         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7428         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7429         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7430         libm_hidden_def.
7431         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7432         __feupdateenv and define as weak alias of __feupdateenv.  Use
7433         libm_hidden_weak.
7434         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7435         libm_hidden_def.
7436         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7437         __feupdateenv and define as weak alias of __feupdateenv.  Use
7438         libm_hidden_weak.
7439         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7440         libm_hidden_def.
7441         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7442         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7443         (__feupdateenv): Likewise.
7444         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7445         __feupdateenv and define as weak alias of __feupdateenv.  Use
7446         libm_hidden_weak.
7447         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7448         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7449         libm_hidden_def.
7450         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7451         function.
7452         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7453         libm_hidden_def.
7454         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7455         __feupdateenv instead of feupdateenv.
7456         (default_libc_feupdateenv_test): Likewise.
7457         (libc_feresetround_ctx): Likewise.
7459 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7461         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7462         prototype.
7464 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7466         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7467         COLL_SYM in a couple of places to avoid uninitialized variable
7468         wanings on tilegx gcc 4.8.2.
7470 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7472         * sysdeps/aarch64/strcpy.S: New file.
7473         * sysdeps/aarch64/stpcpy.S: New file.
7474         * NEWS: Updated.
7476 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7478         * sysdeps/aarch64/strrchr.S: New file.
7479         * NEWS: Updated.
7481 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7483         [BZ #17658]
7484         * stdlib/setenv.c: Fix memory leak when setting large,
7485         duplicate string.
7487 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7489         [BZ #17273]
7490         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7491         and tabs from buffer before parsing fstab entry.
7492         * misc/tst-mntent.c (main): Add test for mount entry with
7493         trailing spaces and tabs.
7495 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7497         [BZ #17748]
7498         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7499         * math/fesetround.c (fesetround): Rename to __fesetround and
7500         define as weak alias of __fesetround.  Use libm_hidden_weak.
7501         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7502         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7503         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7504         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7505         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7506         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7507         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7508         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7509         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7510         __fesetround_inline.
7511         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7512         __fesetround_inline instead of __fesetround.
7513         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7514         __fesetround and define as weak alias of __fesetround.  Use
7515         libm_hidden_weak.  Call __fesetround_inline instead of
7516         __fesetround.
7517         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7518         __fesetround and define as weak alias of __fesetround.  Use
7519         libm_hidden_weak.
7520         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7521         Likewise.
7522         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7523         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7524         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7525         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7526         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7527         __fesetround and define as weak alias of __fesetround.  Use
7528         libm_hidden_weak.
7529         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7530         __fesetround instead of fesetround.
7531         (default_libc_feholdexcept_setround): Likewise.
7532         (libc_feholdsetround_ctx): Likewise.
7533         (libc_feholdsetround_noex_ctx): Likewise.
7535         [BZ #17748]
7536         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7537         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7538         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7539         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7540         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7541         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7542         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7543         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7544         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7545         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7546         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7547         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7548         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7549         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7550         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7551         libm_hidden_def.
7552         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7553         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7554         Likewise.
7555         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7556         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7557         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7558         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7559         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7560         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7561         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7562         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7563         __fesetenv instead of fesetenv.
7564         (libc_feresetround_noex_ctx): Likewise.
7565         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7566         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7567         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7568         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7569         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7570         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7571         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7572         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7573         (__feupdateenv): Likewise.
7574         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7575         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7576         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7577         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7579 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7581         [BZ #17806]
7582         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7583         addresses have been freed.
7585 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7587         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7588         and nservall.
7590 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7592         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7593         Clean up check_pf allocation pattern. addresses
7595 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7597         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7598         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7599         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7600         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7601         * nptl/pthread_join.c (pthread_join): Likewise.
7602         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7603         * sysdeps/posix/waitid.c (__waitid): Likewise.
7604         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7605         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7606         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7607         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7608         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7609         Likewise.
7610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7611         (__libc_pread64): Likewise.
7612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7613         (__libc_pwrite): Likewise.
7614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7615         (__libc_pwrite64): Likewsie.
7616         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7617         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7618         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7619         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7620         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7621         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7622         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7624         Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7626         (__libc_pread64): Likewise.
7627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7628         Likewise.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7630         (__libc_pwrite64): Likewise.
7631         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7632         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7633         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7634         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7635         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7636         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7637         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7638         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7639         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7640         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7641         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7642         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7643         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7644         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7645         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7646         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7647         Likewise.
7649 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7651         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7652         (CFLAGS-test-double.c): Likewise.
7653         (CFLAGS-test-ldouble.c): Likewise.
7654         (CPPFLAGS-test-ifloat.c): Likewise.
7655         (CPPFLAGS-test-idouble.c): Likewise.
7656         (CPPFLAGS-test-ildoubl.c): Likewise.
7657         (CFLAGS-test-test-fenv.c): Remove variable.
7658         (CFLAGS-test-misc.c): Likewise.
7660 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7662         [BZ #17797]
7663         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7664         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7665         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7666         CLOCKS_PER_SEC == 1000000.
7667         * time/clocktest.c (main): Replace %ld with %jd and cast to
7668         intmax_t.
7670 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7672         * sysdeps/generic/unwind-resume.h: New file.
7673         * sysdeps/gnu/unwind-resume.c: Include it.
7674         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7675         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7676         argument list.
7677         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7678         global rather than static.
7679         (_Unwind_Resume): Update user.
7680         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7681         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7682         rather than static.  Add __attribute__ ((cold)).
7683         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7684         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7685         * sysdeps/arm/arm-unwind-resume.S: New file.
7686         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7687         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7688         * sysdeps/arm/Makefile [$(subdir) = csu]
7689         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7690         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7691         Add rt-arm-unwind-resume.
7692         [$(subdir) = nptl]
7693         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7694         Add pt-arm-unwind-resume.
7695         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7696         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7698 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7700         [BZ #17748]
7701         * include/fenv.h (__feholdexcept): Declare.  Use
7702         libm_hidden_proto.
7703         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7704         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7705         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7706         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7707         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7708         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7709         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7710         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7711         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7712         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7713         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7714         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7715         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7716         (feholdexcept): Likewise.
7717         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7718         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7719         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7720         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7721         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7722         __feholdexcept instead of feholdexcept.
7723         (default_libc_feholdexcept_setround): Likewise.
7725 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7727         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7728         to avoid using stl/str to align destination.
7730 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7732         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7734 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #17796]
7737         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7738         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7739         Define as weak alias not strong alias.
7741 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7743         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7744         bltzal with addiupc.
7745         (RTLD_START): Ditto.
7747 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7749         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7750         for __vdso_* functions in declarations.
7751         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7752         definitions.
7753         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7754         INTERNAL_VSYSCALL): Use struct return types to check for error.
7756         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7757         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7758         function with cast from llround().
7759         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7760         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7761         Define.
7763 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7765         [BZ #17793]
7766         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7767         Define as weak alias not strong alias.
7769         [BZ #17635]
7770         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7771         ...
7772         * ctype/ctype-extn.c: ... here.
7773         (__isblank_l): Move to ...
7774         * ctype/ctype-c99_l.c: ... here.  New file.
7775         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7776         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7777         Remove variable.
7778         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7779         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7780         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7781         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7782         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7784         [BZ #17777]
7785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7786         (posix_fadvise64): Define as weak alias not strong alias.
7787         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7788         (posix_fallocate64): Likewise.
7789         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7790         Remove variable.
7791         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7792         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7793         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7794         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7795         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7797 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7799         [BZ #16191]
7800         * NEWS: Mention bug fix.
7801         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7802         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7803         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7804         (HOST_STACK_END_ADDR): Likewise.
7806 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7808         [BZ #17748]
7809         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7810         * math/fegetround.c (fegetround): Rename to __fegetround and
7811         define as weak alias of __fegetround.  Use libm_hidden_weak.
7812         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7813         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7814         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7815         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7816         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7817         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7818         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7819         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7820         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7821         Undefine after rather than before function definition; use
7822         parentheses around function name in definition.
7823         (__fegetround): Also undefine macro after function definition.
7824         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7825         __fegetround and define as weak alias of __fegetround.  Use
7826         libm_hidden_weak.  Do not undefine as macro.
7827         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7828         Likewise.
7829         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7830         __fegetround and define as weak alias of __fegetround.  Use
7831         libm_hidden_weak.
7832         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7833         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7834         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7835         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7836         __fegetround and define as weak alias of __fegetround.  Use
7837         libm_hidden_weak.
7838         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7839         __fegetround instead of fegetround.
7841         [BZ #17782]
7842         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7843         Condition macro definition on [__USE_MISC].
7845         [BZ #17781]
7846         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7847         (struct sigaction): Change type of sa_flags field to int.
7849         [BZ #17780]
7850         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7851         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7852         __glibc_reserved0.
7854         * nptl/version.c (banner): Use single year in copyright notice.
7856         * NEWS: Update copyright dates.
7857         * catgets/gencat.c (print_version): Likewise.
7858         * csu/version.c (banner): Likewise.
7859         * debug/catchsegv.sh: Likewise.
7860         * debug/pcprofiledump.c (print_version): Likewise.
7861         * debug/xtrace.sh (do_version): Likewise.
7862         * elf/ldconfig.c (print_version): Likewise.
7863         * elf/ldd.bash.in: Likewise.
7864         * elf/pldd.c (print_version): Likewise.
7865         * elf/sotruss.sh: Likewise.
7866         * elf/sprof.c (print_version): Likewise.
7867         * iconv/iconv_prog.c (print_version): Likewise.
7868         * iconv/iconvconfig.c (print_version): Likewise.
7869         * locale/programs/locale.c (print_version): Likewise.
7870         * locale/programs/localedef.c (print_version): Likewise.
7871         * login/programs/pt_chown.c (print_version): Likewise.
7872         * malloc/memusage.sh (do_version): Likewise.
7873         * malloc/memusagestat.c (print_version): Likewise.
7874         * malloc/mtrace.pl: Likewise.
7875         * manual/libc.texinfo: Likewise.
7876         * nptl/version.c (banner): Likewise.
7877         * nscd/nscd.c (print_version): Likewise.
7878         * nss/getent.c (print_version): Likewise.
7879         * nss/makedb.c (print_version): Likewise.
7880         * posix/getconf.c (main): Likewise.
7881         * scripts/test-installation.pl: Likewise.
7882         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7884 2015-01-02  Will Newton  <will.newton@linaro.org>
7886         * sysdeps/arm/armv7/configure: Removed.
7887         * sysdeps/arm/armv7/configure.ac: Likewise.
7889 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7891         * All files with FSF copyright notices: Update copyright dates
7892         using scripts/update-copyrights.
7893         * intl/plural.c: Regenerated.
7894         * locale/programs/charmap-kw.h: Likewise.
7895         * locale/programs/locfile-kw.h: Likewise.
7897 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7899         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7901 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7903         [BZ #17748]
7904         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7905         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7906         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7907         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7908         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7909         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7910         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7911         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7912         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7913         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7914         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7915         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7916         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7917         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7918         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7919         libm_hidden_def.
7920         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7921         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7922         Likewise.
7923         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7924         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7925         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7926         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7927         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7928         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7929         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7930         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7931         __fegetenv instead of fegetenv.
7932         (libc_feholdsetround_noex_ctx): Likewise.
7934 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7936         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7937         (Elf_MIPS_ABIFlags_v0): New structure.
7938         (EF_MIPS_FP64): Define.
7939         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7940         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7941         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7942         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7943         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7944         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7945         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7946         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7947         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7948         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7949         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7950         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7951         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7952         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7953         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7954         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7955         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7956         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7957         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7958         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7959         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7960         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7961         field.
7962         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7963         EF_MIPS_FP64.
7964         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7965         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7966         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7967         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7968         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7969         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7970         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7971         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7972         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7973         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7974         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7975         record the current FP ABI extension.
7976         (mips-mode-switch): Define to show if kernel headers support mode
7977         switching.
7978         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7979         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7980         supported SYSV ABI version to 3.
7981         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7982         feature.
7984 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7985             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7987         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7988         path.
7989         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7991 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7993         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7994         __fegetround and redefine to call __fegetround.  Remove condition
7995         on [!__NO_MATH_INLINES].
7996         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7997         function.
7998         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7999         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8000         Remove macro.
8001         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8002         instead of <fenv_libc.h>.
8003         (__llrintl): Call fegetround instead of __fegetround.
8004         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8005         instead of <fenv_libc.h>.
8006         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8007         (__lrintl): Call fegetround instead of __fegetround.
8008         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8009         instead of <fenv_libc.h>.
8010         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8011         (__rintl): Call fegetround instead of __fegetround.
8013 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8015         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8016         arrays.
8018 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8020         [BZ #17775]
8021         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8022         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8023         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8025 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8027         * sysdeps/i386/tls-macros.h: Include <features.h>.
8028         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8029         (TLS_IE): Likewise.
8030         (TLS_LD): Likewise.
8031         (TLS_GD): Likewise.
8032         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8033         define for GCC >= 5.0.
8035 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8037         * math/test-fenv.c (test_single_exception, set_single_exc,
8038         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8039         feexcp_mask_test, feenable_test, fe_single_test): Add
8040         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8041         case where they are not used.
8042         * math/libm-test.inc: Likewise.
8043         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8044         unused in the absence of FP rounding/exception support.
8045         * stdio-common/tst-printf-round.c: Likewise.
8046         * stdlib/tst-strtod-round.c: Likewise.
8047         * stdlib/tst-strtod-underflow.c: Likewise.
8049 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8051         [BZ #17723]
8052         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8053         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8054         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8055         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8056         libm_hidden_weak.
8057         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8058         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8059         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8060         libm_hidden_def.
8061         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8062         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8063         libm_hidden_weak.
8064         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8065         Likewise.
8066         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8067         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8068         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8069         libm_hidden_weak.
8070         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8071         libm_hidden_def.
8072         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8073         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8074         (__feraiseexcept): Likewise.
8075         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8076         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8077         libm_hidden_weak.
8078         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8079         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8080         libm_hidden_def.
8081         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8082         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8083         Use libm_hidden_def.
8084         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8085         libm_hidden_def.
8086         (feraiseexcept): Define as weak not strong alias.  Use
8087         libm_hidden_weak.
8088         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8089         New inline function.  Factored out of ...
8090         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8091         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8092         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8093         feraiseexcept.
8094         * math/w_acos.c (__acos): Likewise.
8095         * math/w_asin.c (__asin): Likewise.
8096         * math/w_ilogb.c (__ilogb): Likewise.
8097         * math/w_j0.c (y0): Likewise.
8098         * math/w_j1.c (y1): Likewise.
8099         * math/w_jn.c (yn): Likewise.
8100         * math/w_log.c (__log): Likewise.
8101         * math/w_log10.c (__log10): Likewise.
8102         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8103         * sysdeps/aarch64/fpu/math_private.h
8104         (libc_feupdateenv_test_aarch64): Likewise.
8105         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8106         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8107         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8108         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8109         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8110         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8111         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8112         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8113         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8114         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8116 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8118         [BZ #17732]
8119         * io/test-utime.c (main): Replace %ld with %jd and cast to
8120         intmax_t.
8121         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8122         * nptl/tst-mutex5.c: Include <stdint.h>.
8123         (do_test): Replace %ld with %jd and cast to intmax_t.
8124         * posix/tst-regex.c (run_test): Likewise.
8125         (run_test_backwards): Likewise.
8126         * rt/tst-clock.c: Include <stdint.h>.
8127         (clock_test): Replace %ld with %jd and cast to intmax_t.
8128         * rt/tst-cpuclock1.c: Include <stdint.h>.
8129         (do_test): Replace %lu with %ju and cast to uintmax_t.
8130         * rt/tst-cpuclock2.c: Include <stdint.h>.
8131         (do_test): Replace %lu with %ju and cast to uintmax_t.
8132         * rt/tst-mqueue1.c: Include <stdint.h>.
8133         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8134         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8135         intmax_t.
8136         * rt/tst-mqueue4.c (do_test): Likewise.
8137         * rt/tst-timer4.c: Include <stdint.h>.
8138         (check_ts): Replace %ld with %jd and cast to intmax_t.
8139         (do_test): Likewise.
8140         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8141         and cast to intmax_t.
8142         * sysdeps/pthread/tst-timer.c (main): Likewise.
8143         * time/clocktest.c (main): Likewise.
8144         * time/tst-posixtz.c (do_test): Likewise.
8145         * timezone/tst-timezone.c (main): Likewise.
8147 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8148             H.J. Lu  <hongjiu.lu@intel.com>
8150         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8151         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8152         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8153         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8154         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8155         version if bit_Fast_Unaligned_Load is set.
8156         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8157         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8158         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8159         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8160         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8161         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8163         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8164         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8165         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8166         to 4.
8167         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8168         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8169         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8170         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8172 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8174         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8175         instead of #if to avoid a Wundef warning.
8176         * stdlib/tst-limits.c (do_test): Likewise.
8178         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8179         parallel other exception macros.
8180         (fegetenv): Convert from macro to extern inline so that it applies
8181         retroactively to inline functions already seen by the compiler.
8182         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8184         * posix/Makefile (before-compile): Use $(objpfx) for
8185         posix-conf-vars-def.h.
8187 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8189         * posix/getconf.c (main): Use size_t for type of I.
8190         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8191         NSPEC.
8193         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8194         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8195         * posix/posix-envs.def: Likewise.
8196         * sysdeps/posix/sysconf.c: Likewise.
8197         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8198         (specs): Remove array.
8199         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8200         array.
8202         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8203         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8204         (__sysconf): Use CONF_IS_* macros.
8206         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8207         ($(objpfx)posix-conf-vars-def.h): New target.
8208         * posix/posix-conf-vars.list: New file.
8209         * posix/posix-conf-vars.h: New file.
8210         * posix/confstr.c: Include posix-conf-vars.h.
8211         (confstr): Use CONF_IS_* macros.
8212         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8213         CONF_IS_* macros.
8214         * scripts/gen-posix-conf-vars.awk: New file.
8216 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8218         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8219         fegetround): Add no-op macros to avoid linknamespace issues.
8221         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8222         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8224         * sysdeps/unix/sysv/linux/tile/sysdep.h
8225         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8226         assembly-specific section to avoid a redefinition warning.
8228         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8229         long before casting to pointer to avoid a cast warning.
8231 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8233         * sysdeps/tile/tilegx/Implies: New file.
8235 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8237         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8239 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8241         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8243 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8246         not define.
8247         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8248         <kernel-features.h>.
8249         (__utimes) [__NR_utimes]: Make code unconditional.
8250         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8251         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8252         (__ASSUME_UTIMES): Do not undefine.
8253         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8254         (__ASSUME_UTIMES): Likewise.
8255         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8256         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8257         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8258         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8260 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8262         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8264 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8266         [BZ #17747]
8267         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8268         alias to weak alias for j0l, y0l.
8269         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8270         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8272         [BZ #17746]
8273         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8274         conversion.
8276 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8278         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8279         to zero if not already defined.
8281 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8283         [BZ #17724]
8284         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8285         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8286         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8287         (char *) casts added.
8288         * sysdeps/ieee754/k_standardf.c: New file.
8289         * sysdeps/ieee754/k_standardl.c: Likewise.
8290         * math/Makefile (libm-support): Remove k_standard.
8291         (libm-calls): Add k_standard.
8293 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8295         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8296         Optimize to avoid an unnecessary FPCR read.
8298 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8300         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8301         Optimize to reduce FPCR/FPSR accesses.
8303 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8305         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8306         Call libc_fetestexcept_aarch64.
8308 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8310         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8311         Call libc_fesetround_aarch64.
8313 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8315         [BZ #17733]
8316         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8317         (__bind): Do not define as weak alias.
8318         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8319         define.
8320         (__getsockname): Do not define as weak alias.
8322 2014-12-22  Will Newton  <will.newton@linaro.org>
8324         * manual/install.texi: Document that we require bison 2.7
8325         or above.
8326         * INSTALL: Regenerate.
8327         * configure.ac: Use AC_CHECK_PROG_VER instead of
8328         AC_PATH_PROG when checking for bison and check for
8329         version 2.7 or above.
8330         * configure: Regenerate.
8332 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8334         [BZ #17745]
8335         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8336         * sysdeps/tile/ffsll.c (ffsll): To here.
8338         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8340 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8342         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8343         if not defined.
8344         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8345         definition.
8346         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8347         hidden ___tls_get_addr.
8348         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8349         hidden __tls_get_addr.
8350         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8351         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8352         Likewise.
8354 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8356         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8357         _dl_init call.
8359 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8361         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8362         from "call _dl_init@PLT".
8363         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8365 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8367         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8368         guarantees.
8370 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8372         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8374 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8376         [BZ #17744]
8377         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8378         strnlen.
8380 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8382         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8383         of multu on MIPSr6.
8384         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8385         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8386         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8387         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8388         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8390 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8392         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8393         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8394         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8395         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8396         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8397         mips32r6/mips64r6.
8398         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8400 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8402         * string/strncat.c (STRNCAT): Simplify implementation.
8404 2014-12-19  David S. Miller  <davem@davemloft.net>
8406         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8407         access the quad as both a long double and as a series of 4 words.
8409         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8410         link_map->l_info array access.
8412 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8414         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8416         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8417         * math/atest-exp2.c (TIMEOUT): Likewise.
8418         * math/atest-sincos.c (TIMEOUT): Likewise.
8420 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8422         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8423         -Wno-error with -fno-builtin-lround.
8425 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8427         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8428         Contains futex constants and functions moved over from ...
8429         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8430         <lowlevellock-futex.h>.
8431         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8432         (lll_timedwait_tid): Add comments and parentheses around macro
8433         arguments.
8435 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8437         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8438         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8439         (__lll_private_flag): Remove.
8440         (lll_futex_wait): Likewise.
8441         (lll_futex_timed_wait): Likewise.
8442         (lll_futex_wake): Likewise.
8443         (lll_futex_requeue): Likewise.
8444         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8445         (__lll_timedwait_tid): Spell out argument names.
8446         (lll_timedwait_tid): Add comments and parentheses around macro
8447         arguments.
8448         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8449         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8451 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8453         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8454         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8455         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8456         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8457         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8458         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8459         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8460         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8461         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8462         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8463         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8464         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8467         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8468         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8469         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8470         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8471         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8473 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8475         * sysdeps/x86_64/x32/Makefile: New file.
8477 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8479         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8480         1L with (mp_limb_t) 1.
8482 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8484         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8485         * nptl/libc_pthread_init.c: ... here.
8486         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8487         * nptl/register-atfork.c: ... here.
8489         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8490         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8491         Use assert_perror to check its return value.
8492         (__gai_create_helper_thread): Likewise.
8494         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8496         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8498 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8500         [BZ #17725]
8501         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8502         __profil_counter.
8503         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8504         Likewise.
8505         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8506         Likewise.
8507         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8508         Likewise.
8509         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8510         (profil_counter): Likewise.
8511         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8512         (profil_counter): Likewise.
8513         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8514         Likewise.
8515         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8516         Likewise.
8517         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8518         (profil_counter): Likewise.
8519         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8520         Likewise.
8521         [!__profil_counter] (profil_counter): Define as weak alias of
8522         __profil_counter.
8523         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8524         (profil_counter): Rename to __profil_counter.
8525         [!__profil_counter] (profil_counter): Define as weak alias of
8526         __profil_counter.
8527         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8528         (profil_counter): Rename to __profil_counter.
8529         [!__profil_counter] (profil_counter): Define as weak alias of
8530         __profil_counter.
8531         * sysdeps/posix/profil.c: Update comment referring to
8532         profil_counter.
8533         (__profil): Use __profil_counter instead of profil_counter.
8534         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8535         __profil_counter.  Use __profil_counter_ushort and
8536         __profil_counter_uint in definitions.
8537         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8538         instead of profil_counter_uint and profil_counter_ushort.
8540         [BZ #17722]
8541         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8542         define as weak alias of __inet_makeaddr.
8543         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8544         as weak alias of __inet_addr.
8545         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8546         as weak alias of __inet_pton.  Use libc_hidden_weak.
8547         * include/arpa/inet.h (__inet_pton): Declare.  Use
8548         libc_hidden_proto.
8549         (inet_makeaddr): Don't use libc_hidden_proto.
8550         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8551         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8552         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8553         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8554         Remove variable.
8555         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8556         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8558 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8560         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8562 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8564         * stdio-common/bug-vfprintf-nargs.c (do_test):
8565         Cast value to intptr_t to avoid format warning
8566         for usage with PRIdPTR printing macro.
8568 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8570         * libio/tst-widetext.c (do_test):
8571         Use format type %td instead of %Zd for ptrdiff_t
8572         in order to avoid format warning.
8574 2014-12-17  Andreas Schwab  <schwab@suse.de>
8576         * nscd/mem.c (gc): Add size_t cast to match printf format.
8578 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8580         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8581         (init): Apply PTR_MANGLE to pointers before storing them.
8582         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8583         before using them.
8585 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8587         [BZ #17719]
8588         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8589         define as weak alias of __memrchr.
8590         (__memrchr): Do not define as strong alias of memrchr.
8591         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8592         Remove variable.
8593         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8594         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8595         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8597         [BZ #17717]
8598         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8599         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8600         (if_indextoname): Rename to __if_indextoname and define as weak
8601         alias of __if_indextoname.  Use libc_hidden_weak.
8602         (if_freenameindex): Rename to __if_freenameindex and define as
8603         weak alias of __if_freenameindex.
8604         (if_nameindex): Rename to __if_nameindex and define as weak alias
8605         of __if_nameindex.
8606         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8607         __if_nametoindex and define as weak alias of __if_nametoindex.
8608         Use libc_hidden_weak.
8609         (if_freenameindex): Rename to __if_freenameindex and define as
8610         weak alias of __if_freenameindex.
8611         (if_nameindex): Rename to __if_nameindex and define as weak alias
8612         of __if_nameindex.
8613         (if_indextoname): Rename to __if_indextoname and define as weak
8614         alias of __if_indextoname.  Use libc_hidden_weak.
8615         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8616         __if_nametoindex and define as weak alias of __if_nametoindex.
8617         Use libc_hidden_weak.
8618         (if_freenameindex): Rename to __if_freenameindex and define as
8619         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8620         (if_nameindex_netlink): Use __if_freenameindex instead of
8621         if_freenameindex.
8622         (if_nameindex): Rename to __if_nameindex and define as weak alias
8623         of __if_nameindex.  Use libc_hidden_weak.
8624         (if_indextoname): Rename to __if_indextoname and define as weak
8625         alias of __if_indextoname.  Use libc_hidden_weak.
8626         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8627         libc_hidden_proto.
8628         [!_ISOMAC] (__if_freenameindex): Likewise.
8629         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8630         if_nametoindex.
8631         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8632         variable.
8633         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8634         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8635         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8636         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8637         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8638         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8639         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8641         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8642         Remove variable.
8643         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8644         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8646 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8648         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8649         subscript above bounds'
8651         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8652         bounds.
8654 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8656         * libio/tst-fopenloc.c: Use test-skeleton.c.
8658         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8659         (entry): Rename to ITEM.
8660         (do_test, comp): Adjust.
8662         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8664 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8666         * string/tester.c: Include <libc-internal.h>.
8667         (test_memset): Ignore -Wmemset-transposed-args.
8669 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8671         * misc/tst-mntent2.c (do_test): Fix warning.
8673 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8675         * elf/tst-unique4lib.cc(a): Mark as used.
8677 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8679         [BZ #17630]
8680         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8681         names.
8683 2014-12-16  Allan McRae  <allan@archlinux.org>
8685         * stdio-common/Makefile (tests): Re-add bug26.
8687 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8689         [BZ #17657]
8690         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8691         static array.
8693 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8695         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8696         (__lll_lock_wait): Likewise.
8697         (__lll_timedlock_wait): Likewise.
8698         (__lll_timedwait_tid): Likewise.
8699         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8700         (__lll_robust_timedlock_wait): Likewise.
8701         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8702         (lll_cond_trylock): Likewise.
8703         (__lll_lock): Likewise.
8704         (__lll_robust_lock): Likewise.
8705         (__lll_cond_lock): Likewise.
8706         (lll_robust_cond_lock): Likewise.
8707         (__lll_timedlock): Likewise.
8708         (__lll_robust_timedlock): Likewise.
8709         (__lll_unlock): Likewise.
8710         (__lll_robust_unlock): Likewise.
8711         (lll_wait_tid): Likewise.
8712         (lll_timedwait_tid): Likewise.
8714 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8716         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8718 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8720         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8722 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8724         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8725         * stdio-common/tst-sprintf.c: Likewise.
8727 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8729         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8731 2014-12-15  Jeff Law  <law@redhat.com>
8733         [BZ #16617]
8734         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8735         on the heap.  (CVE-2012-3406)
8736         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8737         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8738         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8740 2014-12-15  Will Newton  <will.newton@linaro.org>
8742         * manual/install.texi: Bump required version of texinfo
8743         to 4.7 from 4.5.
8744         * INSTALL: Regenerated.
8745         * configure.ac: Check for makeinfo version 4.7 and above.
8746         * configure: Regenerated.
8748 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8750         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8751         PREFIX, string constant to insert between directory and name.
8752         * sysdeps/posix/shm_open.c: Update caller.
8753         * sysdeps/posix/shm_unlink.c: Likewise.
8754         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8755         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8756         (SEM_SHM_PREFIX): New macro.
8757         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8758         [$(have-thread-library) = no].
8759         * nptl/Makefile (libpthread-routines): Add shm-directory.
8760         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8761         * sysdeps/nptl/shm-directory.h: New file.
8762         * sysdeps/posix/shm-directory.c
8763         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8764         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8765         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8766         INTERNAL_SYSCALL.
8767         (__where_is_shmfs): Function removed.
8768         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8769         Variables removed.
8770         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8771         Use SHM_GET_NAME.
8772         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8774         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8775         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8776         unconditional for use inside libpthread.
8777         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8779 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8781         * nptl/pthread_getaffinity.c: New file.
8782         * nptl/pthread_setaffinity.c: New file.
8783         * nptl/pthread_getname.c: New file.
8784         * nptl/pthread_setname.c: New file.
8786         * nptl/pthread_create.c (START_THREAD_DEFN)
8787         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8789 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8790             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8792         * resolv/res_send.c (send_vc): Disable warning resplen may
8793         be used uninitialized.
8795 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8797         * nptl/tst-mutex6.c
8798         (ATTR_NULL): New define checks ATTR against NULL.
8799         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8800         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8802 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8804         [BZ #17581]
8805         * malloc/hooks.c
8806         (mem2mem_check): Revert my previous change.
8807         (malloc_check_get_size): Revert my previous change.
8808         (mem2chunk_check): Revert my previous change.
8810 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8812         * sysdeps/posix/shm-directory.c: New file.
8813         * sysdeps/posix/shm-directory.h: New file.
8814         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8815         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8816         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8817         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8818         Transmute EPERM to EACCES.
8819         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8820         from ...
8821         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8822         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8824 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8826         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8827         pointer and cast to uintptr_t.
8828         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8829         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8830         Add cast to avoid warning.
8831         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8833 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8835         * nptl/semaphore.h: Move to ...
8836         * sysdeps/pthread/semaphore.h: ... here.
8837         * Makefile (installed-headers): Change nptl/semaphore.h to
8838         sysdeps/pthread/semaphore.h.
8840 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8842         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8843         generated error format strings.
8845         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8846         -Wformat-extra-args warnings for scanf formats.
8847         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8848         test of zero-length format (duh).
8849         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8850         corner-case scanf format test.
8851         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8852         generated fprintf format string.
8853         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8854         corner-case sprintf format tests.
8855         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8856         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8857         -Wformat-extra-args warnings throughout.
8858         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8859         (CFLAGS-scanf4.c): Likewise.
8860         (CFLAGS-scanf7.c): Likewise.
8861         (CFLAGS-tst-sprintf.c): Likewise.
8862         (CFLAGS-tst-printf.c): Likewise.
8863         (CFLAGS-tst-printfsz.c): Likewise.
8865 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8867         * include/cpio.h: New file.
8868         * include/fmtmsg.h: Likewise.
8870         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8871         corresponding format argument to size_t.
8872         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8873         arguments.
8874         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8875         corresponding format argument to size_t.
8876         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8877         arguments.
8878         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8879         corresponding format argument to size_t.
8880         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8881         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8882         (CFLAGS-tst-mbswcs2.c): Likewise.
8883         (CFLAGS-tst-mbswcs3.c): Likewise.
8884         (CFLAGS-tst-mbswcs4.c): Likewise.
8885         (CFLAGS-tst-mbswcs5.c): Likewise.
8886         (CFLAGS-tst-trans.c): Likewise
8888 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8890         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8891         rather than assuming they won't contain any '%'s.
8893 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8895         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8896         inhibit_loop_to_libcall to avoid recursive calls.
8897         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8898         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8900 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8902         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8903         prototype.
8905 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8907         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8908         integer value instead of boolean.
8910 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8912         * malloc/malloc.c: Fix powerof2 check.
8914 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8916         * locale/programs/locfile.h (maybe_swap_uint32):
8917         Remove inline and add unused attribute.
8919 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8922         Truncating assembler expression to a .long expression.
8924 2014-12-11  Andreas Schwab  <schwab@suse.de>
8926         * elf/rtld.c (struct map_args): Constify str member.
8927         (do_preload): Constify fname argument.
8929 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8932         constants definition.
8934 2014-12-11  Andreas Schwab  <schwab@suse.de>
8936         [BZ #16657]
8937         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8938         FORCE_ELISION instead of DO_ELISION.
8939         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8940         Remove.
8941         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8942         Likewise.
8944         * iconvdata/gconv-modules: Remove duplicate entry.
8946 2014-12-11  Will Newton  <will.newton@linaro.org>
8948         Merge gettext 0.19.3 into intl/.
8950         This involves a number of cosmetic changes to comments
8951         and ANSI function definitions and prototypes throughout
8952         all the files. The gettext copyright header is used but
8953         with the date ranges taken from the glibc copy.
8955         * NEWS: Add gettext merge to 2.21.
8956         * intl/bindtextdom.c: Switch to gettext copyright.
8957         Use ANSI definitions and prototypes.
8958         Use gl_* locking primitives rather than __libc_* ones.
8959         Use __builtin_expect rather than __glibc_likely/unlikely.
8960         * intl/dcgettext.c: Switch to gettext copyright.
8961         Use ANSI definitions and prototypes.
8962         * intl/dcigettext.c: Switch to gettext copyright.
8963         Use ANSI definitions and prototypes.
8964         (INTDIV0_RAISES_SIGFPE): New define.
8965         Use gl_* locking primitives rather than __libc_* ones.
8966         Include eval-plural.h instead of plural-eval.c.
8967         Use __builtin_expect rather than __glibc_likely/unlikely.
8968         * intl/dcngettext.c: Switch to gettext copyright.
8969         Use ANSI definitions and prototypes.
8970         * intl/dgettext.c: Likewise.
8971         * intl/dngettext.c: Likewise.
8972         * intl/plural-eval.c: Renamed to...
8973         * intl/eval-plural.h: ...this.
8974         * intl/explodename.c: Switch to gettext copyright.
8975         Use ANSI definitions and prototypes.
8976         (_nl_explode_name): Use strchr instead of __rawmemchr.
8977         * intl/finddomain.c: Switch to gettext copyright.
8978         Use ANSI definitions and prototypes.
8979         Use gl_* locking primitives rather than __libc_* ones.
8980         (_nl_find_domain): Use malloc rather than alloca for
8981         allocation of temporary locale name.
8982         * intl/gettext.c: Switch to gettext copyright.
8983         Use ANSI definitions and prototypes.
8984         * intl/gettextP.h: Switch to gettext copyright.
8985         Use ANSI definitions and prototypes.
8986         Use gl_* locking primitives rather than __libc_* ones.
8987         * intl/gmo.h: Switch to gettext copyright.
8988         (struct sysdep_string): Move struct segment_pair outside of
8989         struct definition.
8990         * intl/hash-string.c: Use ANSI definitions and prototypes.
8991         * intl/hash-string.h: Switch to gettext copyright.
8992         Use ANSI definitions and prototypes.
8993         * intl/l10nflist.c: Switch to gettext copyright.
8994         Use ANSI definitions and prototypes.
8995         (_nl_normalize_codeset): Avoid integer overflow.
8996         * intl/loadinfo.h: Switch to gettext copyright.
8997         Use ANSI definitions and prototypes.
8998         (LIBINTL_DLL_EXPORTED): New define.
8999         (PATH_SEPARATOR): New define.
9000         * intl/loadmsgcat.c: Switch to gettext copyright.
9001         * intl/localealias.c: Switch to gettext copyright.
9002         Use ANSI definitions and prototypes.
9003         (_nl_expand_alias): Use PATH_SEPARATOR.
9004         * intl/ngettext.c: Switch to gettext copyright.
9005         Use ANSI definitions and prototypes.
9006         * intl/plural-exp.c: Likewise.
9007         * intl/plural-exp.h: Switch to gettext copyright.
9008         Use ANSI definitions and prototypes.
9009         (struct expression): Move definition of enum operator outside
9010         of struct definition.
9011         * intl/plural.c: Regenerate.
9012         * intl/plural.y: Switch to gettext copyright.
9013         Use ANSI definitions and prototypes.
9014         Port to bison 3.0.
9015         * intl/textdomain.c: Switch to gettext copyright.
9016         Use ANSI definitions and prototypes.
9017         Use gl_* locking primitives rather than __libc_* ones.
9019 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9021         * debug/warning-nop.c: Add used atrribute.
9023 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9025         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9027         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9028         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9029         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9031 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9032             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9034         [BZ #17634]
9035         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9036         Undefine after defining function.  Define as weak alias of
9037         __wcschr.  Use libc_hidden_weak.
9038         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9039         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9040         (libc_hidden_def): Also define __GI___wcschr alias.
9041         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9042         __wcschr and define as weak alias of __wcschr.
9043         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9044         __wcschr.
9045         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9046         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9047         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9048         libc_hidden_weak.  Do not use libc_hidden_def.
9049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9050         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9051         __GI___wcschr alias.
9052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9053         [IS_IN (libc)] (wcschr): Define as macro expanding to
9054         __redirect_wcschr.
9055         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9056         [IS_IN (libc)] (__wcschr_power6): Likewise.
9057         [IS_IN (libc)] (__wcschr_power7): Likewise.
9058         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9059         instead of wcschr.
9060         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9061         __libc_wcschr.
9062         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9063         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9064         __wcschr and define as weak alias of __wcschr.  Use
9065         libc_hidden_builtin_def.
9066         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9067         as weak alias of __wcschr.  Use libc_hidden_weak.
9068         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9069         wcschr.
9070         * time/era.c (_nl_init_era_entries): Likewise.
9071         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9072         variable.
9073         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9074         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9076 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9078         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9079         format for long int variable.
9081 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9083         [BZ #10672]
9084         * manual/search.texi: (Array Sort Function): Remove claim how to make
9085         qsort stable.
9087 2014-12-10  Andreas Schwab  <schwab@suse.de>
9089         [BZ #12847]
9090         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9091         user-controlled locks.
9093 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9095         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9096         register.
9098 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9100         * configure.ac (--disable-werror): New configure option.
9101         (enable_werror): New AC_SUBST.
9102         * configure: Regenerated.
9103         * config.make.in (enable-werror): New variable.
9104         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9105         -Wno-error=undef.
9106         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9107         * manual/install.texi (Configuring and compiling): Document
9108         --disable-werror.
9109         * INSTALL: Regenerated.
9110         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9111         (CFLAGS-tst-chk2.c): Likewise.
9112         (CFLAGS-tst-chk3.c): Likewise.
9113         (CFLAGS-tst-chk4.cc): Likewise.
9114         (CFLAGS-tst-chk5.cc): Likewise.
9115         (CFLAGS-tst-chk6.cc): Likewise.
9116         (CFLAGS-tst-lfschk1.c): Likewise.
9117         (CFLAGS-tst-lfschk2.c): Likewise.
9118         (CFLAGS-tst-lfschk3.c): Likewise.
9119         (CFLAGS-tst-lfschk4.cc): Likewise.
9120         (CFLAGS-tst-lfschk5.cc): Likewise.
9121         (CFLAGS-tst-lfschk6.cc): Likewise.
9123         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9124         (main): Disable -Wdeprecated-declarations around calls to
9125         register_printf_function.
9127         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9128         (do_test): Disable -Wdiv-by-zero around some calls to
9129         fwrite_unlocked and fread_unlocked.
9131         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9132         (DIAG_POP_NEEDS_COMMENT): Likewise.
9133         (_DIAG_STR1): Likewise.
9134         (_DIAG_STR): Likewise.
9135         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9136         * stdio-common/bug21.c: Include <libc-internal.h>.
9137         (do_test): Disable -Wformat around call to sscanf.
9138         * stdio-common/scanf14.c: Include <libc-internal.h>.
9139         (main): Disable -Wformat around some calls to scanf functions.
9141 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9143         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9145 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9147         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9148         stack variable alignment.
9150 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9152         [BZ #17682]
9153         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9154         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9155         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9156         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9157         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9158         __getrlimit instead of getrlimit.
9159         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9160         __gettimeofday instead of gettimeofday.
9161         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9162         Likewise.
9163         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9164         Likewise.
9165         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9166         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9167         Remove variable.
9168         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9169         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9171 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9173         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9174         for wide-character tests.
9176 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9178         * io/openat64.c: #include <libc-internal.h>
9179         (__openat64): Prototypify.  Use ignore_value on MODE.
9180         * io/openat.c: Likewise.
9181         * misc/reboot.c: #include <libc-internal.h>
9182         (reboot): Prototypify.  Use ignore_value on HOWTO.
9183         * misc/ptrace.c: #include <libc-internal.h>
9184         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9186 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9188         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9189         XPG4, UNIX98 and XOPEN2K.
9190         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9191         Remove variable.
9192         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9194 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9196         * libio/fileops.c: Use ISO C style for function definitions.
9197         * libio/iofopen.c: Likewise.
9198         * libio/wfileops.c: Likewise.
9200         [BZ #17653]
9201         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9202         offset on EOF.
9203         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9204         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9205         (fgets_func): Function pointer to fgets and fgetws.
9206         (do_ftell_test): Add test to verify ftell value after read
9207         EOF.
9208         (do_test): Set fgets_func.
9210         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9211         O_TRUNC flag for w and w+ modes.
9212         (do_rewind_test): Likewise.
9213         (do_ftell_test): Likewise.
9214         (do_write_test): Likewise.
9216         [BZ #17647]
9217         * libio/fileops.c (do_ftell): Seek only when there are
9218         unflushed writes.
9219         * libio/wfileops.c (do_ftell_wide): Likewise.
9220         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9221         test case.
9222         (do_one_test): Call it.
9224 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9226         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9227         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9228         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9229         Remove variable.
9230         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9231         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9232         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9234 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9236         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9237         Remove variable.
9238         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9240         [BZ #17668]
9241         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9242         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9243         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9244         __freeifaddrs.  Use libc_hidden_weak.
9245         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9246         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9247         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9248         __freeifaddrs.  Use libc_hidden_weak.
9249         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9250         __getifaddrs and define as weak alias of __getifaddrs.  Use
9251         libc_hidden_weak.
9252         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9253         __freeifaddrs.  Use libc_hidden_weak.
9254         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9255         Remove variable.
9256         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9257         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9259 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9261         [BZ #17601]
9262         * sysdeps/mips/start.S (__start): Use indirect jump to call
9263         __libc_start_main.
9265 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9267         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9269         * nptl/tst-mutex1.c: Include <stdbool.h>.
9270         [!ATTR] (ATTR_NULL): New macro.
9271         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9272         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9273         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9275         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9276         to char *.
9278         [BZ #17665]
9279         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9280         Change conditional to [__USE_MISC].
9282         [BZ #17664]
9283         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9284         fgets_unlocked.
9285         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9286         __fgets_unlocked.
9287         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9288         fgets_unlocked.
9289         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9290         Remove variable.
9291         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9292         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9293         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9294         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9295         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9296         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9297         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9298         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9299         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9301         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9303 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9305         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9306         Remove strpbrk objects.
9307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9308         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9309         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9310         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9311         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9312         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9315         Remove strcspn objects.
9316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9317         (__libc_ifunc_impl_list): Remove strcspn implementation.
9318         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9319         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9320         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9321         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9324         Remove strspn objetcs.
9325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9326         (__libc_ifunc_impl_list): Remove strspn implementation.
9327         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9328         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9329         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9330         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9332 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9334         [BZ #17581]
9335         * malloc/hooks.c
9336         (mem2mem_check): Add a terminator to the chain of checking blocks.
9337         (malloc_check_get_size): Use it here.
9338         (mem2chunk_check): Ditto.
9340 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9342         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9343         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9345 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9347         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9349         * nptl/nptl-init.c: Include libc-internal.h.
9350         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9352         * elf/ldconfig.c (search_dir): Expand comment.
9354 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9356         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9357         variable.
9358         (linknamespace-symlist-stdlibs-tests): Likewise.
9359         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9360         instead of $(objpfx)symlist-stdlibs.
9361         (linknamespace-libs-isoc): New variable.
9362         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9363         (linknamespace-libs-ISO): New variable.
9364         (linknamespace-libs-ISO99): Likewise.
9365         (linknamespace-libs-ISO11): Likewise.
9366         (linknamespace-libs-XPG3): Likewise.
9367         (linknamespace-libs-XPG4): Likewise.
9368         (linknamespace-libs-POSIX): Likewise.
9369         (linknamespace-libs-UNIX98): Likewise.
9370         (linknamespace-libs-XOPEN2K): Likewise.
9371         (linknamespace-libs-POSIX2008): Likewise.
9372         (linknamespace-libs-XOPEN2K8): Likewise.
9373         ($(objpfx)symlist-stdlibs): Replace by
9374         $(linknamespace-symlist-stdlibs-tests).  Use
9375         $(linknamespace-libs-$*) as set of libraries.
9376         ($(linknamespace-header-tests)): Update dependencies.  Use
9377         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9378         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9379         * conform/linknamespace.pl: Remove comment about considering
9380         definitions of symbols from irrelevant libraries.
9382 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9384         [BZ #13862]
9385         * elf/dl-tls.c: Include <atomic.h>.
9386         (oom): Remove #ifdef SHARED/#endif.
9387         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9388         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9389         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9390         big enough.
9391         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9392         * nptl/Makefile (tests): Add tst-stack4.
9393         (modules-names): Add tst-stack4mod.
9394         ($(objpfx)tst-stack4): New.
9395         (tst-stack4mod.sos): Likewise.
9396         ($(objpfx)tst-stack4.out): Likewise.
9397         ($(tst-stack4mod.sos)): Likewise.
9398         (clean): Likewise.
9399         * nptl/tst-stack4.c: New file.
9400         * nptl/tst-stack4mod.c: Likewise.
9402 2014-11-27  J. Brown  <jb999@gmx.de>
9404         * sysdeps/x86/bits/string.h: Add recent CPUs.
9406 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9408         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9409         sigblock.
9411         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9412         feof.
9414         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9415         variable.
9417 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9419         * nscd/connections.c: Include libc-internal.h because of macro
9420         usage ignore_value.
9422 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9424         * string/bits/string3.h (__warn_memset_zero_len): Don't
9425         declare for gcc newer than 5.0.
9426         (memset): Don't test for zero-length __LEN for gcc newer than
9427         5.0.
9429 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9431         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9432         size_t for %zu format.
9434         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9435         difference, not %ju.
9437 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9439         * include/libc-internal.h (ignore_value): New macro.
9440         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9441         with ignore_value.
9443         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9444         definition.
9446         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9447         pthread_cleanup_push to void *.
9449         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9450         Undefine.
9452         [BZ #16619]
9453         [BZ #16740]
9454         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9455         instead of 1L << 52.
9457         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9458         * libio/bug-rewind2.c (do_test): Likewise.
9460         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9461         * debug/test-strcpy_chk-ifunc.c: Likewise.
9462         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9463         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9464         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9465         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9466         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9467         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9468         * Rules [$(multi-arch) = no] (tests): Do not filter out
9469         $(tests-ifunc).
9470         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9471         * debug/Makefile (tests-ifunc): Remove variable.
9472         (tests): Do not add $(tests-ifunc).
9473         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9474         (tests): Do not add $(tests-ifunc).
9475         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9476         [TEST_IFUNC]: Remove conditionals.
9477         * string/test-string.h (TEST_IFUNC): Remove macro.
9478         [TEST_IFUNC]: Remove conditionals.
9480         * string/test-strchr.c [!WIDE] (L): New macro.
9481         [WIDE] (L): Likewise.
9482         (check1): Use CHAR instead of char.  Use L on string and character
9483         constants.
9485 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9487         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9488         tests.
9489         * sysdeps/powerpc/bits/atomic.h
9490         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9491         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9492         (atomic_exchange_and_add_acq): Likewise.
9493         (atomic_exchange_and_add_rel): Likewise.
9494         * sysdeps/powerpc/powerpc32/bits/atomic.h
9495         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9496         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9497         * sysdeps/powerpc/powerpc64/bits/atomic.h
9498         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9499         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9501 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9503         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9504         Change synchronization of __sched_fifo_min_prio and
9505         __sched_fifo_max_prio.
9506         * nptl/pthread_mutexattr_getprioceiling.c
9507         (pthread_mutexattr_getprioceiling): Likewise.
9508         * nptl/pthread_mutexattr_setprioceiling.c
9509         (pthread_mutexattr_setprioceiling): Likewise.
9510         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9511         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9512         Likewise.
9514 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9516         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9517         void.
9519 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9521         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9522         third argument const.
9524 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9526         fnmatch: work around GCC compiler warning bug with uninit var
9527         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9528         This works around a bug with x86-64 GCC 4.9.2 and earlier
9529         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9530         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9531         used uninitialized in this function [-Wmaybe-uninitialized]".
9533 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9535         * posix/bug-regex31.c (main): Return RES not 0.
9537 2014-11-25  Anton Blanchard <anton@samba.org>
9539         * sysdeps/powerpc/bits/atomic.h
9540         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9542 2014-11-24  Sterling Augustine  <saugustine@google.com>
9544         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9546 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9548         [BZ #17608]
9549         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9551 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9553         [BZ #17633]
9554         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9555         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9556         variable.
9557         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9558         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9560 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9562         * string/strncpy.c (strncpy): Improve performance by using memset.
9564 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9566         * string/strcpy.c (strcpy):
9567         Improve performance by using strlen and memcpy.
9569 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9571         * string/strcoll_l.c (get_next_seq): __always_inline.
9572         * string/strcoll_l.c (do_compare): __always_inline.
9574 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9576         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9577         defined.
9578         * include/mqueue.h: Likewise.
9579         * include/stdlib.h: Likewise.
9581         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9582         (get_null_defines): Adjust.
9583         * sunrpc/Makefile: Adjust comment.
9584         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9585         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9586         (CFLAGS-interp.c): Likewise.
9587         (CFLAGS-ldconfig.c): Likewise.
9588         (CPPFLAGS-.os): Likewise.
9589         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9590         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9591         * extra-modules.mk (extra-modules.mk): Likewise.
9592         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9593         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9594         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9595         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9596         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9597         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9598         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9599         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9600         * iconvdata/Makefile (CPPFLAGS): Likewise.
9601         (cpp-srcs-left): Add libof for all iconvdata routines.
9602         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9603         * include/assert.h: Likewise.
9604         * include/ctype.h: Likewise.
9605         * include/errno.h: Likewise.
9606         * include/libc-symbols.h: Likewise.
9607         * include/math.h: Likewise.
9608         * include/netdb.h: Likewise.
9609         * include/resolv.h: Likewise.
9610         * include/stdio.h: Likewise.
9611         * include/stdlib.h: Likewise.
9612         * include/string.h: Likewise.
9613         * include/sys/stat.h: Likewise.
9614         * include/wctype.h: Likewise.
9615         * intl/l10nflist.c: Likewise.
9616         * libidn/idn-stub.c: Likewise.
9617         * libio/libioP.h: Likewise.
9618         * nptl/libc_multiple_threads.c: Likewise.
9619         * nptl/pthreadP.h: Likewise.
9620         * posix/regex_internal.h: Likewise.
9621         * resolv/res_hconf.c: Likewise.
9622         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9623         * sysdeps/arm/memmove.S: Likewise.
9624         * sysdeps/arm/sysdep.h: Likewise.
9625         * sysdeps/generic/_itoa.h: Likewise.
9626         * sysdeps/generic/symbol-hacks.h: Likewise.
9627         * sysdeps/gnu/errlist.awk: Likewise.
9628         * sysdeps/gnu/errlist.c: Likewise.
9629         * sysdeps/i386/i586/memcpy.S: Likewise.
9630         * sysdeps/i386/i586/memset.S: Likewise.
9631         * sysdeps/i386/i686/memcpy.S: Likewise.
9632         * sysdeps/i386/i686/memmove.S: Likewise.
9633         * sysdeps/i386/i686/mempcpy.S: Likewise.
9634         * sysdeps/i386/i686/memset.S: Likewise.
9635         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9636         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9637         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9638         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9639         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9641         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9642         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9643         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9644         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9645         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9646         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9647         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9648         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9649         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9650         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9651         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9652         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9653         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9654         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9655         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9656         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9657         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9658         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9659         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9660         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9661         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9662         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9663         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9664         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9665         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9666         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9667         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9668         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9669         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9670         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9671         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9672         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9673         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9675         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9676         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9677         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9678         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9679         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9680         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9681         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9682         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9683         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9684         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9685         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9686         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9687         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9688         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9689         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9690         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9691         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9692         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9693         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9694         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9695         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9696         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9697         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9698         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9699         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9700         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9701         * sysdeps/posix/closedir.c: Likewise.
9702         * sysdeps/posix/opendir.c: Likewise.
9703         * sysdeps/posix/readdir.c: Likewise.
9704         * sysdeps/posix/rewinddir.c: Likewise.
9705         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9706         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9707         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9708         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9709         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9712         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9713         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9714         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9716         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9717         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9718         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9720         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9721         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9722         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9724         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9725         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9726         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9727         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9728         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9729         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9731         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9733         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9740         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9741         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9742         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9743         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9744         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9745         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9746         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9747         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9748         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9749         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9750         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9751         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9753         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9754         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9755         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9756         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9758         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9760         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9762         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9763         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9764         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9765         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9766         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9768         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9769         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9770         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9771         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9772         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9773         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9774         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9775         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9776         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9777         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9778         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9779         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9780         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9781         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9782         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9783         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9784         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9785         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9786         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9787         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9789         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9790         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9791         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9792         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9793         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9794         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9795         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9796         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9797         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9798         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9799         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9800         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9801         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9802         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9803         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9804         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9805         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9806         * sysdeps/unix/alpha/sysdep.S: Likewise.
9807         * sysdeps/unix/alpha/sysdep.h: Likewise.
9808         * sysdeps/unix/make-syscalls.sh: Likewise.
9809         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9811         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9812         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9813         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9814         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9815         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9816         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9817         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9818         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9819         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9820         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9821         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9822         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9823         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9824         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9825         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9826         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9827         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9828         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9829         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9830         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9831         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9832         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9833         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9834         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9835         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9838         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9839         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9841         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9843         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9847         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9848         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9849         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9850         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9851         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9852         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9853         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9855         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9858         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9859         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9860         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9861         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9862         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9864         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9865         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9866         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9867         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9868         * sysdeps/x86_64/memcpy.S: Likewise.
9869         * sysdeps/x86_64/memmove.c: Likewise.
9870         * sysdeps/x86_64/memset.S: Likewise.
9871         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9872         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9873         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9874         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9875         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9876         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9878         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9879         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9880         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9881         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9882         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9883         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9886         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9887         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9888         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9889         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9890         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9891         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9892         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9893         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9894         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9895         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9896         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9897         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9898         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9899         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9900         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9901         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9902         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9903         * sysdeps/x86_64/strcmp.S: Likewise.
9905         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9907         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9908         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9909         * elf/rtld-Rules: Likewise.
9910         * elf/setup-vdso.h: Likewise.
9911         * include/assert.h: Likewise.
9912         * include/bits/stdlib-float.h: Likewise.
9913         * include/errno.h: Likewise.
9914         * include/sys/stat.h: Likewise.
9915         * include/unistd.h: Likewise.
9916         * sysdeps/aarch64/setjmp.S: Likewise.
9917         * sysdeps/alpha/setjmp.S: Likewise.
9918         * sysdeps/arm/__longjmp.S: Likewise.
9919         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9920         * sysdeps/arm/setjmp.S: Likewise.
9921         * sysdeps/arm/sysdep.h: Likewise.
9922         * sysdeps/generic/_itoa.h: Likewise.
9923         * sysdeps/generic/dl-sysdep.h: Likewise.
9924         * sysdeps/generic/ldsodefs.h: Likewise.
9925         * sysdeps/i386/dl-tls.h: Likewise.
9926         * sysdeps/i386/setjmp.S: Likewise.
9927         * sysdeps/m68k/setjmp.c: Likewise.
9928         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9929         * sysdeps/mach/hurd/opendir.c: Likewise.
9930         * sysdeps/posix/getcwd.c: Likewise.
9931         * sysdeps/posix/opendir.c: Likewise.
9932         * sysdeps/posix/profil.c: Likewise.
9933         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9935         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9937         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9938         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9939         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9940         * sysdeps/s390/dl-tls.h: Likewise.
9941         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9942         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9943         * sysdeps/sh/sh3/setjmp.S: Likewise.
9944         * sysdeps/sh/sh4/setjmp.S: Likewise.
9945         * sysdeps/unix/alpha/sysdep.h: Likewise.
9946         * sysdeps/unix/arm/sysdep.S: Likewise.
9947         * sysdeps/unix/i386/sysdep.S: Likewise.
9948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9949         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9950         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9951         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9953         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9954         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9955         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9957         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9958         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9959         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9960         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9963         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9966         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9967         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9971         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9972         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9973         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9975         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9976         * sysdeps/x86_64/setjmp.S: Likewise.
9978         * include/math.h: Use IS_IN instead of IS_IN_libm.
9979         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9980         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9981         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9982         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9983         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9984         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9985         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9986         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9988         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9989         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9990         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9991         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9992         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9993         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9994         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9995         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9996         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9997         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9998         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9999         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10000         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10001         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10002         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10003         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10004         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10005         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10006         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10007         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10008         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10009         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10010         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10011         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10013         Likewise.
10014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10015         Likewise.
10016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10017         Likewise.
10018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10019         Likewise.
10020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10021         Likewise.
10022         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10023         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10024         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10025         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10026         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10027         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10033         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10034         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10035         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10036         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10037         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10038         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10039         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10040         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10041         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10042         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10043         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10046         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10048         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10050         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10051         * nptl/pthreadP.h: Likewise.
10052         * nptl_db/structs.def: Likewise.
10053         * sysdeps/arm/sysdep.h: Likewise.
10054         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10055         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10056         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10057         * sysdeps/unix/alpha/sysdep.h: Likewise.
10058         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10060         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10061         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10062         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10063         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10064         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10065         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10066         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10067         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10068         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10069         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10070         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10071         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10074         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10075         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10076         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10079         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10080         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10081         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10082         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10083         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10085         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10086         * nptl/pthreadP.h: Likewise.
10087         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10088         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10089         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10090         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10091         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10092         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10093         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10094         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10095         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10096         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10097         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10098         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10104         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10105         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10107         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10108         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10109         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10110         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10112         * dlfcn/dladdr.c: Use IS_IN.
10113         * dlfcn/dladdr1.c: Likewise.
10114         * dlfcn/dlclose.c: Likewise.
10115         * dlfcn/dlerror.c: Likewise.
10116         * dlfcn/dlinfo.c: Likewise.
10117         * dlfcn/dlmopen.c: Likewise.
10118         * dlfcn/dlopen.c: Likewise.
10119         * dlfcn/dlsym.c: Likewise.
10120         * dlfcn/dlvsym.c: Likewise.
10122         * include/ifaddrs.h: Use IS_IN.
10123         * inet/check_pf.c: Likewise.
10124         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10125         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10127         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10128         IS_IN_ldconfig.
10129         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10130         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10132         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10133         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10134         IS_IN (libc).
10136         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10138         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10139         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10140         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10141         * include/libc-symbols.h (IS_IN_LIB): New macro.
10142         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10143         * include/netdb.h: Likewise.
10144         * include/stap-probe.h: Remove all uses of IN_LIB.
10146         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10147         instead of IN_MODULE.
10148         * include/libc-symbols.h (IN_MODULE): Define using
10149         MODULE_NAME.
10150         (PASTE_NAME, PASTE_NAME1): New macros.
10151         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10152         of IN_LIB.
10153         (STAP_PROBE_ASM): Likewise.
10155 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10157         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10158         __mach_init in dlopened libc.
10160 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10162         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10163         * sysdeps/arm/preconfigure: Regenerate.
10165 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10167         * nptl/pthread_create.c (__pthread_create_2_1): Set
10168         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10169         when copying values from IATTR into PD.
10171 2014-11-21  Will Newton  <will.newton@linaro.org>
10172             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10174         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10175         Refactor inline-asm.  Also add comment.
10177         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10178         ElfW macro instead of hardcoded Elf64 types.
10179         (la_aarch64_gnu_pltenter): Likewise.
10180         * sysdeps/aarch64/dl-machine.h
10181         (elf_machine_runtime_setup): Use ElfW(Addr).
10183         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10184         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10185         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10186         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10187         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10188         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10189         (R_AARCH64_TLS_DTPMOD): This.
10190         (R_AARCH64_TLS_DTPREL64): Rename to ...
10191         (R_AARCH64_TLS_DTPREL): This.
10192         (R_AARCH64_TLS_TPREL64): Rename to ...
10193         (R_AARCH64_TLS_TPREL): This.
10194         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10195         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10196         R_AARCH64_TLS_TPREL64.
10197         (elf_machine_rela): Likewise.
10199 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10201         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10202         by setting it to 0.  64b atomics are not supported currently.
10204 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10206         [BZ #16469]
10207         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10208         search domain names.
10210 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10212         [BZ #16469]
10213         * NEWS: Update.
10214         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10215         trailing dot.
10216         * posix/tst-getaddrinfo5.c: New.
10217         * posix/Makefile (tests): Add it.
10219 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10221         [BZ #14498]
10222         * NEWS: Fixed.
10223         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10224         after parsing line but before break_if_match.
10225         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10226         if there is a protocol mismatch.
10228 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10230         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10231         because the potential race is on the user-supplied stream.
10233 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10235         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10236         string literal if not passed a buffer.
10237         * manual/job.texi (ctermid): Update reasoning, note deviation
10238         from posix, suggest mtasurace when not passed a buffer, for
10239         future non-preliminary safety notes.
10241 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10243         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10244         of not passing it a buffer.
10245         Reported by Peng Haitao.
10247 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10249         * manual/Makefile ($(objpfx)stamp-summary): Require
10250         check-safety.sh to pass.
10251         * manual/check-safety.sh: Wish for verification that every
10252         @deftypefn and @deftypefun is followed by a @safety remark.
10254 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10256         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10258         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10259         PTHREAD_CANCEL_ASYNCHRONOUS.
10260         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10261         send SIGCANCEL.
10263         * nptl/default-sched.h: New file.
10264         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10265         * nptl/pthread_create.c: Include it.
10266         (__pthread_create_2_1): Use collect_default_sched instead of making
10267         Linux syscalls here directly.
10269 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10271         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10272         __pthread_once): Use C11 atomics.
10274 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10276         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10278 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10280         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10281         atomic_thread_fence_acquire, atomic_thread_fence_release,
10282         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10283         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10284         atomic_compare_exchange_weak_relaxed,
10285         atomic_compare_exchange_weak_acquire,
10286         atomic_compare_exchange_weak_release,
10287         atomic_exchange_acquire, atomic_exchange_release,
10288         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10289         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10290         atomic_fetch_and_acquire,
10291         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10293 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10295         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10296         USE_ATOMIC_COMPILER_BUILTINS): Define.
10297         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10299         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10301         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10303         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10305         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10307         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10309         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10311         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10313         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10315         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10317         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10319         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10321         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10323         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10325         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10327         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10328         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10329         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10330         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10331         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10332         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10333         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10334         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10335         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10338 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10340         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10341         the sched_priority value here.  It was already checked when the user
10342         called pthread_attr_setschedparam.
10344         * nptl/tst-bad-schedattr.c: New file.
10345         * nptl/Makefile (tests): Add it.
10347 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10348             Florian Weimer  <fweimer@redhat.com>
10349             Joseph Myers  <joseph@codesourcery.com>
10350             Adam Conrad  <adconrad@0c3.net>
10351             Andreas Schwab  <schwab@suse.de>
10352             Brooks  <bmoses@google.com>
10354         [BZ #17625]
10355         * wordexp-test.c (__dso_handle): Add prototype.
10356         (__register_atfork): Likewise.
10357         (__app_register_atfork): New function.
10358         (registered_forks): New global.
10359         (register_fork): New function.
10360         (test_case): Add 3 new tests for WRDE_CMDSUB.
10361         (main): Call __app_register_atfork.
10362         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10363         fork count is non-zero fail the test.
10364         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10365         is set.
10366         (parse_dollars): Remove check for WRDE_NOCMD.
10367         (parse_dquote): Likewise.
10369 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10371         * Makeconfig (built-modules): List non-library modules to be
10372         built.
10373         (module-cppflags): Include libc-modules.h for
10374         everything except shlib-versions.v.i.
10375         (CPPFLAGS): Use it.
10376         (before-compile): Add libc-modules.h.
10377         ($(common-objpfx)libc-modules.h,
10378         $(common-objpfx)libc-modules.stmp): New targets.
10379         (common-generated): Add libc-modules.h and libc-modules.stmp.
10380         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10381         * include/libc-symbols.h: Don't include libc-modules.h.
10382         * include/libc-modules.h: Remove file.
10383         * scripts/gen-libc-modules.awk: New script to generate
10384         libc-modules.h.
10385         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10386         Depend on libc-modules.stmp.
10388         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10390         * Makeconfig (in-module): Get value of libof set for the
10391         translation unit.
10392         (CPPFLAGS): Use $(in-module).
10393         * Makerules: Don't suffix routine names for nonlib.
10394         * include/libc-modules.h: New file.
10395         * include/libc-symbols.h: Include libc-modules.h
10396         (IS_IN): New macro to replace IS_IN_* macros.
10397         * elf/Makefile: Set libof-* for each routine.
10398         * elf/rtld-Rules: Likewise.
10399         * extra-modules.mk: Likewise.
10400         * iconv/Makefile: Likewise.
10401         * iconvdata/Makefile: Likewise.
10402         * locale/Makefile: Likewise.
10403         * malloc/Makefile: Likewise.
10404         * nss/Makefile: Likewise.
10405         * sysdeps/gnu/Makefile: Likewise.
10406         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10407         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10408         * sysdeps/s390/s390-64/Makefile: Likewise.
10409         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10410         CPPFLAGS for nscd instead of nonlib.
10412 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10414         * nptl/createthread.c: New file.
10416         * nptl/createthread.c: Moved ...
10417         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10419         * nptl/createthread.c: Add proper top-line comment.
10420         (do_clone): Folded into ...
10421         (create_thread): ... here.  Take new arguments STOPPED_START and
10422         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10423         increment __nptl_threads, do event-reporting logic, do
10424         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10425         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10426         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10427         just send SIGCANCEL.
10428         * nptl/pthread_create.c: Forward-declare create_thread before
10429         including createthread.c.
10430         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10431         declaration, and new macro START_THREAD_SELF to replace argument.
10432         Remove return statement.
10433         (report_thread_creation): New function.
10434         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10435         synchronization logic, and __nptl_nthreads increment here, around
10436         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10437         PD->parent_cancelhandling here, before create_thread.  When
10438         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10439         __deallocate_stack, and ENOMEM translation here.
10441 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #17616]
10444         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10445         (mptwo): Rename to __mptwo.
10446         (__inv): Use __mptwo instead of mptwo.
10447         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10448         (mptwo): Rename to __mptwo.
10449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10450         of mpone and __mptwo instead of mptwo.
10451         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10452         instead of mpone.
10453         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10454         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10455         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10456         of mpone and __mptwo instead of mptwo.
10457         (__mpranred): Use __mpone instead of mpone.
10458         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10459         variable.
10460         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10461         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10462         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10463         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10464         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10465         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10466         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10467         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10468         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10469         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10470         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10471         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10472         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10473         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10474         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10475         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10476         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10477         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10478         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10480 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10482         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10483         replace BSD Handler xref with BSD Signal Handling.
10485 2014-11-17  Richard Henderson  <rth@redhat.com>
10487         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10488         (_FP_PACK_RAW_2): Remove.
10489         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10490         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10491         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10492         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10493         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10494         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10495         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10496         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10497         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10498         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10499         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10500         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10501         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10502         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10503         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10504         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10506 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10508         * signal/signal.h [__USE_MISC]
10509         (struct sigvec): Remove type.
10510         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10511         (sigvec): Remove declaration.
10512         * sysdeps/posix/sigvec.c: Moved ...
10513         * signal/sigvec.c: ... here, replacing old file.
10514         (struct sigvec): New type, copied from old signal.h definition.
10515         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10516         (__sigvec): Convert definition to prototype.
10517         (sigvec): Replace weak_alias with compat_symbol.
10518         * signal/Versions (libc: GLIBC_2.21): New version set.
10519         * include/signal.h: Remove __sigvec declaration.
10520         * sysdeps/unix/bsd/sigvec.c: Remove file.
10521         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10522         * manual/signal.texi (BSD Handler): Remove subsection.
10523         Move siginterrupt up to ...
10524         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10525         (Blocking in BSD): Fold subsection into its parent.
10526         * NEWS: Mention sigvec removal.
10528 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10530         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10531         (DLA_FMS): Make definition conditional only on [__FMA4__].
10532         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10533         definition.
10535         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10536         Make definition conditional only on [PROF].
10537         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10538         definition.
10539         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10540         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10542         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10543         !__GNUC__].
10544         * include/signal.h (__sigpause): Move declaration above call to
10545         libc_hidden_proto.
10546         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10547         variable.
10548         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10549         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10551 2014-11-14  David S. Miller  <davem@davemloft.net>
10553         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10554         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10556 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10558         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10559         * configure: Regenerated.
10560         * manual/install.texi (Tools for Compilation): Document a
10561         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10562         compiler verified to work.
10563         * INSTALL: Regenerated.
10565         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10566         redeclare with asm name.
10567         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10568         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10569         including <string.h>.
10570         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10571         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10572         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10573         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10574         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10576         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10578 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10580         * stdlib/strtol.c (__strtol): Use prototype definition.
10582         [BZ #17594]
10583         * stdlib/strtol.c (SYM__): New macro.
10584         (SYM__1): Likewise.
10585         (__strtol): Likewise.
10586         (strtol): Rename to __strtol and define as weak alias of
10587         __strtol.  Use libc_hidden_weak.
10589 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10591         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10592         Use numbered labels in inline assembly.
10594 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10596         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10597         Add setjmp LIBC_PROBE.
10598         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10599         Likewise.
10600         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10601         Add longjmp, longjmp_target LIBC_PROBE.
10602         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10603         Likewise.
10605 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10608         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10609         to get rid of unused variable warning.
10611 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10613         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10614         Check for unwind_backtrace ==  NULL only in SHARED case.
10615         (__backchain_backtrace): Compile only in SHARED case.
10616         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10617         Likewise.
10618         (__backchain_backtrace): Declare as static.
10620 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10622         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10623         (__libc_multiple_threads_ptr): Variable moved ...
10624         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10626 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10628         * conform/GlibcConform.pm: New file.
10629         * conform/conformtest.pl: Use GlibcConform module.
10630         * conform/linknamespace.pl: New file.
10631         * conform/list-header-symbols.pl: Likewise.
10632         * conform/Makefile (linknamespace-symlists-base): New variable.
10633         (linknamespace-symlists-tests): Likewise.
10634         (linknamespace-header-base): Likewise.
10635         (linknamespace-header-tests): Likewise.
10636         (tests-special): Add new tests.
10637         ($(linknamespace-symlists-tests)): New rule.
10638         (linknamespace-libs): New variable.
10639         ($(objpfx)symlist-stdlibs): New rule.
10640         ($(linknamespace-header-tests)): Likewise.
10641         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10642         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10643         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10644         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10645         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10648         (test-xfail-ISO/math.h/linknamespace): Likewise.
10649         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10650         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10651         (test-xfail-ISO/time.h/linknamespace): Likewise.
10652         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10653         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10654         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10655         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10656         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10657         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10658         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10659         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10660         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10661         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10662         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10663         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10664         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10665         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10666         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10667         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10668         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10669         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10670         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10671         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10672         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10673         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10674         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10675         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10676         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10677         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10678         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10679         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10680         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10681         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10682         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10683         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10684         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10685         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10686         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10687         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10688         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10689         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10690         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10691         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10692         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10693         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10694         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10695         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10696         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10697         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10698         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10699         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10700         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10701         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10702         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10703         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10704         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10705         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10706         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10707         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10708         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10709         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10710         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10711         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10712         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10713         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10714         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10715         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10716         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10717         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10718         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10719         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10720         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10721         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10722         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10723         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10724         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10725         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10726         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10727         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10728         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10729         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10730         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10731         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10732         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10733         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10734         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10735         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10736         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10737         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10738         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10739         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10740         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10741         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10742         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10743         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10744         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10745         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10746         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10747         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10748         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10749         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10750         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10751         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10752         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10753         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10754         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10755         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10756         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10757         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10758         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10759         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10760         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10761         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10762         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10763         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10764         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10765         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10766         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10767         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10768         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10769         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10770         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10771         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10772         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10773         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10774         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10775         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10776         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10777         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10778         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10779         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10780         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10781         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10782         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10783         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10784         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10785         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10786         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10787         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10788         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10789         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10790         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10791         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10792         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10793         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10794         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10795         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10796         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10797         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10798         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10799         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10800         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10801         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10803         [BZ #17589]
10804         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10805         of fgets_unlocked.
10807         [BZ #17585]
10808         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10809         (memmem): Rename to __memmem and define as weak alias of
10810         __memmem.  Use libc_hidden_weak.
10811         (__memmem): Use libc_hidden_def.
10812         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10813         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10814         memmem.
10816         [BZ #17582]
10817         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10818         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10819         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10820         and define as weak alias of __fgets_unlocked.  Use
10821         libc_hidden_weak.
10822         (__fgets_unlocked): Use libc_hidden_def.
10823         * include/stdio.h (__fgets_unlocked): Declare.  Use
10824         libc_hidden_proto.
10825         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10826         __fgets_unlocked instead of fgets_unlocked.
10827         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10828         (GET_NPROCS_CONF_PARSER): Likewise.
10829         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10830         (GET_NPROCS_CONF_PARSER): Likewise.
10832         [BZ #17574]
10833         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10834         weak alias of __wmemset.  Use libc_hidden_weak.
10835         (__wmemset): Use libc_hidden_def.
10836         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10837         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10838         of wmemset.
10840         [BZ #17573]
10841         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10842         with asm name __mempcpy.
10843         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10845         [BZ #17572]
10846         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10847         and define as weak alias of __rawmemchr.
10848         (__rawmemchr): Do not define as strong alias of rawmemchr.
10850         [BZ #17571]
10851         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10852         alias of __qsort_r.
10853         (qsort): Call __qsort_r instead of qsort_r.
10854         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10855         (__qsort_r): Declare.  Call libc_hidden_proto.
10856         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10857         instead of qsort_r.
10858         * nscd/gai.c (__qsort_r): Define to qsort_r.
10859         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10860         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10861         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10863         [BZ #17570]
10864         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10865         define as weak alias of __malloc_info.
10867         [BZ #17584]
10868         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10869         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10870         (__rewinddir): Use libc_hidden_def.
10871         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10872         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10873         (__rewinddir): Use libc_hidden_def.
10874         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10875         weak alias of __rewinddir.  Don't use libc_hidden_def.
10876         (__rewinddir): Use libc_hidden_def.
10877         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10878         (__rewinddir): Use libc_hidden_proto.
10879         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10880         rewinddir.
10881         (__getcwd): Use __rewinddir instead of rewinddir.
10883         [BZ #17583]
10884         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10885         alias of __fileno.  Use libc_hidden_weak.
10886         (__fileno): Use libc_hidden_def.
10887         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10888         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10889         alias of __ftello.
10890         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10891         __ftello.
10892         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10893         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10894         libc_hidden_def.
10895         (fread_unlocked): Don't use libc_hidden_ver.
10896         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10897         and define as weak alias of __fread_unlocked.  Don't use
10898         libc_hidden_def.
10899         (__fread_unlocked): Use libc_hidden_def.
10900         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10901         (ftello): Don't use libc_hidden_proto.
10902         (__ftello): Declare.  Use libc_hidden_proto.
10903         (fread_unlocked): Don't use libc_hidden_proto.
10904         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10905         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10906         and __ftello instead of fileno, fread_unlocked and ftello.
10908 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10910         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10911         GOT12.
10912         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10913         Likewise.
10914         (_dl_start_user): Likewise.
10915         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10917 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10918             Siddhesh Poyarekar  <siddhesh@redhat.com>
10920         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10921         Move argv and envp down instead of moving argc up.
10922         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10924 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10926         [BZ #17506]
10927         * test-skeleton.c (main): Return successful if one of
10928         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10929         * string/tst-strcoll-overflow.c: Define expected status.
10931 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10933         [BZ #17475]
10934         * locale/iso-639.def: Define Bhili and Tulu language codes.
10936 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10938         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10940 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10942         [BZ #17555]
10943         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10945 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10947         * configure.ac: Updated check of minimal required version to
10948         2.22.
10949         * manual/install.texi (Tools for Compilation): Updated version
10950         number.
10951         * configure: Regenerated.
10952         * INSTALL: Likewise.
10954 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10956         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10957         __tls_get_addr.
10959 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10961         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10962         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10963         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10964         libc_hidden_weak.
10965         (waitpid): Define as alias of __waitpid.
10966         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10967         __waitpid.
10968         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10969         libc_hidden_weak.
10970         (waitpid): Define as alias of __waitpid.
10971         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10972         __libc_waitpid alias.
10973         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10974         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10975         Likewise.
10976         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10977         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10978         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10979         alias.
10980         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10981         __waitpid.
10982         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10983         libc_hidden_weak.
10984         (waitpid): Define as alias of __waitpid.
10986 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10988         * manual/llio.texi: Add comment that write safety has been
10989         fixed in Linux.
10991         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10992         (localplt-build-dso): Add elf/ld.so.
10993         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10994         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10995         and free for ld.so.
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10997         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10999         Likewise.
11000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11001         Likewise.
11002         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11003         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11004         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11005         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11006         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11007         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11008         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11009         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11010         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11011         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11012         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11014 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11016         [BZ #14132]
11017         * include/libc-symbols.h (INTUSE): Remove macro.
11018         (INTDEF): Likewise.
11019         (INTVARDEF): Likewise.
11020         (_INTVARDEF): Likewise.
11021         (INTDEF2): Likewise.
11022         (INTVARDEF2): Likewise.
11023         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11024         rtld_hidden_def instead of INTVARDEF.
11025         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11026         (_dl_starting_up_internal): Remove declaration.
11027         (_dl_starting_up): Use rtld_hidden_proto.
11028         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11029         declaration.
11030         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11031         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11032         _dl_starting_up.
11033         * elf/dl-writev.h (_dl_writev): Likewise.
11034         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11035         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11036         _dl_starting_up_internal.
11038 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11040         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11041         test-skeleton.c.
11043 2014-11-05  Will Newton  <will.newton@linaro.org>
11045         * benchtests/Makefile: (bench-malloc): Add malloc thread
11046         scalability benchmark.
11047         * benchtests/bench-malloc-threads.c: New file.
11049 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11051         * sysdeps/aarch64/strchrnul.S: New file.
11053 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11055         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11056         definition.
11057         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11058         Likwise.
11059         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11060         Likewise.
11061         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11062         Likewise.
11063         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11064         Likewise.
11065         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11066         Likewise.
11068 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11070         * catgets/test-gencat.c: Use test-skeleton.c.
11071         * catgets/tst-catgets.c: Likewise.
11072         * csu/tst-empty.c: Likewise.
11073         * elf/tst-audit2.c: Likewise.
11074         * elf/tst-global1.c: Likewise.
11075         * elf/tst-pathopt.c: Likewise.
11076         * elf/tst-piemod1.c: Likewise.
11077         * elf/tst-tls10.c: Likewise.
11078         * elf/tst-tls11.c: Likewise.
11079         * elf/tst-tls12.c: Likewise.
11080         * gnulib/tst-gcc.c: Likewise.
11081         * iconvdata/tst-e2big.c: Likewise.
11082         * iconvdata/tst-loading.c: Likewise.
11083         * iconv/tst-iconv1.c: Likewise.
11084         * iconv/tst-iconv2.c: Likewise.
11085         * inet/test-inet6_opt.c: Likewise.
11086         * inet/tst-gethnm.c: Likewise.
11087         * inet/tst-network.c: Likewise.
11088         * inet/tst-ntoa.c: Likewise.
11089         * intl/tst-codeset.c: Likewise.
11090         * intl/tst-gettext2.c: Likewise.
11091         * intl/tst-gettext3.c: Likewise.
11092         * intl/tst-ngettext.c: Likewise.
11093         * intl/tst-translit.c: Likewise.
11094         * io/test-stat.c: Likewise.
11095         * libio/test-fmemopen.c: Likewise.
11096         * libio/tst-freopen.c: Likewise.
11097         * libio/tst-sscanf.c: Likewise.
11098         * libio/tst-ungetwc1.c: Likewise.
11099         * libio/tst-ungetwc2.c: Likewise.
11100         * libio/tst-widetext.c: Likewise.
11101         * localedata/tst-ctype.c: Likewise.
11102         * localedata/tst-digits.c: Likewise.
11103         * localedata/tst-leaks.c: Likewise.
11104         * localedata/tst-mbswcs1.c: Likewise.
11105         * localedata/tst-mbswcs2.c: Likewise.
11106         * localedata/tst-mbswcs3.c: Likewise.
11107         * localedata/tst-mbswcs4.c: Likewise.
11108         * localedata/tst-mbswcs5.c: Likewise.
11109         * localedata/tst-setlocale.c: Likewise.
11110         * localedata/tst-trans.c: Likewise.
11111         * localedata/tst-wctype.c: Likewise.
11112         * localedata/tst-xlocale1.c: Likewise.
11113         * login/tst-grantpt.c: Likewise.
11114         * malloc/tst-calloc.c: Likewise.
11115         * malloc/tst-malloc.c: Likewise.
11116         * malloc/tst-mallocstate.c: Likewise.
11117         * malloc/tst-mcheck.c: Likewise.
11118         * malloc/tst-mtrace.c: Likewise.
11119         * malloc/tst-obstack.c: Likewise.
11120         * math/atest-exp2.c: Likewise.
11121         * math/atest-exp.c: Likewise.
11122         * math/atest-sincos.c: Likewise.
11123         * math/test-matherr.c: Likewise.
11124         * math/test-misc.c: Likewise.
11125         * math/test-powl.c: Likewise.
11126         * math/tst-definitions.c: Likewise.
11127         * misc/tst-dirname.c: Likewise.
11128         * misc/tst-efgcvt.c: Likewise.
11129         * misc/tst-fdset.c: Likewise.
11130         * misc/tst-hsearch.c: Likewise.
11131         * misc/tst-mntent2.c: Likewise.
11132         * nptl/tst-sem7.c: Likewise.
11133         * nptl/tst-sem8.c: Likewise.
11134         * nptl/tst-sem9.c: Likewise.
11135         * nss/test-netdb.c: Likewise.
11136         * posix/tst-fnmatch.c: Likewise.
11137         * posix/tst-getlogin.c: Likewise.
11138         * posix/tst-gnuglob.c: Likewise.
11139         * posix/tst-mmap.c: Likewise.
11140         * pwd/tst-getpw.c: Likewise.
11141         * resolv/tst-inet_ntop.c: Likewise.
11142         * rt/tst-timer.c: Likewise.
11143         * stdio-common/test-fseek.c: Likewise.
11144         * stdio-common/test-popen.c: Likewise.
11145         * stdio-common/test-vfprintf.c: Likewise.
11146         * stdio-common/tst-cookie.c: Likewise.
11147         * stdio-common/tst-fileno.c: Likewise.
11148         * stdio-common/tst-gets.c: Likewise.
11149         * stdio-common/tst-obprintf.c: Likewise.
11150         * stdio-common/tst-perror.c: Likewise.
11151         * stdio-common/tst-sprintf2.c: Likewise.
11152         * stdio-common/tst-sprintf3.c: Likewise.
11153         * stdio-common/tst-sprintf.c: Likewise.
11154         * stdio-common/tst-swprintf.c: Likewise.
11155         * stdio-common/tst-tmpnam.c: Likewise.
11156         * stdio-common/tst-unbputc.c: Likewise.
11157         * stdio-common/tst-wc-printf.c: Likewise.
11158         * stdlib/tst-environ.c: Likewise.
11159         * stdlib/tst-fmtmsg.c: Likewise.
11160         * stdlib/tst-limits.c: Likewise.
11161         * stdlib/tst-rand48-2.c: Likewise.
11162         * stdlib/tst-rand48.c: Likewise.
11163         * stdlib/tst-random2.c: Likewise.
11164         * stdlib/tst-random.c: Likewise.
11165         * stdlib/tst-strtol.c: Likewise.
11166         * stdlib/tst-strtoll.c: Likewise.
11167         * stdlib/tst-tls-atexit.c: Likewise.
11168         * stdlib/tst-xpg-basename.c: Likewise.
11169         * string/test-ffs.c: Likewise.
11170         * string/tst-bswap.c: Likewise.
11171         * string/tst-inlcall.c: Likewise.
11172         * string/tst-strtok.c: Likewise.
11173         * string/tst-strxfrm.c: Likewise.
11174         * sysdeps/x86_64/tst-audit10.c: Likewise.
11175         * sysdeps/x86_64/tst-audit3.c: Likewise.
11176         * sysdeps/x86_64/tst-audit4.c: Likewise.
11177         * sysdeps/x86_64/tst-audit5.c: Likewise.
11178         * time/tst-ftime_l.c: Likewise.
11179         * time/tst-getdate.c: Likewise.
11180         * time/tst-mktime3.c: Likewise.
11181         * time/tst-mktime.c: Likewise.
11182         * time/tst-posixtz.c: Likewise.
11183         * time/tst-strptime2.c: Likewise.
11184         * time/tst-strptime3.c: Likewise.
11185         * wcsmbs/tst-btowc.c: Likewise.
11186         * wcsmbs/tst-mbrtowc.c: Likewise.
11187         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11188         * wcsmbs/tst-wchar-h.c: Likewise.
11189         * wcsmbs/tst-wcpncpy.c: Likewise.
11190         * wcsmbs/tst-wcrtomb.c: Likewise.
11191         * wcsmbs/tst-wcsnlen.c: Likewise.
11192         * wcsmbs/tst-wcstof.c: Likewise.
11194 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11196         [BZ #14132]
11197         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11198         INTDEF.
11199         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11200         declaration.
11201         (_dl_mcount): Use rtld_hidden_proto.
11202         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11203         _dl_mcount.
11204         * elf/rtld.c (_rtld_global_ro): Likewise.
11206         [BZ #14132]
11207         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11208         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11209         of _dl_init_internal.
11210         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11211         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11212         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11213         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11214         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11215         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11216         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11217         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11218         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11219         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11220         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11221         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11222         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11223         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11224         * sysdeps/tile/dl-start.S (_start): Likewise.
11225         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11226         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11228         [BZ #14132]
11229         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11230         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11231         (rtld_progname): Make macro definition unconditional.
11232         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11233         INTDEF.
11234         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11235         (dl_main): Likewise.
11236         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11237         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11238         instead of _dl_argv_internal.
11239         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11240         __GI__dl_argv instead of INTUSE(_dl_argv).
11241         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11242         __GI__dl_argv instead of _dl_argv_internal.
11244         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11245         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11246         macro.
11247         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11248         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11249         New macro.
11250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11251         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11252         macro.
11253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11254         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11256 2014-11-04  Andreas Schwab  <schwab@suse.de>
11258         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11260 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11262         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11263         mtvsrd instruction in binary form.
11265 2014-11-03  Andreas Schwab  <schwab@suse.de>
11267         [BZ #17522]
11268         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11269         for less than MB_LEN_MAX use a local buffer of that size.
11270         * libio/tst-fputws.c: New file.
11271         * libio/Makefile (tests): Add tst-fputws.
11273 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11275         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11276         the size of the fpu_fr.fpu_dregs[] array.
11278 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11280         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11281         (__nanosleep): Do not define as alias.
11282         (nanosleep): Define as alias of __nanosleep.
11283         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11284         __libc_nanosleep name.
11286 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11288         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11289         install.texi in comment.
11291 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11293         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11294         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11295         ... add here and use lwsync or sync ...
11296         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11297         ... and add here using lwsync.
11299 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11301         * elf/dl-machine-reject-phdr.h: New file.
11302         * elf/dl-load.c: #include that.
11303         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11304         if that returned true.
11306 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11308         [BZ #17496]
11309         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11310         gen-as-const-headers chunk.  Add a big scare comment after the last
11311         safe place to touch before-compile.
11313 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11315         * manual/install.texi (Tools for Compilation): Update autoconf
11316         version requirements.
11317         * INSTALL: Regenerated.
11319         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11320         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11321         (__libc_pselect): Likewise.
11323         [BZ #14138]
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11329 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11331         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11332         correct barrier instruction.
11333         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11334         Likewise.
11335         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11336         Likewise.
11338 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11340         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11341         after defining inlines.  Instead, just use parens to defeat macro
11342         expansion of __isctype in its declaration.
11344 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11346         * include/sys/uio.h (__libc_readv): Remove declaration.
11347         (__libc_writev): Likewise.
11348         * misc/readv.c (__libc_readv): Rename to __readv.
11349         (__readv): Do not define as alias.
11350         (readv): Define as alias of __readv.
11351         * misc/writev.c (__libc_writev): Rename to __writev.
11352         (__writev): Do not define as alias.
11353         (writev): Define as alias of __writev.
11354         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11355         (__readv): Do not define as alias.
11356         (readv): Define unconditionally as alias of __readv.
11357         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11358         (__writev): Do not define as alias.
11359         (writev): Define unconditionally as alias of __writev.
11360         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11361         name.
11362         (writev): Do not define __libc_writev name.
11364 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11366         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11367         (convert_charseq): New function, broken out of ...
11368         (use_from_charmap): ... here.  Call it.
11369         (use_to_charmap): Use convert_charseq and free instead of duplicating
11370         its code with a variable-length stack struct.
11372 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11374         * include/fcntl.h (__libc_creat): Remove declaration.
11375         * io/creat.c (__libc_creat): Rename to creat.
11376         (creat): Do not define as alias.
11377         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11378         of creat instead of __libc_creat.
11379         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11380         to creat.
11381         (creat): Do not define as alias.
11382         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11383         __libc_creat.
11384         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11385         __libc_creat name.
11386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11387         Likewise.
11389 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11391         * manual/llio.texi: Add comments discussing why write() may be
11392         considered MT-unsafe on Linux.
11394 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11396         * dl-load.c (local_strdup): Remove.
11397         (expand_dynamic_string_token): Use __strdup.
11398         (decompose_rpath): Likewise.
11399         (_dl_map_object): Likewise.
11401 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11403         [BZ #14132]
11404         * sysdeps/generic/unwind-dw2-fde.c
11405         (__register_frame_info_bases_internal): Do not declare.
11406         (__register_frame_info_table_bases_internal): Likewise.
11407         (__deregister_frame_info_bases_internal): Likewise.
11408         (__register_frame_info_bases): Declare and use hidden_proto before
11409         definition.  Use hidden_def instead of INTDEF.
11410         (__register_frame_info_table_bases): Likewise.
11411         (__deregister_frame_info_bases): Likewise.
11412         (__register_frame_info): Do not use INTUSE.
11413         (__register_frame): Likewise.
11414         (__register_frame_info_table): Likewise.
11415         (__register_frame_table): Likewise.
11416         (__deregister_frame_info): Likewise.
11417         (__deregister_frame): Likewise.
11419 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11421         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11422         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11423         not undefine.
11424         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11425         Likewise.
11426         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11427         Likewise.
11429 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #14138]
11432         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11433         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11434         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11435         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11436         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11437         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11438         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11439         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11440         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11441         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11442         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11443         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11444         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11445         syscall.
11446         (setfsuid): Likewise.
11447         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11448         (setfsuid): Likewise.
11449         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11450         (setfsuid): Likewise.
11451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11452         Likewise.
11453         (setfsuid): Likewise.
11454         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11455         (setfsuid): Likewise.
11456         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11457         Likewise.
11458         (setfsuid): Likewise.
11460 2014-10-27  Andreas Schwab  <schwab@suse.de>
11462         [BZ #17501]
11463         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11464         check for Slow_SSE4_2 feature bit.
11465         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11466         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11467         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11468         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11470 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11472         * configure.ac: Validate compiler version with a empirical test of
11473         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11474         $CC -v output.
11475         * configure: Regenerated.
11477         * inet/htons.c (htons): Prototypify.
11478         * inet/htonl.c (htonl): Likewise.
11480 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11482         * string/strncat.c (strncat): Improve performance by using strlen.
11484 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11486         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11488 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11490         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11491         Call libc_fetestexcept_aarch64.
11493 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11495         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11496         Call libc_feholdexcept_aarch64.
11498 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11500         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11501         Call get_rounding_mode.
11503 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11505         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11506         Simplify logic.
11508 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11510         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11511         Simplify logic.
11513 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11515         [BZ #14138]
11516         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11517         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11518         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11519         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11520         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11521         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11522         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11523         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11524         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11525         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11526         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11527         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11528         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11529         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11530         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11531         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11532         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11533         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11534         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11535         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11536         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11537         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11538         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11539         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11540         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11541         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11542         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11543         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11544         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11545         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11546         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11547         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11548         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11549         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11550         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11551         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11552         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11553         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11554         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11555         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11556         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11557         syscall.
11558         (geteuid): Likewise.
11559         (getgid): Likewise.
11560         (getuid): Likewise.
11561         (getresgid): Likewise.
11562         (getresuid): Likewise.
11563         (getgroups): Likewise.
11564         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11565         (geteuid): Likewise.
11566         (getgid): Likewise.
11567         (getuid): Likewise.
11568         (getresgid): Likewise.
11569         (getresuid): Likewise.
11570         (getgroups): Likewise.
11571         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11572         (geteuid): Likewise.
11573         (getgid): Likewise.
11574         (getuid): Likewise.
11575         (getresgid): Likewise.
11576         (getresuid): Likewise.
11577         (getgroups): Likewise.
11578         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11579         Likewise.
11580         (geteuid): Likewise.
11581         (getgid): Likewise.
11582         (getuid): Likewise.
11583         (getresgid): Likewise.
11584         (getresuid): Likewise.
11585         (getgroups): Likewise.
11586         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11587         (geteuid): Likewise.
11588         (getgid): Likewise.
11589         (getuid): Likewise.
11590         (getresgid): Likewise.
11591         (getresuid): Likewise.
11592         (getgroups): Likewise.
11593         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11594         Likewise.
11595         (geteuid): Likewise.
11596         (getgid): Likewise.
11597         (getuid): Likewise.
11598         (getgroups): Likewise.
11600         [BZ #14138]
11601         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11602         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11603         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11605         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11606         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11607         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11608         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11609         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11610         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11611         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11612         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11613         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11614         __chown.
11615         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11616         (lchown): Likewise.
11617         (fchown): Likewise.
11618         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11619         Likewise.
11620         (lchown): Likewise.
11621         (fchown): Likewise.
11622         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11623         (lchown): Likewise.
11624         (fchown): Likewise.
11625         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11626         Likewise.
11627         (lchown): Likewise.
11628         (fchown): Likewise.
11630 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11632         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11633         Simplify logic.
11635 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11637         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11638         Cleanup logic.
11640 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11642         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11643         Remove unused include.
11645 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11647         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11648         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11649         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11650         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11652 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11653             Helge Deller <deller@gmx.de>
11655         [BZ #17508]
11656         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11657         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11658         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11660 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11662         [BZ #14132]
11663         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11664         Remove macro definition.
11665         (__ashrdi3_v_glibc20): Likewise.
11666         (__lshrdi3_v_glibc20): Likewise.
11667         (__cmpdi2_v_glibc20): Likewise.
11668         (__ucmpdi2_v_glibc20): Likewise.
11669         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11670         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11671         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11672         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11673         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11674         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11676 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11678         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11679         old GNU extension [0] syntax.
11680         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11681         alloca rather than an array member with variable length.
11682         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11683         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11684         (parse_opt): ... here.  Likewise use alloca there.
11685         Validate the -i argument before checking for rootness.
11686         (send_shutdown): New function, broken out of ...
11687         (parse_opt): ... here.
11689 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11691         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11692         macro to get at the _rt_local_ro field.
11693         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11694         ([PIC] case) or _dl_hwcap ([!PIC] case).
11695         * sysdeps/arm/setjmp.S: Likewise.
11697         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11698         * sysdeps/arm/configure.ac: New check to define it.
11699         * sysdeps/arm/configure: Regenerated.
11700         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11701         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11702         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11703         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11704         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11705         Use move/movt pair instead of a load.
11706         (LDST_GLOBAL): Macro removed.
11707         (LDR_GLOBAL): New macro replaces it.
11708         (LDR_HIDDEN): New macro.
11709         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11710         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11712         * setjmp/tst-setjmp-static.c: New file.
11713         * setjmp/Makefile (tests): Add it.
11714         (tests-static): New variable.
11716 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11718         [BZ #17485]
11719         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11721 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11723         [BZ #14132]
11724         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11726 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11728         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11730 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11732         * io/fts.c (dirent_not_directory): New function.
11733         (fts_build): Call it.
11735 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11737         * nptl/version.c (__nptl_main): Use normal __write rather than
11738         INTERNAL_SYSCALL.
11739         (banner): Update copyright years.
11741         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11742         gettimeofday.
11743         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11744         * nptl/pthread_cond_timedwait.c: Likewise.
11745         * nptl/pthread_mutex_timedlock.c: Likewise.
11746         * nptl/sem_timedwait.c: Likewise.
11748         * sysdeps/nptl/bits/libc-lock.h
11749         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11750         (__libc_lock_init_recursive): Return void, not 0.
11751         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11752         (__libc_rwlock_init): Likewise.
11753         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11755 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11757         [BZ #15215]
11758         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11759         (__pthread_once_slow): ... here.
11760         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11761         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11763 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11765         [BZ #15215]
11766         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11767         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11768         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11769         * nptl/pthread_once.c (__pthread_once): Likewise.
11770         Update comments.
11772 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11774         [BZ #14138]
11775         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11776         name.
11777         (writev): Use __libc_writev as strong name.
11778         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11779         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11781 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11783         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11785         * sysdeps/i386/nptl/tls.h
11786         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11787         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11788         New macros.
11789         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11790         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11791         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11792         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11793         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11794         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11796         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11797         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11798         on [__NR_futex].
11799         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11800         broken out of ...
11801         (__pthread_mutex_init): ... here.  Call it.
11802         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11803         Conditionalize PI cases on [__NR_futex].
11804         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11805         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11806         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11808         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11809         conditional on [SIGSETXID].
11810         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11811         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11812         is defined.  Likewise for SIGSETXID.
11813         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11814         Conditionalize definitions on [SIGSETXID].
11815         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11816         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11817         unblocking on [SIGCANCEL].
11819         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11820         [__NR_set_robust_list].
11822 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11824         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11825         (do_compare): Likewise.
11827 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11829         [BZ #15884]
11830         * string/strcoll_l.c: Don't include stdio.h.
11831         (coll_seq): Remove members idxarr and rulearr.
11832         (get_next_seq_cached): Remove function.
11833         (get_next_seq): Likewise.
11834         (get_next_seq_nocache): Rename to get_next_seq.
11835         (do_compare): Remove function.
11836         (do_compare_nocache): Rename to do_compare.
11837         (STRCOLL): Remove weight and rules cache.
11839 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11841         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11842         * sysdeps/arm/sfp-machine.h: ... to here.
11843         * sysdeps/arm/Implies: Remove arm/soft-fp.
11845 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11847         * conform/data/sys/utsname.h-data (*_t): Allow.
11848         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11849         [POSIX] (WEXITED): Do not expect constant.
11850         [POSIX] (WSTOPPED): Likewise.
11851         [POSIX] (WNOHANG): Likewise.
11852         [POSIX] (WNOWAIT): Likewise.
11853         [POSIX] (siginfo_t): Do not expect type or elements.
11854         [POSIX] (pid_t): Do not expect type.
11855         [POSIX] (signal.h): Do not allow header.
11856         [POSIX] (sys/resource.h): Likewise.
11857         [POSIX] (si_*): Do not allow pattern.
11858         [POSIX] (W*): Likewise.
11859         [POSIX] (P_*): Likewise.
11860         [POSIX] (BUS_*): Likewise.
11861         [POSIX] (CLD_*): Likewise.
11862         [POSIX] (FPE_*): Likewise.
11863         [POSIX] (ILL_*): Likewise.
11864         [POSIX] (POLL_*): Likewise.
11865         [POSIX] (SEGV_*): Likewise.
11866         [POSIX] (SI_*): Likewise.
11867         [POSIX] (TRAP_*): Likewise.
11868         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11869         variable.
11871 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11873         [BZ #12926]
11874         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11875         infinite loop when __recvmsg returns 0.
11877 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11879         * CANCEL-FCT-WAIVE: Remove file.
11880         * CANCEL-FILE-WAIVE: Likewise.
11882         [BZ #14132]
11883         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11884         instead of INTVARDEF.
11885         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11886         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11887         rtld_hidden_data_def instead of INTVARDEF.
11888         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11889         * elf/dl-deps.c (expand_dst): Likewise.
11890         * elf/dl-load.c (_dl_dst_count): Likewise.
11891         (_dl_dst_substitute): Likewise.
11892         (decompose_rpath): Likewise.
11893         (_dl_init_paths): Likewise.
11894         (open_path): Likewise.
11895         (_dl_map_object): Likewise.
11896         * elf/rtld.c (dl_main): Likewise.
11897         (process_dl_audit): Likewise.
11898         (process_envvars): Likewise.
11899         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11900         Remove declaration.
11901         (__libc_enable_secure): Use rtld_hidden_proto.
11903 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11905         * elf/dl-load.c
11906         (add_path): New function broken out of _dl_rtld_di_serinfo.
11907         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11909 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11911         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11912         parentheses around macro arguments.
11913         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11914         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11915         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11916         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11917         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11924         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11925         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11926         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11927         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11928         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11929         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11930         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11931         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11932         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11933         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11942         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11943         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11944         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11945         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11946         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11947         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11948         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11949         Likewise.
11950         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11955         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11957         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11958         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11959         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11960         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11961         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11962         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11963         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11964         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11965         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11966         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11969         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11970         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11971         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11972         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11973         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11974         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11975         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11976         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11977         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11978         (_FP_FRAC_SRS_1): Likewise.
11979         (_FP_FRAC_CLZ_1): Likewise.
11980         (_FP_MUL_MEAT_1_imm): Likewise.
11981         (_FP_MUL_MEAT_1_wide): Likewise.
11982         (_FP_MUL_MEAT_1_hard): Likewise.
11983         (_FP_SQRT_MEAT_1): Likewise.
11984         (_FP_FRAC_ASSEMBLE_1): Likewise.
11985         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11986         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11987         (__FP_CLZ_2): Likewise.
11988         (_FP_MUL_MEAT_2_wide): Likewise.
11989         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11990         (_FP_MUL_MEAT_2_gmp): Likewise.
11991         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11992         (_FP_SQRT_MEAT_2): Likewise.
11993         (_FP_FRAC_ASSEMBLE_2): Likewise.
11994         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11995         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11996         (_FP_FRAC_CLZ_4): Likewise.
11997         (_FP_MUL_MEAT_4_wide): Likewise.
11998         (_FP_MUL_MEAT_4_gmp): Likewise.
11999         (_FP_SQRT_MEAT_4): Likewise.
12000         (_FP_FRAC_ASSEMBLE_4): Likewise.
12001         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12002         * soft-fp/op-common.h (_FP_CMP): Likewise.
12003         (_FP_CMP_EQ): Likewise.
12004         (_FP_CMP_UNORD): Likewise.
12005         (_FP_TO_INT): Likewise.
12006         (_FP_FROM_INT): Likewise.
12007         [!__FP_CLZ] (__FP_CLZ): Likewise.
12008         (_FP_DIV_HELP_imm): Likewise.
12009         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12010         Likewise.
12011         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12012         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12013         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12014         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12015         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12016         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12017         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12018         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12019         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12020         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12022         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12023         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12024         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12025         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12026         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12027         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12028         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12029         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12030         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12031         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12032         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12033         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12034         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12036         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12037         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12038         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12040         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12041         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12042         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12043         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12044         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12045         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12046         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12047         (FP_UNPACK_RAW_SP): Likewise.
12048         (FP_PACK_RAW_S): Likewise.
12049         (FP_PACK_RAW_SP): Likewise.
12050         (FP_UNPACK_S): Likewise.
12051         (FP_UNPACK_SP): Likewise.
12052         (FP_UNPACK_SEMIRAW_S): Likewise.
12053         (FP_UNPACK_SEMIRAW_SP): Likewise.
12054         (FP_PACK_S): Likewise.
12055         (FP_PACK_SP): Likewise.
12056         (FP_PACK_SEMIRAW_S): Likewise.
12057         (FP_PACK_SEMIRAW_SP): Likewise.
12058         (_FP_SQRT_MEAT_S): Likewise.
12059         (FP_CMP_S): Likewise.
12060         (FP_CMP_EQ_S): Likewise.
12061         (FP_CMP_UNORD_S): Likewise.
12062         (FP_TO_INT_S): Likewise.
12063         (FP_FROM_INT_S): Likewise.
12065         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12067         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12068         (FP_EX_INVALID_IMZ): Likewise.
12069         (FP_EX_INVALID_IMZ_FMA): Likewise.
12070         (FP_EX_INVALID_ISI): Likewise.
12071         (FP_EX_INVALID_ZDZ): Likewise.
12072         (FP_EX_INVALID_IDI): Likewise.
12073         (FP_EX_INVALID_SQRT): Likewise.
12074         (FP_EX_INVALID_CVI): Likewise.
12075         (FP_EX_INVALID_VC): Likewise.
12076         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12077         "invalid" exceptions.
12078         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12079         (_FP_ADD_INTERNAL): Likewise.
12080         (_FP_MUL): Likewise.
12081         (_FP_FMA): Likewise.
12082         (_FP_DIV): Likewise.
12083         (_FP_CMP_CHECK_NAN): Likewise.
12084         (_FP_SQRT): Likewise.
12085         (_FP_TO_INT): Likewise.
12086         (FP_EXTEND): Likewise.
12088 2014-10-09  Allan McRae  <allan@archlinux.org>
12090         * po/fr.po: Update French translation from translation project.
12092 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12094         [BZ #14132]
12095         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12096         of INTDEF.
12097         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12098         (__cxa_atexit): Use libc_hidden_proto.
12099         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12101         [BZ #14132]
12102         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12103         declaration.
12104         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12105         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12106         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12107         [!_ISOMAC] (__iswctype_internal): Likewise.
12108         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12109         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12110         alias.
12111         (fcntl): Remove __fcntl_internal alias.
12112         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12113         __connect_internal alias.
12114         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12115         Likewise.
12117         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12119         FP_DENORM_ZERO.
12120         (_FP_CHECK_FLUSH_ZERO): New macro.
12121         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12122         (_FP_CMP): Likewise.
12123         (_FP_CMP_EQ): Likewise.
12124         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12125         FP_DENORM_ZERO.
12126         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12127         (FP_TRUNC): Likewise.
12129         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12130         treated as invalid conversion, not as normal exponent.
12132         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12133         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12134         (_FP_CMP_EQ): Likewise.
12135         (_FP_CMP_UNORD): Likewise.
12136         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12137         (FP_CMP_EQ_D): Likewise.
12138         (FP_CMP_UNORD_D): Likewise.
12139         * soft-fp/extended.h (FP_CMP_E): Likewise.
12140         (FP_CMP_EQ_E): Likewise.
12141         (FP_CMP_UNORD_E): Likewise.
12142         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12143         (FP_CMP_EQ_Q): Likewise.
12144         (FP_CMP_UNORD_Q): Likewise.
12145         * soft-fp/single.h (FP_CMP_S): Likewise.
12146         (FP_CMP_EQ_S): Likewise.
12147         (FP_CMP_UNORD_S): Likewise.
12148         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12149         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12150         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12151         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12152         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12153         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12154         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12155         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12156         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12157         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12158         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12159         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12160         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12161         to FP_CMP_Q.
12162         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12163         FP_CMP_Q.
12164         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12165         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12166         FP_CMP_EQ_Q.
12167         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12168         FP_CMP_Q.
12169         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12170         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12171         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12172         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12173         FP_CMP_EQ_Q.
12174         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12175         FP_CMP_Q.
12176         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12177         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12178         FP_CMP_EQ_Q.
12179         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12180         FP_CMP_Q.
12181         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12182         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12183         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12184         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12185         FP_CMP_EQ_Q.
12187         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12188         a subnormal result, set the underflow exception if trapping on
12189         underflow is enabled.
12190         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12191         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12192         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12193         redefine to 0.
12194         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12195         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12196         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12197         * soft-fp/extendxftf2.c (__extendxftf2): Use
12198         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12200         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12201         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12202         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12203         FP_HANDLE_EXCEPTIONS.
12204         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12205         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12206         FP_HANDLE_EXCEPTIONS.
12207         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12208         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12209         FP_HANDLE_EXCEPTIONS.
12210         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12211         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12212         FP_HANDLE_EXCEPTIONS.
12214 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12216         [BZ #14132]
12217         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12218         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12219         use INTUSE.
12220         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12221         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12222         Remove alias.
12223         (__adjtimex): Define using libc_hidden_ver.
12224         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12225         Remove declaration.
12226         (ntp_gettime): Call __adjtimex directly.
12227         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12228         Remove declaration.
12229         (ntp_gettimex): Call __adjtimex directly.
12230         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12231         __adjtimex_internal alias.
12233 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12235         [BZ #17460]
12236         * nscd/nscd.c (more_help): Rewrite list of tables collection
12237         using xstrdup and asprintf.
12239         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12241 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12242             Roland McGrath  <roland@hack.frob.com>
12244         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12245         (do_lookup_unique): ... local function 'enter' here; update callers.
12247 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12249         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12250         compat_symbol calls on [SHARED].
12251         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12252         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12253         Remove.
12254         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12255         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12256         (oldsetrlimit): Remove.
12257         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12259         (lchown): New syscall entry.
12260         (oldsetrlimit): Remove.
12261         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12263         (oldsetrlimit): Remove.
12264         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12266         [BZ #14138]
12267         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12268         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12269         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12270         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12271         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12272         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12273         (fchown): Likewise.
12274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12275         (fchown): Likewise.
12276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12277         Likewise.
12279 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12282         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12283         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12284         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12285         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12286         Likewise.
12287         (__old_sem_post): Likewise.
12289 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12291         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12292         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12293         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12294         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12295         Use INLINE_VSYSCALL macro.
12296         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12297         __vdso_clock_gettime.
12298         * sysdeps/unix/sysv/linux/tile/init-first.c
12299         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12300         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12301         __vdso_clock_gettime.
12303         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12304         to set up frame more cleanly.
12306         * sysdeps/tile/memcmp.c: New file.
12308         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12310         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12311         * sysdeps/tile/tilegx/strcasestr.c: New file.
12312         * sysdeps/tile/tilegx/strnlen.c: New file.
12313         * sysdeps/tile/tilegx/strstr.c: New file.
12315         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12317 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12319         * nptl/tst-setuid3.c: Write errors to stdout.
12321 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12323         * elf/dl-deps.c
12324         (preload): New functions broken out of _dl_map_object_deps.
12325         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12327 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12329         [BZ #14138]
12330         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12331         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12333 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12335         * sysdeps/mips/strcmp.S: New.
12337 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12339         [BZ #14138]
12340         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12341         (linkat): Likewise.
12342         (mkdirat): Likewise.
12343         (readlinkat): Likewise.
12344         (renameat): Likewise.
12345         (symlinkat): Likewise.
12346         (unlinkat): Likewise.
12347         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12348         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12349         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12350         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12351         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12352         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12353         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12355 2014-09-30  Will Newton  <will.newton@linaro.org>
12357         * math/math.h: Define long double math functions if
12358         _LIBC_TEST is defined.
12359         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12361         * localedata/Makefile: Move assignment to tests-special
12362         into an ifdef testing run-built-tests.
12363         * timezone/Makefile: Likewise.
12365 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12367         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12368         with $(BASH) not $(SHELL).
12370 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12371             Matthew LeGendre  <legendre1@llnl.gov>
12373         [BZ #17411]
12374         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12375         l_reloc_result.
12377 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12379         * stdio-common/printf_fp.c
12380         (hack_digit): New function, broken out of ...
12381         (__printf_fp): ... local function here.  Update call sites.
12382         hack_digit now takes an additional parameter that is a pointer
12383         to a struct of the referenced locals.  Those locals moved inside
12384         the struct and references updated.
12386 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12388         * aclocal.m4: Require autoconf 2.69.
12389         * configure: Regenerated.
12390         * sysdeps/aarch64/configure: Likewise.
12391         * sysdeps/alpha/configure: Likewise.
12392         * sysdeps/arm/armv7/configure: Likewise.
12393         * sysdeps/arm/configure: Likewise.
12394         * sysdeps/ia64/configure: Likewise.
12395         * sysdeps/mach/configure: Likewise.
12396         * sysdeps/mips/configure: Likewise.
12397         * sysdeps/s390/configure: Likewise.
12398         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12401         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12402         file.
12403         * sysdeps/ia64/configure.ac: Likewise.
12405 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12408         specify symbol version for ld.so.  Do not include entry for
12409         libpthread.
12410         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12411         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12414         [BZ #14171]
12415         * Makeconfig [$(build-shared) = yes]
12416         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12417         makefiles.
12418         [$(build-shared) = yes && $(soversions.mk-done) = t]
12419         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12420         [$(build-shared) = yes && $(soversions.mk-done) = t]
12421         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12422         to Makerules.
12423         [$(build-shared) = yes && $(soversions.mk-done) = t]
12424         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12425         here.
12426         [$(build-shared) = yes && $(soversions.mk-done) = t]
12427         (common-generated): Don't append gnu/lib-names.h and
12428         gnu/lib-names.stmp here.
12429         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12430         (lib-names-h-abi): New variable.
12431         [$(build-shared) = yes && $(soversions.mk-done) = t]
12432         (lib-names-stmp-abi): Likewise.
12433         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12434         abi-variants] (before-compile): Append
12435         $(common-objpfx)$(lib-names-h-abi).
12436         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12437         abi-variants] (common-generated): Append gnu/lib-names.h.
12438         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12439         abi-variants] (install-others-nosubdir): Depend on
12440         $(inst_includedir)/$(lib-names-h-abi).
12441         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12442         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12443         [$(build-shared) = yes && $(soversions.mk-done) = t]
12444         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12445         [$(build-shared) = yes && $(soversions.mk-done) = t]
12446         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12447         [$(build-shared) = yes && $(soversions.mk-done) = t]
12448         (common-generated): Append $(lib-names-h-abi) and
12449         $(lib-names-stmp-abi).
12450         * scripts/lib-names.awk: Do not handle multi being set.
12451         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12452         Remove variable.
12453         (abi-lp64_be-ld-soname): Likewise.
12454         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12455         Likewise.
12456         (abi-hard-ld-soname): Likewise.
12457         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12458         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12459         Remove variable.
12460         (abi-o32_hard-ld-soname): Likewise.
12461         (abi-o32_soft_2008-ld-soname): Likewise.
12462         (abi-o32_hard_2008-ld-soname): Likewise.
12463         (abi-n32_soft-ld-soname): Likewise.
12464         (abi-n32_hard-ld-soname): Likewise.
12465         (abi-n32_soft_2008-ld-soname): Likewise.
12466         (abi-n32_hard_2008-ld-soname): Likewise.
12467         (abi-n64_soft-ld-soname): Likewise.
12468         (abi-n64_hard-ld-soname): Likewise.
12469         (abi-n64_soft_2008-ld-soname): Likewise.
12470         (abi-n64_hard_2008-ld-soname): Likewise.
12471         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12472         Likewise.
12473         (abi-64-v2-ld-soname): Likewise.
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12475         ld.so entries.
12476         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12477         variable.
12478         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12479         entry.
12480         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12481         variable.
12482         (abi-64-ld-soname): Likewise.
12483         (abi-x32-ld-soname): Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12485         entry.
12486         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12488 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12490         [BZ #14138]
12491         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12492         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12493         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12495         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12496         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12497         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12498         syscall entry for GLIBC_2.2 symbol version.
12499         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12500         Likewise.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12502         (setrlimit): Likewise.
12503         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12504         Likewise.
12506 2014-09-23  Will Newton  <will.newton@linaro.org>
12508         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12509         _LINUX_ARM_SYSDEP_H include guard too.
12510         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12511         define.
12513 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12515         * sysdeps/unix/sysv/linux/eventfd.c:
12516         Make first argument unsigned.
12517         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12518         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12520 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12522         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12523         * socket/sys/socket.h: Likewise
12524         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12526 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12528         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12530 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12532         * time/tst-ftime.c: New test.
12533         * time/Makefile (tests): Add tst-ftime.
12535 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12537         * soft-fp/extended.h: Fix comment formatting.
12538         * soft-fp/op-1.h: Likewise.
12539         * soft-fp/op-2.h: Likewise.
12540         * soft-fp/op-4.h: Likewise.
12541         * soft-fp/op-8.h: Likewise.
12542         * soft-fp/op-common.h: Likewise.
12543         * soft-fp/soft-fp.h: Likewise.
12545         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12547 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12549         [BZ #6652]
12550         * Makeconfig (soversions-default-setname): Remove variable.
12551         ($(common-objpfx)soversions.i): Don't pass default_setname to
12552         soversions.awk.
12553         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12554         oldest_abi to abi-versions.awk.
12555         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12556         * config.make.in (oldest-abi): Remove variable.
12557         * configure.ac (--enable-oldest-abi): Remove configure option.
12558         * configure: Regenerated.
12559         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12560         text.
12561         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12562         * scripts/soversions.awk: Do not handle default_setname variable.
12563         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12564         variable.
12565         * sysdeps/mach/hurd/configure: Regenerated.
12566         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12567         variable.
12568         * sysdeps/unix/sysv/linux/configure: Regenerated.
12570 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12572         * elf/Makefile (CFLAGS-interp.c): Remove.
12573         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12574         path string.
12575         * elf/interp.c: Include generated runtime-linker.h
12577         * Makerules (lib%.so): Don't include $(+interp) in
12578         prerequisites.
12579         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12580         * dlfcn/eval.c: Remove file.
12582         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12583         macros.
12585         [BZ #17266]
12586         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12587         4.2 and newer.
12589         [BZ #17370]
12590         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12592 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12593             Jakub Jelinek  <jakub@redhat.com>
12595         [BZ #17266]
12596         * libio/stdio.h: Check definition of __fortify_function
12597         instead of __extern_always_inline to include bits/stdio2.h.
12598         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12599         check if __extern_always_inline is defined.
12600         [__USE_MISC || __USE_XOPEN]: Likewise.
12601         [__USE_ISOC99] Likewise.
12602         * misc/sys/cdefs.h (__fortify_function): Define only if
12603         __extern_always_inline is defined.
12604         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12605         __extern_always_inline and __extern_inline only for g++-4.3
12606         and newer or a compatible gcc.
12608 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12610         [BZ #17371]
12611         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12612         last change to handle zero prefix length.
12614 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12616         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12617         _SC_REGEX_VERSION.
12619         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12620         _POSIX_RAW_SOCKETS.
12622 2014-09-13  Allan McRae  <allan@archlinux.org>
12624         * po/ru.po: Update Russian translation from translation project.
12626 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12628         * locale/programs/locale.c (show_locale_vars): Inline local function
12629         into its sole call site.  Clean up some style nits.
12630         (print_item): New function, broken out of ...
12631         (show_info): ... local function here.  Clean up style nits.
12633         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12634         out of ...
12635         (set_class_defaults): ... local function set_default here.
12636         Define set_default as a macro locally to pass constant parameters.
12637         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12638         rather than a shared local.
12640         * stdlib/rpmatch.c (try): New function, broken out of ...
12641         (rpmatch): ... local function here.  Also, prototypify definition.
12643 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12645         * scripts/soversions.awk: Do not handle configuration names.
12646         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12647         vendor and os variables to soversions.awk.
12648         * configure.ac: Do not modify gnu-* host_os.
12649         * configure: Regenerated
12650         * shlib-versions: Remove first column with configuration names.
12651         * nptl/shlib-versions: Likewise.
12652         * nptl_db/shlib-versions: Likewise.
12653         * sysdeps/hppa/shlib-versions: Likewise.
12654         * sysdeps/m68k/shlib-versions: Likewise.
12655         * sysdeps/mach/hurd/shlib-versions: Likewise.
12656         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12657         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12658         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12659         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12660         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12661         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12662         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12663         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12667         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12668         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12669         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12670         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12671         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12672         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12673         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12676         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12678         Regenerated.
12679         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12681         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12683         * shlib-versions: Remove OS-specific entries.  Moved to files in
12684         sysdeps.
12685         * sysdeps/mach/hurd/shlib-versions: New file.
12686         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12688         * nptl/shlib-versions: Remove architecture-specific entries.
12689         Moved to files in sysdeps.
12690         * shlib-versions: Likewise.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12692         file.
12693         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12694         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12695         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12698         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12699         (UDP_NO_CHECK6_RX): Likewise.
12701 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12703         * sysdeps/posix/sysconf.c (__sysconf): Spell
12704         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12706 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12708         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12709         loading.
12710         * iconv/Versions (__gconv_transliterate): Export for use from
12711         gconv modules.
12712         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12713         (struct __gconv_trans_data, __gconv_trans_fct,
12714         __gconv_trans_context_fct, __gconv_trans_query_fct,
12715         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12716         definitions.
12717         (struct __gconv_step_data): Remove __trans member.
12718         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12719         longer hidden.  Remove unused trans_data argument.
12720         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12721         (__gconv_translit_find): Remove declaration.
12722         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12723         prototype.
12724         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12725         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12726         trans_data argument.  Add hidden definition.
12727         (__gconv_translit_find): Remove.
12728         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12729         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12730         * iconv/skeleton.c: Remove transliteration initialization.
12731         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12732         __gconv_step_data initialization.
12733         * libio/iofwide.c (__libio_translit_): Remove.
12734         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12735         * wcsmbs/btowc.c (__btowc): Likewise.
12736         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12737         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12738         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12739         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12740         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12741         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12742         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12743         * wcsmbs/wctob.c (wctob): Likewise.
12745 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12747         [BZ #16194]
12748         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12749         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12750         register usage.
12751         * sysdeps/x86/Makefile: Adjust.
12753 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12754             Roland McGrath  <roland@hack.frob.com>
12756         * locale/weight.h: Add include guard.
12757         (findidx): Make static rather than auto; take new parameters
12758         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12759         * locale/weightwc.h: Likewise.
12760         * posix/fnmatch_loop.c
12761         (FCT): Change type of EXTRA from int32_t to wint_t.
12762         Don't include either header inside the function.
12763         Call FINDIDX rather than findidx, and pass new arguments.
12764         #undef FINDIDX at the end of the file.
12765         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12766         FINDIDX before including fnmatch_loop.c for the non-wide version.
12767         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12768         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12769         for the wide version.
12770         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12771         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12772         Pass new arguments to findidx.
12773         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12774         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12775         Don't #include it inside the function.  Pass new arguments to findidx.
12776         * posix/regex_internal.h
12777         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12778         (re_string_elem_size_at): Don't #include it inside the function.
12779         Pass new arguments to findidx.
12780         * string/strcoll_l.c: #include WEIGHT_H at top level.
12781         (get_next_seq): Don't #include it inside the function.
12782         Pass new arguments to findidx.
12783         (get_next_seq_nocache): Likewise.
12784         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12785         (STRXFRM): Don't #include it inside the function.
12786         Pass new arguments to findidx.
12788 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12790         [BZ #17344]
12791         * malloc/malloc.c (unlink): Turn asserts into a call to
12792         malloc_printerr.
12794 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12796         [BZ #17370]
12797         * libio/wfileops (do_ftell_wide): Free OUT.
12799 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12801         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12803 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12805         [BZ #17363]
12806         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12807         group if the current group is empty.
12809 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12811         * benchtests/bench-memset.c (test_main): Add more test from size
12812         from 32 to 512 bytes.
12813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12814         Add POWER8 memset object.
12815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12816         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12817         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12818         implementation.
12819         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12820         Likewise.
12821         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12822         multiarch POWER8 memset optimization.
12823         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12824         POWER8 memset optimization.
12826         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12827         Remove bzero multiarch objects.
12828         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12829         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12830         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12831         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12832         Remove define.
12833         [__bzero]: Redefine to specific name.
12834         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12835         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12836         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12837         define.
12838         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12839         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12841 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12843         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12844         warnings into errors.
12846         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12847         __cxa_thread_atexit_impl prototype.
12849 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12851         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12852         Fix capitalization of error message.
12854 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12856         * sysdeps/mips/preconfigure: Modify ABI tests.
12858 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12860         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12862 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12863             Carlos O'Donell  <carlos@systemhalted.org>
12865         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12866         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12867         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12868         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12869         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12870         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12871         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12872         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12873         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12874         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12875         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12876         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12877         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12878         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12879         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12880         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12881         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12882         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12883         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12884         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12886         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12887         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12888         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12889         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12890         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12891         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12892         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12893         Deconditionalize the code that was previously under [RESET_PID].
12894         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12895         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12896         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12897         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12898         include sysdep.h.
12900 2014-09-08  Allan McRae  <allan@archlinux.org>
12902         * version.h (RELEASE): Set to "development".
12903         (VERSION): Set to "2.20.90"
12905 2014-09-07  Allan McRae  <allan@archlinux.org
12907         * version.h (RELEASE): Set to "stable".
12908         (VERSION): Set to "2.20"
12909         * include/features.h (__GLIBC_MINOR__): Set to 20.
12911         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12912         Liebler.
12914         * po/ko.po: Update Korean translation from translation project.
12916 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12918         [BZ #17354]
12919         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12920         macro for handling signed relocations.
12922 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12924         [BZ #17325]
12925         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12926         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12927         assert.
12928         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12929         * iconvdata/ibm935.c (BODY): Likewise.
12930         * iconvdata/ibm937.c (BODY): Likewise.
12931         * iconvdata/ibm939.c (BODY): Likewise.
12932         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12933         assert.
12934         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12935         script.
12936         * iconvdata/run-iconv-test.sh: New test loop for checking for
12937         decoder crashers.
12939 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12941         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12942         libm_hidden_ver.
12944 2014-09-01  Allan McRae  <allan@archlinux.org>
12946         * po/eo.po: Update Esperanto translation from translation project.
12948         * po/ca.po: Update Catalan translation from translation project.
12950 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12952         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12953         __proc_dostop call.
12955 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12957         [BZ #17319]
12958         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12959         to call set_thread_area instead of hand written asm.
12960         (__NR_set_thread_area): Removed define.
12961         (TLS_FLAG_WRITABLE): Likewise.
12962         (__ASSUME_SET_THREAD_AREA): Remove check.
12963         (TLS_EBX_ARG): Remove define.
12964         (TLS_LOAD_EBX): Likewise.
12966 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12968         Simplify atomicity of socket creation in bind.
12970         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12971         looking up the name after linking the file.
12973 2014-08-27  Allan McRae  <allan@archlinux.org>
12975         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12977 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12979         [BZ #17187]
12980         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12981         trans_compare, open_translit, __gconv_translit_find):
12982         Remove module loading code.
12984 2014-08-26  Allan McRae  <allan@archlinux.org>
12986         * po/vi.po: Update Vietnamese translation from translation project.
12988         * po/uk.po: Update Ukrainian translation from translation project.
12990         * po/fr.po: Update French translation from translation project.
12992         * po/ru.po: Update Russian translation from translation project.
12994         * po/pl.po: Update Polish translation from translation project.
12996         * po/cs.po: Update Czech translation from translation project.
12998         * po/de.po: Update German translation from translation project.
13000         * po/bg.po: Update Bulgarian translation from translation project.
13002         * po/sv.po: Update Sweedish translation from translation project.
13004         * po/nl.po: Update Dutch translation from translation project.
13006         * po/es.po: Update Spanish translation from translation project.
13008 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13010         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13012         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13013         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13014         (CPPFLAGS-iconvconfig): Likewise.
13015         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13017         * include/libc-symbols.h: Remove unnecessary check for
13018         NOT_IN_libc.
13019         * nptl/pthreadP.h: Likewise.
13020         * sysdeps/aarch64/setjmp.S: Likewise.
13021         * sysdeps/alpha/setjmp.S: Likewise.
13022         * sysdeps/arm/sysdep.h: Likewise.
13023         * sysdeps/i386/setjmp.S: Likewise.
13024         * sysdeps/m68k/setjmp.c: Likewise.
13025         * sysdeps/posix/getcwd.c: Likewise.
13026         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13027         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13028         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13029         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13030         * sysdeps/sh/sh3/setjmp.S: Likewise.
13031         * sysdeps/sh/sh4/setjmp.S: Likewise.
13032         * sysdeps/unix/alpha/sysdep.h: Likewise.
13033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13035         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13036         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13041         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13044         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13046         * sysdeps/x86_64/setjmp.S: Likewise.
13048 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13050         [BZ #17263]
13051         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13052         <stdint.h>.
13053         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13054         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13056 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13058         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13060         [BZ #17262]
13061         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13062         and __x86_64__ when disabling x87 inline functions.
13064 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13066         [BZ #17259]
13067         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13068         asm statement with __cpuid_count.
13070 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13072         * configure.ac: Change __ehdr_start code to dereference the struct.
13073         Run readelf on the output to look for relocations.
13074         * configure: Regenerated.
13076 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13078         [BZ #17261]
13079         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13080         value to 0.
13081         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13083 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13085         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13087 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13089         [BZ #16892]
13090         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13091         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13093 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13095         * malloc/malloc.c: Fix typo in comment.
13097 2014-08-09  Allan McRae  <allan@archlinux.org>
13099         * Regenerate libc.po.
13101 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13103         * intl/tst-gettext2.sh: Check every lang file for creation.
13105 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13107         * sysdeps/aarch64/fpu/math_private.h
13108         (libc_feholdsetround_noex_aarch64_ctx): New function.
13110 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13112         * sysdeps/arm/armv6/strcpy.S (strcpy):
13113         Fix performance issue in misaligned cases.
13115 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13117         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13118         Move definition from termios.h.
13119         (struct termio): Likewise.
13120         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13121         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13122         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13123         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13124         Likewise.
13125         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13126         Move definition to ioctl-types.h
13127         (struct termio): Likewise.
13128         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13129         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13130         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13131         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13132         Likewise.
13134 2014-08-05  Richard Henderson  <rth@redhat.com>
13136         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13137         exceptions.
13138         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13139         Add fraiseexcpt.
13140         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13141         Use __feraiseexcept.
13142         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13143         Protect libm symbols with IS_IN_libm.
13145         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13147 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13149         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13151 2014-08-04  Will Newton  <will.newton@linaro.org>
13153         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13154         file.
13156 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13158         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13159         variants for each function.
13161 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13163         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13164         appended ...
13165         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13166         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13167         appended ...
13168         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13169         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13170         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13171         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13172         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13173         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13174         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13175         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13176         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13177         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13178         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13179         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13180         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13181         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13182         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13183         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13184         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13185         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13186         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13187         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13188         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13189         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13190         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13191         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13192         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13193         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13194         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13195         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13196         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13197         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13198         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13199         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13200         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13201         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13202         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13203         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13204         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13205         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13206         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13207         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13208         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13210         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13211         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13212         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13214         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13215         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13216         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13217         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13218         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13219         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13220         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13221         Update #include.
13222         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13223         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13225 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13227         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13228         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13229         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13230         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13231         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13232         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13234 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13236         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13237         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13238         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13239         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13241 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13243         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13244         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13245         (__libc_vfork): Define function under this name.
13246         (__vfork): Define as an alias.
13247         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13248         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13250 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13252         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13253         that was previously under [RESET_PID].
13254         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13256 2014-08-04  Andreas Schwab  <schwab@suse.de>
13258         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13260 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13262         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13263         (main): Likewise.
13265 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13267         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13269 2014-08-01  Richard Henderon  <rth@redhat.com>
13271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13272         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13273         typo in exact zero test.
13274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13278 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13280         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13281         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13282         * sysdeps/arm/sysdep.h: ... here.
13283         [!__ASSEMBLER__]: Include <stdint.h>.
13285 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13287         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13288         (HAVE_WCTYPE_H): Likewise.
13289         (HAVE_ISWCTYPE): Likewise.
13290         (ENABLE_NLS): Likewise.
13291         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13292         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13294         * posix/regex_internal.c: Check if DEBUG is defined and is
13295         set.
13297         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13298         (HAVE_MBSRTOWCS): Likewise.
13299         * posix/fnmatch.c: Include string.h unconditionally.
13301 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13303         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13304         reversal.
13306 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13308         * sysdeps/generic/safe-fatal.h: New file.
13309         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13310         * nptl/forward.c: Include it.
13311         (__pthread_unwind): Use __safe_fatal as default action, rather
13312         than a bogus use of INTERNAL_SYSCALL that could never work.
13314         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13315         * configure.ac (libc_cv_builtin_trap): New test.
13316         * configure: Regenerated.
13317         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13318         (ABORT_INSTRUCTION): Define using __builtin_trap.
13320         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13321         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13322         * sysdeps/nptl/nptl-signals.h: New file.
13323         * nptl/pthreadP.h: Include <nptl-signals.h>.
13325 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13327         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13328         (ONE_DIRECTION): Define.
13329         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13330         (ONE_DIRECTION): Define.
13331         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13332         (ONE_DIRECTION): Define.
13334 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13336         * sysdeps/s390/Makefile: Delete file.
13337         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13338         * sysdeps/s390/__longjmp.c: Delete file.
13339         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13340         Remove fields __flags and __reserved.
13341         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13342         and add versioning.
13343         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13344         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13345         * sysdeps/s390/rtld-setjmp.S: Likewise.
13346         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13347         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13348         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13349         * sysdeps/s390/s390-32/setjmp.S: ... here.
13350         Add versioning.
13351         (__sigsetjmp): Remove setting __flags field.
13352         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13353         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13354         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13355         * sysdeps/s390/s390-64/setjmp.S: ... here.
13356         Add versioning.
13357         (__sigsetjmp): Remove setting __flags field.
13358         * sysdeps/s390/setjmp.S: Delete file.
13359         * sysdeps/s390/sigjmp.c: Likewise.
13360         * sysdeps/s390/v1-longjmp.c: Likewise.
13361         * sysdeps/s390/v1-setjmp.h: Likewise.
13362         * sysdeps/s390/v1-sigjmp.c: Likewise.
13363         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13364         Remove v1-longjmp_chk.
13365         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13366         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13367         Include debug/longjmp_chk.c and add versioning.
13368         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13369         Include nptl/pt-longjmp.c and add versioning.
13370         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13371         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13372         Include __longjmp.c.
13373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13374         Move to ...
13375         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13376         (__getcontext): Remove setting __flags field.
13377         Add versioning.
13378         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13379         Don't restore upper high grps.
13380         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13381         Likewise.
13382         (__swapcontext): Remove setting uc_flags field.
13383         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13384         Delete file.
13385         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13386         Include __longjmp.c.
13387         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13388         Move to ...
13389         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13390         (__getcontext): Remove setting __flags field.
13391         Add versioning.
13392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13393         (__swapcontext): Remove setting uc_flags field.
13394         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13395         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13396         Remove fields uc_high_gprs and __reserved.
13397         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13398         New file with reverted content.
13399         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13400         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13401         Regenerated.
13402         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13403         Regenerated.
13405 2014-07-31  Andreas Schwab  <schwab@suse.de>
13407         * config.h.in (HAVE_IFUNC): Define to 0.
13408         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13409         definedness.
13411 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13414         memmove-avx-unaligned, memcpy-avx-unaligned and
13415         mempcpy-avx-unaligned.
13416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13417         Add tests for AVX memcpy functions.
13418         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13419         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13420         memcpy_chk.
13421         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13422         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13423         memmove_chk.
13424         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13425         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13426         mempcpy_chk.
13427         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13428         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13429         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13431 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13433         [BZ #17213]
13434         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13435         powerpc64le.
13437 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13439         [BZ #16839]
13440         * manual/llio.texi: Add section about open file description locks.
13441         * manual/examples/ofdlocks.c: Example of open file description
13442         lock usage.
13443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13444         F_OFD_SETLK, and F_OFD_SETLKW.
13446 2014-07-23  Allan McRae  <allan@archlinux.org>
13448         * po/es.po: Update Spanish translation from translation project.
13450 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13452         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13454 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13456         [BZ #17078]
13457         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13458         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13459         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13461 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13463         [BZ #17088]
13464         * math/fesetenv.c (__fesetenv)
13465         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13466         * math/feupdateenv.c (__feupdateenv)
13467         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13469         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13470         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13471         (__ASSUME_SOCKETCALL): Do not define.
13473         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13474         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13475         (__ASSUME_SOCKETCALL): Do not define.
13476         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13477         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13478         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13479         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13480         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13481         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13483         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13485         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13486         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13487         (__ASSUME_SOCKETCALL): Do not define.
13488         (__ASSUME_IPC64): Define unconditionally.
13489         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13490         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13491         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13493         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13495         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13496         Likewise.
13498         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13499         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13500         (__ASSUME_SOCKETCALL): Do not define.
13501         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13502         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13503         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13504         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13505         (__ASSUME_REQUEUE_PI): Define unconditionally.
13506         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13507         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13508         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13509         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13511         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13513         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13514         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13515         (__ASSUME_SOCKETCALL): Do not define.
13516         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13518         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13519         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13521         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13523         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13524         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13525         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13526         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13528         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13529         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13530         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13531         (__ASSUME_GETCPU_SYSCALL): Likewise.
13533         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13534         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13535         cases for individual architectures.
13536         * sysdeps/gnu/configure: Regenerated.
13537         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13538         LIBC_SLIBDIR_RTLDDIR.
13539         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13540         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13541         LIBC_SLIBDIR_RTLDDIR.
13542         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13544         LIBC_SLIBDIR_RTLDDIR.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13546         Regenerated.
13547         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13548         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13549         file.
13550         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13551         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13552         file.
13553         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13554         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13555         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13556         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13558         * sysdeps/aarch64/shlib-versions: Move to ...
13559         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13560         * sysdeps/alpha/shlib-versions: Move to ...
13561         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13562         * sysdeps/arm/shlib-versions: Move to ...
13563         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13564         * sysdeps/hppa/shlib-versions: Move all contents except for
13565         libgcc_s entry to ...
13566         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13567         entry from ...
13568         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13569         * sysdeps/ia64/shlib-versions: Move to ...
13570         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13571         entry from ...
13572         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13573         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13574         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13575         * sysdeps/microblaze/shlib-versions: Move to ...
13576         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13577         * sysdeps/mips/shlib-versions: Move to ...
13578         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13579         entry from ...
13580         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13581         * sysdeps/tile/shlib-versions: Move to ...
13582         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13583         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13584         from ...
13585         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13586         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13587         entry from ...
13588         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13590 2014-07-17  Will Newton  <will.newton@linaro.org>
13592         * sysdeps/arm/bits/atomic.h
13593         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13594         (__arch_compare_and_exchange_bool_16_int): Likewise.
13595         (__arch_compare_and_exchange_bool_64_int): Likewise.
13597         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13598         into an #else block.
13600 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13602         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13603         just Linux configurations.  Test empirically that the compiler sets
13604         __ARM_EABI__, rather than using the tuple to decide.
13605         * sysdeps/arm/preconfigure: Regenerated.
13606         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13607         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13608         contents appended ...
13609         * sysdeps/arm/configure.ac: ... here.
13610         * sysdeps/arm/configure: Regenerated.
13612 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13614         * nptl/pthread_kill.c: New file.
13615         * nptl/pthread_sigmask.c: New file.
13616         * nptl/pthread_sigqueue.c: New file.
13618         * sysdeps/nptl/lowlevellock.h: New file.
13619         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13620         * sysdeps/nptl/lowlevellock-futex.h: New file.
13622         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13623         Remove dead declarations.
13625 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13627         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13628         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13629         config-cflags-avx2.
13630         * sysdeps/x86_64/configure.ac: Likewise.
13631         * sysdeps/i386/configure: Regenerated.
13632         * sysdeps/x86_64/configure: Likewise.
13633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13634         memset-avx2 only if config-cflags-avx2 is yes.
13635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13636         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13637         defined.
13638         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13639         only if HAVE_AVX2_SUPPORT is defined.
13640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13642 2014-07-14  Alan Modra  <amodra@gmail.com>
13644         [BZ #17153]
13645         * elf/elf.h (DT_PPC64_NUM): Correct value.
13646         * NEWS: Add to fixed bug list.
13648 2014-07-13  Jim Meyering  <meyering@fb.com>
13650         [BZ 17150]
13651         regex: don't deref NULL upon heap allocation failure
13652         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13653         failure in one more place.
13654         To trigger the segfault, configure grep -with-included-regex,
13655         build it, and run these commands:
13656         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13658 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13660         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13662 2014-07-11  Richard Henderson  <rth@redhat.com>
13664         * sysdeps/aarch64/libm-test-ulps: Update.
13666 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13668         [BZ #17135]
13669         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13670         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13671         (__nptl_setxid): Initialize error member.  Call
13672         __nptl_setxid_error.
13673         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13674         * nptl/descr.h (struct xid_command): Add error member.
13675         * nptl/tst-setuid3.c: New file.
13676         * nptl/Makefile (tests): Add it.
13678 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13680         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13681         New define.
13682         (__lll_trylock): Use __lll_base_trylock.
13683         (__lll_cond_trylock): Likewise.
13685 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13687         * nptl/pthread_create.c (start_thread): Use atomic_or and
13688         lll_futex_wake directly rather than lll_robust_dead.
13689         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13690         (lll_robust_dead): Macro removed.
13691         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13692         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13693         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13694         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13695         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13696         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13697         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13698         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13699         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13701         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13704         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13705         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13707         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13708         Use atomic_compare_and_exchange_val_acq directly rather than
13709         lll_robust_trylock.
13710         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13711         (__lll_robust_trylock, lll_robust_trylock): Removed.
13712         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13713         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13714         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13716         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13717         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13718         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13719         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13721         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13722         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13723         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13724         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13727 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13729         * manual/locale.texi (Locale Names): New section documenting
13730         locale name syntax.  Adjust menu and node chaining accordingly.
13731         (Choosing Locale): Reference Locale Names, Locale Categories.
13732         Mention setting LC_ALL=C.  Reflect that name syntax is now
13733         documented.
13734         (Locale Categories): New section title.  Reference Locale Names.
13735         LC_ALL is an environment variable, but not a category.
13736         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13737         description, now in Locale Name.  Reference that section.  Locale
13738         name syntax is now documented.
13740 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13742         [BZ #17137]
13743         * locale/findlocale.c (name_present, valid_locale_name): New
13744         functions.
13745         (_nl_find_locale): Use the loc_name variable to store name
13746         candidates.  Call name_present and valid_locale_name to check and
13747         validate locale names.  Return an error if the locale is invalid.
13749 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13751         * locale/setlocale.c (setlocale): Use strdup for allocating
13752         composite name copy.
13754 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13756         Sync up with gnulib.
13757         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13758         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13759         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13760         and _GL_ARG_NONNULL.
13761         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13762         [!_LIBC]: Include code for Windows and Cygwin.
13763         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13764         Include prototype for int strerror_r.
13765         [!_LIBC] (is_open): New function.
13766         (flush_stdout): New function.
13767         (print_errno_message): Use it.
13768         (error): Likewise.
13769         (error_at_line): Likewise.
13770         (error_tail) Add function attribute macros.  Use
13771         __builtin_expect.
13773         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13775         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13777         * io/ftw.c: Include sys/param.h unconditionally.
13779         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13781         [BZ #17125]
13782         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13783         libc_freeres_ptr.
13784         (freecache): New function to free CACHE on exit.
13786         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13787         initialization.
13789 2014-07-09  David S. Miller  <davem@davemloft.net>
13791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13793         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13794         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13795         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13796         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13797         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13798         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13799         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13800         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13801         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13802         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13803         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13804         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13805         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13807 2014-07-09  Andreas Schwab  <schwab@suse.de>
13809         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13810         output.
13811         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13812         (do_test): Likewise.
13814         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13816 2014-07-09  Will Newton  <will.newton@linaro.org>
13818         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13819         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13820         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13821         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13822         * sysdeps/hppa/start.S (_start): Likewise.
13824 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13826         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13828         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13829         defined.
13831 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13833         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13834         after checking that it is non-NULL.
13836         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13838 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13840         * sysdeps/powerpc/memmove.c: Remove file.
13841         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13842         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13844         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13846         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13847         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13848         string memmove instead of removed powerpc one.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13851         [weak_alias]: Fix compiler warning due trailing data.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13853         [weak_alias]: Likewise.
13854         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13855         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13858         (__libc_ifunc_impl_list): Add memmove functions.
13860 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13862         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13863         Remove code.
13864         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13865         Likewise
13866         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13867         Likewise
13868         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13869         Likewise
13870         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13871         Likewise
13872         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13873         Likewise
13874         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13875         Likewise
13876         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13877         Likewise
13878         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13879         Likewise
13880         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13881         Likewise
13882         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13883         Likewise
13884         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13885         Likewise
13886         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13887         Likewise
13888         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13889         Likewise
13890         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13891         Likewise
13892         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13893         Likewise
13894         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13895         Likewise
13897 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13899         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13900         to avoid alignment traps in non-cacheable memory.
13901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13904         multiarch objects.
13905         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13906         file: multiarch power7 memmove.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13908         multiarch default memmove.
13909         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13910         multiarch memove for powerpc32/power4.
13912         * string/bcopy.c: Use full path to include memmove.c.
13913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13914         multiarch objects.
13915         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13916         bcopy for powerpc64.
13917         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13918         bcopy for powerpc64.
13919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13920         and memmove implementations.
13921         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13922         optimized multiarch memmove for POWER7/powerpc64.
13923         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13924         default multiarch memmove for powerpc64.
13925         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13926         multiarch for powerpc64.
13927         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13928         for POWER7/powerpc64.
13929         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13930         memmove for POWER7/powerpc64.
13932         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13933         glibc default one.
13935         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13936         __ELF_NATIVE_CLASS equal to 64.
13938 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13940         * sysdeps/nptl/lowlevellock.h: File removed.
13942         * NEWS: NPTL is no longer an add-on!
13943         * nptl/internaltypes.h: Moved ...
13944         * sysdeps/nptl/internaltypes.h: ... here.
13945         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13946         * sysdeps/nptl/fork.c: Likewise.
13947         * sysdeps/nptl/gai_misc.h: Likewise.
13948         * sysdeps/nptl/librt-cancellation.c: Likewise.
13949         * sysdeps/nptl/jmp-unwind.c: Likewise.
13950         * sysdeps/nptl/setxid.h: Likewise.
13951         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13952         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13953         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13954         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13955         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13956         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13957         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13958         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13959         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13960         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13961         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13962         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13963         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13964         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13965         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13966         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13967         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13968         * nptl/Makeconfig: Moved ...
13969         * sysdeps/nptl/Makeconfig: ... here.
13970         * nptl/configure: File removed.
13971         * nptl/ANNOUNCE: File removed.
13972         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13973         * sysdeps/unix/sysv/linux/configure: Regenerated.
13975         * nptl/Makefile (routines): Add libc_pthread_init,
13976         libc_multiple_threads, register-atfork and unregister-atfork.
13977         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13978         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13979         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13980         pthread-pi-defines.sym, structsem.sym.
13981         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13982         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13983         [$(subdir) = nptl] (tests): Add tst-setgetname.
13984         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13985         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13986         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13987         [!LIBC_SIGACTION]: Remove aliases.
13988         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13989         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13990         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13991         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13992         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13993         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13994         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13995         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13996         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13997         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13998         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13999         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14000         __libc_allocate_rtsig_private.
14001         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14002         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14003         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14004         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14005         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14006         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14007         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14008         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14009         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14010         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14011         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14012         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14013         * nptl/internaltypes.h: ... here.
14014         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14015         * sysdeps/nptl/jmp-unwind.c: ... here.
14016         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14017         * nptl/libc-lowlevellock.c: ... here.
14018         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14019         * nptl/libc_multiple_threads.c: ... here.
14020         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14021         * nptl/libc_pthread_init.c: ... here.
14022         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14023         * nptl/lowlevelbarrier.sym: ... here.
14024         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14025         * nptl/lowlevelcond.sym: ... here.
14026         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14027         * nptl/lowlevellock.c: ... here.
14028         * nptl/lowlevellock.h: Moved ...
14029         * sysdeps/nptl/lowlevellock.h: ... here.
14030         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14031         * nptl/lowlevelrobustlock.c: ... here.
14032         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14033         * nptl/lowlevelrobustlock.sym: ... here.
14034         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14035         * nptl/lowlevelrwlock.sym: ... here.
14036         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14037         * nptl/pt-fork.c: ... here.
14038         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14039         * nptl/pthread-pi-defines.sym: ... here.
14040         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14041         * nptl/pthread_attr_getaffinity.c: ... here.
14042         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14043         * nptl/pthread_attr_setaffinity.c: ... here.
14044         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14045         * nptl/pthread_mutex_cond_lock.c: ... here.
14046         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14047         Update #include.
14048         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14049         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14050         * nptl/pthread_once.c: ... here, replacing old file.
14051         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14052         * nptl/pthread_yield.c: ... here.
14053         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14054         * nptl/register-atfork.c: ... here.
14055         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14056         * nptl/sem_post.c: ... here.
14057         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14058         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14059         * nptl/sem_timedwait.c: ... here.
14060         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14061         * nptl/sem_trywait.c: ... here.
14062         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14063         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14064         * nptl/sem_wait.c: ... here.
14065         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14066         * nptl/structsem.sym: ... here.
14067         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14068         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14069         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14070         * nptl/unregister-atfork.c: ... here.
14071         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14072         * nptl/unwindbuf.sym: ... here.
14073         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14074         * sysdeps/nptl/fork.c: ... here.
14075         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14076         * sysdeps/nptl/fork.h: ... here.
14077         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14078         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14079         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14080         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14081         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14082         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14083         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14084         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14085         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14086         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14087         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14088         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14089         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14090         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14091         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14092         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14093         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14094         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14095         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14096         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14097         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14098         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14099         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14100         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14101         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14102         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14103         * sysdeps/unix/sysv/linux/raise.c: ... here.
14104         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14105         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14106         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14107         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14108         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14109         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14110         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14111         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14112         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14113         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14114         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14115         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14116         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14117         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14118         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14120 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14122         * sysdeps/generic/memcopy.h: Add comment for
14123         MEMCPY_OK_FOR_FWD_MEMMOVE.
14125 2014-07-04  Will Newton  <will.newton@linaro.org>
14127         * string/memchr.c: Merge from gnulib.
14128         [_LIBC]: Remove conditionals.
14129         (__ptr_t): Remove define.
14130         (LONG_MAX_32_BITS): Likewise.
14131         (LONG_MAX): Likewise.
14132         (MEMCHR): Use ANSI prototype and optimize algorithm.
14134         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14136 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14138         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14139         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14141         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14142         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14143         in a bare environment with no <stdlib.h> installed.
14144         * sysdeps/nptl/configure: Regenerated.
14146         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14148         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14149         AC_EGREP_CPP for kernel header checks, so they only succeed if
14150         including <linux/version.h> actually works right.
14151         * sysdeps/unix/sysv/linux/configure: Regenerated.
14153         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14154         value so it's not diagnosed as unused.
14156         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14157         thing) with "ifeq ($(subdir),rt)".
14159 2014-07-03  Richard Henderson  <rth@redhat.com>
14161         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14162         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14163         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14165         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14166         (math_force_eval): New.
14168         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14169         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14171         * sysdeps/alpha/fpu/s_round.c: Remove file.
14172         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14174         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14175         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14176         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14177         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14178         (_dl_start, print_statistics): Likewise.
14179         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14180         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14182         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14183         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14184         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14185         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14187         (HP_SMALL_TIMING_AVAIL): Define.
14188         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14189         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14190         (HP_SMALL_TIMING_AVAIL): Define.
14191         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14192         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14194         * sysdeps/aarch64/hp-timing.h: New file.
14196         * sysdeps/generic/hp-timing.h: Remove dead comment.
14197         * sysdeps/generic/hp-timing-common.h: New file.
14198         * sysdeps/alpha/hp-timing.h: Include it.
14199         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14200         * sysdeps/i386/i686/hp-timing.h: Likewise.
14201         * sysdeps/ia64/hp-timing.h: Likewise.
14202         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14203         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14204         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14205         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14206         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14207         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14208         (hp_timing_t): New.
14210         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14211         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14212         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14213         * elf/rtld.c (_dl_start_final): Likewise.
14214         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14215         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14216         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14217         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14218         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14220         (HP_TIMING_DIFF_INIT): Remove.
14221         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14222         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14223         (HP_TIMING_DIFF_INIT): Remove.
14224         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14225         * sysdeps/i386/i686/hp-timing.c: Remove file.
14226         * sysdeps/x86_64/hp-timing.c: Remove file.
14227         * sysdeps/ia64/hp-timing.c: Remove file.
14228         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14229         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14230         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14231         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14233         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14234         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14235         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14236         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14237         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14238         (HP_TIMING_ACCUM): Remove.
14239         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14241         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14243         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14244         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14245         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14246         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14247         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14248         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14249         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14250         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14252         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14254 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14256         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14258 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14260         Sync up with gettext.
14261         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14262         [_MSC_VER]: Include malloc.h
14263         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14264         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14265         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14266         TEMP_FAILURE_RETRY.  Cast return of alloca.
14267         [!_LIBC] Call gl_rwlock_init.
14268         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14270 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14272         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14273         before checking its value.
14275 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14277         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14279         * debug/memcpy_chk.c: Don't include pagecopy.h.
14280         * debug/mempcpy_chk.c: Likewise.
14281         * string/memcpy.c: Likewise.
14282         * string/memmove.c: Likewise.
14283         * sysdeps/powerpc/memmove.c: Likewise.
14284         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14285         definition of PAGE_COPY_FWD_MAYBE here...
14286         * sysdeps/generic/pagecopy.h: ... from here.
14287         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14289 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14290             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14292         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14294         optimizations.
14295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14296         (__libc_ifunc_impl_list): Likewise.
14297         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14298         multiarch strcat for PPC64.
14299         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14300         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14302 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14304         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14306 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14308         * intl/loadmsgcat.c: Remove declaration of
14309         get_sysdep_segment_value.
14310         (get_sysdep_segment_value): Use ISO C style.
14311         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14312         semicolon.  Fix typo and formatting in comment.
14313         (_nl_unload_domain): Use ISO C style.
14315         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14317 2014-07-02  Will Newton  <will.newton@linaro.org>
14319         * malloc/obstack.c: Merge from gnulib master.
14320         [HAVE_CONFIG_H]: Remove conditional code.
14321         [!_LIBC]: Include config.h.
14322         [!ELIDE_CODE]: Don't include inttypes.h, include
14323         stdint.h unconditionally.
14324         (print_and_abort): Mark as _Noreturn.
14325         (_obstack_allocated_p): Mark as __attribute_pure__.
14326         (obstack_free): Rename to __obstack_free.
14327         [!__attribute__]: Remove conditional code.
14328         * malloc/obstack.h: Merge from gnulib master.
14329         [__cplusplus]: Move conditional down.
14330         [!__attribute_pure__]: Define __attribute_pure__ here
14331         if it is not already defined.
14332         (_obstack_memory_used): Mark as __attribute_pure__.
14333         [!__obstack_free]: Define as obstack_free.
14334         [__GNUC__]: Remove check for ancient NeXT gcc.
14336 2014-07-02  Will Newton  <will.newton@linaro.org>
14337             Paul Eggert  <eggert@cs.ucla.edu>
14339         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14341 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14343         * resolv/gethnamaddr.c: Add comment warning that the file is
14344         not maintained.
14346 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14348         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14349         entries.
14351         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14352         entry for aio_cancel and aio_cancel64.
14353         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14354         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14355         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14356         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14357         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14358         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14359         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14360         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14361         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14362         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14363         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14364         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14365         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14367 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14369         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14370         * nptl/pthread_mutex_lock.c: Likewise.
14371         * nptl/pthread_mutex_timedlock.c: Likewise.
14372         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14374 2014-07-01  Richard henderson  <rth@redhat.com>
14376         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14377         (__isnan, __isnanl): Remove.
14378         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14380         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14382 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14384         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14386 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14388         * resolv/nss_dns/dns-host.c (getanswer_r)
14389         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14391 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14394         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14395         undefine.
14396         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14397         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14399 2014-07-01  Roland McGrath <roland@hack.frob.com>
14401         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14402         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14404         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14405         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14407         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14408         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14409         ... here.
14410         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14411         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14413         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14414         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14415         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14416         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14418         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14419         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14420         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14421         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14422         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14423         Moved ...
14424         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14425         ... here.
14426         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14427         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14428         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14429         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14430         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14431         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14432         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14433         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14434         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14435         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14436         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14437         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14438         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14439         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14440         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14441         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14442         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14443         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14444         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14445         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14446         ... here.
14447         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14448         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14449         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14450         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14451         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14452         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14453         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14454         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14456 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14458         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14459         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14460         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14461         Add sysdep.
14463 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14467 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14469         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14470         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14472         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14474         * sysdeps/arm/libm-test-ulps: Regenerated.
14476 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14477             Roland McGrath <roland@hack.frob.com>
14479         * test-skeleton.c (signal_handler): Kill the whole process group
14480         before killing the child individually.
14481         (main): Report any failure on `setpgid'.
14483 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14485         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14486         from _TLS_H to _ARM_NPTL_TLS_H.
14487         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14488         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14490 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14492         [BZ #16539]
14493         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14494         (__expm1l): Return argument unchanged when small but not
14495         subnormal.
14497         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14498         include macro name.
14499         (_FP_UNPACK_RAW_1_P): Likewise.
14500         (_FP_PACK_RAW_1): Likewise.
14501         (_FP_PACK_RAW_1_P): Likewise.
14502         (_FP_MUL_MEAT_1_wide): Likewise.
14503         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14504         (_FP_MUL_MEAT_1_hard): Likewise.
14505         (_FP_DIV_MEAT_1_imm): Likewise.
14506         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14507         (_FP_DIV_MEAT_1_udiv): Likewise.
14508         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14509         (_FP_UNPACK_RAW_2): Likewise.
14510         (_FP_UNPACK_RAW_2_P): Likewise.
14511         (_FP_PACK_RAW_2): Likewise.
14512         (_FP_PACK_RAW_2_P): Likewise.
14513         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14514         (_FP_MUL_MEAT_2_wide): Likewise.
14515         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14516         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14517         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14518         (_FP_MUL_MEAT_2_gmp): Likewise.
14519         (_FP_DIV_MEAT_2_udiv): Likewise.
14520         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14521         (_FP_FRAC_SRL_4): Likewise.
14522         (_FP_FRAC_SRST_4): Likewise.
14523         (_FP_FRAC_SRS_4): Likewise.
14524         (_FP_UNPACK_RAW_4): Likewise.
14525         (_FP_UNPACK_RAW_4_P): Likewise.
14526         (_FP_PACK_RAW_4): Likewise.
14527         (_FP_PACK_RAW_4_P): Likewise.
14528         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14529         (_FP_MUL_MEAT_4_wide): Likewise.
14530         (_FP_MUL_MEAT_4_gmp): Likewise.
14531         (umul_ppppmnnn): Likewise.
14532         (_FP_DIV_MEAT_4_udiv): Likewise.
14533         (__FP_FRAC_ADD_4): Likewise.
14534         (__FP_FRAC_SUB_3): Likewise.
14535         (__FP_FRAC_SUB_4): Likewise.
14536         (__FP_FRAC_DEC_3): Likewise.
14537         (__FP_FRAC_DEC_4): Likewise.
14538         (__FP_FRAC_ADDI_4): Likewise.
14539         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14540         (_FP_FRAC_SRL_8): Likewise.
14541         (_FP_FRAC_SRS_8): Likewise.
14543         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14544         include macro name.
14545         (FP_UNPACK_RAW_EP): Likewise.
14546         (FP_PACK_RAW_E): Likewise.
14547         (FP_PACK_RAW_EP): Likewise.
14548         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14549         (_FP_ISSIGNAN): Likewise.
14550         (_FP_ADD_INTERNAL): Likewise.
14551         (_FP_FMA): Likewise.
14552         (_FP_CMP): Likewise.
14553         (_FP_SQRT): Likewise.
14554         (_FP_TO_INT): Likewise.
14555         (_FP_FROM_INT): Likewise.
14556         (FP_EXTEND): Likewise.
14557         (_FP_DIV_MEAT_N_loop): Likewise.
14559 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14561         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14562         throughout.
14564 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14566         [BZ #17097]
14567         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14568         result with correct sign in case of exponents that produce
14569         overflow except for X very close to 1.
14571 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14573         mktime: merge #if/#ifdef usage from glibc
14574         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14575         as that works with both Glibc's and Gnulib's style.
14576         See thread starting at Siddhesh Poyarekar's bug report at:
14577         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14579 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14581         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14582         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14583         * sysdeps/tile/tilegx/memmove.c: Remove file.
14585 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14587         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14588         abi-name definition.
14589         * scripts/soversions.awk: Do not handle or generate ABI lines.
14590         * shlib-versions: Remove ABI entries.
14591         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14592         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14594 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14597         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14598         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14599         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14601         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14603         Moved ...
14604         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14605         ... here.
14606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14607         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14609         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14611         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14613         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14615         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14619         Moved ...
14620         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14624         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14626         Moved ...
14627         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14629         Moved ...
14630         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14632         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14634         Moved ...
14635         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14637         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14639         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14641         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14643         Moved ...
14644         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14646         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14647         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14648         Moved ...
14649         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14651         Moved ...
14652         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14653         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14654         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14656         Moved ...
14657         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14658         ... here.
14659         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14660         Identical file removed.
14661         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14662         Moved ...
14663         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14664         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14665         Identical file removed.
14666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14667         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14669         Moved ...
14670         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14671         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14672         Identical file removed.
14673         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14674         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14676         Identical file removed.
14677         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14678         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14680         Identical file removed.
14681         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14682         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14683         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14684         Identical file removed.
14685         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14686         Moved ...
14687         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14688         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14689         Identical file removed.
14690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14691         Moved ...
14692         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14693         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14694         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14696         Identical file removed.
14697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14698         Moved ...
14699         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14700         ... here.
14701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14702         Identical file removed.
14703         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14704         Moved ...
14705         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14707         Identical file removed.
14708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14709         Moved ...
14710         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14712         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14713         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14714         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14716         Moved ...
14717         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14718         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14719         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14721         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14722         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14723         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14724         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14725         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14727 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14729         [BZ #17092]
14730         * nscd/nscd.c (monitor_child): Return exit status of child
14731         instead of return value from wait syscall.
14733 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14735         * configure.ac (libc_commonpagesize): Remove variable.
14736         (libc_relro_required): Likewise.
14737         (libc_cv_z_relro): Remove configure test.
14738         * configure: Regenerated.
14739         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14740         variable.
14741         (libc_relro_required): Likewise.
14742         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14743         (libc_relro_required): Likewise.
14744         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14745         (libc_relro_required): Likewise.
14746         * sysdeps/arm/preconfigure: Regenerated.
14747         * sysdeps/ia64/preconfigure: Remove file.
14748         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14749         variable.
14750         (libc_relro_required): Likewise.
14752         [BZ #16561]
14753         [BZ #16562]
14754         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14755         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14756         recompute overflowing results in original rounding mode.
14757         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14758         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14759         recompute overflowing results in original rounding mode.
14760         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14761         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14762         recompute overflowing results in original rounding mode.
14763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14764         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14765         recompute overflowing results in original rounding mode.
14766         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14767         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14768         recompute overflowing results in original rounding mode.
14769         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14770         (libc_feholdsetround_ctx): New macro.
14771         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14772         * sysdeps/i386/fpu/libm-test-ulps: Update.
14773         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14775 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14777         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14778         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14779         corresponding .cpsetup call.
14781 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14783         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14784         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14785         * sysdeps/arm/Makefile [$(subdir) = csu]
14786         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14787         (static-only-routines): Add aeabi_read_tp here.
14788         (shared-only-routines): Add libc-aeabi_read_tp here.
14789         (CFLAGS-libc-start.c): Add -fexceptions here.
14790         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14791         (sysdep_routines, static-only-routines, shared-only-routines):
14792         Don't add to these here.
14793         (CFLAGS-libc-start.c): Likewise.
14795         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14796         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14797         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14798         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14799         * sysdeps/arm/Makefile [$(subdir) = rt]
14800         (librt-sysdep_routines, librt-shared-only-routines):
14801         Append rt-aeabi_unwind_cpp_pr1 here.
14802         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14803         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14804         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14805         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14806         Append nptl-aeabi_unwind_cpp_pr1 here.
14807         (tests): Filter out tst-cleanupx4 here.
14808         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14809         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14810         Don't do those here.
14812 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14814         * scripts/list-sources.sh: Do not handle ports specially.
14816 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14818         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14819         * sysdeps/arm/feupdateenv.c: Likewise.
14821         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14823 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14825         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14826         trailing whitespace removed.
14827         * scripts/config.guess: Update to version 2014-03-23.
14828         * scripts/config.sub: Update to version 2014-05-01
14829         * scripts/install-sh: Update to version 2013-12-25.23.
14830         * scripts/move-if-change: Update from gnulib.
14832 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14834         * debug/memmove_chk.c: Remove pagecopy.h include.
14836 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14838         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14839         identical to gnulib mktime.
14841 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14843         * configure.ac: Do not test for machine being rs6000.  Do not test
14844         for powerpc*-*soft.
14845         * configure: Regenerated.
14847         [BZ #11505]
14848         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14849         test.
14850         * configure: Regenerated.
14851         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14852         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14853         Remove configure test.
14854         * sysdeps/arm/configure: Regenerated.
14855         * sysdeps/nptl/configure.ac: Do not check
14856         libc_cv_asm_cfi_directives.
14857         * sysdeps/nptl/configure: Regenerated.
14858         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14859         * sysdeps/x86_64/nptl/configure: Remove generated file.
14860         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14861         unconditional.
14862         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14864 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14866         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14867         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14868         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14869         it is defined.
14871         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14872         instead of whether it is defined.
14873         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14874         * sysdeps/hppa/dl-machine.h: Likewise.
14875         * sysdeps/ia64/dl-machine.h: Likewise.
14876         * sysdeps/m68k/dl-machine.h: Likewise.
14877         * sysdeps/microblaze/dl-machine.h: Likewise.
14878         * sysdeps/mips/dl-machine.: Likewise.
14879         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14880         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14881         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14882         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14883         * sysdeps/sh/dl-machine.h: Likewise.
14884         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14885         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14886         * sysdeps/tile/dl-machine.h: Likewise.
14887         * sysdeps/x86_64/dl-machine.h: Likewise.
14889         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14890         code.
14891         (verify_persistent_db): Likewise.
14893 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14896         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14898         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14900         Moved ...
14901         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14902         ... here.
14903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14904         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14906         Identical file removed.
14907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14908         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14914         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14916         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14918         Moved ...
14919         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14921         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14923         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14925         Moved ...
14926         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14928         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14930         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14932         Identical file removed.
14933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14934         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14936         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14938         Moved ...
14939         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14940         ... here.
14941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14944         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14946         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14948         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14950         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14952         Moved ...
14953         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14955         Moved ...
14956         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14958         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14960         Moved ...
14961         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14963         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14965         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14966         folded into ...
14967         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14968         * sysdeps/unix/sysv/linux/s390/Versions
14969         (libpthread: GLIBC_2.19): New version set.
14970         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14971         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14972         (librt: GLIBC_2.3.3): New version set.
14973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14974         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14975         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14976         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14977         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14978         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14979         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14980         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14981         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14982         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14983         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14984         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14985         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14986         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14987         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14988         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14989         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14990         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14991         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14992         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14993         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14994         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14995         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14996         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14997         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14998         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14999         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15000         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15001         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15002         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15003         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15004         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15008         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15009         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15011         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15013         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15015         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15017         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15020         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15021         (__libc_vfork): Define the function under this name.
15022         [!NOT_IN_libc] (__vfork): Make this an alias.
15023         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15025         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15026         (__libc_vfork): Define the function under this name.
15027         [!NOT_IN_libc] (__vfork): Make this an alias.
15028         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15029         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15030         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15032         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15033         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15035         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15036         code that was previously under [RESET_PID].
15037         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15038         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15041         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15042         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15043         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15044         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15045         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15046         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15047         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15048         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15049         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15050         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15051         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15052         Moved ...
15053         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15054         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15055         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15056         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15058         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15059         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15060         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15061         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15062         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15064         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15065         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15066         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15067         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15068         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15069         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15070         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15071         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15072         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15073         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15074         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15075         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15076         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15077         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15078         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15079         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15080         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15081         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15083 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15085         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15086         that was previously under [RESET_PID].
15087         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15089 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15091         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15092         not undefine and redefine.
15093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15094         [O_CLOEXEC]: Make code unconditional.
15095         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15096         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15097         <kernel-features.h>.
15098         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15099         conditional variable definition.
15100         (shm_open) [O_CLOEXEC]: Make code unconditional.
15101         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15102         code.
15104         * configure.ac (USE_REGPARMS): Don't define here.
15105         * configure: Regenerated.
15106         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15107         * sysdeps/i386/configure: Regenerated.
15109         * nptl/createthread.c: Don't include kernel-features.h.
15110         * nptl/pthread_cancel.c: Likewise.
15111         * nptl/pthread_condattr_setclock.c: Likewise.
15112         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15113         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15114         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15115         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15116         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15117         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15118         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15120         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15121         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15122         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15123         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15124         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15125         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15126         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15127         * nscd/gai.c: Likewise.
15128         * nss/nss_db/db-open.c: Likewise.
15129         * sysdeps/generic/ldsodefs.h: Likewise.
15130         * sysdeps/sh/nptl/tls.h: Likewise.
15131         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15132         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15133         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15134         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15135         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15136         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15137         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15138         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15139         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15140         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15141         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15142         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15143         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15144         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15145         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15146         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15147         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15148         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15149         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15150         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15151         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15152         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15153         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15154         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15155         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15157         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15159         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15160         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15161         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15162         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15163         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15164         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15165         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15166         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15167         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15168         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15169         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15170         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15171         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15172         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15173         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15174         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15175         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15176         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15177         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15178         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15179         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15180         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15181         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15182         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15183         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15184         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15185         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15186         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15187         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15188         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15211         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15212         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15213         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15214         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15215         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15216         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15217         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15218         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15219         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15220         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15221         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15222         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15223         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15224         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15225         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15226         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15227         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15228         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15229         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15230         * sysdeps/unix/sysv/linux/system.c: Likewise.
15231         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15232         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15233         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15234         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15235         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15236         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15237         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15239         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15240         * configure: Regenerated.
15241         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15243         * configure.ac (base_machine): Do not set specially for particular
15244         machines here.
15245         * configure: Regenerated.
15246         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15247         settings from configure.ac.
15248         * sysdeps/i386/preconfigure: New file.
15249         * sysdeps/s390/preconfigure: Likewise.
15250         * sysdeps/sh/preconfigure: Likewise.
15251         * sysdeps/sparc/preconfigure: Likewise.
15253 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15255         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15256         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15257         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15258         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15259         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15260         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15261         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15262         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15263         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15264         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15265         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15266         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15267         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15268         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15269         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15270         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15271         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15272         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15273         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15275         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15276         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15277         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15278         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15279         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15280         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15281         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15282         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15283         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15284         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15285         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15286         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15287         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15288         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15289         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15290         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15291         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15292         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15293         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15294         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15296         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15297         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15298         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15300         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15302         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15303         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15304         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15305         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15306         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15308         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15309         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15310         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15312         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15315         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15317         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15321         ... here.
15322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15323         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15325         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15327         Moved ...
15328         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15330         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15332         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15334         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15336         Moved ...
15337         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15339         Moved ...
15340         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15342         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15344         Moved ...
15345         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15347         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15349         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15351         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15353         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15357         ... here.
15358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15359         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15363         Moved ...
15364         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15366         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15370         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15372         Moved ...
15373         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15375         Moved ...
15376         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15378         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15380         Moved ...
15381         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15383         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15385         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15387 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15389         * timezone/checktab.awk: Update from tzcode 2014e.
15390         * timezone/private.h: Likewise.
15391         * timezone/tzfile.h: Likewise.
15392         * timezone/zdump.c: Likewise.
15393         * timezone/zic.c: Likewise.
15395         * sysdeps/unix/sysv/linux/kernel-features.h
15396         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15398         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15399         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15400         Remove conditional code.
15402 2014-06-25  Will Newton  <will.newton@linaro.org>
15404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15405         (_dl_arm_cap_flags): Add HWCAP2 values.
15406         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15407         (_DL_HWCAP_COUNT): Increase to 37.
15408         (_DL_HWCAP_LAST): New define.
15409         (_DL_HWCAP2_LAST): New define.
15410         (_dl_procinfo): Add support for printing
15411         AT_HWCAP2 entries.
15412         (_dl_string_hwcap): Use _dl_hwcap_string.
15414 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15418 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15420         * README: Do not mention ports directory.
15422         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15423         Remove macro.
15424         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15425         <kernel-features.h>.
15426         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15427         conditional variable definition.
15428         (__futimes): Update comment.
15429         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15430         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15432         [BZ #16560]
15433         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15434         arguments close to 0.
15435         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15436         Likewise.
15437         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15438         Likewise.
15439         * math/auto-libm-test-in: Add more tests of exp10.
15440         * math/auto-libm-test-out: Regenerated.
15441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15443         * sysdeps/unix/sysv/linux/kernel-features.h
15444         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15445         * sysdeps/unix/sysv/linux/readv.c: Do not include
15446         <kernel-features.h>.
15447         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15448         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15449         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15450         unconditional.
15451         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15452         conditional code.
15453         * sysdeps/unix/sysv/linux/writev.c: Do not include
15454         <kernel-features.h>.
15455         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15456         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15457         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15458         unconditional.
15459         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15460         conditional code.
15462 2014-06-25  Will Newton  <will.newton@linaro.org>
15464         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15465         comment changes throughout the file.  Remove checks
15466         for HAVE_*_H definitions that are not required.
15467         (__gen_tempname): Call abort if an unknown kind value is
15468         passed.
15470 2014-06-25  Andreas Schwab  <schwab@suse.de>
15472         [BZ #17086]
15473         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15474         scalbln, scalblnf, scalblnl in libc.
15476 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15478         [BZ #17086]
15479         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15480         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15481         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15483 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15485         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15486         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15487         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15488         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15489         Update #include.
15490         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15491         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15492         Update #include.
15493         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15494         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15495         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15496         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15497         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15498         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15499         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15500         * sysdeps/x86/bits/semaphore.h: ... here.
15501         * sysdeps/x86/nptl/elide.h: Moved ...
15502         * sysdeps/x86/elide.h: ... here.
15503         * sysdeps/x86_64/nptl/Implies: File removed.
15504         * sysdeps/i386/nptl/Implies: File removed.
15506 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15508         [BZ #16539]
15509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15510         return the argument for normal arguments with exponent below -64.
15511         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15512         Likewise.
15513         * math/auto-libm-test-in: Add another test of expm1.
15514         * math/auto-libm-test-out: Regenerated.
15516         [BZ #16287]
15517         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15518         calling __erfcl for arguments at least 16.
15519         * math/auto-libm-test-in: Add more tests of erf.
15520         * math/auto-libm-test-out: Regenerated.
15522         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15523         individual architectures.
15524         * sysdeps/unix/sysv/linux/configure: Regenerated.
15525         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15526         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15527         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15528         (ldd_rewrite_script): Define variable.
15529         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15531         file.
15532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15533         generated file.
15534         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15535         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15536         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15537         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15538         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15539         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15540         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15541         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15543 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15545         [BZ #17084]
15546         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15547         Rename member __data.d to __data.__elision_data.
15549 2014-06-24  Wilco  <wdijkstr@arm.com>
15551         * NEWS: Add 16918 to fixed bug list.
15553 2014-06-24  Wilco  <wdijkstr@arm.com>
15555         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15557 2014-06-24  Wilco  <wdijkstr@arm.com>
15559         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15560         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15561         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15562         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15563         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15564         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15565         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15566         Use _FPU_MASK_RM.
15568 2014-06-24  Wilco  <wdijkstr@arm.com>
15570         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15572 2014-06-24  Wilco  <wdijkstr@arm.com>
15574         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15575         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15576         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15577         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15579 2014-06-24  Wilco  <wdijkstr@arm.com>
15581         [BZ #16918]
15582         * sysdeps/arm/feupdateenv.c (feupdateenv):
15583         Rewrite to reduce FPSCR accesses and fix return value.
15585 2014-06-24  Wilco  <wdijkstr@arm.com>
15587         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15588         Optimize to avoid unnecessary FPSCR writes.
15589         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15590         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15591         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15592         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15594 2014-06-24  Wilco  <wdijkstr@arm.com>
15596         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15597         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15598         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15599         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15600         Call libc_fetestexcept_vfp.
15601         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15602         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15603         __SOFTFP__ ifdef so that they can be built for softfp.
15605 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15607         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15608         argument type signed char.
15610         * Makerules (check-abi): Dump diff of symlist if the test
15611         fails.
15613 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15615         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15616         using abort.
15618         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15619         Remove unused variable ST.
15621 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #16354]
15624         [BZ #17061]
15625         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15626         small arguments before calling __expm1.
15627         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15628         small arguments before calling __expm1f.
15629         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15630         small arguments before calling __expm1l.
15631         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15632         Likewise.
15633         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15634         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15635         spurious underflow for some cosh tests.
15636         * math/auto-libm-test-out: Regenerated.
15637         * sysdeps/i386/fpu/libm-test-ulps: Update.
15639         [BZ #17050]
15640         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15641         (__ieee754_y1): Set errno if return value overflows.
15642         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15643         (__ieee754_y1f): Set errno if return value overflows.
15644         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15645         (__ieee754_y1l): Set errno if return value overflows.
15646         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15647         (__ieee754_y1l): Set errno if return value overflows.
15648         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15649         * math/auto-libm-test-out: Regenerated.
15651         * math/gen-auto-libm-tests.c: Document use of
15652         ignore-zero-inf-sign.
15653         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15654         (input_flags): Add ignore-zero-inf-sign.
15655         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15656         * math/gen-libm-test.pl (generate_testfile): Handle
15657         ignore-zero-inf-sign.
15658         * math/auto-libm-test-in: Mark some cpow tests with
15659         ignore-zero-inf-sign and some with xfail-rounding.
15660         * math/auto-libm-test-out: Regenerated.
15661         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15662         * sysdeps/i386/fpu/libm-test-ulps: Update.
15663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15665         [BZ #16315]
15666         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15667         overflowing or underflowing operations take place with sign of
15668         result.
15669         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15670         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15671         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15672         (__ieee754_pow): Recompute overflowing and underflowing results in
15673         original rounding mode.
15674         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15675         (__powl_helper): Allow negative argument X and scale negated value
15676         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15677         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15678         overflowing or underflowing operations take place with sign of
15679         result.
15680         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15681         Include <math.h>.
15682         * math/auto-libm-test-in: Add more tests of pow.
15683         * math/auto-libm-test-out: Regenerated.
15684         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15685         (pow_tonearest_test_data): Remove.
15686         (pow_test_tonearest): Likewise.
15687         (pow_towardzero_test_data): Likewise.
15688         (pow_test_towardzero): Likewise.
15689         (pow_downward_test_data): Likewise.
15690         (pow_test_downward): Likewise.
15691         (pow_upward_test_data): Likewise.
15692         (pow_test_upward): Likewise.
15693         (main): Don't call removed functions.
15694         * sysdeps/i386/fpu/libm-test-ulps: Update.
15695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15697 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15700         Moved ...
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15703         Moved ...
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15706         Moved ...
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15709         Moved ...
15710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15712         File removed.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15714         File removed.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15716         File removed.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15718         File removed.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15720         File removed.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15722         File removed.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15724         File removed.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15726         File removed.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15728         File removed.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15730         File removed.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15732         File removed.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15734         File removed.
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15736         Moved ...
15737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15741         ... here.
15742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15743         Moved ...
15744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15746         Moved ...
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15749         Moved ...
15750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15752         Moved ...
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15755         Moved ...
15756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15758         Moved ...
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15761         Moved ...
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15765         ... here.
15766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15767         Moved ...
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15770         Moved ...
15771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15772         ... here.
15773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15774         Moved ...
15775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15776         ... here.
15777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15778         Moved ...
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15780         ... here.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15782         Moved ...
15783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15785         Moved ...
15786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15790         Moved ...
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15792         ... here.
15793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15794         Moved ...
15795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15796         ... here.
15797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15798         Moved ...
15799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15801         Moved ...
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15804         Moved ...
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15807         Moved ...
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15810         Moved ...
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15812         ... here.
15813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15814         Moved ...
15815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15817         Moved ...
15818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15820         Moved ...
15821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15823         Moved ...
15824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15828         Moved ...
15829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15831         Moved ...
15832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15834         Moved ...
15835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15836         ... here.
15837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15838         Moved ...
15839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15840         ... here.
15841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15842         Moved ...
15843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15844         ... here.
15845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15846         Moved ...
15847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15849         Moved ...
15850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15852         Moved ...
15853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15855         Moved ...
15856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15857         ... here.
15858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15859         Moved ...
15860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15861         ... here.
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15863         Moved ...
15864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15865         ... here.
15866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15867         Moved ...
15868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15870         Moved ...
15871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15873 2014-06-23  Will Newton  <will.newton@linaro.org>
15874             Wilco  <wdijkstr@arm.com>
15876         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15877         implementation.  Include get-rounding-mode.h.
15878         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15879         [!libc_feholdsetround_noex_ctx]: Define
15880         libc_feholdsetround_noex_ctx.
15881         [!libc_feholdsetround_noexf_ctx]: Define
15882         libc_feholdsetround_noexf_ctx.
15883         [!libc_feholdsetround_noexl_ctx]: Define
15884         libc_feholdsetround_noexl_ctx.
15885         (libc_feholdsetround_ctx): New function.
15886         (libc_feresetround_ctx): New function.
15887         (libc_feholdsetround_noex_ctx): New function.
15888         (libc_feresetround_noex_ctx): New function.
15890 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15892         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15893         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15894         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15895         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15896         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15897         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15899         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15900         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15901         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15902         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15903         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15904         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15906         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15908         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15910         Moved ...
15911         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15912         ... here.
15913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15914         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15916         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15917         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15918         Moved ...
15919         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15921         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15923         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15925         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15927         Moved ...
15928         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15930         Moved ...
15931         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15933         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15934         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15935         Moved ...
15936         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15937         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15938         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15939         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15940         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15941         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15942         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15943         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15944         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15945         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15946         Moved ...
15947         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15948         ... here.
15949         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15950         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15951         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15952         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15954         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15956         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15958         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15960         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15961         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15962         Moved ...
15963         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15965         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15967         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15969         Moved ...
15970         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15972         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15973         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15974         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15976         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15977         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15978         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15979         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15983         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15989         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15991         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15993         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15994         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15995         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15996         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15997         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15998         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15999         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16003         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16005 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16008         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16009         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16010         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16011         (IPV6_PMTUDISC_INTERFACE): Likewise.
16012         (IPV6_PMTUDISC_OMIT): Likewise.
16014 2014-06-23  Andreas Schwab  <schwab@suse.de>
16016         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16017         Remove unused errout label.
16019 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16021         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16022         macro: hardware supports Vector Crypto instructions.
16024 2014-06-23  Will Newton  <will.newton@linaro.org>
16026         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16027         rather than __builtin_expect.
16029         * elf/dl-lookup.c (undefined_msg): Remove variable.
16030         (_dl_lookup_symbol_x): Replace undefined_msg with string
16031         literal.
16033         * elf/dl-lookup.c (do_lookup_unique): New function.
16034         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16035         to a separate function.
16037 2014-06-23  Andreas Schwab  <schwab@suse.de>
16039         [BZ #17079]
16040         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16041         before reading the next line.
16043 2014-06-23  Will Newton  <will.newton@linaro.org>
16045         * test-skeleton.c (signal_handler): Use printf and %m
16046         rather than perror.  Use printf rather than fprintf to
16047         stderr.  Use puts rather than fputs to stderr.
16048         (main): Likewise.
16050 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16052         * nscd/nscd.c (thread_info_t): Remove typedef.
16053         (thread_info): Remove variable.
16055 2014-06-21  Allan McRae  <allan@archlinux.org>
16057         * NEWS: Mention CVE-2014-4043.
16059 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16061         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16062         * nptl/smp.h: ... here.
16064         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16066         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16067         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16068         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16069         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16071         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16072         * nptl/stack-aliasing.h: New file.
16073         * sysdeps/i386/i686/stack-aliasing.h: New file.
16074         * sysdeps/i386/i686/nptl/Makefile: File removed.
16075         * sysdeps/x86_64/stack-aliasing.h: New file.
16076         * sysdeps/x86_64/nptl/Makefile
16077         (CFLAGS-pthread_create.c): Variable removed.
16079         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16080         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16081         old file.
16082         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16083         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16084         old file.
16086 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16088         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16089         (__ASSUME_SIGFRAME_V2): Remove macro.
16090         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16091         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16092         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16093         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16094         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16095         Declare as function.  Remove conditional macro definitions.
16096         (__default_rt_sa_restorer): Likewise.
16097         (__default_sa_restorer_v1): Remove declaration.
16098         (__default_sa_restorer_v2): Likewise.
16099         (__default_rt_sa_restorer_v1): Likewise.
16100         (__default_rt_sa_restorer_v2): Likewise.
16101         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16102         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16103         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16105 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16107         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16108         (libpthread-routines): Add sysdep.
16109         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16110         * sysdeps/unix/sysv/linux/sparc/Versions
16111         (libpthread: GLIBC_2.3.3): New version set.
16112         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16113         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16114         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16115         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16116         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16117         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16118         Moved ...
16119         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16120         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16121         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16123         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16124         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16125         * sysdeps/sparc/nptl/sem_init.c: ... here.
16126         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16127         * sysdeps/sparc/nptl/sem_post.c: ... here.
16128         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16129         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16130         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16131         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16132         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16133         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16134         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16135         (libpthread-routines): Add cpu_relax.
16136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16137         File removed.
16138         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16139         (librt: GLIBC_2.3.3): New version set.
16140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16141         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16142         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16143         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16146         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16148         Moved ...
16149         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16151         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16153         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16155         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16157         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16159         Moved ...
16160         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16161         Update #include.
16162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16163         Moved ...
16164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16165         Update #include.
16166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16167         Moved ...
16168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16169         Update #include.
16170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16171         Moved ...
16172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16173         Update #include.
16174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16175         Moved ...
16176         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16177         Update #include.
16178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16179         Moved ...
16180         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16181         Update #include.
16182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16183         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16187         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16189         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16191         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16193         Moved ...
16194         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16196         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16198         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16200 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16202         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16203         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16204         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16205         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16206         * nscd/nscd.c: Likewise.
16207         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16208         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16209         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16210         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16212         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16213         <kernel-features.h>.
16214         (init_mq_netlink): Remove conditional have_sock_cloexec
16215         definitions.  Remove code conditional on have_sock_cloexec < 0.
16216         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16217         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16218         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16219         <kernel-features.h>.
16220         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16221         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16223 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16226         Add tests for memset_chk and memset.
16228         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16229         with AVX2_Usable.
16231 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16233         [BZ #16046]
16234         * elf/tst-dl-iter-static.c: New file.
16235         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16237         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16238         error.
16240 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16242         * sysdeps/unix/sysv/linux/kernel-features.h
16243         (__ASSUME_F_GETOWN_EX): Remove macro.
16244         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16245         <kernel-features.h>.
16246         (miss_F_GETOWN_EX): Remove variable or macro.
16247         (do_fcntl): Do not check miss_F_GETOWN_EX.
16248         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16250         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16251         Remove macro.
16252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16253         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16254         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16256         * sysdeps/unix/sysv/linux/kernel-features.h
16257         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16258         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16259         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16260         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16262 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16264         [BZ #17075]
16265         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16266         Fix calculation of the symbol's value.
16267         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16268         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16269         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16270         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16271         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16272         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16273         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16274         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16275         (modules-names): Add `tst-armtlsdescmod',
16276         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16277         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16278         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16279         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16280         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16281         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16282         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16283         ($(objpfx)tst-armtlsdescloc): New dependency.
16284         ($(objpfx)tst-armtlsdescextnow): Likewise.
16285         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16286         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16287         TLS scheme support.
16288         * sysdeps/arm/configure: Regenerate.
16290 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16292         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16293         (__atfct_seterrno_2): Likewise.
16294         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16295         <kernel-features.h>.
16296         (__ASSUME_ATFCTS): Do not undefine and redefine.
16297         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16298         (__have_atfcts): Remove conditional definition.
16299         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16300         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16301         unreachable if [__ASSUME_ATFCTS].
16302         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16303         not undefine and redefine.
16304         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16305         <kernel-features.h>.
16306         (faccessat) [__NR_faccessat]: Make code unconditional.
16307         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16308         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16309         <kernel-features.h>.
16310         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16311         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16312         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16313         <kernel-features.h>.
16314         (fchownat) [__NR_fchownat]: Make code unconditional.
16315         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16316         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16317         <kernel-features.h>.
16318         (futimesat) [__NR_futimesat]: Make code unconditional.
16319         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16320         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16321         <kernel-features.h>.
16322         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16324         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16325         <kernel-features.h>.
16326         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16327         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16328         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16329         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16330         <kernel-features.h>.
16331         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16332         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16333         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16334         <kernel-features.h>.
16335         (linkat) [__NR_linkat]: Make code unconditional.
16336         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16337         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16338         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16339         <kernel-features.h>.
16340         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16341         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16342         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16343         <kernel-features.h>.
16344         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16345         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16346         * sysdeps/unix/sysv/linux/openat.c: Do not include
16347         <kernel-features.h>.
16348         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16349         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16350         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16351         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16352         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16353         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16354         <kernel-features.h>.
16355         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16356         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16357         result of INLINE_SYSCALL directly, not via int variable.
16358         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16359         <kernel-features.h>.
16360         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16361         (renameat) [__NR_renameat]: Make code unconditional.
16362         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16363         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16364         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16366         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16367         (__ASSUME_ATFCTS): Do not undefine and redefine.
16368         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16369         <kernel-features.h>.
16370         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16371         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16372         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16373         <kernel-features.h>.
16374         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16375         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16376         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16377         (__ASSUME_ATFCTS): Do not undefine and redefine.
16378         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16379         <kernel-features.h>.
16380         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16381         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16382         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16383         <kernel-features.h>.
16384         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16385         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16387 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16389         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16391 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16393         [BZ #17069]
16394         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16395         constructed tree before returning error.
16396         * posix/bug-regexp36.c: Expand test case.
16398 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16400         [BZ #6803]
16401         * math/libm-test.inc (scalbln_test_date):
16402         Add errno expectations.
16403         * math/w_scalblnf.c: New File.
16404         Add wrapper which checks for setting errno to ERANGE.
16405         Add weak_alias for corresponding scalbln function.
16406         * math/w_scalbln.c: Likewise.
16407         * math/w_scalblnl.c: Likewise.
16408         * math/Makefile (libm-calls): Add w_scalbln.
16409         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16410         Remove weak_alias for corresponding scalbln function.
16411         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16412         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16414         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16415         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16416         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16417         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16418         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16419         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16420         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16421         Remove long_double_symbol for scalblnl function in libm, libc.
16422         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16423         Add wrapper which checks for setting errno to ERANGE.
16424         Add long_double_symbol for scalblnl function in libm, libc.
16425         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16426         Remove long_double_symbol for scalblnl in libm.
16427         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16428         Add wrapper which checks for setting errno to ERANGE.
16429         Add long_double_symbol for scalblnl function in libm.
16430         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16431         Do not use wrapper because of own implementation.
16433 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16435         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16436         3 bytes for __pad1 for x32.
16437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16439 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16440             H.J. Lu  <hongjiu.lu@intel.com>
16442         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16443         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16444         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16445         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16446         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16448 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16450         [BZ #17069]
16451         * posix/regcomp.c (parse_expression): Deallocate partially
16452         constructed tree before returning error.
16453         * posix/Makefile.c (tests): Add bug-regex36.
16454         (generated): Add bug-regex36.mtrace.
16455         (tests-special): Add $(objpfx)bug-regex36-mem.out
16456         (bug-regex36-ENV): New variable.
16457         ($(objpfx)bug-regex36-mem.out): New rule.
16458         * posix/bug-regex36.c: New file.
16460 2014-06-19  Will Newton  <will.newton@linaro.org>
16462         * malloc/malloc.c (systrim): If extra is zero then return
16463         early.
16465 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16467         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16469 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16471         * sysdeps/aarch64/strchr.S: New file.
16473 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #17022]
16476         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16477         from arguments -2 or below.
16478         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16479         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16481 2014-06-18  Andreas Schwab  <schwab@suse.de>
16483         [BZ #17062]
16484         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16485         of a bracket expr not to run off the end of the string.
16486         * posix/Makefile (tests): Add tst-fnmatch3.
16487         * posix/tst-fnmatch3.c: New file.
16489 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16491         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16492         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16493         [$(cross-compiling) = no]: Likewise.
16494         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16495         [$(cross-compiling) = no]: Likewise.
16497 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16499         [BZ #17031]
16500         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16501         double, adjusted for any remainder from the high double.
16502         * math/libm-test.inc (nearbyint): Add tests.
16503         (rint): Likewise.
16505 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16507         * nptl/sysdeps/powerpc/Makefile: Moved ...
16508         * sysdeps/powerpc/nptl/Makefile: ... here.
16509         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16510         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16511         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16512         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16513         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16514         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16515         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16516         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16517         * nptl/sysdeps/powerpc/tls.h: Moved ...
16518         * sysdeps/powerpc/nptl/tls.h: ... here.
16520 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16522         [BZ #16681]
16523         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16524         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16525         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16526         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16527         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16528         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16529         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16530         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16531         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16533 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16535         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16537 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16539         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16540         defined operator.
16542         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16543         $TIMEOUTFACTOR.
16545 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16547         [BZ #17058]
16548         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16549         non-executed part of the test.
16551 2014-06-16  Andreas Schwab  <schwab@suse.de>
16553         * string/bits/string2.h (strdup, strndup): Update feature guard.
16555 2014-06-14  David S. Miller  <davem@davemloft.net>
16557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16559 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16561         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16562         that was previously under [RESET_PID].
16563         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16565         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16566         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16567         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16568         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16569         (__libc_vfork): New strong alias.
16570         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16572 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16574         * sysdeps/generic/elide.h: New file.
16576 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16578         * Makefile (installed-headers): Adjust path of pthread.h header.
16580 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16582         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16583         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16585         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16587         * nptl/sysdeps/s390/Makefile: Moved ...
16588         * sysdeps/s390/nptl/Makefile: ... here.
16589         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16590         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16591         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16592         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16593         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16594         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16595         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16596         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16597         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16598         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16599         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16600         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16601         * nptl/sysdeps/s390/tls.h: Moved ...
16602         * sysdeps/s390/nptl/tls.h: ... here.
16604         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16605         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16607 2014-06-13  David S. Miller  <davem@davemloft.net>
16609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16612         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16616         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16617         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16618         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16619         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16620         Remove RESET_PID cpp guards.
16621         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16622         Remove RESET_PID cpp guards.
16623         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16625 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16627         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16628         __sp to uintptr_t.
16630 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16633         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16634         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16635         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16636         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16637         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16638         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16639         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16640         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16642         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16643         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16644         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16645         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16647         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16648         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16650         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16653         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16654         (pthread_rwlock_rdlock): Add elision.
16655         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16656         (pthread_rwlock_wrlock): Add elision.
16657         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16658         (pthread_rwlock_trywrlock): Add elision.
16659         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16660         (pthread_rwlock_tryrdlock): Add elision.
16661         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16662         (pthread_rwlock_tryrdlock): Add elision unlock.
16663         * nptl/sysdeps/pthread/pthread.h:
16664         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16665         (PTHREAD_RWLOCK_INITIALIZER,
16666         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16667         Handle new elision field.
16668         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16669         * sysdeps/arm/nptl/bits/pthreadtypes.h
16670         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16671         * sysdeps/sh/nptl/bits/pthreadtypes.h
16672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16673         * sysdeps/tile/nptl/bits/pthreadtypes.h
16674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16675         * sysdeps/a/nptl/bits/pthreadtypes.h
16676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16677         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16679         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16681         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16682         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16683         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16685         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16687         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16689         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16691         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16693         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16694         (elision_init): Set try_xbegin to zero when no RTM.
16695         * sysdeps/x86/nptl/bits/pthreadtypes.h
16696         (pthread_rwlock_t): Change __pad1 to __rwelision.
16697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16699 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16701         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16702         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16703         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16704         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16706 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16708         [BZ #16996]
16709         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16710         that the cached result has been set before returning it.
16712 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16714         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16715         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16716         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16717         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16718         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16719         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16721         * nptl/sysdeps/sparc/Makefile: Moved ...
16722         * sysdeps/sparc/nptl/Makefile: ... here.
16723         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16724         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16725         * nptl/sysdeps/sparc/tls.h: Moved ...
16726         * sysdeps/sparc/nptl/tls.h: ... here.
16727         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16728         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16729         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16730         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16731         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16732         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16733         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16734         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16735         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16736         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16737         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16738         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16739         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16740         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16741         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16742         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16743         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16744         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16745         Update #include.
16746         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16747         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16748         Update #include.
16749         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16751         Update #include.
16752         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16753         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16754         Update #include.
16756         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16758         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16759         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16761         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16762         (struct list_links): Type removed.
16763         (struct thread_node, struct timer_node): Replace struct list_links
16764         with struct list_head.
16765         (list_unlink_ip): Likewise.
16766         * sysdeps/pthread/timer_routines.c
16767         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16768         (list_append, list_insbefore): Likewise.
16769         (list_init): Function removed.
16770         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16771         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16772         * sysdeps/pthread/Makefile: ... here, new file.
16774         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16775         * sysdeps/nptl/Implies: ... here.
16776         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16777         * nptl/sysdeps/pthread/list.h: Moved ...
16778         * include/list.h: ... here.
16779         * nptl/sysdeps/pthread/createthread.c: Moved ...
16780         * nptl/createthread.c: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16782         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16783         * nptl/pt-longjmp.c: ... here.
16784         * nptl/sysdeps/pthread/Makefile: Moved ...
16785         * sysdeps/nptl/Makefile: ... here.
16786         * nptl/sysdeps/pthread/Subdirs: Moved ...
16787         * sysdeps/nptl/Subdirs: ... here.
16788         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16789         * sysdeps/nptl/aio_misc.h: ... here.
16790         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16791         * sysdeps/nptl/bits/libc-lock.h: ... here.
16792         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16793         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16794         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16795         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16796         * nptl/sysdeps/pthread/configure: Moved ...
16797         * sysdeps/nptl/configure: ... here.
16798         * nptl/sysdeps/pthread/configure.ac: Moved ...
16799         * sysdeps/nptl/configure.ac: ... here.
16800         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16801         * sysdeps/nptl/gai_misc.h: ... here.
16802         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16803         * sysdeps/nptl/librt-cancellation.c: ... here.
16804         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16805         * sysdeps/nptl/malloc-machine.h: ... here.
16806         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16807         * sysdeps/nptl/pthread-functions.h: ... here.
16808         * nptl/sysdeps/pthread/pthread.h: Moved ...
16809         * sysdeps/nptl/pthread.h: ... here.
16810         * nptl/sysdeps/pthread/setxid.h: Moved ...
16811         * sysdeps/nptl/setxid.h: ... here.
16812         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16813         * sysdeps/nptl/sigfillset.c: ... here.
16814         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16815         * sysdeps/nptl/tcb-offsets.h: ... here.
16816         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16817         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16818         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16819         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16820         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16821         * sysdeps/pthread/allocalim.h: ... here.
16822         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16823         * sysdeps/pthread/bits/sigthread.h: ... here.
16824         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16825         * sysdeps/pthread/flockfile.c: ... here.
16826         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16827         * sysdeps/pthread/ftrylockfile.c: ... here.
16828         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16829         * sysdeps/pthread/funlockfile.c: ... here.
16830         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16831         * sysdeps/pthread/posix-timer.h: ... here.
16832         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16833         * sysdeps/pthread/timer_create.c: ... here.
16834         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16835         * sysdeps/pthread/timer_delete.c: ... here.
16836         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16837         * sysdeps/pthread/timer_getoverr.c: ... here.
16838         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16839         * sysdeps/pthread/timer_gettime.c: ... here.
16840         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16841         * sysdeps/pthread/timer_routines.c: ... here.
16842         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16843         * sysdeps/pthread/timer_settime.c: ... here.
16844         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16845         * sysdeps/pthread/tst-timer.c: ... here.
16846         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16847         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16849         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16850         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16852         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16853         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16854         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16855         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16856         Update #include target.
16857         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16858         * sysdeps/i386/i686/nptl/Makefile: ... here.
16859         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16860         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16861         Update #include target.
16862         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16863         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16864         * nptl/sysdeps/i386/Makefile: Moved ...
16865         * sysdeps/i386/nptl/Makefile: ... here.
16866         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16867         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16868         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16869         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16870         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16871         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16872         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16873         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16874         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16875         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16876         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16877         * nptl/sysdeps/i386/tls.h: Moved ...
16878         * sysdeps/i386/nptl/tls.h: ... here.
16880         * sysdeps/sh/Makefile [$(subdir) = csu]
16881         (gen-as-const-headers): Add tcb-offsets.sym.
16882         * nptl/sysdeps/sh/Makefile: File removed.
16883         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16884         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16885         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16886         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16887         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16888         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16889         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16890         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16891         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16892         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16893         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16894         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16895         * nptl/sysdeps/sh/tls.h: Moved ...
16896         * sysdeps/sh/nptl/tls.h: ... here.
16897         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16898         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16899         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16900         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16901         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16902         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16903         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16904         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16905         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16906         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16907         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16908         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16909         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16910         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16911         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16912         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16914         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16915         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16916         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16917         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16918         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16919         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16920         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16921         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16922         Moved ...
16923         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16925         Moved ...
16926         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16928         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16929         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16931         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16932         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16933         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16934         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16935         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16936         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16937         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16938         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16939         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16940         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16941         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16942         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16943         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16944         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16946 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16948         * posix/spawn_faction_addopen.c: Include string.h.
16950 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16952         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16953         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16954         * nptl/sysdeps/x86_64/Makefile: Moved ...
16955         * sysdeps/x86_64/nptl/Makefile: ... here.
16956         * nptl/sysdeps/x86_64/configure: Moved ...
16957         * sysdeps/x86_64/nptl/configure: ... here.
16958         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16959         * sysdeps/x86_64/nptl/configure.ac: ... here.
16960         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16961         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16962         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16963         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16964         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16965         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16966         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16967         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16968         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16969         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16970         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16971         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16972         * nptl/sysdeps/x86_64/tls.h: Moved ...
16973         * sysdeps/x86_64/nptl/tls.h: ... here.
16974         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16975         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16976         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16977         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16979         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16981 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16985 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16987         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16988         type.
16989         [POSIX] (off_t): Likewise.
16990         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16991         [POSIX] (S_ISBLK): Require macro.
16992         [POSIX] (S_ISCHR): Likewise.
16993         [POSIX] (S_ISDIR): Likewise.
16994         [POSIX] (S_ISFIFO): Likewise.
16995         [POSIX] (S_ISREG): Likewise.
16996         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16997         optional-macro.
16998         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16999         type.
17000         [POSIX] (time_t): Likewise.
17001         [POSIX] (timer_t): Likewise.
17003 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17005         [BZ #17048]
17006         * posix/spawn_int.h (struct __spawn_action): Make the path string
17007         non-const to support deallocation.
17008         * posix/spawn_faction_addopen.c
17009         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17010         * posix/spawn_faction_destroy.c
17011         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17012         path in all spawn_do_open actions.
17013         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17014         posix_spawn_file_actions_addopen.
17016 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17018         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17019         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17020         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17021         conditional code always true.
17022         (__libc_vfork): New alias.
17024 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17026         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17027         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17029         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17031         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17032         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17034         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17035         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17037         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17038         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17040 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17042         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17043         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17044         multiarch strcmp for PPC64.
17045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17046         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17048         multiarch optimizations.
17049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17050         (__libc_ifunc_impl_list): Likewise.
17052 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17054         * benchtests/scripts/validate_benchout.py: New script.
17055         * benchtests/Makefile (bench-func): Call it.
17056         * benchtests/scripts/benchout.schema.json: New file.
17058 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17060         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17061         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17062         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17063         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17064         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17065         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17066         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17067         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17068         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17069         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17070         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17071         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17072         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17073         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17074         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17075         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17077         Moved ...
17078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17079         ... here.
17080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17081         Moved ...
17082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17084         Moved ...
17085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17086         ... here.
17087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17088         Moved ...
17089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17090         ... here.
17091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17092         Moved ...
17093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17095         Moved ...
17096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17097         ... here.
17098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17099         Moved ...
17100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17101         ... here.
17102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17103         Moved ...
17104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17106         Moved ...
17107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17108         ... here.
17109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17110         Moved ...
17111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17112         ... here.
17113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17114         Moved ...
17115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17116         ... here.
17117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17118         Moved ...
17119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17121         Moved ...
17122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17123         ... here.
17124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17125         Moved ...
17126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17127         ... here.
17128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17129         Moved ...
17130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17131         ... here.
17132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17133         Moved ...
17134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17136         Moved ...
17137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17138         ... here.
17139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17140         Moved ...
17141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17142         ... here.
17143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17144         Moved ...
17145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17147         Moved ...
17148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17149         ... here.
17150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17151         Moved ...
17152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17154         Moved ...
17155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17157         Moved ...
17158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17159         ... here.
17160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17161         Moved ...
17162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17163         ... here.
17164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17165         Moved ...
17166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17167         ... here.
17168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17169         Moved ...
17170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17172         Moved ...
17173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17174         ... here.
17175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17176         Moved ...
17177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17178         ... here.
17179         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17180         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17181         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17182         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17183         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17184         Moved ...
17185         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17186         ... here.
17187         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17188         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17190         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17192         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17194         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17195         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17196         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17198         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17200         Moved ...
17201         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17203         Moved ...
17204         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17206         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17207         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17208         Moved ...
17209         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17211         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17212         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17213         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17214         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17215         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17217 2014-06-10  Wilco  <wdijkstr@arm.com>
17219         * math/test-fenv-return.c: New file.
17220         * math/Makefile: Add new test test-fenv-return.
17222 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17224         [BZ #17042]
17225         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17226         when x - 1 is zero.
17227         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17228         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17229         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17230         0.0L for an argument of 1.0L.
17231         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17232         Likewise.
17233         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17234         value when x - 1 is zero.
17235         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17236         * sysdeps/i386/fpu/libm-test-ulps: Update.
17237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17239 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17241         [BZ #15119]
17242         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17244 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17246         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17247         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17249 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17251         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17252         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17254         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17255         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17257         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17258         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17260         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17261         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17263         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17264         if not already defined.
17265         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17266         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17267         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17268         (TLS_INIT_TP): Use it.
17269         (TLS_DEFINE_INIT_TP): New macro.
17270         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17272 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17274         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17275         constant.
17276         [POSIX] (IXANY): Likewise.
17277         [POSIX] (OLCUC): Likewise.
17278         [POSIX || POSIX2008] (CBAUD): Do not allow.
17279         [POSIX || POSIX2008] (DEFECHO): Likewise.
17280         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17281         [POSIX || POSIX2008] (ECHOKE): Likewise.
17282         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17283         [POSIX || POSIX2008] (EXTA): Likewise.
17284         [POSIX || POSIX2008] (EXTB): Likewise.
17285         [POSIX || POSIX2008] (FLUSHO): Likewise.
17286         [POSIX || POSIX2008] (LOBLK): Likewise.
17287         [POSIX || POSIX2008] (PENDIN): Likewise.
17288         [POSIX || POSIX2008] (SWTCH): Likewise.
17289         [POSIX || POSIX2008] (VDISCARD): Likewise.
17290         [POSIX || POSIX2008] (VDSUSP): Likewise.
17291         [POSIX || POSIX2008] (VLNEXT): Likewise.
17292         [POSIX || POSIX2008] (VREPRINT): Likewise.
17293         [POSIX || POSIX2008] (VSTATUS): Likewise.
17294         [POSIX || POSIX2008] (VWERASE): Likewise.
17295         (B*): Change to B[0123456789]*.
17296         * conform/data/time.h-data [POSIX || UNIX98]
17297         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17298         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17299         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17300         [POSIX] (tm_*): Do not allow.
17302 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17304         * Makefile (install): Don't set LANGUAGE.
17305         * Makefile.in (install): Likewise.
17306         * assert/Makefile (test-assert-ENV): Remove variable.
17307         (test-assert-perr-ENV): Likewise.
17308         * elf/Makefile (neededtest4-ENV): Likewise.
17309         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17310         [$(cross-compiling) = no]: Don't set LANGUAGE.
17311         * io/ftwtest-sh (LANG): Remove variable.
17312         * libio/Makefile (tst-widetext-ENV): Likewise.
17313         * manual/install.texi (Running make install): Don't refer to
17314         environment settings for make install.
17315         * INSTALL: Regenerated.
17316         * nptl/tst-tls6.sh: Don't set LANG.
17317         * posix/globtest.sh (LANG): Remove variable.
17318         * string/Makefile (tester-ENV): Likewise.
17319         (inl-tester-ENV): Likewise.
17320         (noinl-tester-ENV): Likewise.
17321         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17322         [$(cross-compiling) = no]: Don't set LANGUAGE.
17323         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17324         without explicit environment settings.
17326 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17328         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17329         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17330         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17331         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17333 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17335         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17336         other files in the crypt directory.
17337         * crypt/crypt.c: Remove duplicate includes.
17338         * crypt/crypt-entry.c: Likewise.
17339         * crypt/crypt_util.c: Likewise.
17341 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17343         * Makeconfig (run-program-env): New variable.
17344         (run-program-prefix-before-env): Likewise.
17345         (run-program-prefix-after-env): Likewise.
17346         (run-program-prefix): Define in terms of new variables.
17347         (built-program-cmd-before-env): New variable.
17348         (built-program-cmd-after-env): Likewise.
17349         (built-program-cmd): Define in terms of new variables.
17350         (test-program-prefix-before-env): New variable.
17351         (test-program-prefix-after-env): Likewise.
17352         (test-program-prefix): Define in terms of new variables.
17353         (test-program-cmd-before-env): New variable.
17354         (test-program-cmd-after-env): Likewise.
17355         (test-program-cmd): Define in terms of new variables.
17356         * Rules (make-test-out): Use $(run-program-env).
17357         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17358         (help): Do not mention environment variables.  Mention
17359         --timeoutfactor option.
17360         (timeoutfactor): New variable.
17361         (blacklist_exports): Remove function.
17362         (exports): Remove variable.
17363         (command): Do not include ${exports}.
17364         * manual/install.texi (Configuring and compiling): Do not mention
17365         test wrappers preserving environment variables.  Mention that last
17366         assignment to a variable must take precedence.
17367         * INSTALL: Regenerated.
17368         * benchtests/Makefile (run-bench): Use $(run-program-env).
17369         * catgets/Makefile ($(objpfx)test1.cat): Use
17370         $(built-program-cmd-before-env), $(run-program-env) and
17371         $(built-program-cmd-after-env).
17372         ($(objpfx)test2.cat): Do not specify environment variables
17373         explicitly.
17374         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17375         $(run-program-env) and $(built-program-cmd-after-env).
17376         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17377         $(run-program-env) and $(test-program-cmd-after-env).
17378         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17379         explicitly.
17380         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17381         run_program_env and test_program_cmd_after_env arguments.
17382         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17383         * elf/tst-pathopt.sh: Use run_program_env argument.
17384         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17385         $(test-wrapper-env) and $(run-program-env).
17386         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17387         run_program_env arguments.
17388         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17389         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17390         $(test-program-prefix-before-env), $(run-program-env) and
17391         $(test-program-prefix-after-env).
17392         ($(objpfx)tst-gettext2.out): Likewise.
17393         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17394         run_program_env and test_program_prefix_after_env arguments.
17395         * intl/tst-gettext2.sh: Likewise.
17396         * intl/tst-gettext4.sh: Do not set environment variables
17397         explicitly.
17398         * intl/tst-gettext6.sh: Likewise.
17399         * intl/tst-translit.sh: Likewise.
17400         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17401         $(test-program-prefix-before-env), $(run-program-env) and
17402         $(test-program-prefix-after-env).
17403         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17404         run_program_env and test_program_prefix_after_env arguments.
17405         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17406         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17407         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17408         explicitly with each use of ${test_wrapper_env}.
17409         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17410         $(test-program-prefix-before-env), $(run-program-env) and
17411         $(test-program-prefix-after-env).
17412         * posix/tst-getconf.sh: Do not set environment variables
17413         explicitly.
17414         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17415         run_program_env and test_program_prefix_after_env arguments.
17416         * stdio-common/tst-printf.sh: Do not set environment variables
17417         explicitly.
17418         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17419         $(test-program-prefix-before-env), $(run-program-env) and
17420         $(test-program-prefix-after-env).
17421         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17422         run_program_env and test_program_prefix_after_env arguments.
17423         Split $test calls into $test_pre and $test.
17424         * timezone/Makefile (build-testdata): Use
17425         $(built-program-cmd-before-env), $(run-program-env) and
17426         $(built-program-cmd-after-env).
17428 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17430         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17431         strlen for non SHARED builds.
17433 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17435         * nptl/allocatestack.c (check_list): Inlined function...
17436         (__reclaim_stacks): ... here.
17438 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17440         [BZ #15698]
17441         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17442         memory overrun.
17444 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17446         * Rules (make-test-out): Include
17447         LOCPATH=$(common-objpfx)localedata in default environment.
17448         * debug/Makefile (tst-chk1-ENV): Remove variable.
17449         (tst-chk2-ENV): Likewise.
17450         (tst-chk3-ENV): Likewise.
17451         (tst-chk4-ENV): Likewise.
17452         (tst-chk5-ENV): Likewise.
17453         (tst-chk6-ENV): Likewise.
17454         (tst-lfschk1-ENV): Likewise.
17455         (tst-lfschk2-ENV): Likewise.
17456         (tst-lfschk3-ENV): Likewise.
17457         (tst-lfschk4-ENV): Likewise.
17458         (tst-lfschk5-ENV): Likewise.
17459         (tst-lfschk6-ENV): Likewise.
17460         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17461         (tst-iconv7-ENV): Likewise.
17462         * intl/Makefile (LOCPATH-ENV): Likewise.
17463         (tst-codeset-ENV): Likewise.
17464         (tst-gettext3-ENV): Likewise.
17465         (tst-gettext5-ENV): Likewise.
17466         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17467         (tst-fopenloc-ENV): Likewise.
17468         (tst-fgetws-ENV): Remove variable.
17469         (tst-ungetwc1-ENV): Likewise.
17470         (tst-ungetwc2-ENV): Likewise.
17471         (bug-ungetwc2-ENV): Likewise.
17472         (tst-swscanf-ENV): Likewise.
17473         (bug-ftell-ENV): Likewise.
17474         (tst-fgetwc-ENV): Likewise.
17475         (tst-fseek-ENV): Likewise.
17476         (tst-ftell-partial-wide-ENV): Likewise.
17477         (tst-ftell-active-handler-ENV): Likewise.
17478         (tst-ftell-append-ENV): Likewise.
17479         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17480         (tst-regexloc-ENV): Likewise.
17481         (bug-regex1-ENV): Likewise.
17482         (tst-regex-ENV): Likewise.
17483         (tst-regex2-ENV): Likewise.
17484         (bug-regex5-ENV): Likewise.
17485         (bug-regex6-ENV): Likewise.
17486         (bug-regex17-ENV): Likewise.
17487         (bug-regex18-ENV): Likewise.
17488         (bug-regex19-ENV): Likewise.
17489         (bug-regex20-ENV): Likewise.
17490         (bug-regex22-ENV): Likewise.
17491         (bug-regex23-ENV): Likewise.
17492         (bug-regex25-ENV): Likewise.
17493         (bug-regex26-ENV): Likewise.
17494         (bug-regex30-ENV): Likewise.
17495         (bug-regex32-ENV): Likewise.
17496         (bug-regex33-ENV): Likewise.
17497         (bug-regex34-ENV): Likewise.
17498         (bug-regex35-ENV): Likewise.
17499         (tst-rxspencer-ENV): Likewise.
17500         (tst-rxspencer-no-utf8-ENV): Likewise.
17501         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17502         (tst-sscanf-ENV): Likewise.
17503         (tst-swprintf-ENV): Likewise.
17504         (tst-swscanf-ENV): Likewise.
17505         (test-vfprintf-ENV): Likewise.
17506         (scanf13-ENV): Likewise.
17507         (bug14-ENV): Likewise.
17508         (tst-grouping-ENV): Likewise.
17509         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17510         (tst-strtod3-ENV): Likewise.
17511         (tst-strtod4-ENV): Likewise.
17512         (tst-strtod5-ENV): Likewise.
17513         (testmb2-ENV): Likewise./
17514         * string/Makefile (tst-strxfrm-ENV): Likewise.
17515         (tst-strxfrm2-ENV): Likewise.
17516         (bug-strcoll1-ENV): Likewise.
17517         (test-strcasecmp-ENV): Likewise.
17518         (test-strncasecmp-ENV): Likewise.
17519         * time/Makefile (tst-strptime-ENV): Likewise.
17520         (tst-ftime_l-ENV): Likewise.
17521         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17522         (tst-mbrtowc-ENV): Likewise.
17523         (tst-wcrtomb-ENV): Likewise.
17524         (tst-mbrtowc2-ENV): Likewise.
17525         (tst-c16c32-1-ENV): Likewise.
17526         (tst-mbsnrtowcs-ENV): Likewise.
17528 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17530         * manual/resource.texi (How to get information about the memory
17531         subsystem?): Fix typo.
17532         Reported by Peon de la Parra Ivan <peon@keba.com>
17534 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17536         [BZ #16882]
17537         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17538         (pthread_spin_lock): Branch out of spin loop to proper location.
17539         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17540         (pthread_spin_lock): Likewise.
17542         * nptl/tst-spin4.c: New test.
17543         * nptl/Makefile (tests): Add tst-spin4.
17545 2014-06-03  Andreas Schwab  <schwab@suse.de>
17547         [BZ #15946]
17548         * resolv/res_send.c (send_dg): Reload file descriptor after
17549         calling reopen.
17551 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17553         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17555 2014-06-03  Richard Henderson  <rth@redhat.com>
17557         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17558         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17559         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17560         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17561         in the SAVE_PID block.
17562         (__libc_vfork): New alias.
17563         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17565         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17566         child in registers, not on the stack.  Remove RESET_PID conditionals.
17567         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17569 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17571         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17573 2014-06-03  Wilco  <wdijkstr@arm.com>
17575         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17576         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17577         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17578         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17579         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17580         Likewise.
17582 2014-06-03  Wilco  <wdijkstr@arm.com>
17584         * sysdeps/aarch64/fpu/math_private.h
17585         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17586         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17587         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17588         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17589         Fix declarations.
17591 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17593         * crypt/crypt-private.h: Include ufc-crypt.h.
17594         (__b64_from_24bit): Declare extern.
17595         * crypt/crypt_util.c(__b64_from_24bit): New function.
17596         (b64t): New static const variable.
17597         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17598         (b64t): Remove variable.
17599         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17600         * crypt/sha256-crypt.c: Include crypt-private.h.
17601         (b64t): Remove variable.
17602         (__sha256_crypt_r): Remove b64_from_24bit and replace
17603         with __b64_from_24bit.
17604         * crypt/sha512-crypt.c: Likewise.
17606 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17608         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17609         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17610         Label the code __libc_vfork rather than __vfork.
17611         [!NOT_IN_libc] (vfork): Define as weak alias.
17612         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17613         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17614         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17616 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17618         * malloc/malloc.c (malloc_info): Fix format specifier for
17619         n_mmaps.
17621 2014-06-02  Wilco  <wdijkstr@arm.com>
17623         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17624         FPCR write.
17626 2014-06-02  Wilco  <wdijkstr@arm.com>
17628         [BZ #17009]
17629         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17630         Rewrite to reduce FPCR/FPSR accesses.
17632 2014-06-01  David S. Miller  <davem@davemloft.net>
17634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17636 2014-05-31  David S. Miller  <davem@davemloft.net>
17638         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17639         to occur in round to nearest mode when |x| >= 2.0
17641 2014-05-30  Richard Henderson  <rth@twiddle.net>
17643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17644         (PSEUDO_RET_NOERRNO): Remove.
17645         (ret): Don't redefine.
17646         (ret_NOERRNO): Define in terms of ret.
17647         (ret_ERRVAL): Likewise.
17649         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17650         use of PSEUDO_RET; perform the error check directly.
17652 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17654         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17655         with __int128_t.
17657 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17659         * malloc/malloc (malloc_info): Fix formatting.
17661 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17662             Roland McGrath  <roland@hack.frob.com>
17664         * malloc/malloc (malloc_info): Also print mmapped statistics.
17666 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17668         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17669         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17671 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17673         * malloc/malloc.c (malloc_info): Inline mi_arena.
17675 2014-05-29  Richard Henderson  <rth@twiddle.net>
17677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17678         Remove comma before expanding ASM_ARGS_##nr.
17679         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17680         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17681         of ASM_ARGS_##nr.
17682         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17683         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17684         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17685         (ASM_ARGS_1): Add leading comma.
17687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17688         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17689         to __errno_location.
17690         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17691         Remove the expected plt for __errno_location.
17693         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17694         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17695         call to __read_tp.
17697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17698         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17699         it and break it down.
17700         (DOCARGS_0, DOCARGS_1): Do nothing.
17701         (DOCARGS_2): Update to store into the new stack frame.
17702         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17703         (UNDOCARGS_1): Update to restore from the new stack frame.
17704         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17705         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17708         (SINGLE_THREAD_P): New parameter for result regno.
17709         (PSEUDO): Update to match; use cbz instead of beq.
17711         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17712         Use ENTRY to define the _nocancel entry point.  Share the syscall
17713         and syscall error check paths with the cancel path.
17714         (PSEUDO_END): New.
17716         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17717         whitespace; tabs before and after asm mnemonics.
17719 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17721         [BZ #15132]
17722         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17723         Call fstat64 or stat64 internally, depending on arguments passed.
17724         Replace stat buffer argument with file descriptor argument.
17725         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17726         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17727         Pass fd to __internal_statvfs instead of calling fstat64.
17728         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17729         Pass fd to __internal_statvfs64 instead of calling fstat64.
17730         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17731         Pass -1 to __internal_statvfs instead of calling stat64.
17732         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17733         Pass -1 to __internal_statvfs64 instead of calling stat64.
17735 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17737         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17738         that was previously under [RESET_PID].
17739         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17741         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17742         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17744 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17746         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17748         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17749         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17751 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17753         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17755 2014-05-27  Andreas Schwab  <schwab@suse.de>
17757         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17758         TLS_INIT_TP macro.
17759         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17760         * elf/rtld.c (init_tls, dl_main): Likewise.
17761         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17762         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17763         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17764         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17765         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17766         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17767         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17768         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17769         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17770         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17771         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17772         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17773         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17774         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17775         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17776         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17777         * sysdeps/generic/tls.h: Update description.
17779 2014-05-27  Will Newton  <will.newton@linaro.org>
17781         [BZ #16990]
17782         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17783         and restore r2 rather than just restoring.
17785 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17787         [BZ #16724]
17788         * libio/tst-ftell-append.c: New test case.
17789         * libio/Makefile (tests): Add test case.
17790         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17791         append mode.
17792         * libio/wfileops.c (do_ftell_wide): Likewise.
17794 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17798         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17799         ...
17800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17802         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17803         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17805         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17806         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17807         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17808         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17809         Moved ...
17810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17812         Moved ...
17813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17815         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17817         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17819         ...
17820         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17822         Moved ...
17823         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17824         here.
17825         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17826         ...
17827         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17828         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17829         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17832         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17834         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17837         merge into ...
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17840         ...
17841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17843         ...
17844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17846         Moved ...
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17848         here.
17849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17850         Moved ...
17851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17853         Moved ...
17854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17857         conditional [RESET_PID].
17858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17860         removed.
17861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17862         removed.
17864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17865         <tcb-offsets.h>.
17866         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17867         (__libc_vfork): New strong alias.
17868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17869         removed.
17870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17871         Removed.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17874         <tcb-offsets.h>.
17875         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17876         (__libc_vfork): New strong alias.
17877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17878         removed.
17879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17880         removed.
17882 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17884         * malloc/malloc.c (mi_arena): New function.
17885         (malloc_info): Remove nested function mi_arena. Call non-nosted
17886         function mi_arena.
17888 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17891         by insrwi.
17892         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17893         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17894         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17895         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17896         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17897         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17898         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17900 2014-05-26  Andreas Schwab  <schwab@suse.de>
17902         [BZ #16984]
17903         * locale/programs/repertoire.c (repertoire_read): Add slash
17904         between I18NPATH element and file name.
17905         * locale/programs/locfile.c (locfile_read): Likewise.
17907 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17909         * nptl/pthread_mutexattr_settype.c
17910         (__pthread_mutexattr_settype):
17911         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17913 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17915         * nptl/tst-mutex5 (do_test):
17916         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17918 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17920         * benchtests/README: Document 'init' directive.
17921         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17922         BENCH_INIT.
17923         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17924         (parse_file): Recognize 'init' directive.
17926 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17928         [BZ #16796]
17929         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17930         alignment of struct pthread.
17932 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17934         [BZ #16878]
17935         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17936         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17937         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17938         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17940 2014-05-25  Richard Henderson  <rth@twiddle.net>
17942         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17943         (SINGLE_THREAD_P_PIC): Remove.
17944         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17945         (SINGLE_THREAD_P_PIC): Remove.
17947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17948         branch to syscall error ...
17949         (PSEUDO): ... here.
17950         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17951         from __local_syscall_error to .Lsyscall_error.
17952         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17953         (SYSCALL_ERROR): Update label name.
17955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17956         Do not use DOARGS/UNDOARGS.
17957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17958         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17959         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17960         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17961         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17964         block comment.
17966         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17967         define if !NOT_IN_libc.
17968         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17969         define with non-default symbol versions.
17971 2014-05-23  Richard Henderson  <rth@twiddle.net>
17973         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17974         (vfork, __vfork): Define via compat_symbol.
17976         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17977         [!HAVE_IFUNC] (vfork_compat): Remove.
17978         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17980 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #16978]
17983         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17984         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17985         variable.
17987 2014-05-23  Richard Henderson  <rth@twiddle.net>
17989         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17990         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17991         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17992         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17994         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17995         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17996         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17997         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17998         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17999         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18000         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18001         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18002         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18003         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18004         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18005         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18006         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18007         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18008         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18009         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18010         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18011         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18012         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18013         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18014         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18015         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18016         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18017         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18018         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18019         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18020         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18021         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18022         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18023         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18024         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18025         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18026         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18027         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18028         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18029         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18030         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18031         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18032         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18033         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18034         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18035         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18036         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18037         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18038         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18039         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18040         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18041         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18042         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18043         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18044         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18045         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18046         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18047         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18048         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18049         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18051         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18052         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18053         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18054         before exiting on error.
18055         (__libc_vfork): New strong alias.
18056         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18057         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18059         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18060         that was previously under [RESET_PID].
18061         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18063         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18065 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18067         [BZ #16977]
18068         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18069         value when x - 1 is zero.
18070         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18071         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18072         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18073         0.0L for an argument of 1.0L.
18074         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18075         Likewise.
18076         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18077         value when x - 1 is zero.
18078         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18079         * sysdeps/i386/fpu/libm-test-ulps: Update.
18080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18082 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18084         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18085         alphasort and versionsort.
18087 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18089         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18090         macro.
18091         [copysignf]: Likewise.
18093 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18095         * crypt/md5-crypt.c: Fix formatting.
18097 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18099         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18100         (b64_from_24bit): New function.
18102 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18104         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18105         libc_hidden_builtin_def to ifunc.
18106         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18107         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18109 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18111         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18112         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18114 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18116         * nscd/Depend (linuxthreads): Remove.
18117         (nptl): Add.
18118         * resolv/Depend (linuxthreads): Remove.
18119         * rt/Depend (linuxthreads): Remove.
18121         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18122         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18123         $(common-objpfx)elf/.
18124         (link-libc-before-gnulib): Likewise.
18125         (elfobjdir): Remove variable.
18126         * Makefile (install): Use $(elf-objpfx) instead of
18127         $(common-objpfx)elf/.
18128         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18129         $(elfobjdir)/.
18130         (link-libc-deps): Likewise.
18131         ($(common-objpfx)libc.so): Likewise.
18132         ($(common-objpfx)linkobj/libc.so): Likewise.
18133         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18134         instead of $(common-objpfx)elf/.
18135         (symbolic-link-list): Likewise.
18136         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18137         [$(cross-compiling) = no]: Likewise.
18138         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18139         $(elfobjdir)/.
18140         (static-gnulib-arch): Likewise.
18141         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18142         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18143         $(common-objpfx)elf/.
18145 2014-05-21  Richard Henderson  <rth@redhat.com>
18147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18148         (SINGLE_THREAD_P): Use the correct width load.  Fold
18149         into the ldr offset.
18151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18152         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18154 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18156         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18157         (libgcc_s_resume): Use __attribute_used__.
18158         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18159         Likewise.
18161 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18163         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18164         optimization when used with float constants.
18166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18170         [BZ #16915]
18171         * locale/nl_langinfo_l.c: Make direct reference to every
18172         _nl_current_CATEGORY symbol.
18173         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18174         (tests-static): Add tst-langinfo-static.
18175         (tests-special): Add tst-langinfo-static.out.
18176         ($(objpfx)tst-langinfo.out): Redirect output.
18177         ($(objpfx)tst-langinfo-static.out): New.
18178         * localedata/tst-langinfo.sh: Send output to stdout.
18179         * localedata/tst-langinfo-static.c: New file.
18181         [BZ #16965]
18182         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18183         when the shift amount is modulo the limb size.
18185 2014-05-20  Richard Henderson  <rth@redhat.com>
18187         [BZ #16967]
18188         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18189         Change type of sa_flags from unsigned int to int.
18191         [BZ #16966]
18192         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18194         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18196 2014-05-20  Will Newton  <will.newton@linaro.org>
18198         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18199         Test the return value of the system call in the nocancel case.
18201 2014-05-20  Will Newton  <will.newton@linaro.org>
18202             Yvan Roux  <yvan.roux@linaro.org>
18204         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18205         #include of asm/ptrace.h.
18206         (PTRACE_GET_THREAD_AREA): Remove #undef.
18207         (PTRACE_GETHBPREGS): Likewise.
18208         (PTRACE_SETHBPREGS): Likewise.
18209         (struct user_regs_struct): New structure.
18210         (struct user_fpsimd_struct): New structure.
18211         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18212         #include of asm/ptrace.h and second #include of sys/user.h.
18213         (PTRACE_GET_THREAD_AREA): Remove #undef.
18214         (PTRACE_GETHBPREGS): Likewise.
18215         (PTRACE_SETHBPREGS): Likewise.
18216         (ELF_NGREG): Use new struct user_regs_struct.
18217         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18219 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18221         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18222         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18224 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18226         [BZ #16958]
18227         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18228         membar to avoid block loads/stores to overlap previous stores.
18230 2014-05-17  Richard Henderson  <rth@redhat.com>
18232         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18233         Create the __##syscall_name##_nocancel entry point.
18234         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18235         Remove; let the sysdep-cancel.h code create it.
18237 2014-05-17  David S. Miller  <davem@davemloft.net>
18239         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18240         Protect with __USE_GNU.
18241         (TIOCSET_TEMPT): Likewise.
18242         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18243         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18244         these are already provided in bits/ioctl-types.h
18246 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18248         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18249         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18251         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18252         Use wait4 regardless of [__NR_waitpid].
18254 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18256         PR libgcc/60166
18257         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18258         (_FP_NANSIGN_Q): Set the quiet bit.
18260 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18262         * benchtests/Makefile
18263         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18264         not $(common-objpfx)math/libm.so.
18265         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18266         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18267         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18268         $(common-objpfx)dlfcn/libdl.so.
18269         ($(objpfx)tst-audit8): Depend on $(libm), not
18270         $(common-objpfx)math/libm.so.
18271         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18272         not $(common-objpfx)dlfcn/libdl.so.
18273         * math/Makefile
18274         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18275         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18276         [$(build-shared) = yes].
18277         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18278         $(common-objpfx)nptl/libpthread.so.
18279         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18280         $(common-objpfx)math/libm.so$(libm.so-version) or
18281         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18282         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18283         $(common-objpfx)dlfcn/libdl.so.
18284         * setjmp/Makefile (link-libm): Remove variable.
18285         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18286         * stdio-common/Makefile (link-libm): Remove variable.
18287         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18288         * stdlib/Makefile (link-libm): Remove variable.
18289         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18290         ($(objpfx)tst-strtod-round): Likewise.
18291         ($(objpfx)tst-tininess): Likewise.
18292         ($(objpfx)tst-strtod-underflow): Likewise.
18293         ($(objpfx)tst-strtod6): Likewise.
18294         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18295         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18296         $(common-objpfx)dlfcn/libdl.so.
18298 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18300         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18301         BSD terminal modes definitions.
18303 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18305         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18306         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18308         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18309         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18310         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18311         Don't do #include_next.
18312         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18313         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18314         Don't do #include_next.
18315         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18316         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18317         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18318         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18320 2014-05-16  Allan McRae  <allan@archlinux.org>
18322         * po/sv.po: Update Swedish translation from translation project.
18324         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18325         in sed expression.
18327 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18329         [BZ #16917]
18330         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18331         errno if the TIOCGPTN ioctl fails with an error different than
18332         EINVAL.
18333         * login/tst-ptsname.c: New file.
18334         * login/Makefile (tests): Add tst-ptsname.
18336         [BZ #16943]
18337         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18338         and prlimit64.
18340 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18342         [BZ #16849]
18343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18344         herrno to return EAI_AGAIN.
18346 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18348         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18349         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18350         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18351         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18352         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18353         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18354         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18355         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18356         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18357         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18358         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18359         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18360         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18361         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18362         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18363         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18364         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18365         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18366         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18367         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18368         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18369         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18370         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18371         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18372         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18373         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18374         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18375         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18376         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18377         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18379         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18381         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18383         Moved ...
18384         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18386         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18388         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18390         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18392         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18394         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18396         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18398         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18400         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18402         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18404         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18406         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18408         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18410         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18412         Moved ...
18413         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18415         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18417         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18419         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18421         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18423         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18425         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18427         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18429         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18431         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18433         Moved ...
18434         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18436         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18438         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18439         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18440         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18441         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18442         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18443         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18444         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18445         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18446         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18447         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18448         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18449         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18450         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18451         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18452         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18453         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18454         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18455         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18456         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18458         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18460         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18461         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18462         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18463         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18464         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18466         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18467         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18468         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18470         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18471         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18473         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18474         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18475         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18476         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18477         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18478         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18479         Moved ...
18480         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18482         Moved ...
18483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18485         Moved ...
18486         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18488         Moved ...
18489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18490         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18491         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18493         Moved ...
18494         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18496         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18498         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18500         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18505         Moved ...
18506         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18507         ... here.
18508         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18509         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18511         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18512         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18513         Moved ...
18514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18515         ... here.
18516         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18517         Moved ...
18518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18520         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18522         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18524         Moved ...
18525         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18527         Moved ...
18528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18530         Moved ...
18531         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18533         Moved ...
18534         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18536         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18538         Moved ...
18539         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18540         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18541         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18543         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18544         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18545         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18547         Moved ...
18548         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18549         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18550         Moved ...
18551         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18552         ... here.
18553         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18554         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18555         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18556         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18557         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18558         Moved ...
18559         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18560         ... here.
18561         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18562         Moved ...
18563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18564         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18565         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18566         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18567         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18568         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18571         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18573         Moved ...
18574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18575         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18576         Moved ...
18577         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18578         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18579         Moved ...
18580         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18581         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18582         Moved ...
18583         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18584         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18585         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18586         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18587         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18589         Moved ...
18590         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18591         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18592         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18593         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18594         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18595         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18596         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18598         Moved ...
18599         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18600         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18601         Moved ...
18602         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18603         ... here.
18604         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18605         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18606         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18607         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18609         Moved ...
18610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18611         ... here.
18612         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18613         Moved ...
18614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18615         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18616         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18617         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18618         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18619         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18620         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18621         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18622         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18623         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18624         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18626         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18627         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18629         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18630         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18632         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18633         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18634         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18635         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18636         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18637         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18638         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18639         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18640         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18641         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18643         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18644         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18645         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18646         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18648         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18649         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18650         Moved ...
18651         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18655         Moved ...
18656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18659         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18660         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18662         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18664         Moved ...
18665         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18667         Moved ...
18668         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18669         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18670         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18674         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18675         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18676         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18677         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18678         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18679         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18680         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18681         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18682         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18683         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18684         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18686         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18687         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18688         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18689         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18690         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18692         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18693         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18694         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18695         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18696         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18697         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18698         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18699         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18700         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18701         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18706         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18707         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18708         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18709         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18710         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18711         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18712         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18713         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18714         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18715         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18716         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18717         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18718         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18719         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18721         Update #include.
18722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18723         Likewise.
18724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18725         Likewise.
18726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18727         Likewise.
18728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18729         Likewise.
18730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18731         Likewise.
18732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18733         Likewise.
18734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18735         Likewise.
18736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18737         Likewise.
18738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18739         Likewise.
18740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18745         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18747         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18749         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18750         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18751         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18752         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18753         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18754         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18756         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18757         that was previously under [RESET_PID].
18758         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18759         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18760         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18762         * sysdeps/i386/nptl/Implies: New file.
18763         * sysdeps/x86_64/nptl/Implies: New file.
18764         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18765         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18766         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18767         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18769         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18770         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18771         (__libc_vfork): New strong alias.
18772         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18773         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18775         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18776         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18777         (__libc_vfork): New strong alias.
18778         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18779         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18781         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18782         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18783         (__libc_vfork): New strong alias.
18784         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18785         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18786         * nptl/pt-vfork.c: New file.
18787         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18788         (libpthread: GLIBC_2.20): New version set (empty).
18790 2014-05-14  Will Newton  <will.newton@linaro.org>
18792         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18793         rather than #if.
18795 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18797         [BZ #16564]
18798         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18799         arguments with exponent 65 or above.
18800         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18801         arguments 0x1p113L or above.
18802         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18803         to arguments 0x1p107L or above.
18804         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18805         positive arguments with exponent 65 or above.
18806         * math/auto-libm-test-in: Add more tests of log1p.
18807         * math/auto-libm-test-out: Regenerated.
18809         [BZ #16928]
18810         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18811         non-finite arguments is +0.
18812         * math/s_cacosf.c (__cacosf): Likewise.
18813         * math/s_cacosl.c (__cacosl): Likewise.
18814         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18815         * sysdeps/i386/fpu/libm-test-ulps: Update.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818         [BZ #16927]
18819         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18820         value.
18821         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18822         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18823         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18824         for explicit high bit of mantissa when testing for argument equal
18825         to 1.
18826         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18827         * sysdeps/i386/fpu/libm-test-ulps: Update.
18828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18830         [BZ #16516]
18831         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18832         (__erf): Scale by 16 instead of 8 in potentially underflowing
18833         case.  Ensure exception if result actually underflows.
18834         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18835         (__erff): Scale by 16 instead of 8 in potentially underflowing
18836         case.  Ensure exception if result actually underflows.
18837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18838         (efx8): Remove variable.
18839         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18840         case.  Ensure exception if result actually underflows.
18841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18842         (efx8): Remove variable.
18843         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18844         case.  Ensure exception if result actually underflows.
18845         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18846         (efx8): Remove variable.
18847         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18848         case.  Ensure exception if result actually underflows.
18849         * math/auto-libm-test-in: Add more tests of erf.
18850         * math/auto-libm-test-out: Regenerated.
18852 2014-05-14  Andreas Schwab  <schwab@suse.de>
18854         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18855         Remove code conditionalized on USE___THREAD.
18857         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18858         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18859         not definedness.
18861 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18863         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18864         Define unconditionally.
18865         (__ASSUME_O_CLOEXEC): Likewise.
18866         (__ASSUME_SOCK_CLOEXEC): Likewise.
18867         (__ASSUME_IN_NONBLOCK): Likewise.
18868         (__ASSUME_PIPE2): Likewise.
18869         (__ASSUME_EVENTFD2): Likewise.
18870         (__ASSUME_SIGNALFD4): Likewise.
18871         (__ASSUME_DUP3): Likewise.
18872         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18873         (__ASSUME_DUP3): Do not define.
18874         (__ASSUME_EVENTFD2): Likewise.
18875         (__ASSUME_IN_NONBLOCK): Likewise.
18876         (__ASSUME_O_CLOEXEC): Likewise.
18877         (__ASSUME_PIPE2): Likewise.
18878         (__ASSUME_SIGNALFD4): Likewise.
18879         (__ASSUME_SOCK_CLOEXEC): Likewise.
18880         (__ASSUME_UTIMES): Undefine.
18881         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18882         (__ASSUME_UTIMES): Do not define.
18883         (__ASSUME_O_CLOEXEC): Likewise.
18884         (__ASSUME_SOCK_CLOEXEC): Likewise.
18885         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18886         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18887         0x020621].
18888         (__ASSUME_PIPE2): Likewise.
18889         (__ASSUME_EVENTFD2): Likewise.
18890         (__ASSUME_SIGNALFD4): Likewise.
18891         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18892         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18893         Do not define.
18894         (__ASSUME_EVENTFD2): Likewise.
18895         (__ASSUME_SIGNALFD4): Likewise.
18896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18897         (__ASSUME_32BITUIDS): Likewise.
18898         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18899         (__ASSUME_IPC64): Likewise.
18900         (__ASSUME_ST_INO_64_BIT): Likewise.
18901         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18902         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18904         (__ASSUME_UTIMES): Do not define.
18905         (__ASSUME_PSELECT): Likewise.
18906         (__ASSUME_PPOLL): Likewise.
18907         (__ASSUME_O_CLOEXEC): Likewise.
18908         (__ASSUME_SOCK_CLOEXEC): Likewise.
18909         (__ASSUME_IN_NONBLOCK): Likewise.
18910         (__ASSUME_PIPE2): Likewise.
18911         (__ASSUME_EVENTFD2): Likewise.
18912         (__ASSUME_SIGNALFD4): Likewise.
18913         (__ASSUME_DUP3): Likewise.
18914         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18915         (__ASSUME_UTIMES): Likewise.
18916         (__ASSUME_O_CLOEXEC): Likewise.
18917         (__ASSUME_SOCK_CLOEXEC): Likewise.
18918         (__ASSUME_IN_NONBLOCK): Likewise.
18919         (__ASSUME_PIPE2): Likewise.
18920         (__ASSUME_EVENTFD2): Likewise.
18921         (__ASSUME_SIGNALFD4): Likewise.
18922         (__ASSUME_DUP3): Likewise.
18923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18924         (__ASSUME_UTIMES): Likewise.
18925         (__ASSUME_O_CLOEXEC): Likewise.
18926         (__ASSUME_SOCK_CLOEXEC): Likewise.
18927         (__ASSUME_IN_NONBLOCK): Likewise.
18928         (__ASSUME_PIPE2): Likewise.
18929         (__ASSUME_EVENTFD2): Likewise.
18930         (__ASSUME_SIGNALFD4): Likewise.
18931         (__ASSUME_DUP3): Likewise.
18932         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18933         Likewise.
18934         (__ASSUME_UTIMES): Likewise.
18935         (__ASSUME_EVENTFD2): Likewise.
18936         (__ASSUME_SIGNALFD4): Likewise.
18937         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18938         (__ASSUME_O_CLOEXEC): Likewise.
18939         (__ASSUME_SOCK_CLOEXEC): Likewise.
18940         (__ASSUME_IN_NONBLOCK): Likewise.
18941         (__ASSUME_PIPE2): Likewise.
18942         (__ASSUME_EVENTFD2): Likewise.
18943         (__ASSUME_SIGNALFD4): Likewise.
18944         (__ASSUME_DUP3): Likewise.
18945         (__ASSUME_UTIMES): Undefine.
18947         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18948         feclearexcept.  Remove symbol versioning code.
18949         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18950         symbol versioning code.
18951         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18952         symbol versioning code.
18953         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18954         feupdateenv.  Remove symbol versioning code.
18955         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18956         fegetexceptflag.  Remove symbol versioning code.
18957         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18958         fesetexceptflag.  Remove symbol versioning code.
18959         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18960         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18961         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18962         (__posix_fadvise64_l32): Remove prototype.
18963         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18964         code.
18966 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18968         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18969         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18970         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18971         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18973 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18975         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18976         current working directory
18978 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18980         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18981         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18982         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18983         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18984         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18985         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18986         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18987         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18988         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18989         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18990         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18991         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18992         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18993         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18994         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18995         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18996         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18997         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18998         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18999         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19000         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19001         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19002         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19003         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19004         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19005         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19006         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19007         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19008         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19009         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19010         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19011         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19012         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19013         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19014         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19015         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19016         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19017         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19018         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19019         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19020         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19021         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19023         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19024         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19026         * sysdeps/unix/sysv/linux/arm/Makefile
19027         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19028         Add rt-aeabi_unwind_cpp_pr1.
19029         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19030         Add nptl-aeabi_unwind_cpp_pr1.
19031         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19032         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19033         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19034         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19035         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19036         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19038         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19039         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19040         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19041         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19043         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19044         Deconditionalize the code that was previously under [RESET_PID].
19045         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19047         * sysdeps/generic/exit-thread.h: New file.
19048         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19049         * include/unistd.h (__exit_thread): Remove declaration.
19050         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19051         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19052         * csu/libc-start.c: Include <exit-thread.h>.
19053         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19054         * nptl/pthread_create.c: Include <exit-thread.h>.
19055         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19056         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19057         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19058         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19059         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19060         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19061         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19062         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19063         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19064         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19065         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19066         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19067         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19068         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19069         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19070         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19071         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19073 2014-05-13  Andreas Schwab  <schwab@suse.de>
19075         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19077 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19079         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19080         (__ASSUME_UTIMES): Do not condition on kernel version.
19081         (__ASSUME_PSELECT): Define unconditionally.
19082         (__ASSUME_PPOLL): Likewise.
19083         (__ASSUME_ATFCTS): Likewise.
19084         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19085         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19086         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19087         (__ASSUME_UTIMENSAT): Define unconditionally.
19088         (__ASSUME_PRIVATE_FUTEX): Likewise.
19089         (__ASSUME_FALLOCATE): Likewise.
19090         (__ASSUME_O_CLOEXEC): Likewise.
19091         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19092         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19093         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19094         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19095         (__ASSUME_IN_NONBLOCK): Likewise.
19096         (__ASSUME_PIPE2): Likewise.
19097         (__ASSUME_EVENTFD2): Likewise.
19098         (__ASSUME_SIGNALFD4): Likewise.
19099         (__ASSUME_DUP3): Likewise.
19100         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19101         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19102         (__ASSUME_AT_RANDOM): Likewise.
19103         (__ASSUME_PREADV): Likewise.
19104         (__ASSUME_PWRITEV): Likewise.
19105         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19106         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19107         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19108         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19109         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19110         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19111         (__ASSUME_O_CLOEXEC): Define unconditionally.
19112         (__ASSUME_PSELECT): Do not undefine conditionally.
19113         (__ASSUME_PPOLL): Likewise.
19114         (__ASSUME_ATFCTS): Likewise.
19115         (__ASSUME_SET_ROBUST_LIST): Likewise.
19116         (__ASSUME_UTIMENSAT): Likewise.
19117         (__ASSUME_FDATASYNC): Define unconditionally.
19118         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19119         (__ASSUME_SIGFRAME_V2): Likewise.
19120         )__ASSUME_EVENTFD2): Likewise.
19121         (__ASSUME_SIGNALFD4): Likewise.
19122         (__ASSUME_PSELECT): Do not undefine conditionally.
19123         (__ASSUME_PPOLL): Likewise.
19124         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19125         (__ASSUME_PSELECT): Define unconditionally.
19126         (__ASSUME_PPOLL): Likewise.
19127         (__ASSUME_O_CLOEXEC): Likewise.
19128         (__ASSUME_SOCK_CLOEXEC): Likewise.
19129         (__ASSUME_IN_NONBLOCK): Likewise.
19130         (__ASSUME_PIPE2): Likewise.
19131         (__ASSUME_EVENTFD2): Likewise.
19132         (__ASSUME_SIGNALFD4): Likewise.
19133         (__ASSUME_DUP3): Likewise.
19134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19135         (__ASSUME_O_CLOEXEC): Likewise.
19136         (__ASSUME_SOCK_CLOEXEC): Likewise.
19137         (__ASSUME_IN_NONBLOCK): Likewise.
19138         (__ASSUME_PIPE2): Likewise.
19139         (__ASSUME_EVENTFD2): Likewise.
19140         (__ASSUME_SIGNALFD4): Likewise.
19141         (__ASSUME_DUP3): Likewise.
19142         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19143         (__ASSUME_EVENTFD2): Likewise.
19144         (__ASSUME_SIGNALFD4): Likewise.
19145         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19147 2014-05-12  Andreas Schwab  <schwab@suse.de>
19149         [BZ #16932]
19150         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19151         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19152         than maximum RPC packet size.
19153         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19154         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19155         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19156         (_nss_nis_getservbyport_r): Likewise.
19158 2014-05-12  Will Newton  <will.newton@linaro.org>
19160         * malloc/Makefile (tests): Add tst-mallopt.
19161         * malloc/tst-mallopt.c: New file.
19163 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19165         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19166         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19168 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19170         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19171         (tst-tlsmod6.so): Likewise.
19173 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19175         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19177 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19179         [BZ #16064]
19180         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19181         and <dl-procinfo.h>.
19182         (__fegetenv): Save SSE state in envp->__eip if supported.
19183         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19184         envp->__eip if supported.
19185         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19186         and <dl-procinfo.h>.
19187         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19188         __data_offset and __data_selector in environment to 0.  Set SSE
19189         state if supported.
19190         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19191         test-fenv-sse.
19192         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19193         -mfpmath=sse.
19194         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19196 2014-05-09  Will Newton  <will.newton@linaro.org>
19198         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19199         and libc_relro_required for ARM.
19200         * sysdeps/arm/preconfigure: Regenerate.
19202 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19203             Stefan Liebler  <stli@linux.vnet.ibm.com>
19205         * config.make.in (enable-lock-elision): New Makefile variable.
19206         * configure.ac: Likewise.
19207         * configure: Regenerate.
19208         * sysdeps/s390/configure.ac:
19209         Add check for gcc transactions support.
19210         * sysdeps/s390/configure: Regenerate.
19211         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19212         Build elision files if enabled.
19213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19214         Add lock elision support for s390.
19215         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19216         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19217         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19218         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19219         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19220         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19221         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19222         Likewise.
19223         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19224         Likewise.
19225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19226         Likewise.
19227         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19228         Likewise.
19229         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19230         (__lll_timedlock_elision, __lll_lock_elision)
19231         (__lll_unlock_elision, __lll_trylock_elision)
19232         (lll_timedlock_elision, lll_lock_elision)
19233         (lll_unlock_elision, lll_trylock_elision): Add.
19234         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19235         (pthread_mutex_t): Add lock elision support for s390.
19237 2014-05-14  Wilco  <wdijkstr@arm.com>
19239         * sysdeps/arm/fclrexcpt.c: Cleanup.
19240         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19241         * sysdeps/arm/feenablxcpt.c: Cleanup.
19242         * sysdeps/arm/fegetenv.c: Cleanup.
19243         * sysdeps/arm/fegetexcept.c: Cleanup.
19244         * sysdeps/arm/fegetround.c: Cleanup.
19245         * sysdeps/arm/feholdexcpt.c: Cleanup.
19246         * sysdeps/arm/fesetenv.c: Cleanup.
19247         * sysdeps/arm/fesetround.c: Cleanup.
19248         * sysdeps/arm/feupdateenv.c: Cleanup.
19249         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19250         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19251         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19252         * sysdeps/arm/ftestexcept.c: Cleanup.
19253         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19254         * sysdeps/arm/setfpucw.c: Cleanup.
19256 2014-05-09  Will Newton  <will.newton@linaro.org>
19258         * sysdeps/arm/armv7/strcmp.S: New file.
19259         * NEWS: Mention addition of ARMv7 optimized strcmp.
19261 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19263         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19264         look for %.ac rather than %.in.
19266         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19267         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19268         * sysdeps/mach/hurd/configure: Regenerated.
19269         * sysdeps/unix/sysv/linux/configure: Regenerated.
19271         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19273 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19275         [BZ# 16922]
19276         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19277         (LONG_SUB): Ditto.
19278         (PTR_SUB): Ditto.
19280 2014-05-07  Andreas Schwab  <schwab@suse.de>
19282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19283         when skipping over non-matching result from nscd.
19285 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19287         [BZ #16876]
19288         * nptl/sockperf.c (client): Check socket return value.
19290         [BZ #16877]
19291         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19292         nscd security class.
19294 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19296         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19297         * sysdeps/arm/unwind.h: ... here.
19299 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19301         [BZ# 16916]
19302         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19303         Define.
19305 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19307         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19308         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19309         multiarch strncpy for PPC64.
19310         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19311         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19313         multiarch optimizations.
19314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19315         (__libc_ifunc_impl_list): Likewise.
19316         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19317         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19318         multiarch stpncpy for PPC64.
19319         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19320         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19322 2014-05-06  Andreas Schwab  <schwab@suse.de>
19324         [BZ #16912]
19325         * gmon/mcount.c (_MCOUNT_DECL): Use
19326         atomic_compare_and_exchange_bool_acq instead of
19327         catomic_compare_and_exchange_bool_acq.
19329 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19331         * elf/Makefile (others, install-bin): Remove pldd.
19332         (pldd-modules): Variable removed.
19333         ($(objpfx)pldd): Target removed.
19334         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19335         (others, install-bin): Append pldd here.
19336         ($(objpfx)pldd): New target.
19338         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19339         to 0, so the first #if test emitted later doesn't see it undefined.
19340         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19341         * sysdeps/gnu/errlist.c: Regenerated.
19343 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19346         [libc_hidden_builtin_def]: Define to empty value.
19347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19348         [libc_hidden_builtin_def]: Likewise.
19349         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19350         [libc_hidden_builtin_def]: Likewise.
19351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19352         [libc_hidden_builtin_def]: Likewise.
19353         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19354         __redirect_memcpy and define ifunc as default hidden symbol.
19355         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19356         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19358 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19360         * locale/iso-4217.def: Reintroduce XDR currency.
19362 2014-05-04  Allan McRae  <allan@archlinux.org>
19364         * po/eo.po: Update Esperanto translation from translation project.
19366 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19368         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19369         and FEATURE_INDEX_MAX to 1.
19370         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19372 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19374         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19375         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19376         * iconvdata/big5.c (ONE_DIRECTION): Define.
19377         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19378         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19379         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19380         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19381         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19382         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19383         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19384         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19385         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19386         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19387         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19388         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19389         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19390         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19391         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19392         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19393         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19394         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19395         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19396         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19397         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19398         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19399         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19400         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19401         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19402         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19403         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19404         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19405         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19406         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19407         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19408         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19409         * iconvdata/johab.c (ONE_DIRECTION): Define.
19410         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19411         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19412         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19413         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19414         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19415         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19416         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19417         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19418         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19419         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19421 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19423         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19424         (_IO_JUMPS_OFFSET): Define to 0.
19426         * nptl/sysdeps/pthread/bits/libc-lock.h
19427         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19428         (__libc_lock_define_initialized_recursive): Always define using
19429         initializer.  Modern compilers treat uninitialized (implicit zero) and
19430         explicit zero initializers the same (i.e. put the datum in bss).
19432 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19434         * nscd/nscd-client.h: Include <string.h>.
19436 2014-05-01  David S. Miller  <davem@davemloft.net>
19438         [BZ #16885]
19439         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19440         multiple zero bytes exist at the end of a string.
19441         Reported by Aurelien Jarno <aurelien@aurel32.net>
19443         * string/test-strcmp.c (check): Add explicit test for situations where
19444         there are multiple zero bytes after the first.
19446 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19448         [BZ #16890]
19449         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19450         when compiling wprintf.
19451         * stdio-common/tstdiomisc.c (t3): New function.
19452         (main): Call it.
19454 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19456         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19457         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19458         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19459         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19461 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19463         * stdlib/longlong.h: Updated from GCC.
19465 2014-05-01  Will Newton  <will.newton@linaro.org>
19466             Bernard Ogden  <bernie.ogden@linaro.org>
19468         * NEWS: Update fixed bug list.
19470         [BZ #15119]
19471         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19473 2014-04-30  David S. Miller  <davem@davemloft.net>
19475         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19476         (libc_feholdexcept_setround_sparc_ctx): New function.
19477         (libc_fesetenv_sparc_ctx): Likewise.
19478         (libc_feupdateenv_sparc_ctx): Likewise.
19479         (libc_feholdsetround_sparc_ctx): Likewise.
19480         (libc_feholdexcept_setround_ctx): Define.
19481         (libc_feholdexcept_setroundf_ctx): Likewise.
19482         (libc_feholdexcept_setroundl_ctx): Likewise.
19483         (libc_fesetenv_ctx): Likewise.
19484         (libc_fesetenvf_ctx): Likewise.
19485         (libc_fesetenvl_ctx): Likewise.
19486         (libc_feupdateenv_ctx): Likewise.
19487         (libc_feupdateenvf_ctx): Likewise.
19488         (libc_feupdateenvl_ctx): Likewise.
19489         (libc_feresetround_ctx): Likewise.
19490         (libc_feresetroundf_ctx): Likewise.
19491         (libc_feresetroundl_ctx): Likewise.
19492         (libc_feholdsetround_ctx): Likewise.
19493         (libc_feholdsetroundf_ctx): Likewise.
19494         (libc_feholdsetroundl_ctx): Likewise.
19496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19497         with __USE_GNU instead of XOPEN cpp guards.
19499         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19500         0.
19502         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19503         with XOPEN cpp guards.
19505 2014-04-30  Julian Brown  <julian@codesourcery.com>
19507         [BZ #16888]
19508         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19509         handling.
19511 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19513         [BZ #9894]
19514         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19515         Change to 2.6.32.
19516         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19517         * sysdeps/unix/sysv/linux/configure: Regenerated.
19518         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19519         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19520         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19521         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19522         * README: Update reference to required Linux kernel version.
19523         * manual/install.texi (Linux): Update reference to required Linux
19524         kernel headers version.
19525         * INSTALL: Regenerated.
19527         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19528         header inclusion.
19529         [POSIX] (limits.h): Likewise.
19530         [POSIX] (math.h): Likewise.
19531         [POSIX] (sys/wait.h): Likewise.
19532         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19533         function.
19534         [POSIX] (stddef.h): Do not allow header inclusion.
19536 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19538         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19540 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19542         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19543         Return immediately after lll_futex_wake.
19545 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19547         [BZ #16791]
19548         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19549         structure.
19550         (datahead_init_pos): Call datahead_init_common early.
19551         (datahead_init_neg): Likewise.
19553         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19554         datahead_init_neg): New functions.
19555         * nscd/aicache.c (addhstaiX): Use them.
19556         * nscd/grpcache.c (cache_addgr): Likewise.
19557         * nscd/hstcache.c (cache_addhst): Likewise.
19558         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19559         * nscd/netgroupcache.c (do_notfound): Likewise.
19560         (addgetnetgrentX): Likewise.
19561         (addinnetgrX): Likewise.
19562         * nscd/pwdcache.c (cache_addpw): Likewise.
19563         * nscd/servicescache.c (cache_addserv): Likewise.
19565 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19566             Atsushi Onoe  <atsushi@onoe.org>
19568         [BZ #14308]
19569         [BZ #12994]
19570         [BZ #13651]
19571         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19572         one response is valid.
19573         * resolv/res_send.c (send_dg): Check for validity of other
19574         response if the current response is a referral.
19576 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19578         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19580 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19582         [BZ #16823]
19583         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19584         Always divide by positive zero when computing -Inf result.
19585         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19586         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19588 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19590         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19591         FPSCR if value do not change.
19592         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19593         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19594         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19595         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19596         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19597         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19598         function.
19600 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19602         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19603         * sysdeps/unix/sysv/linux/hppa: Move directory from
19604         ports/systeps/unix/sysv/linux/hppa.
19605         * README: Update listing for hppa-*-linux-gnu.
19607 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19609         [BZ #16754]
19610         * manual/stdio.texi (Hook functions): Fix types of stream hook
19611         functions.
19612         [BZ #16854]
19613         * socket/sys/socket.h: Fix typo in comment.
19615 2014-04-28  Wilco  <wdijkstr@arm.com>
19617         * sysdeps/arm/fenv_private.h: New file.
19618         * sysdeps/arm/math_private.h: New file.
19619         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19621 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19623         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19624         with __int128_t.
19625         (La_x86_64_retval): Likewise.
19627 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19629         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19630         fpsr if value didn't change.
19631         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19632         to fpcr if value didn't change.
19633         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19634         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19635         fpsr or fpcr if value didn't change.
19636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19637         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19638         fpcr if value didn't change.
19639         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19640         to fpsr if value didn't change.
19642 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19644         * nptl/tst-sem3.c: Use test-skeleton.c
19645         (main): Rename to do_test.  Use return instead of
19646         exit.
19647         * nptl/tst-sem4.c: Use test-skeleton.c
19648         (main): Rename to do_test.
19650 2014-04-22  David S. Miller  <davem@davemloft.net>
19652         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19653         (struct sigaction): New struct member __glibc_reserved0, change
19654         type of sa_flags to int.
19656 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19658         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19659         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19661 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19663         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19664         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19666 2014-04-22  Will Newton  <will.newton@linaro.org>
19667             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19669         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19670         (__longjmp): Add longjmp and longjmp_target SystemTap
19671         probes.
19672         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19673         (__sigsetjmp): Add setjmp SystemTap probe.
19675 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19677         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19678         match manual order.
19680 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19684         * sysdeps/powerpc/fpu/fenv_private.h
19685         (libc_feholdexcept_setroundl_ctx): Define to
19686         libc_feholdexcept_setround_ppc_ctx.
19687         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19688         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19689         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19690         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19692 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19694         * sysdeps/aarch64/math-tests.h: New file.
19696 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19698         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19699         New.
19700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19701         Check and set bit_AVX2_Usable.
19702         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19703         macro.
19704         (bit_AVX2): Likewise.
19705         (index_AVX2_Usable): Likewise.
19706         (CPUID_AVX2): Likewise.
19707         (HAS_AVX2): Likewise.
19709 2014-04-17  Will Newton  <will.newton@linaro.org>
19711         * manual/setjmp.texi (System V contexts): Add note that
19712         calling setcontext on a context created by a call to a
19713         signal handler is undefined.  Update text to note that
19714         setcontext from a signal handler is possible but not
19715         recommended.
19717         [BZ #16629]
19718         * stdlib/tst-setcontext.c: Include signal.h.
19719         (main): Check that the signal stack before and
19720         after swapcontext is the same.
19722         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19723         Re-implement to restore registers in user code and avoid
19724         rt_sigreturn system call.
19726 2014-04-17  Wilco  <wdijkstr@arm.com>
19728         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19729         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19730         * math/test-fenv.c: Skip exception trap tests on targets which only
19731         support non-stop mode.
19733 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19734             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19736         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19737         (libc_feholdsetround_aarch64_ctx)
19738         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19739         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19740         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19741         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19742         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19743         (libc_feresetround_noexl_ctx): Define.
19745 2014-04-16  Richard Henderson  <rth@redhat.com>
19747         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19749         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19750         unwind tables.
19752         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19753         const from the non-libc, non-ldso copy.
19755         * sysdeps/alpha/libm-test-ulps: Regenerate.
19757 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19758             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19760         * sysdeps/aarch64/fpu/math_private.h: New file.
19762 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19764         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19766 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19768         [BZ #16275]
19769         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19770         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19771         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19772         Intel MPX bound registers before _dl_profile_fixup.
19773         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19774         registers after _dl_profile_fixup.  Save and restore bound
19775         registers bnd0/bnd1 when calling _dl_call_pltexit.
19776         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19777         (LR_BND_OFFSET): Likewise.
19778         (LRV_BND0_OFFSET): Likewise.
19779         (LRV_BND1_OFFSET): Likewise.
19781 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19783         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19784         to...
19785         * sysdeps/mach/hurd/i386/tls.h: ... here.
19786         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19787         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19788         fields.
19790 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19792         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19794 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19796         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19798 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19800         [BZ #14770]
19801         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19802         * sysdeps/s390/configure: Regenerate.
19804         [BZ #16824]
19805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19806         Set round-to-nearest internally to reduce error accumulation.
19808 2014-04-16  Alan Modra  <amodra@gmail.com>
19810         [BZ #16740]
19811         [BZ #16619]
19812         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19813         * math/libm-test.inc (frexp_test_data): Add tests.
19814         * NEWS: Update fixed bug list.
19816 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19818         * benchtests/Makefile: Depend on libraries in build directory.
19819         (bench-math): Separate out math tests.
19820         (bench-pthread): Separate out pthread tests.
19821         (bench): Include math and pthread tests.
19823 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19825         [BZ #16831]
19826         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19827         _dl_debug_initialize.
19829         * configure.ac: Remove SELinux header check.
19830         * configure: Regenerate.
19831         * nscd/selinux.c (perms): Array of const char* to permission names.
19832         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19833         default policy. Call string_to_security_class and string_to_av_perm to
19834         translate strings. Enforce default policy and call avs_has_perm with
19835         results of translated strings.
19837 2014-04-13  David S. Miller  <davem@davemloft.net>
19839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19841 2014-04-12  Allan McRae  <allan@archlinux.org>
19843         [BZ #16838]
19844         * manual/string.texi (Collation Functions): Fix qsort argument
19845         order in example.
19846         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19848 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19850         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19851         Make the test a no-op if there are no exceptions defined.
19853 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19855         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19856         enable-hardcoded-path-in-tests
19858 2014-04-11  Will Newton  <will.newton@linaro.org>
19860         * benchtests/Makefile (extra-objs): Add json-lib.o.
19861         (bench-func): Tidy up JSON output.
19862         * benchtests/bench-skeleton.c: Include json-lib.h.
19863         (main): Use JSON library functions to do output of
19864         benchmark results.
19865         * benchtests/bench-timing-type.c (main): Output the
19866         timing type simply, leaving formatting to the user.
19867         * benchtests/json-lib.c: New file.
19868         * benchtests/json-lib.h: Likewise.
19870 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19872         [BZ #15215]
19873         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19874         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19875         memory barriers.  Add comments.
19876         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19877         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19878         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19879         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19880         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19881         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19883 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19885         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19886         * sysdeps/s390/s390-64/configure.ac: ... this ...
19887         * sysdeps/s390/configure.ac: ... to here.
19888         * sysdeps/s390/s390-32/configure: Delete file.
19889         * sysdeps/s390/s390-64/configure: Delete file.
19890         * sysdeps/s390/configure: Regenerate.
19892 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19894         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19896 2014-04-11  Will Newton  <will.newton@linaro.org>
19898         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19899         to zero if it is not defined elsewhere.  (mtrim): Test
19900         the value of MALLOC_DEBUG with #if rather than #ifdef.
19902 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19904         * benchtests/pthread_once-inputs: New file.
19905         * benchtests/pthread_once-source.c: New file.
19906         * benchtests/README: Update documentation.
19908 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19909             H.J. Lu  <hongjiu.lu@intel.com>
19911         [BZ #16275]
19912         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19913         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19914         * sysdeps/x86_64/configure: Regenerated.
19915         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19916         macro.
19917         (REGISTER_SAVE_RAX): Likewise.
19918         (REGISTER_SAVE_RCX): Likewise.
19919         (REGISTER_SAVE_RDX): Likewise.
19920         (REGISTER_SAVE_RSI): Likewise.
19921         (REGISTER_SAVE_RDI): Likewise.
19922         (REGISTER_SAVE_R8): Likewise.
19923         (REGISTER_SAVE_R9): Likewise.
19924         (REGISTER_SAVE_BND0): Likewise.
19925         (REGISTER_SAVE_BND1): Likewise.
19926         (REGISTER_SAVE_BND2): Likewise.
19927         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19928         bound registers when calling _dl_fixup.
19930 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19932         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19933         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19934         of its definition.
19935         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19936         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19937         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19938         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19939         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19940         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19941         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19943 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19945         [BZ #15514]
19946         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19947         pathconf(_PC_NAME_MAX).
19949 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19951         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19952         Remove macro usage.
19953         (__PTHREAD_SPINS): Move definition to ...
19954         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19955         (__PTHREAD_SPINS): ... here.
19956         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19957         (__PTHREAD_SPIN): Likewise.
19958         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19959         (__PTHREAD_SPIN): Likewise.
19960         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19961         (__PTHREAD_SPIN): Likewise.
19962         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19963         (__PTHREAD_SPIN): Likewise.
19964         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19965         (__PTHREAD_SPIN): Likewise.
19966         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19967         (__PTHREAD_SPIN): Likewise.
19968         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19969         (__PTHREAD_SPIN): Likewise.
19970         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19971         (__PTHREAD_SPIN): Likewise.
19972         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19973         (__PTHREAD_SPIN): Likewise.
19974         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19975         (__PTHREAD_SPIN): Likewise.
19976         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19977         (__PTHREAD_SPIN): Likewise.
19978         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19979         (__PTHREAD_SPIN): Likewise.
19981         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19982         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19983         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19984         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19985         imply folder.
19986         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19987         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19988         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19989         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19990         correct imply path.
19991         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19992         strlen symbol for non multi-arch builds.
19993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19994         missing hidden_def and weak_alias.
19996 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19998         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20000 2014-04-07  Will Newton  <will.newton@linaro.org>
20002         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20003         and contents.  [!_LIBC] Remove #ifndef and contents.
20004         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20005         * string/memccpy.c (__memccpy): Use ANSI prototype.
20006         * string/memfrob.c (memfrob): Likewise.
20007         * string/strcoll.c (STRCOLL): Likewise.
20008         * string/strlen.c (strlen): Likewise.
20009         * string/strtok.c (STRTOK): Likewise.
20010         * string/strcat.c: Remove unused #include of memcopy.h.
20011         (strcat): Use ANSI prototype.
20012         * string/strchr.c: Remove unused #include of memcopy.h.
20013         (strchr): Use ANSI prototype.
20014         * string/strcmp.c: Remove unused #include of memcopy.h.
20015         (strcmp): Use ANSI prototype.
20016         * string/strcpy.c: Remove unused #include of memcopy.h.
20017         (strcpy): Use ANSI prototype.
20019 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20021         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20022         * config.make.in (config-extra-cppflags): Set it from
20023         libc_extra_cppflags.
20024         * configure.ac (libc_extra_cflags): Make it accumulate over
20025         configure fragments.
20026         (libc_extra_cppflags): New flag.
20027         * configure. Regenerate.
20028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20029         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20030         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20033         [BZ #16815]
20034         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20035         result for FE_DOWNWARD rounding mode.
20036         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20037         Likewise.
20038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20040 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20042         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20043         in function argument name.
20045 2014-04-03  David Svoboda  <svoboda@cert.org>
20047         [BZ #5666]
20048         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20049         explicitly.
20051 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20053         * elf/dl-unmap-segments.h: New file.
20054         * sysdeps/generic/ldsodefs.h
20055         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20056         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20057         * elf/dl-fptr.c: Likewise.
20058         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20059         * sysdeps/aarch64/tlsdesc.c: Likewise.
20060         * sysdeps/arm/tlsdesc.c: Likewise.
20061         * sysdeps/i386/tlsdesc.c: Likewise.
20062         * sysdeps/tile/dl-runtime.c: Likewise.
20063         * sysdeps/x86_64/tlsdesc.c: Likewise.
20064         * elf/dl-load.h: New file.
20065         * elf/dl-load.c: Include it.
20066         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20067         Macros moved to dl-load.h.
20068         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20069         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20070         Use _dl_unmap_segments in place of __munmap.
20071         Break out segment-mapping loop into ...
20072         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20074 2014-04-03  Will Newton  <will.newton@linaro.org>
20076         * elf/dl-lookup.c (do_lookup_x): Remove comment
20077         referring to nested function and move variable
20078         declarations down to before first use.
20080 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #16799]
20083         [BZ #16800]
20084         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20085         with 0 numerator.
20086         * math/s_catanf.c (__catanf): Likewise.
20087         * math/s_catanh.c (__catanh): Likewise.
20088         * math/s_catanhf.c (__catanhf): Likewise.
20089         * math/s_catanhl.c (__catanhl): Likewise.
20090         * math/s_catanl.c (__catanl): Likewise.
20091         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20092         by positive zero when computing -Inf result.
20093         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20094         (catanh_test): Likewise.
20095         * sysdeps/i386/fpu/libm-test-ulps: Update.
20096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20098         [BZ #16789]
20099         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20100         instead of using underflowing value in computing result.
20101         * math/s_clog10.c (__clog10): Likewise.
20102         * math/s_clog10f.c (__clog10f): Likewise.
20103         * math/s_clog10l.c (__clog10l): Likewise.
20104         * math/s_clogf.c (__clogf): Likewise.
20105         * math/s_clogl.c (__clogl): Likewise.
20106         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20107         (clog10_test): Likewise.
20108         * sysdeps/i386/fpu/libm-test-ulps: Update.
20109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20111 2014-04-02  Alan Modra  <amodra@gmail.com>
20113         [BZ #16739]
20114         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20115         output when value is near a power of two.  Use int64_t for lx and
20116         remove casts.  Use decimal rather than hex exponent constants.
20117         Don't use long double multiplication when double will suffice.
20118         * math/libm-test.inc (nextafter_test_data): Add tests.
20119         * NEWS: Add 16739 and 16786 to bug list.
20121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20123         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20125 2014-04-01  Will Newton  <will.newton@linaro.org>
20127         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20128         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20130 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20132         [BZ #13347]
20133         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20134         * nptl/tst-setuid2.c: New file.
20135         * nptl/Makefile (xtests): Add tst-setuid2.
20137 2014-04-01  Alan Modra  <amodra@gmail.com>
20139         [BZ #16786]
20140         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20142 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20144         [BZ #6803]
20145         [BZ #6804]
20146         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20147         set errno as appropriate.
20148         * math/w_scalbf.c (__scalbf): Likewise.
20149         * math/w_scalbl.c (__scalbl): Likewise.
20150         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20151         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20152         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20153         Add more NaN tests.
20155         [BZ #16349]
20156         * math/w_atan2.c: Include <errno.h>.
20157         (__atan2): Set errno for result underflowing to zero.
20158         * math/w_atan2f.c: Include <errno.h>.
20159         (__atan2f): Set errno for result underflowing to zero.
20160         * math/w_atan2l.c: Include <errno.h>.
20161         (__atan2l): Set errno for result underflowing to zero.
20162         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20163         tests.
20164         * math/auto-libm-test-out: Regenerated.
20166 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20168         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20169         Encode instruction correctly in little endian.
20170         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20171         Likewise.
20172         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20173         Likewise.
20174         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20175         Likewise.
20176         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20177         Likewise.
20179 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20181         [BZ #9894]
20182         * sysdeps/unix/sysv/linux/kernel-features.h
20183         [__sparc__ && !__arch64__ && !__sparc_v9__]
20184         (__ASSUME_SET_ROBUST_LIST): Do not define.
20185         [__sparc__ && !__arch64__ && !__sparc_v9__]
20186         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20187         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20188         Likewise.
20189         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20190         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20191         (__ASSUME_REQUEUE_PI): Likewise.
20192         (__ASSUME_SET_ROBUST_LIST): Likewise.
20193         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20194         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20195         Undefine.
20196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20197         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20198         Likewise.
20199         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20200         Likewise.
20201         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20202         Likewise.
20203         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20204         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20205         Undefine.
20206         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20207         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20208         Likewise.
20210         [BZ #16648]
20211         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20213         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20215 2014-03-31  Will Newton  <will.newton@linaro.org>
20217         * benchtests/Makefile (bench): Add ffs and ffsll to list
20218         of tests.
20219         * benchtests/ffs-inputs: New file.
20220         * benchtests/ffsll-inputs: Likewise.
20222 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20224         [BZ #16770]
20225         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20226         too large before casting to int.
20227         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20228         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20229         * math/libm-test.inc (scalb_test_data): Add more tests.
20231 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20233         * benchtests/Makefile (DETAILED_OPT): New make option.
20234         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20235         set.
20236         * benchtests/bench-skeleton.c: Include stdbool.h.
20237         (main): Store and print timings per input.
20238         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20239         member to each argument value.
20240         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20241         (_print_arg_data): Initialize per-input timing to 0.
20243         * benchtests/Makefile (timing-type): New binary.
20244         (bench-clean): Also remove bench-timing-type.
20245         (bench): New target for timing-type.
20246         (bench-func): Print output in JSON format.
20247         * benchtests/bench-skeleton.c (main): Print output in JSON
20248         format.
20249         * benchtests/bench-timing-type.c: New file.
20250         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20251         (TIMING_PRINT_STATS): Remove.
20252         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20253         name separately.
20255         * benchtests/bench-modf.c: Remove.
20256         * benchtests/modf-inputs: New inputs file.
20258 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20260         [BZ #16362]
20261         * math/s_clog10.c (M_PI_LOG10E): New macro.
20262         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20263         imaginary parts are 0.
20264         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20265         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20266         imaginary parts are 0.
20267         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20268         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20269         imaginary parts are 0.
20270         * math/libm-test.inc (clog10_test_data): Update expected results
20271         for when real and imaginary parts are 0.
20273 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20275         * elf/dl-load.c: Finish conversion of __builtin_expect into
20276         __glibc_{un}likely.
20278 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20280         [BZ #16348]
20281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20282         1+x for argument with exponent below -67.
20283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20284         Likewise.
20285         * math/auto-libm-test-in: Add more tests of exp.
20286         * math/auto-libm-test-out: Regenerated.
20288 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20290         [BZ #16759]
20291         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20292         (nscd_getnetgrent): Use it.
20294         [BZ #16760]
20295         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20296         of stpcpy.
20298 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20300         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20301         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20302         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20303         (lll_robust_unlock): Remove out of line section. Use cfi
20304         intrinsics.
20305         (LLL_STUB_UNWIND_INFO*): Remove.
20306         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20307         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20308         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20309         (lll_robust_unlock): Remove out of line section. Use cfi
20310         intrinsics.
20311         (LLL_STUB_UNWIND_INFO*): Remove.
20313 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20315         [BZ #16758]
20316         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20317         blank values.
20319 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20321         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20323 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20325         [BZ #16198]
20326         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20327         fnstenv.
20328         * math/test-fenv-preserve.c: New file.
20329         * math/Makefile (tests): Add test-fenv-preserve.
20331 2014-03-26  Will Newton <will.newton@linaro.org>
20333         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20335 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20337         * scripts/versionlist.awk: Partition the version sets and emit all
20338         GLIBC_* (sorted) before all others (sorted).
20340 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20342         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20343         GLIBC_2.2.5 version.
20345 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20347         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20348         calls.
20350         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20351         previous change.
20353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20355 2014-03-25  Andreas Schwab  <schwab@suse.de>
20357         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20358         label to be used after in6ailist is initialized.
20360 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20363         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20365 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20367         [BZ #16357]
20368         [BZ #16599]
20369         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20370         min_plus_half.
20371         (fp_formats): Update initializers.
20372         (init_fp_formats): Initialize new field.
20373         (output_for_one_input_case): Allow underflow for results up to
20374         min_plus_half.
20375         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20376         * math/auto-libm-test-in: Don't mark some underflows from asin and
20377         atanh as spurious.
20378         * math/auto-libm-test-out: Regenerated.
20379         * sysdeps/i386/fpu/libm-test-ulps: Update.
20380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20382 2014-03-25  Andreas Schwab  <schwab@suse.de>
20384         * libio/Makefile (tst-ftell-partial-wide-ENV)
20385         (tst-ftell-active-handler-ENV): Define.
20387 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20389         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20391 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20393         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20395 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20397         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20398         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20399         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20401 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20403         [BZ #16634]
20404         * elf/dl-load.c (open_verify): Add mode parameter.
20405         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20406         (open_path): Change from boolean 'secure' to complete flag 'mode'
20407         (_dl_map_object): Adjust.
20408         * elf/Makefile (tests): Add tst-dlopen-aout.
20409         * elf/tst-dlopen-aout.c: New test.
20411 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20413         [BZ #16714]
20414         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20415         (struct stat): Rename member pad0 to __glibc_reserved0.
20417         [BZ #16712]
20418         * sysdeps/s390/s390-32/bits/wordsize.h
20419         (__WORDSIZE32_SIZE_ULONG): New define.
20420         * sysdeps/s390/s390-64/bits/wordsize.h
20421         (__WORDSIZE32_SIZE_ULONG): Likewise.
20422         * sysdeps/generic/stdint.h (SIZE_MAX):
20423         Define as UL if __WORDSIZE32_SIZE_ULONG.
20425         [BZ #16713]
20426         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20427         (__glibc_reserved0): New variable.
20428         (sa_flags): Change type to int.
20430         * posix/Makefile (before-compile): Use += before-compile instead
20431         of a :=.
20433         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20434         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20436 2014-03-20  Andreas Schwab  <schwab@suse.de>
20438         [BZ #16743]
20439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20440         non-matching result from nscd.
20442 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20444         * scripts/bench.py: Moved to ...
20445         * benchtests/scripts/bench.py: ... here.
20446         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20448 2014-03-24  Andreas Schwab  <schwab@suse.de>
20450         [BZ #16002]
20451         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20452         alloca_account and account alloca use for struct in6ailist.
20454 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #16284]
20457         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20458         rounding mode to recompute results that overflow to infinity or
20459         underflow to zero.
20460         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20461         bug 16284.
20462         * math/auto-libm-test-out: Regenerated.
20463         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20464         (ccosh_test): Likewise.
20465         (csin_test_data): Use plus_oflow.
20466         (csin_test): Use ALL_RM_TEST.
20467         (csinh_test_data): Use plus_oflow.
20468         (csinh_test): Use ALL_RM_TEST.
20469         * sysdeps/i386/fpu/libm-test-ulps: Update.
20470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20472 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20474         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20475         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20476         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20478         [BZ #16731]
20479         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20480         when x - 1 is zero.
20481         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20482         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20483         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20484         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20485         argument is 1.
20486         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20487         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20488         zero.
20489         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20490         * sysdeps/i386/fpu/libm-test-ulps: Update.
20491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20493 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20495         * scripts/bench.pl: Remove file.
20496         * scripts/bench.py: New benchmark script.
20497         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20498         * benchtests/README: Mention python dependency.
20499         * scripts/pylintrc: New file.
20500         * scripts/pylint: New file.
20502         * bits/mathdef.h: Use #ifdef instead of #if.
20503         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20504         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20505         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20506         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20507         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20508         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20510 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20511             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20513         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20515         and strpbrk-ppc64 objects.
20516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20517         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20518         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20519         multiarch strpbrk for POWER7.
20520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20521         multiarch strpbrk for PPC64.
20522         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20523         ifunc selector.
20524         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20525         strpbrk for POWER7.
20527 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20529         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20530         (atan_test): Likewise.
20531         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20532         (atanh_test): Use ALL_RM_TEST.
20533         (atan2_test_data): Likewise.
20534         (cabs_test): Likewise.
20535         (cacosh_test): Likewise.
20536         (carg_test): Likewise.
20537         (casin_test): Likewise.
20538         (casinh_test): Likewise.
20539         (cbrt_test): Likewise.
20540         (csqrt_test): Likewise.
20541         (erf_test): Likewise.
20542         (erfc_test): Likewise.
20543         (pow10_test): Likewise.
20544         (exp2_test): Likewise.
20545         (hypot_test): Likewise.
20546         (j0_test): Likewise.
20547         (j1_test): Likewise.
20548         (lgamma_test): Likewise.
20549         (gamma_test): Likewise.
20550         (sincos_test): Likewise.
20551         (tanh_test): Likewise.
20552         (y0_test): Likewise.
20553         (y1_test): Likewise.
20554         * sysdeps/i386/fpu/libm-test-ulps: Update.
20555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20557 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20559         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20561         and strcspn-ppc64 objects.
20562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20563         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20564         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20565         multiarch strcspn for POWER7.
20566         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20567         multiarch strcspn for PPC64.
20568         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20569         ifunc selector.
20570         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20571         strcspn for POWER7.
20573 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20575         * math/gen-libm-test.pl (generate_testfile): Expect only function
20576         name as argument to AUTO_TESTS_* and pass results for all rounding
20577         modes to parse_args.
20578         (parse_auto_input): Separate inputs of automatic tests from
20579         outputs before storing in %auto_tests.
20580         * math/libm-test.inc (acos_test_data): Update call to
20581         AUTO_TESTS_f_f.
20582         (acos_test): Use ALL_RM_TEST.
20583         (acos_tonearest_test_data): Remove.
20584         (acos_test_tonearest): Likewise.
20585         (acos_towardzero_test_data): Likewise.
20586         (acos_test_towardzero): Likewise.
20587         (acos_downward_test_data): Likewise.
20588         (acos_test_downward): Likewise.
20589         (acos_upward_test_data): Likewise.
20590         (acos_test_upward): Likewise.
20591         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20592         (asin_test_data): Likewise.
20593         (asin_test): Use ALL_RM_TEST.
20594         (asin_tonearest_test_data): Remove.
20595         (asin_test_tonearest): Likewise.
20596         (asin_towardzero_test_data): Likewise.
20597         (asin_test_towardzero): Likewise.
20598         (asin_downward_test_data): Likewise.
20599         (asin_test_downward): Likewise.
20600         (asin_upward_test_data): Likewise.
20601         (asin_test_upward): Likewise.
20602         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20603         (atan_test_data): Likewise.
20604         (atanh_test_data): Likewise.
20605         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20606         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20607         (carg_test_data): Likewise.
20608         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20609         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20610         (ccosh_test_data): Likewise.
20611         (cexp_test_data): Likewise.
20612         (clog_test_data): Likewise.
20613         (clog10_test_data): Likewise.
20614         (cos_test_data): Update call to AUTO_TESTS_f_f.
20615         (cos_test): Use ALL_RM_TEST.
20616         (cos_tonearest_test_data): Remove.
20617         (cos_test_tonearest): Likewise.
20618         (cos_towardzero_test_data): Likewise.
20619         (cos_test_towardzero): Likewise.
20620         (cos_downward_test_data): Likewise.
20621         (cos_test_downward): Likewise.
20622         (cos_upward_test_data): Likewise.
20623         (cos_test_upward): Likewise.
20624         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20625         (cosh_test): Use ALL_RM_TEST.
20626         (cosh_tonearest_test_data): Remove.
20627         (cosh_test_tonearest): Likewise.
20628         (cosh_towardzero_test_data): Likewise.
20629         (cosh_test_towardzero): Likewise.
20630         (cosh_downward_test_data): Likewise.
20631         (cosh_test_downward): Likewise.
20632         (cosh_upward_test_data): Likewise.
20633         (cosh_test_upward): Likewise.
20634         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20635         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20636         (ctan_test_data): Likewise.
20637         (ctan_test): Use ALL_RM_TEST.
20638         (ctan_tonearest_test_data): Remove.
20639         (ctan_test_tonearest): Likewise.
20640         (ctan_towardzero_test_data): Likewise.
20641         (ctan_test_towardzero): Likewise.
20642         (ctan_downward_test_data): Likewise.
20643         (ctan_test_downward): Likewise.
20644         (ctan_upward_test_data): Likewise.
20645         (ctan_test_upward): Likewise.
20646         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20647         (ctanh_test): Use ALL_RM_TEST.
20648         (ctanh_tonearest_test_data): Remove.
20649         (ctanh_test_tonearest): Likewise.
20650         (ctanh_towardzero_test_data): Likewise.
20651         (ctanh_test_towardzero): Likewise.
20652         (ctanh_downward_test_data): Likewise.
20653         (ctanh_test_downward): Likewise.
20654         (ctanh_upward_test_data): Likewise.
20655         (ctanh_test_upward): Likewise.
20656         (erf_test_data): Update call to AUTO_TESTS_f_f.
20657         (erfc_test_data): Likewise.
20658         (exp_test_data): Likewise.
20659         (exp_test): Use ALL_RM_TEST.
20660         (exp_tonearest_test_data): Remove.
20661         (exp_test_tonearest): Likewise.
20662         (exp_towardzero_test_data): Likewise.
20663         (exp_test_towardzero): Likewise.
20664         (exp_downward_test_data): Likewise.
20665         (exp_test_downward): Likewise.
20666         (exp_upward_test_data): Likewise.
20667         (exp_test_upward): Likewise.
20668         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20669         (exp10_test): Use ALL_RM_TEST.
20670         (exp10_tonearest_test_data): Remove.
20671         (exp10_test_tonearest): Likewise.
20672         (exp10_towardzero_test_data): Likewise.
20673         (exp10_test_towardzero): Likewise.
20674         (exp10_downward_test_data): Likewise.
20675         (exp10_test_downward): Likewise.
20676         (exp10_upward_test_data): Likewise.
20677         (exp10_test_upward): Likewise.
20678         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20679         (expm1_test_data): Likewise.
20680         (expm1_test): Use ALL_RM_TEST.
20681         (expm1_tonearest_test_data): Remove.
20682         (expm1_test_tonearest): Likewise.
20683         (expm1_towardzero_test_data): Likewise.
20684         (expm1_test_towardzero): Likewise.
20685         (expm1_downward_test_data): Likewise.
20686         (expm1_test_downward): Likewise.
20687         (expm1_upward_test_data): Likewise.
20688         (expm1_test_upward): Likewise.
20689         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20690         (fma_test): Use ALL_RM_TEST.
20691         (fma_towardzero_test_data): Remove.
20692         (fma_test_towardzero): Likewise.
20693         (fma_downward_test_data): Likewise.
20694         (fma_test_downward): Likewise.
20695         (fma_upward_test_data): Likewise.
20696         (fma_test_upward): Likewise.
20697         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20698         (j0_test_data): Update call to AUTO_TESTS_f_f.
20699         (j1_test_data): Likewise.
20700         (jn_test_data): Update call to AUTO_TESTS_if_f.
20701         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20702         (log_test_data): Update call to AUTO_TESTS_f_f.
20703         (log10_test_data): Likewise.
20704         (log1p_test_data): Likewise.
20705         (log2_test_data): Likewise.
20706         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20707         (pow_tonearest_test_data): Likewise.
20708         (sin_test_data): Update call to AUTO_TESTS_f_f.
20709         (sin_test): Use ALL_RM_TEST.
20710         (sin_tonearest_test_data): Remove.
20711         (sin_test_tonearest): Likewise.
20712         (sin_towardzero_test_data): Likewise.
20713         (sin_test_towardzero): Likewise.
20714         (sin_downward_test_data): Likewise.
20715         (sin_test_downward): Likewise.
20716         (sin_upward_test_data): Likewise.
20717         (sin_test_upward): Likewise.
20718         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20719         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20720         (sinh_test): Use ALL_RM_TEST.
20721         (sinh_tonearest_test_data): Remove.
20722         (sinh_test_tonearest): Likewise.
20723         (sinh_towardzero_test_data): Likewise.
20724         (sinh_test_towardzero): Likewise.
20725         (sinh_downward_test_data): Likewise.
20726         (sinh_test_downward): Likewise.
20727         (sinh_upward_test_data): Likewise.
20728         (sinh_test_upward): Likewise.
20729         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20730         (sqrt_test): Use ALL_RM_TEST.
20731         (sqrt_tonearest_test_data): Remove.
20732         (sqrt_test_tonearest): Likewise.
20733         (sqrt_towardzero_test_data): Likewise.
20734         (sqrt_test_towardzero): Likewise.
20735         (sqrt_downward_test_data): Likewise.
20736         (sqrt_test_downward): Likewise.
20737         (sqrt_upward_test_data): Likewise.
20738         (sqrt_test_upward): Likewise.
20739         (tan_test_data): Update call to AUTO_TESTS_f_f.
20740         (tan_test): Use ALL_RM_TEST.
20741         (tan_tonearest_test_data): Remove.
20742         (tan_test_tonearest): Likewise.
20743         (tan_towardzero_test_data): Likewise.
20744         (tan_test_towardzero): Likewise.
20745         (tan_downward_test_data): Likewise.
20746         (tan_test_downward): Likewise.
20747         (tan_upward_test_data): Likewise.
20748         (tan_test_upward): Likewise.
20749         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20750         (tgamma_test_data): Likewise.
20751         (y0_test_data): Likewise.
20752         (y1_test_data): Likewise.
20753         (yn_test_data): Update call to AUTO_TESTS_if_f.
20754         (main): Do not call removed functions.
20756 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20758         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20759         (ldexp_test_data): Remove.
20760         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20761         scalbn_test_data.
20762         (scalb_test): Use ALL_RM_TEST.
20764 2014-03-19  Andreas Schwab  <schwab@suse.de>
20766         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20768 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20770         [BZ #16649]
20771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20772         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20773         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20775         (__ASSUME_PREADV): Undefine.
20776         (__ASSUME_PWRITEV): Likewise.
20778 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20780         * bits/mman-linux.h: Add comment about non-Linux use.
20781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20782         bits/mman-linux.h resting place.
20784         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20785         * bits/mman-linux.h: ... here.
20787 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20789         * conform/conformtest.pl: Add standard definition when calling C
20790         preprocessor on data files.
20791         (checknamespace): Remove unused variable.
20793 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20795         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20796         minus_oflow, plus_uflow and minus_uflow in expected results.
20797         * math/libm-test.inc (scalbn_test_data): Add more tests of
20798         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20799         minus_uflow.
20800         (scalbn_test): Use ALL_RM_TEST.
20801         (scalbln_test_data): Add more tests of negative arguments.  Use
20802         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20803         (scalbln_test): Use ALL_RM_TEST.
20805 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20807         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20809 2014-03-18  Will Newton  <will.newton@linaro.org>
20811         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20812         inaccurate comment.
20814 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20816         * Makerules [!subdir] (check-abi): Exit with error status if a
20817         test failed.
20819 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20821         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20822         for rint.  Include results for all rounding modes.
20823         (nearbyint_test): Use ALL_RM_TEST.
20824         (rint_test_data): Include all tests used for nearbyint.
20826 2014-03-17  Will Newton  <will.newton@linaro.org>
20828         * nptl/sysdeps/pthread/pthread.h: Revert previous
20829         change.
20831         * sysdeps/generic/ldsodefs.h: Revert previous
20832         change.
20834         * libio/genops.c: Revert previous change.
20835         * libio/libioP.h: Likewise.
20836         * stdio-common/vfprintf.c: Likewise.
20838         * sysdeps/generic/math_private.h: Revert previous
20839         change.
20841         * sysdeps/generic/math_private.h: Check whether
20842         HAVE_RM_CTX is defined with #ifdef rather
20843         than #if.
20845         * argp/argp-fmtstream.h: Check whether
20846         __STRICT_ANSI__ is defined with #ifdef rather
20847         than #if.
20848         * argp/argp.h: Likewise.
20850         * libio/genops.c: Check whether
20851         _IO_JUMPS_OFFSET is defined with #ifdef rather
20852         than #if.
20853         * libio/libioP.h: Likewise.
20854         * stdio-common/vfprintf.c: Likewise.
20856         * sysdeps/generic/ldsodefs.h: Check whether
20857         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20858         than #if.
20860         * nptl/sysdeps/pthread/pthread.h: Check
20861         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20862         its value.
20864 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20866         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20867         setting O_APPEND.
20868         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20869         test case.
20871         [BZ #16680]
20872         * libio/fileops.c (_IO_file_open): Seek to end of file but
20873         don't cache the offset.
20874         (get_file_offset): Remove function.
20875         (do_ftell): Use cached offset when available.
20876         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20877         don't cache the offset.
20878         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20879         case.
20880         (do_one_test): Call it.
20881         (do_ftell_test): Fix up expected old offset for a+ mode.
20882         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20883         available.
20885         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20886         up test status with function return status.
20887         (do_write_test): Likewise.
20888         (do_append_test): Likewise.
20890         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20891         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20892         Remove.
20894 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20896         * math/gen-libm-test.pl (parse_args): Handle results specified for
20897         each rounding mode separately.
20898         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20899         tests and results from lrint_tonearest_test_data,
20900         lrint_towardzero_test_data, lrint_downward_test_data and
20901         lrint_upward_test_data.
20902         (lrint_test): Use ALL_RM_TEST.
20903         (lrint_tonearest_test_data): Remove.
20904         (lrint_test_tonearest): Likewise.
20905         (lrint_towardzero_test_data): Likewise.
20906         (lrint_test_towardzero): Likewise.
20907         (lrint_downward_test_data): Likewise.
20908         (lrint_test_downward): Likewise.
20909         (lrint_upward_test_data): Likewise.
20910         (lrint_test_upward): Likewise.
20911         (llrint_test_data): Merge in per-rounding-mode tests and results
20912         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20913         llrint_downward_test_data and llrint_upward_test_data.
20914         (llrint_test): Use ALL_RM_TEST.
20915         (llrint_tonearest_test_data): Remove.
20916         (llrint_test_tonearest): Likewise.
20917         (llrint_towardzero_test_data): Likewise.
20918         (llrint_test_towardzero): Likewise.
20919         (llrint_downward_test_data): Likewise.
20920         (llrint_test_downward): Likewise.
20921         (llrint_upward_test_data): Likewise.
20922         (llrint_test_upward): Likewise.
20923         (rint_test_data): Merge in per-rounding-mode tests and results
20924         from rint_tonearest_test_data, rint_towardzero_test_data,
20925         rint_downward_test_data and rint_upward_test_data.  Add
20926         per-rounding-mode results for tests not in those arrays.
20927         (rint_test): Use ALL_RM_TEST.
20928         (rint_tonearest_test_data): Remove.
20929         (rint_test_tonearest): Likewise.
20930         (rint_towardzero_test_data): Likewise.
20931         (rint_test_towardzero): Likewise.
20932         (rint_downward_test_data): Likewise.
20933         (rint_test_downward): Likewise.
20934         (rint_upward_test_data): Likewise.
20935         (rint_test_upward): Likewise.
20936         (main): Don't call removed functions.
20938 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20940         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20941         "Compiled on ..." crapola.  It is anti-useful.
20943 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20945         * scripts/evaluate-test.sh: Handle fourth argument to determine
20946         whether test run should stop on failure.
20947         * Makeconfig (stop-on-test-failure): New variable.
20948         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20949         $(stop-on-test-failure).
20950         * Makefile (tests): Give a summary of results from testing and
20951         exit with failure status if they include an ERROR or FAIL.
20952         (xtests): Likewise.
20953         * manual/install.texi (Configuring and compiling): Mention
20954         stop-on-test-failure=y.
20955         * INSTALL: Regenerated.
20957 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20959         * scripts/versionlist.awk: New file.
20960         * Makerules [$(build-shared) = yes]
20961         (postclean-generated): Add Versions.def, not Versions.def.v and
20962         Versions.def.v.i.
20963         ($(common-objpfx)Versions.def.v.i): Target removed.
20964         ($(common-objpfx)Versions.def): New target.
20965         ($(common-objpfx)Versions.all): Depend on that rather that
20966         $(common-objpfx)Versions.def.v.
20967         * Versions.def: File removed.
20969         * Makeconfig (+gccwarn): Add -Wundef.
20970         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20971         a dl-sysdep.h breaking its contract.
20972         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20973         * include/stackinfo.h: New file.
20974         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20975         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20976         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20977         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20978         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20979         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20980         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20981         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20982         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20983         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20984         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20985         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20986         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20987         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20988         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20990 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20992         [BZ #16707]
20993         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20994         implementation.
20995         * math/libm-test.inc (round_test_data): Add more tests.
20997         [BZ #16706]
20998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20999         implementation.
21000         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21002         [BZ #16701]
21003         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21004         implementation.
21005         * math/libm-test.inc (ceil_test_data): Add more tests.
21007         * math/libm-test.inc (trunc_test_data): Add more tests related to
21008         BZ#16414.
21010 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21012         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21013         with #if rather than #ifdef.
21014         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21016 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21018         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21019         first.  Disable AVX-512 GCC support if assembler doesn't support
21020         it.
21021         * sysdeps/x86_64/configure: Regenerated.
21023 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21025         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21026         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21027         (__old_pthread_attr_setstack): Likewise.
21028         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21029         [!_STACK_GROWS_DOWN]: Likewise.
21031 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21033         * config.make.in (have-bash2): Delete.
21034         * configure.ac (libc_cv_have_bash2): Delete.
21035         * configure: Regenerate.
21036         * elf/Makefile (common-ldd-rewrite): Rename to ...
21037         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21038         (sh-ldd-rewrite): Delete.
21039         (bash-ldd-rewrite): Delete.
21040         (have-bash2): Delete checks.
21041         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21042         ldd-rewrite.
21044         * config.make.in (have-ksh): Delete.
21045         (KSH): Delete.
21046         * configure.ac (libc_cv_have_ksh): Delete.
21047         * configure: Regenerate.
21049         * elf/Makefile: Delete $(have-ksh) check.
21050         ($(objpfx)sotruss): Change KSH to BASH.
21051         * elf/sotruss.ksh: Rename to ...
21052         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21053         function style to match POSIX.  Drop ksh vim mode setting.
21055         * manual/time.texi (Specifying the Time Zone with TZ): Change
21056         Tuesday to Thursday.
21058         * debug/tst-longjmp_chk2.c: Update header comment.
21059         (stackoverflow_handler): Add comment.  Call assert on pass value.
21061 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21063         [BZ #16194]
21064         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21065         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21066         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21067         (La_x86_64_vector): Add zmm.
21068         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21069         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21070         ($(objpfx)tst-audit10): New target.
21071         ($(objpfx)tst-audit10.out): Likewise.
21072         (tst-audit10-ENV): New.
21073         (AVX512-CFLAGS): Likewise.
21074         (CFLAGS-tst-audit10.c): Likewise.
21075         (CFLAGS-tst-auditmod10a.c): Likewise.
21076         (CFLAGS-tst-auditmod10b.c): Likewise.
21077         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21078         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21079         * sysdeps/x86_64/configure: Regenerated.
21080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21081         AVX-512 zmm register support.
21082         (_dl_x86_64_save_sse): Likewise.
21083         (_dl_x86_64_restore_sse): Likewise.
21084         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21085         size vector registers.
21086         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21087         (ZMM_SIZE): Likewise.
21088         * sysdeps/x86_64/tst-audit10.c: New file.
21089         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21090         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21092 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21094         * configure.ac (HAVE_EHDR_START): New check.
21095         * configure: Regenerated.
21096         * config.h.in (HAVE_EHDR_START): New #undef.
21097         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21098         assuming the lowest-addressed segment maps the start of the file.
21100 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21102         * INSTALL: Regenerated.
21104 2014-03-13  Will Newton  <will.newton@linaro.org>
21106         * manual/setjmp.texi (System V contexts): Improve
21107         clarity and grammar of documentation.
21109 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21111         [BZ #16381]
21112         * elf/Makefile (tests): Add tst-pie2.
21113         (tests-pie): Add tst-pie2.
21114         * elf/tst-pie2.c: New file.
21115         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21116         for ET_EXEC.
21117         * elf/rtld.c (map_doit): Load executable as lt_executable.
21118         (dl_main): Likewise.
21120 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21122         [BZ #16642]
21123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21124         (__ASSUME_PSELECT): Undefine.
21126 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21128         [BZ #16689]
21129         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21130         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21131         static build.
21132         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21133         selector for static builds.
21135 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21137         [BZ #16695]
21138         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21139         key in the buffer.
21141 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21143         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21144         IFUNC selector for static builds.
21146 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21148         * sysdeps/mips/math_private.h [__mips_hard_float]
21149         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21150         libc_feresetround_mips_ctx.
21151         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21152         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21153         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21155         [BZ #16677]
21156         * math/s_nextafter.c (__nextafter): Do not return value from
21157         overflowing computation.
21158         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21159         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21160         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21161         Likewise.
21162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21163         Likewise.
21164         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21165         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21167 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21169         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21170         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21171         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21172         the new mov targetting sp.
21174 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21176         [BZ #16683]
21177         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21178         Define it for static builds as well.
21179         (NO_BZERO_IMPL): Likewise.
21181 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21183         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21184         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21185         multiarch strspn for PPC64.
21186         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21187         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21189         (__libc_ifunc_impl_list): Likewise.
21190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21191         multiarch optimizations
21192         * string/strspn.c (strspn): Using macro to redefine symbol name.
21194 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21197         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21198         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21199         multiarch strncat for PPC64.
21200         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21201         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21203         (__libc_ifunc_impl_list): Likewise.
21204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21205         multiarch optimizations
21207 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21209         [BZ #16639]
21210         * nscd/nscd.service: Make service type forking.
21212 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21214         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21215         sign in non default rounding modes.
21216         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21218 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21220         * math/libm-test.inc (ALL_RM_TEST): New macro.
21221         (ceil_test): Use ALL_RM_TEST.
21222         (cimag_test): Likewise.
21223         (conj_test): Likewise.
21224         (copysign_test): Likewise.
21225         (cproj_test): Likewise.
21226         (creal_test): Likewise.
21227         (fabs_test): Likewise.
21228         (floor_test): Likewise.
21229         (fmax_test): Likewise.
21230         (fmin_test): Likewise.
21231         (fmod_test): Likewise.
21232         (fpclassify_test): Likewise.
21233         (frexp_test): Likewise.
21234         (ilogb_test): Likewise.
21235         (isfinite_test): Likewise.
21236         (finite_test): Likewise.
21237         (isgreater_test): Likewise.
21238         (isgreaterequal_test): Likewise.
21239         (isinf_test): Likewise.
21240         (isless_test): Likewise.
21241         (islessequal_test): Likewise.
21242         (islessgreater_test): Likewise.
21243         (isnan_test): Likewise.
21244         (isnormal_test): Likewise.
21245         (issignaling_test): Likewise.
21246         (isunordered_test): Likewise.
21247         (logb_test): Likewise.
21248         (logb_downward_test_data): Remove.
21249         (logb_test_downward): Likewise.
21250         (lround_test): Use ALL_RM_TEST.
21251         (llround_test): Likewise.
21252         (modf_test): Likewise.
21253         (nexttoward_test): Likewise.
21254         (remainder_test): Likewise.
21255         (drem_test): Likewise.
21256         (remainder_tonearest_test_data): Likewise.
21257         (remainder_test_tonearest): Likewise.
21258         (drem_test_tonearest): Likewise.
21259         (remainder_towardzero_test_data): Likewise.
21260         (remainder_test_towardzero): Likewise.
21261         (drem_test_towardzero): Likewise.
21262         (remainder_downward_test_data): Likewise.
21263         (remainder_test_downward): Likewise.
21264         (drem_test_downward): Likewise.
21265         (remainder_upward_test_data): Likewise.
21266         (remainder_test_upward): Likewise.
21267         (drem_test_upward): Likewise.
21268         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21269         (round_test): Use ALL_RM_TEST.
21270         (signbit_test): Likewise.
21271         (trunc_test): Likewise.
21272         (significand_test): Likewise.
21273         (main): Don't call removed functions.
21275 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #16674]
21278         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21279         || __USE_XOPEN2K8].
21280         (ILL_ILLOPN): Likewise.
21281         (ILL_ILLADR): Likewise.
21282         (ILL_ILLTRP): Likewise.
21283         (ILL_PRVOPC): Likewise.
21284         (ILL_PRVREG): Likewise.
21285         (ILL_COPROC): Likewise.
21286         (ILL_BADSTK): Likewise.
21287         (FPE_INTDIV): Likewise.
21288         (FPE_INTOVF): Likewise.
21289         (FPE_FLTDIV): Likewise.
21290         (FPE_FLTOVF): Likewise.
21291         (FPE_FLTUND): Likewise.
21292         (FPE_FLTRES): Likewise.
21293         (FPE_FLTINV): Likewise.
21294         (FPE_FLTSUB): Likewise.
21295         (SEGV_MAPERR): Likewise.
21296         (SEGV_ACCERR): Likewise.
21297         (BUS_ADRALN): Likewise.
21298         (BUS_ADRERR): Likewise.
21299         (BUS_OBJERR): Likewise.
21300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21301         (TRAP_TRACE): Likewise.
21302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21303         __USE_XOPEN2K8].
21304         (CLD_KILLED): Likewise.
21305         (CLD_DUMPED): Likewise.
21306         (CLD_TRAPPED): Likewise.
21307         (CLD_STOPPED): Likewise.
21308         (CLD_CONTINUED): Likewise.
21309         (POLL_IN): Likewise.
21310         (POLL_OUT): Likewise.
21311         (POLL_MSG): Likewise.
21312         (POLL_ERR): Likewise.
21313         (POLL_PRI): Likewise.
21314         (POLL_HUP): Likewise.
21315         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21316         Likewise.
21317         (ILL_ILLOPN): Likewise.
21318         (ILL_ILLADR): Likewise.
21319         (ILL_ILLTRP): Likewise.
21320         (ILL_PRVOPC): Likewise.
21321         (ILL_PRVREG): Likewise.
21322         (ILL_COPROC): Likewise.
21323         (ILL_BADSTK): Likewise.
21324         (FPE_INTDIV): Likewise.
21325         (FPE_INTOVF): Likewise.
21326         (FPE_FLTDIV): Likewise.
21327         (FPE_FLTOVF): Likewise.
21328         (FPE_FLTUND): Likewise.
21329         (FPE_FLTRES): Likewise.
21330         (FPE_FLTINV): Likewise.
21331         (FPE_FLTSUB): Likewise.
21332         (SEGV_MAPERR): Likewise.
21333         (SEGV_ACCERR): Likewise.
21334         (BUS_ADRALN): Likewise.
21335         (BUS_ADRERR): Likewise.
21336         (BUS_OBJERR): Likewise.
21337         (BUS_MCEERR_AR): Likewise.
21338         (BUS_MCEERR_AO): Likewise.
21339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21340         (TRAP_TRACE): Likewise.
21341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21342         __USE_XOPEN2K8].
21343         (CLD_KILLED): Likewise.
21344         (CLD_DUMPED): Likewise.
21345         (CLD_TRAPPED): Likewise.
21346         (CLD_STOPPED): Likewise.
21347         (CLD_CONTINUED): Likewise.
21348         (POLL_IN): Likewise.
21349         (POLL_OUT): Likewise.
21350         (POLL_MSG): Likewise.
21351         (POLL_ERR): Likewise.
21352         (POLL_PRI): Likewise.
21353         (POLL_HUP): Likewise.
21354         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21355         (ILL_ILLOPN): Likewise.
21356         (ILL_ILLADR): Likewise.
21357         (ILL_ILLTRP): Likewise.
21358         (ILL_PRVOPC): Likewise.
21359         (ILL_PRVREG): Likewise.
21360         (ILL_COPROC): Likewise.
21361         (ILL_BADSTK): Likewise.
21362         (FPE_INTDIV): Likewise.
21363         (FPE_INTOVF): Likewise.
21364         (FPE_FLTDIV): Likewise.
21365         (FPE_FLTOVF): Likewise.
21366         (FPE_FLTUND): Likewise.
21367         (FPE_FLTRES): Likewise.
21368         (FPE_FLTINV): Likewise.
21369         (FPE_FLTSUB): Likewise.
21370         (SEGV_MAPERR): Likewise.
21371         (SEGV_ACCERR): Likewise.
21372         (BUS_ADRALN): Likewise.
21373         (BUS_ADRERR): Likewise.
21374         (BUS_OBJERR): Likewise.
21375         (BUS_MCEERR_AR): Likewise.
21376         (BUS_MCEERR_AO): Likewise.
21377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21378         (TRAP_TRACE): Likewise.
21379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21380         __USE_XOPEN2K8].
21381         (CLD_KILLED): Likewise.
21382         (CLD_DUMPED): Likewise.
21383         (CLD_TRAPPED): Likewise.
21384         (CLD_STOPPED): Likewise.
21385         (CLD_CONTINUED): Likewise.
21386         (POLL_IN): Likewise.
21387         (POLL_OUT): Likewise.
21388         (POLL_MSG): Likewise.
21389         (POLL_ERR): Likewise.
21390         (POLL_PRI): Likewise.
21391         (POLL_HUP): Likewise.
21392         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21393         Likewise.
21394         (ILL_ILLOPN): Likewise.
21395         (ILL_ILLADR): Likewise.
21396         (ILL_ILLTRP): Likewise.
21397         (ILL_PRVOPC): Likewise.
21398         (ILL_PRVREG): Likewise.
21399         (ILL_COPROC): Likewise.
21400         (ILL_BADSTK): Likewise.
21401         (ILL_BADIADDR): Likewise.
21402         (ILL_BREAK): Likewise.
21403         (FPE_INTDIV): Likewise.
21404         (FPE_INTOVF): Likewise.
21405         (FPE_FLTDIV): Likewise.
21406         (FPE_FLTOVF): Likewise.
21407         (FPE_FLTUND): Likewise.
21408         (FPE_FLTRES): Likewise.
21409         (FPE_FLTINV): Likewise.
21410         (FPE_FLTSUB): Likewise.
21411         (FPE_DECOVF): Likewise.
21412         (FPE_DECDIV): Likewise.
21413         (FPE_DECERR): Likewise.
21414         (FPE_INVASC): Likewise.
21415         (FPE_INVDEC): Likewise.
21416         (SEGV_MAPERR): Likewise.
21417         (SEGV_ACCERR): Likewise.
21418         (SEGV_PSTKOVF): Likewise.
21419         (BUS_ADRALN): Likewise.
21420         (BUS_ADRERR): Likewise.
21421         (BUS_OBJERR): Likewise.
21422         (BUS_MCEERR_AR): Likewise.
21423         (BUS_MCEERR_AO): Likewise.
21424         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21425         (TRAP_TRACE): Likewise.
21426         (TRAP_BRANCH): Likewise.
21427         (TRAP_HWBKPT): Likewise.
21428         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21429         __USE_XOPEN2K8].
21430         (CLD_KILLED): Likewise.
21431         (CLD_DUMPED): Likewise.
21432         (CLD_TRAPPED): Likewise.
21433         (CLD_STOPPED): Likewise.
21434         (CLD_CONTINUED): Likewise.
21435         (POLL_IN): Likewise.
21436         (POLL_OUT): Likewise.
21437         (POLL_MSG): Likewise.
21438         (POLL_ERR): Likewise.
21439         (POLL_PRI): Likewise.
21440         (POLL_HUP): Likewise.
21441         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21442         (ILL_ILLOPN): Likewise.
21443         (ILL_ILLADR): Likewise.
21444         (ILL_ILLTRP): Likewise.
21445         (ILL_PRVOPC): Likewise.
21446         (ILL_PRVREG): Likewise.
21447         (ILL_COPROC): Likewise.
21448         (ILL_BADSTK): Likewise.
21449         (FPE_INTDIV): Likewise.
21450         (FPE_INTOVF): Likewise.
21451         (FPE_FLTDIV): Likewise.
21452         (FPE_FLTOVF): Likewise.
21453         (FPE_FLTUND): Likewise.
21454         (FPE_FLTRES): Likewise.
21455         (FPE_FLTINV): Likewise.
21456         (FPE_FLTSUB): Likewise.
21457         (SEGV_MAPERR): Likewise.
21458         (SEGV_ACCERR): Likewise.
21459         (BUS_ADRALN): Likewise.
21460         (BUS_ADRERR): Likewise.
21461         (BUS_OBJERR): Likewise.
21462         (BUS_MCEERR_AR): Likewise.
21463         (BUS_MCEERR_AO): Likewise.
21464         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21465         (TRAP_TRACE): Likewise.
21466         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21467         __USE_XOPEN2K8].
21468         (CLD_KILLED): Likewise.
21469         (CLD_DUMPED): Likewise.
21470         (CLD_TRAPPED): Likewise.
21471         (CLD_STOPPED): Likewise.
21472         (CLD_CONTINUED): Likewise.
21473         (POLL_IN): Likewise.
21474         (POLL_OUT): Likewise.
21475         (POLL_MSG): Likewise.
21476         (POLL_ERR): Likewise.
21477         (POLL_PRI): Likewise.
21478         (POLL_HUP): Likewise.
21479         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21480         (ILL_ILLOPN): Likewise.
21481         (ILL_ILLADR): Likewise.
21482         (ILL_ILLTRP): Likewise.
21483         (ILL_PRVOPC): Likewise.
21484         (ILL_PRVREG): Likewise.
21485         (ILL_COPROC): Likewise.
21486         (ILL_BADSTK): Likewise.
21487         (FPE_INTDIV): Likewise.
21488         (FPE_INTOVF): Likewise.
21489         (FPE_FLTDIV): Likewise.
21490         (FPE_FLTOVF): Likewise.
21491         (FPE_FLTUND): Likewise.
21492         (FPE_FLTRES): Likewise.
21493         (FPE_FLTINV): Likewise.
21494         (FPE_FLTSUB): Likewise.
21495         (SEGV_MAPERR): Likewise.
21496         (SEGV_ACCERR): Likewise.
21497         (BUS_ADRALN): Likewise.
21498         (BUS_ADRERR): Likewise.
21499         (BUS_OBJERR): Likewise.
21500         (BUS_MCEERR_AR): Likewise.
21501         (BUS_MCEERR_AO): Likewise.
21502         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21503         (TRAP_TRACE): Likewise.
21504         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21505         __USE_XOPEN2K8].
21506         (CLD_KILLED): Likewise.
21507         (CLD_DUMPED): Likewise.
21508         (CLD_TRAPPED): Likewise.
21509         (CLD_STOPPED): Likewise.
21510         (CLD_CONTINUED): Likewise.
21511         (POLL_IN): Likewise.
21512         (POLL_OUT): Likewise.
21513         (POLL_MSG): Likewise.
21514         (POLL_ERR): Likewise.
21515         (POLL_PRI): Likewise.
21516         (POLL_HUP): Likewise.
21517         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21518         (ILL_ILLOPN): Likewise.
21519         (ILL_ILLADR): Likewise.
21520         (ILL_ILLTRP): Likewise.
21521         (ILL_PRVOPC): Likewise.
21522         (ILL_PRVREG): Likewise.
21523         (ILL_COPROC): Likewise.
21524         (ILL_BADSTK): Likewise.
21525         (FPE_INTDIV): Likewise.
21526         (FPE_INTOVF): Likewise.
21527         (FPE_FLTDIV): Likewise.
21528         (FPE_FLTOVF): Likewise.
21529         (FPE_FLTUND): Likewise.
21530         (FPE_FLTRES): Likewise.
21531         (FPE_FLTINV): Likewise.
21532         (FPE_FLTSUB): Likewise.
21533         (SEGV_MAPERR): Likewise.
21534         (SEGV_ACCERR): Likewise.
21535         (BUS_ADRALN): Likewise.
21536         (BUS_ADRERR): Likewise.
21537         (BUS_OBJERR): Likewise.
21538         (BUS_MCEERR_AR): Likewise.
21539         (BUS_MCEERR_AO): Likewise.
21540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21541         (TRAP_TRACE): Likewise.
21542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21543         __USE_XOPEN2K8].
21544         (CLD_KILLED): Likewise.
21545         (CLD_DUMPED): Likewise.
21546         (CLD_TRAPPED): Likewise.
21547         (CLD_STOPPED): Likewise.
21548         (CLD_CONTINUED): Likewise.
21549         (POLL_IN): Likewise.
21550         (POLL_OUT): Likewise.
21551         (POLL_MSG): Likewise.
21552         (POLL_ERR): Likewise.
21553         (POLL_PRI): Likewise.
21554         (POLL_HUP): Likewise.
21555         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21556         (ILL_ILLOPN): Likewise.
21557         (ILL_ILLADR): Likewise.
21558         (ILL_ILLTRP): Likewise.
21559         (ILL_PRVOPC): Likewise.
21560         (ILL_PRVREG): Likewise.
21561         (ILL_COPROC): Likewise.
21562         (ILL_BADSTK): Likewise.
21563         (ILL_DBLFLT): Likewise.
21564         (ILL_HARDWALL): Likewise.
21565         (FPE_INTDIV): Likewise.
21566         (FPE_INTOVF): Likewise.
21567         (FPE_FLTDIV): Likewise.
21568         (FPE_FLTOVF): Likewise.
21569         (FPE_FLTUND): Likewise.
21570         (FPE_FLTRES): Likewise.
21571         (FPE_FLTINV): Likewise.
21572         (FPE_FLTSUB): Likewise.
21573         (SEGV_MAPERR): Likewise.
21574         (SEGV_ACCERR): Likewise.
21575         (BUS_ADRALN): Likewise.
21576         (BUS_ADRERR): Likewise.
21577         (BUS_OBJERR): Likewise.
21578         (BUS_MCEERR_AR): Likewise.
21579         (BUS_MCEERR_AO): Likewise.
21580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21581         (TRAP_TRACE): Likewise.
21582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21583         __USE_XOPEN2K8].
21584         (CLD_KILLED): Likewise.
21585         (CLD_DUMPED): Likewise.
21586         (CLD_TRAPPED): Likewise.
21587         (CLD_STOPPED): Likewise.
21588         (CLD_CONTINUED): Likewise.
21589         (POLL_IN): Likewise.
21590         (POLL_OUT): Likewise.
21591         (POLL_MSG): Likewise.
21592         (POLL_ERR): Likewise.
21593         (POLL_PRI): Likewise.
21594         (POLL_HUP): Likewise.
21595         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21596         (ILL_ILLOPN): Likewise.
21597         (ILL_ILLADR): Likewise.
21598         (ILL_ILLTRP): Likewise.
21599         (ILL_PRVOPC): Likewise.
21600         (ILL_PRVREG): Likewise.
21601         (ILL_COPROC): Likewise.
21602         (ILL_BADSTK): Likewise.
21603         (FPE_INTDIV): Likewise.
21604         (FPE_INTOVF): Likewise.
21605         (FPE_FLTDIV): Likewise.
21606         (FPE_FLTOVF): Likewise.
21607         (FPE_FLTUND): Likewise.
21608         (FPE_FLTRES): Likewise.
21609         (FPE_FLTINV): Likewise.
21610         (FPE_FLTSUB): Likewise.
21611         (SEGV_MAPERR): Likewise.
21612         (SEGV_ACCERR): Likewise.
21613         (BUS_ADRALN): Likewise.
21614         (BUS_ADRERR): Likewise.
21615         (BUS_OBJERR): Likewise.
21616         (BUS_MCEERR_AR): Likewise.
21617         (BUS_MCEERR_AO): Likewise.
21618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21619         (TRAP_TRACE): Likewise.
21620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21621         __USE_XOPEN2K8].
21622         (CLD_KILLED): Likewise.
21623         (CLD_DUMPED): Likewise.
21624         (CLD_TRAPPED): Likewise.
21625         (CLD_STOPPED): Likewise.
21626         (CLD_CONTINUED): Likewise.
21627         (POLL_IN): Likewise.
21628         (POLL_OUT): Likewise.
21629         (POLL_MSG): Likewise.
21630         (POLL_ERR): Likewise.
21631         (POLL_PRI): Likewise.
21632         (POLL_HUP): Likewise.
21633         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21634         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21636         [BZ #16670]
21637         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21638         before #include of <time.h>.
21639         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21640         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21641         (test-xfail-UNIX98/sched.h/conform): Likewise.
21643 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21645         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21646         error absence of trapping exception support.
21647         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21649 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21651         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21652         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21653         * timezone/Makefile (testdata): Move definition above include of
21654         Rules.
21655         (test-zones): New variable.
21656         (tests-special): Add zone files.
21657         (build-testdata): Use $(evaluate-test).
21659         * elf/Makefile (tests-special): Rename tests to end with .out.
21660         ($(objpfx)noload-mem): Likewise.
21661         ($(objpfx)tst-leaks1-mem): Likewise.
21662         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21663         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21664         $(objpfx)test-iconvconfig.out.
21665         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21666         set -e inside subshell and redirect output to file.
21667         * iconvdata/Makefile (generated): Rename tests to end with .out.
21668         Correct type.
21669         (tests-special): Rename tests to end with .out.
21670         ($(objpfx)mtrace-tst-loading): Likewise.
21671         * intl/Makefile (generated): Likewise.
21672         (tests-special): Likewise.
21673         ($(objpfx)mtrace-tst-gettext): Likewise.
21674         * misc/Makefile (generated): Likewise.
21675         (tests-special): Likewise.
21676         ($(objpfx)tst-error1-mem): Likewise.
21677         * nptl/Makefile (tests-special): Likewise.
21678         ($(objpfx)tst-stack3-mem): Likewise.
21679         (generated): Likewise.
21680         * posix/Makefile (generated): Likewise.
21681         (tests-special): Likewise.
21682         (xtests-special): Likewise.
21683         ($(objpfx)tst-fnmatch-mem): Likewise.
21684         ($(objpfx)bug-regex2-mem): Likewise.
21685         ($(objpfx)bug-regex14-mem): Likewise.
21686         ($(objpfx)bug-regex21-mem): Likewise.
21687         ($(objpfx)bug-regex31-mem): Likewise.
21688         ($(objpfx)tst-vfork3-mem): Likewise.
21689         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21690         ($(objpfx)tst-pcre-mem): Likewise.
21691         ($(objpfx)tst-boost-mem): Likewise.
21692         ($(objpfx)bug-ga2-mem): Likewise.
21693         ($(objpfx)bug-glob2-mem): Likewise.
21694         * resolv/Makefile (generate): Likewise.
21695         (tests-special): Likewise.
21696         (xtests-special): Likewise.
21697         (generated): Likewise.
21698         ($(objpfx)mtrace-tst-leaks): Likewise.
21699         ($(objpfx)mtrace-tst-leaks2): Likewise.
21701         * scripts/merge-test-results.sh: New file.
21702         * Makefile (tests-special-notdir): New variable.
21703         (tests): Run merge-test-results.sh.
21704         (xtests): Likewise.
21705         * Rules (tests-special-notdir): New variable.
21706         (xtests-special-notdir): Likewise.
21707         (tests): Run merge-test-results.sh
21708         (xtests): Likewise.
21710         * Makeconfig (test-xfail-name): New variable.
21711         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21712         compute variable name for expected failures.
21713         * conform/Makefile (conformtest-headers-data): New variable.
21714         (conformtest-standards): Likewise.
21715         (conformtest-headers-ISO): Likewise.
21716         (conformtest-headers-ISO99): Likewise.
21717         (conformtest-headers-ISO11): Likewise.
21718         (conformtest-headers-POSIX): Likewise.
21719         (conformtest-headers-XPG3): Likewise.
21720         (conformtest-headers-XPG4): Likewise.
21721         (conformtest-headers-UNIX98): Likewise.
21722         (conformtest-headers-XOPEN2K): Likewise.
21723         (conformtest-headers-POSIX2008): Likewise.
21724         (conformtest-headers-XOPEN2K8): Likewise.
21725         (conformtest-header-list-base): Likewise.
21726         (conformtest-header-list-tests): Likewise.
21727         (conformtest-header-base): Likewise.
21728         (conformtest-header-tests): Likewise.
21729         (tests-special): Add $(conformtest-header-list-tests).  If
21730         [$(fast-check) && !$(cross-compiling)], add
21731         $(conformtest-header-tests) instead of
21732         $(objpfx)run-conformtest.out.
21733         (generated): Add $(conformtest-header-list-base).  If
21734         [$(fast-check) && !$(cross-compiling)], add
21735         $(conformtest-header-base).  Remove previous setting.
21736         ($(conformtest-header-list-tests)): New target.
21737         (test-xfail-run-conformtest): Remove variable.
21738         ($(objpfx)run-conformtest.out): Remove target.
21739         (test-xfail-ISO11/complex.h/conform): New variable.
21740         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21741         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21742         (test-xfail-XPG3/varargs.h/conform): Likewise.
21743         (test-xfail-XPG4/varargs.h/conform): Likewise.
21744         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21745         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21746         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21747         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21748         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21749         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21750         (test-xfail-XPG3/ftw.h/conform): Likewise.
21751         (test-xfail-XPG3/grp.h/conform): Likewise.
21752         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21753         (test-xfail-XPG3/limits.h/conform): Likewise.
21754         (test-xfail-XPG3/pwd.h/conform): Likewise.
21755         (test-xfail-XPG3/search.h/conform): Likewise.
21756         (test-xfail-XPG3/signal.h/conform): Likewise.
21757         (test-xfail-XPG3/stdio.h/conform): Likewise.
21758         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21759         (test-xfail-XPG3/string.h/conform): Likewise.
21760         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21761         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21762         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21763         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21764         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21765         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21766         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21767         (test-xfail-XPG3/termios.h/conform): Likewise.
21768         (test-xfail-XPG3/time.h/conform): Likewise.
21769         (test-xfail-XPG3/unistd.h/conform): Likewise.
21770         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21771         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21772         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21773         (test-xfail-XPG4/netdb.h/conform): Likewise.
21774         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21775         (test-xfail-XPG4/signal.h/conform): Likewise.
21776         (test-xfail-XPG4/stdio.h/conform): Likewise.
21777         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21778         (test-xfail-XPG4/stropts.h/conform): Likewise.
21779         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21780         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21781         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21782         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21783         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21784         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21785         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21786         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21787         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21788         (test-xfail-XPG4/termios.h/conform): Likewise.
21789         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21790         (test-xfail-XPG4/unistd.h/conform): Likewise.
21791         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21792         (test-xfail-POSIX/sched.h/conform): Likewise.
21793         (test-xfail-POSIX/signal.h/conform): Likewise.
21794         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21795         (test-xfail-POSIX/tar.h/conform): Likewise.
21796         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21797         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21798         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21799         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21800         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21801         (test-xfail-UNIX98/sched.h/conform): Likewise.
21802         (test-xfail-UNIX98/signal.h/conform): Likewise.
21803         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21804         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21805         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21806         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21807         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21808         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21809         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21810         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21811         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21812         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21813         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21814         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21815         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21816         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21817         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21818         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21819         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21820         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21821         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21822         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21823         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21824         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21825         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21826         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21827         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21828         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21829         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21830         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21831         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21832         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21833         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21834         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21835         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21836         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21837         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21838         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21839         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21840         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21841         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21842         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21843         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21844         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21845         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21846         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21847         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21848         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21849         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21850         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21851         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21852         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21853         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21854         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21855         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21856         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21857         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21858         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21859         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21860         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21861         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21862         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21863         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21864         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21865         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21866         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21867         (conformtest-cc-flags): Likewise.
21868         ($(conformtest-header-tests): New target.
21869         * conform/check-header-lists.sh: New file.
21870         * conform/run-conformtest.sh: Remove.
21872         * conform/conformtest.pl: Allow ' and \ in values given for
21873         constants.
21874         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21875         inclusion.
21876         [POSIX] (sys/types.h): Likewise.
21877         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21878         inclusion.
21879         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21880         inclusion.
21881         * conform/data/signal.h-data (SIGIO): Remove expectation.
21882         [XPG3] (SIGBUS): Do not expect.
21883         [POSIX || XPG3] (SIGPOLL): Likewise.
21884         [POSIX || XPG3] (SIGPROF): Likewise.
21885         [POSIX || XPG3] (SIGSYS): Likewise.
21886         [XPG3] (SIGTRAP): Likewise.
21887         [POSIX || XPG3] (SIGURG): Likewise.
21888         [POSIX || XPG3] (SIGVTALRM): Likewise.
21889         [POSIX || XPG3] (SIGXCPU): Likewise.
21890         [POSIX || XPG3] (SIGXFSZ): Likewise.
21891         [POSIX] (SA_SIGINFO): Expect.
21892         [XPG3] (siginfo_t): Do not expect type or contents.
21893         [POSIX] (si_pid): Do not expect element.
21894         [POSIX] (si_uid): Likewise.
21895         [POSIX] (si_addr): Likewise.
21896         [POSIX] (si_status): Likewise.
21897         [POSIX] (si_band): Likewise.
21898         [XPG4] (si_value): Likewise.
21899         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21900         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21901         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21902         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21903         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21904         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21905         [POSIX || XPG3] (ILL_COPROC): Likewise.
21906         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21907         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21908         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21909         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21910         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21911         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21912         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21913         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21914         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21915         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21916         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21917         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21918         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21919         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21920         [POSIX || XPG3] (CLD_EXITED): Likewise.
21921         [POSIX || XPG3] (CLD_KILLED): Likewise.
21922         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21923         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21924         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21925         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21926         [POSIX || XPG3] (POLL_IN): Likewise.
21927         [POSIX || XPG3] (POLL_OUT): Likewise.
21928         [POSIX || XPG3] (POLL_MSG): Likewise.
21929         [POSIX || XPG3] (POLL_ERR): Likewise.
21930         [POSIX || XPG3] (POLL_PRI): Likewise.
21931         [POSIX || XPG3] (POLL_HUP): Likewise.
21932         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21933         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21934         (SIG*): Do not allow.
21935         [XPG3] (si_*): Likewise.
21936         [XPG3] (SI_*): Likewise.
21937         [XPG3 || XPG4] (sigev_*): Likewise.
21938         [XPG3 || XPG4] (SIGEV_*): Likewise.
21939         [XPG3 || XPG4] (sival_*): Likewise.
21940         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21941         [POSIX || XPG3] (BUS_*): Likewise.
21942         [POSIX || XPG3] (CLD_*): Likewise.
21943         [POSIX || XPG3] (FPE_*): Likewise.
21944         [POSIX || XPG3] (ILL_*): Likewise.
21945         [POSIX || XPG3] (POLL_*): Likewise.
21946         [POSIX || XPG3] (SEGV_*): Likewise.
21947         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21948         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21949         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21950         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21951         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21952         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21953         Specify type and value.
21954         (TVERSLEN): Likewise.
21955         (REGTYPE): Likewise.
21956         (AREGTYPE): Likewise.
21957         (LNKTYPE): Likewise.
21958         (SYMTYPE): Likewise.
21959         (CHRTYPE): Likewise.
21960         (BLKTYPE): Likewise.
21961         (DIRTYPE): Likewise.
21962         (FIFOTYPE): Likewise.
21963         (CONTTYPE): Likewise.
21964         (TSUID): Likewise.
21965         (TSGID): Likewise.
21966         (TSVTX): Likewise.
21967         (TUREAD): Likewise.
21968         (TUWRITE): Likewise.
21969         (TUEXEC): Likewise.
21970         (TGREAD): Likewise.
21971         (TGWRITE): Likewise.
21972         (TGEXEC): Likewise.
21973         (TOREAD): Likewise.
21974         (TOWRITE): Likewise.
21975         (TOEXEC): Likewise.
21976         [POSIX] (TSVTX): Expect constant.
21978 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21980         * Makefile (tests): Change dependencies to ....
21981         (tests-special): ... additions to this variable.
21982         (tests): Depend on $(tests-special).
21983         * Makerules (check-abi-list): New variable.
21984         (check-abi): Depend on $(check-abi-list).
21985         [$(subdir) = elf] (tests-special): Add
21986         $(objpfx)check-abi-libc.out.
21987         [$(build-shared) = yes && subdir] (tests-special): Add
21988         $(check-abi-list).
21989         [$(build-shared) = yes && subdir] (tests): Do not depend on
21990         check-abi.
21991         * Rules (tests): Depend on $(tests-special).
21992         (xtests): Depend on $(xtests-special).
21993         * catgets/Makefile (tests): Change dependencies to ....
21994         (tests-special): ... additions to this variable.
21995         * conform/Makefile (tests): Change dependencies to ....
21996         (tests-special): ... additions to this variable.
21997         * elf/Makefile (tests): Change dependencies to ....
21998         (tests-special): ... additions to this variable.
21999         * grp/Makefile (tests): Change dependencies to ....
22000         (tests-special): ... additions to this variable.
22001         * iconv/Makefile (xtests): Change dependencies to ....
22002         (xtests-special): ... additions to this variable.
22003         * iconvdata/Makefile (tests): Change dependencies to ....
22004         (tests-special): ... additions to this variable.
22005         * intl/Makefile (tests): Change dependencies to ....
22006         (tests-special): ... additions to this variable.  Also add
22007         $(objpfx)tst-gettext.out.
22008         * io/Makefile (tests): Change dependencies to ....
22009         (tests-special): ... additions to this variable.
22010         * libio/Makefile (tests): Change dependencies to ....
22011         (tests-special): ... additions to this variable.
22012         * malloc/Makefile (tests): Change dependencies to ....
22013         (tests-special): ... additions to this variable.
22014         * misc/Makefile (tests): Change dependencies to ....
22015         (tests-special): ... additions to this variable.
22016         * nptl/Makefile (tests): Change dependencies to ....
22017         (tests-special): ... additions to this variable.
22018         * nptl_db/Makefile (tests): Change dependencies to ....
22019         (tests-special): ... additions to this variable.
22020         * posix/Makefile (tests): Change dependencies to ....
22021         (tests-special): ... additions to this variable.
22022         (xtests): Change dependencies to ....
22023         (xtests-special): ... additions to this variable.
22024         * resolv/Makefile (tests): Change dependencies to ....
22025         (tests-special): ... additions to this variable.
22026         (xtests): Change dependencies to ....
22027         (xtests-special): ... additions to this variable.
22028         * stdio-common/Makefile (tests): Change dependencies to ....
22029         (tests-special): ... additions to this variable.
22030         (do-tst-unbputc): Remove target.
22031         (do-tst-printf): Likewise.
22032         * stdlib/Makefile (tests): Change dependencies to ....
22033         (tests-special): ... additions to this variable.
22034         * string/Makefile (tests): Change dependencies to ....
22035         (tests-special): ... additions to this variable.
22036         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22037         (tests-special): ... additions to this variable.
22039         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22040         whole file.
22041         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22042         whole file.
22043         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22044         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22046         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22047         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22048         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22049         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22050         * conform/data/libgen.h-data [XPG3]: Likewise.
22051         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22052         * conform/data/ndbm.h-data [XPG3]: Likewise.
22053         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22054         * conform/data/netdb.h-data [XPG3]: Likewise.
22055         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22056         * conform/data/poll.h-data [XPG3]: Likewise.
22057         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22058         * conform/data/strings.h-data [XPG3]: Likewise.
22059         * conform/data/stropts.h-data [XPG3]: Likewise.
22060         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22061         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22062         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22063         Likewise.
22064         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22065         * conform/data/sys/time.h-data [XPG3]: Likewise.
22066         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22067         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22068         * conform/data/sys/un.h-data [XPG3]: Likewise.
22069         * conform/data/syslog.h-data [XPG3]: Likewise.
22070         * conform/data/ucontext.h-data [XPG3]: Likewise.
22071         * conform/data/utmpx.h-data [XPG3]: Likewise.
22072         * conform/data/varargs.h-data [UNIX98]: Enable file.
22074         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22076         * math/libm-test.inc (struct test_f_f_data): Move expected results
22077         into structure for each rounding mode.
22078         (struct test_ff_f_data): Likewise.
22079         (struct test_ff_f_data_nexttoward): Likewise.
22080         (struct test_fi_f_data): Likewise.
22081         (struct test_fl_f_data): Likewise.
22082         (struct test_if_f_data): Likewise.
22083         (struct test_fff_f_data): Likewise.
22084         (struct test_c_f_data): Likewise.
22085         (struct test_f_f1_data): Likewise.
22086         (struct test_fF_f1_data): Likewise.
22087         (struct test_ffI_f1_data): Likewise.
22088         (struct test_c_c_data): Likewise.
22089         (struct test_cc_c_data): Likewise.
22090         (struct test_f_i_data): Likewise.
22091         (struct test_ff_i_data): Likewise.
22092         (struct test_f_l_data): Likewise.
22093         (struct test_f_L_data): Likewise.
22094         (struct test_fFF_11_data): Likewise.
22095         (RM_): New macro.
22096         (RM_FE_DOWNWARD): Likewise.
22097         (RM_FE_TONEAREST): Likewise.
22098         (RM_FE_TOWARDZERO): Likewise.
22099         (RM_FE_UPWARD): Likewise.
22100         (RUN_TEST_LOOP_f_f): Update references to expected results.
22101         (RUN_TEST_LOOP_2_f): Likewise.
22102         (RUN_TEST_LOOP_fff_f): Likewise.
22103         (RUN_TEST_LOOP_c_f): Likewise.
22104         (RUN_TEST_LOOP_f_f1): Likewise.
22105         (RUN_TEST_LOOP_fF_f1): Likewise.
22106         (RUN_TEST_LOOP_fI_f1): Likewise.
22107         (RUN_TEST_LOOP_ffI_f1): Likewise.
22108         (RUN_TEST_LOOP_c_c): Likewise.
22109         (RUN_TEST_LOOP_cc_c): Likewise.
22110         (RUN_TEST_LOOP_f_i): Likewise.
22111         (RUN_TEST_LOOP_f_i_tg): Likewise.
22112         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22113         (RUN_TEST_LOOP_f_b): Likewise.
22114         (RUN_TEST_LOOP_f_b_tg): Likewise.
22115         (RUN_TEST_LOOP_f_l): Likewise.
22116         (RUN_TEST_LOOP_f_L): Likewise.
22117         (RUN_TEST_LOOP_fFF_11): Likewise.
22118         * math/gen-libm-test.pl (parse_args): Output four copies of
22119         expected results for each test.
22121         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22122         (__ASSUME_UTIMES): Remove.
22123         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22124         (__ASSUME_UTIMES): Likewise.
22126         * math/gen-auto-libm-tests.c: Update comment on output format.
22127         (output_for_one_input_case): Generate before-rounding and
22128         after-rounding information as conditions on output flags not
22129         floating-point format.
22130         * math/auto-libm-test-out: Regenerated.
22131         * math/gen-libm-test.pl (cond_value): New function.
22132         (or_cond_value): Use cond_value.
22133         (generate_testfile): Handle conditional exceptions.
22135 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22137         * math/libm-test.inc (max_valid_error): New variable.
22138         (init_max_error): Take new argument specifying whether function
22139         results are exactly determined.  Set max_valid_error and bound
22140         other variables for errors based on this argument.
22141         (set_max_error): Do not record results above max_valid_error.
22142         (check_float_internal): Only accept errors of up to 0.5ulps if
22143         also at most max_valid_error.
22144         (START): Take new argument EXACT and pass it to init_max_error.
22145         (acos_test): Update call to START.
22146         (acos_test_tonearest): Likewise.
22147         (acos_test_towardzero): Likewise.
22148         (acos_test_downward): Likewise.
22149         (acos_test_upward): Likewise.
22150         (acosh_test): Likewise.
22151         (asin_test): Likewise.
22152         (asin_test_tonearest): Likewise.
22153         (asin_test_towardzero): Likewise.
22154         (asin_test_downward): Likewise.
22155         (asin_test_upward): Likewise.
22156         (asinh_test): Likewise.
22157         (atan_test): Likewise.
22158         (atanh_test): Likewise.
22159         (atan2_test): Likewise.
22160         (cabs_test): Likewise.
22161         (cacos_test): Likewise.
22162         (cacosh_test): Likewise.
22163         (carg_test): Likewise.
22164         (casin_test): Likewise.
22165         (casinh_test): Likewise.
22166         (catan_test): Likewise.
22167         (catanh_test): Likewise.
22168         (cbrt_test): Likewise.
22169         (ccos_test): Likewise.
22170         (ccosh_test): Likewise.
22171         (ceil_test): Likewise.
22172         (cexp_test): Likewise.
22173         (cimag_test): Likewise.
22174         (clog_test): Likewise.
22175         (clog10_test): Likewise.
22176         (conj_test): Likewise.
22177         (copysign_test): Likewise.
22178         (cos_test): Likewise.
22179         (cos_test_tonearest): Likewise.
22180         (cos_test_towardzero): Likewise.
22181         (cos_test_downward): Likewise.
22182         (cos_test_upward): Likewise.
22183         (cosh_test): Likewise.
22184         (cosh_test_tonearest): Likewise.
22185         (cosh_test_towardzero): Likewise.
22186         (cosh_test_downward): Likewise.
22187         (cosh_test_upward): Likewise.
22188         (cpow_test): Likewise.
22189         (cproj_test): Likewise.
22190         (creal_test): Likewise.
22191         (csin_test): Likewise.
22192         (csinh_test): Likewise.
22193         (csqrt_test): Likewise.
22194         (ctan_test): Likewise.
22195         (ctan_test_tonearest): Likewise.
22196         (ctan_test_towardzero): Likewise.
22197         (ctan_test_downward): Likewise.
22198         (ctan_test_upward): Likewise.
22199         (ctanh_test): Likewise.
22200         (ctanh_test_tonearest): Likewise.
22201         (ctanh_test_towardzero): Likewise.
22202         (ctanh_test_downward): Likewise.
22203         (ctanh_test_upward): Likewise.
22204         (erf_test): Likewise.
22205         (erfc_test): Likewise.
22206         (exp_test): Likewise.
22207         (exp_test_tonearest): Likewise.
22208         (exp_test_towardzero): Likewise.
22209         (exp_test_downward): Likewise.
22210         (exp_test_upward): Likewise.
22211         (exp10_test): Likewise.
22212         (exp10_test_tonearest): Likewise.
22213         (exp10_test_towardzero): Likewise.
22214         (exp10_test_downward): Likewise.
22215         (exp10_test_upward): Likewise.
22216         (pow10_test): Likewise.
22217         (exp2_test): Likewise.
22218         (expm1_test): Likewise.
22219         (expm1_test_tonearest): Likewise.
22220         (expm1_test_towardzero): Likewise.
22221         (expm1_test_downward): Likewise.
22222         (expm1_test_upward): Likewise.
22223         (fabs_test): Likewise.
22224         (fdim_test): Likewise.
22225         (floor_test): Likewise.
22226         (fma_test): Likewise.
22227         (fma_test_towardzero): Likewise.
22228         (fma_test_downward): Likewise.
22229         (fma_test_upward): Likewise.
22230         (fmax_test): Likewise.
22231         (fmin_test): Likewise.
22232         (fmod_test): Likewise.
22233         (fpclassify_test): Likewise.
22234         (frexp_test): Likewise.
22235         (hypot_test): Likewise.
22236         (ilogb_test): Likewise.
22237         (isfinite_test): Likewise.
22238         (finite_test): Likewise.
22239         (isgreater_test): Likewise.
22240         (isgreaterequal_test): Likewise.
22241         (isinf_test): Likewise.
22242         (isless_test): Likewise.
22243         (islessequal_test): Likewise.
22244         (islessgreater_test): Likewise.
22245         (isnan_test): Likewise.
22246         (isnormal_test): Likewise.
22247         (issignaling_test): Likewise.
22248         (isunordered_test): Likewise.
22249         (j0_test): Likewise.
22250         (j1_test): Likewise.
22251         (jn_test): Likewise.
22252         (ldexp_test): Likewise.
22253         (lgamma_test): Likewise.
22254         (gamma_test): Likewise.
22255         (lrint_test): Likewise.
22256         (lrint_test_tonearest): Likewise.
22257         (lrint_test_towardzero): Likewise.
22258         (lrint_test_downward): Likewise.
22259         (lrint_test_upward): Likewise.
22260         (llrint_test): Likewise.
22261         (llrint_test_tonearest): Likewise.
22262         (llrint_test_towardzero): Likewise.
22263         (llrint_test_downward): Likewise.
22264         (llrint_test_upward): Likewise.
22265         (log_test): Likewise.
22266         (log10_test): Likewise.
22267         (log1p_test): Likewise.
22268         (log2_test): Likewise.
22269         (logb_test): Likewise.
22270         (logb_test_downward): Likewise.
22271         (lround_test): Likewise.
22272         (llround_test): Likewise.
22273         (modf_test): Likewise.
22274         (nearbyint_test): Likewise.
22275         (nextafter_test): Likewise.
22276         (nexttoward_test): Likewise.
22277         (pow_test): Likewise.
22278         (pow_test_tonearest): Likewise.
22279         (pow_test_towardzero): Likewise.
22280         (pow_test_downward): Likewise.
22281         (pow_test_upward): Likewise.
22282         (remainder_test): Likewise.
22283         (drem_test): Likewise.
22284         (remainder_test_tonearest): Likewise.
22285         (drem_test_tonearest): Likewise.
22286         (remainder_test_towardzero): Likewise.
22287         (drem_test_towardzero): Likewise.
22288         (remainder_test_downward): Likewise.
22289         (drem_test_downward): Likewise.
22290         (remainder_test_upward): Likewise.
22291         (drem_test_upward): Likewise.
22292         (remquo_test): Likewise.
22293         (rint_test): Likewise.
22294         (rint_test_tonearest): Likewise.
22295         (rint_test_towardzero): Likewise.
22296         (rint_test_downward): Likewise.
22297         (rint_test_upward): Likewise.
22298         (round_test): Likewise.
22299         (scalb_test): Likewise.
22300         (scalbn_test): Likewise.
22301         (scalbln_test): Likewise.
22302         (signbit_test): Likewise.
22303         (sin_test): Likewise.
22304         (sin_test_tonearest): Likewise.
22305         (sin_test_towardzero): Likewise.
22306         (sin_test_downward): Likewise.
22307         (sin_test_upward): Likewise.
22308         (sincos_test): Likewise.
22309         (sinh_test): Likewise.
22310         (sinh_test_tonearest): Likewise.
22311         (sinh_test_towardzero): Likewise.
22312         (sinh_test_downward): Likewise.
22313         (sinh_test_upward): Likewise.
22314         (sqrt_test): Likewise.
22315         (sqrt_test_tonearest): Likewise.
22316         (sqrt_test_towardzero): Likewise.
22317         (sqrt_test_downward): Likewise.
22318         (sqrt_test_upward): Likewise.
22319         (tan_test): Likewise.
22320         (tan_test_tonearest): Likewise.
22321         (tan_test_towardzero): Likewise.
22322         (tan_test_downward): Likewise.
22323         (tan_test_upward): Likewise.
22324         (tanh_test): Likewise.
22325         (tgamma_test): Likewise.
22326         (trunc_test): Likewise.
22327         (y0_test): Likewise.
22328         (y1_test): Likewise.
22329         (yn_test): Likewise.
22330         (significand_test): Likewise.
22332         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22333         individual tests in comment.
22334         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22335         (prev_max_error): New variable.
22336         (prev_real_max_error): Likewise.
22337         (prev_imag_max_error): Likewise.
22338         (compare_ulp_data): Don't refer to test names in comment.
22339         (find_test_ulps): Remove function.
22340         (find_function_ulps): Likewise.
22341         (find_complex_function_ulps): Likewise.
22342         (init_max_error): Take function name as argument.  Look up ulps
22343         for that function.
22344         (print_ulps): Remove function.
22345         (print_max_error): Use prev_max_error instead of calling
22346         find_function_ulps.
22347         (print_complex_max_error): Use prev_real_max_error and
22348         prev_imag_max_error instead of calling find_complex_function_ulps.
22349         (check_float_internal): Take max_ulp parameter instead of calling
22350         find_test_ulps.  Don't call print_ulps.
22351         (check_float): Update call to check_float_internal.
22352         (check_complex): Update calls to check_float_internal.
22353         (START): Pass argument to init_max_error.
22354         * math/gen-libm-test.pl (%results): Don't include "kind"
22355         information.
22356         (parse_ulps): Don't handle ulps of individual tests.
22357         (print_ulps_file): Likewise.
22358         (output_ulps): Likewise.
22359         * math/README.libm-test: Update.
22360         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22361         individual tests.
22362         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22363         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22364         * sysdeps/arm/libm-test-ulps: Likewise.
22365         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22366         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22367         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22368         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22369         * sysdeps/microblaze/libm-test-ulps: Likewise.
22370         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22371         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22372         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22373         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22374         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22375         * sysdeps/sh/libm-test-ulps: Likewise.
22376         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22377         * sysdeps/tile/libm-test-ulps: Likewise.
22378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22380 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22382         * math/libm-test.inc (print_complex_max_error): Check separately
22383         whether real and imaginary errors are within allowed range and
22384         pass 0 to print_complex_function_ulps instead of value within
22385         allowed range.
22387 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22389         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22390         formatting.
22391         (get_handles_fopen): Likewise.
22392         (do_write_test): Likewise.
22394         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22396         * libio/fileops.c (do_ftell): Use cached offset when
22397         available.
22398         * libio/iofwide.c (do_ftell_wide): Likewise.
22399         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22400         _IO_file_attach.
22401         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22403         [BZ #16532]
22404         * libio/libioP.h (get_file_offset): New function.
22405         * libio/fileops.c (get_file_offset): Likewise.
22406         (do_ftell): Likewise.
22407         (_IO_new_file_seekoff): Split out ftell logic.
22408         * libio/wfileops.c (do_ftell_wide): Likewise.
22409         (_IO_wfile_seekoff): Split out ftell logic.
22410         * libio/tst-ftell-active-handler.c: New test case.
22411         * libio/Makefile (tests): Add it.
22413 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22415         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22416         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22418 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22420         [BZ #16639]
22421         * nscd/connections.c (nscd_init): Call do_exit.
22422         (start_threads): Call do_exit and notify_parent.
22423         (begin_drop_privileges): Call do_exit.
22424         (finish_drop_privileges): Likewise.
22425         * nscd/selinux.c (preserve_capabilities): Likewise.
22426         (install_real_capabilities): Likewise.
22427         (nscd_selinux_enabled): Likewise.
22428         (avc_create_thread): Likewise.
22429         (avc_alloc_lock): Likewise.
22430         (nscd_avc_init): Likewise.
22431         * nscd/nscd.c (parent_fd): New static variable.
22432         (main): Create a pipe between parent and child processes.
22433         Skip closing parent_fd.
22434         (monitor_child): New function.
22435         (do_exit): Likewise.
22436         (notify_parent): Likewise.
22437         * nscd/nscd.h (notify_parent): Likewise.
22438         (do_exit): Likewise.
22440 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22442         * malloc/malloc.c (__libc_calloc): Revert last change.
22444 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22448 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22450         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22452         implementation.
22453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22454         (__libc_ifunc_impl_list): Likewise.
22455         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22456         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22457         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22458         * string/strrchr.c: Define STRRCHR.
22460 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22462         * benchtest/bench-strtok.c (simple_strtok): Delete.
22463         (strtok_string): Use as benchmark.
22464         * string/strtok (STRTOK): New macro.
22466 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22468         * manual/threads.texi: Add header and standard comments to all
22469         functions.
22471         * elf/dl-lookup.c (check_match): New function.
22472         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22473         (do_lookup_x): Remove nested function check_match. Use non-nested
22474         function check_match.
22476 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22478         * csu/Makefile (generated, before-compile): Use += rather than =.
22479         * catgets/Makefile (generated, generated-dirs): Likewise.
22480         * debug/Makefile (generated): Likewise.
22481         * dlfcn/Makefile (generated): Likewise.
22482         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22483         * iconvdata/Makefile (before-compile, generated): Likewise.
22484         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22485         * libio/Makefile (generated): Likewise.
22486         * malloc/Makefile (generated): Likewise.
22487         * manual/Makefile (generated, generated-dirs): Likewise.
22488         * misc/Makefile (generated): Likewise.
22489         * posix/Makefile (generated): Likewise.
22490         * resolv/Makefile (generated): Likewise.
22491         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22492         * timezone/Makefile (generated, generated-dirs): Likewise.
22494         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22496 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22499         power8 implementation.
22500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22501         file: POWER8 llround ifunc implementation.
22502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22503         (__lllround): Add POWER8 implementation.
22504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22505         POWER8 llround implementation.
22507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22508         power8 implementation.
22509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22510         file: POWER8 llrint ifunc implementation.
22511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22512         Add POWER8 implementation.
22513         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22514         POWER8 llrint implementation.
22516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22517         power8 implementation.
22518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22519         file: POWER8 finite ifunc implementation.
22520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22521         Add POWER8 implementation.
22522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22523         Likewise.
22524         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22525         POWER8 finite implementation.
22526         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22528         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22529         power8 implementation.
22530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22531         file: POWER8 isinf ifunc implementation.
22532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22533         POWER8 implementation.
22534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22535         Likewise.
22536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22537         isinf implementation.
22538         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22540         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22541         (INIT_ARCH): Add hwcap2 initialization.
22542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22543         power8 implementation.
22544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22545         file: POWER8 isnan ifunc implementation.
22546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22547         POWER8 implementation.
22548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22549         Likewise.
22550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22551         isnan implementation.
22552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22554 2014-02-27  Joey Ye  <joey.ye@arm.com>
22556         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22557         (_FP_NANFRAC_Q): Set to zero.
22559 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22561         [BZ #16623]
22562         * math/auto-libm-test-in: New test inputs.
22563         * math/auto-libm-test-out: Regenerate.
22564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22565         and DA.
22566         (__cos): Likewise.
22567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22569 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22571         * scripts/evaluate-test.sh: Take new argument indicating whether
22572         failure is expected.
22573         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22574         indicating whether failure is expected.
22575         * conform/Makefile (test-xfail-run-conformtest): New variable.
22576         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22577         level.
22578         * posix/Makefile (test-xfail-annexc): New variable.
22579         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22581 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22583         * argp/Makefile: Include Makeconfig immediately after defining
22584         subdir.
22585         * assert/Makefile: Likewise.
22586         * benchtests/Makefile: Likewise.
22587         * catgets/Makefile: Likewise.
22588         * conform/Makefile: Likewise.
22589         * crypt/Makefile: Likewise.
22590         * csu/Makefile: Likewise.
22591         (all): Remove target.
22592         * ctype/Makefile: Include Makeconfig immediately after defining
22593         subdir.
22594         * debug/Makefile: Likewise.
22595         * dirent/Makefile: Likewise.
22596         * dlfcn/Makefile: Likewise.
22597         * gmon/Makefile: Likewise.
22598         * gnulib/Makefile: Likewise.
22599         * grp/Makefile: Likewise.
22600         * gshadow/Makefile: Likewise.
22601         * hesiod/Makefile: Likewise.
22602         * hurd/Makefile: Likewise.
22603         (all): Remove target.
22604         * iconvdata/Makefile: Include Makeconfig immediately after
22605         defining subdir.
22606         * inet/Makefile: Likewise.
22607         * intl/Makefile: Likewise.
22608         * io/Makefile: Likewise.
22609         * libio/Makefile: Likewise.
22610         (all): Remove target.
22611         * locale/Makefile: Include Makeconfig immediately after defining
22612         subdir.
22613         * login/Makefile: Likewise.
22614         * mach/Makefile: Likewise.
22615         (all): Remove target.
22616         * malloc/Makefile: Include Makeconfig immediately after defining
22617         subdir.
22618         (all): Remove target.
22619         * manual/Makefile: Include Makeconfig immediately after defining
22620         subdir.
22621         * math/Makefile: Likewise.
22622         * misc/Makefile: Likewise.
22623         * nis/Makefile: Likewise.
22624         * nss/Makefile: Likewise.
22625         * po/Makefile: Likewise.
22626         (all): Remove target.
22627         * posix/Makefile: Include Makeconfig immediately after defining
22628         subdir.
22629         * pwd/Makefile: Likewise.
22630         * resolv/Makefile: Likewise.
22631         * resource/Makefile: Likewise.
22632         * rt/Makefile: Likewise.
22633         * setjmp/Makefile: Likewise.
22634         * shadow/Makefile: Likewise.
22635         * signal/Makefile: Likewise.
22636         * socket/Makefile: Likewise.
22637         * soft-fp/Makefile: Likewise.
22638         * stdio-common/Makefile: Likewise.
22639         * stdlib/Makefile: Likewise.
22640         * streams/Makefile: Likewise.
22641         * string/Makefile: Likewise.
22642         * sunrpc/Makefile: Likewise.
22643         (all): Remove target.
22644         * sysvipc/Makefile: Include Makeconfig immediately after defining
22645         subdir.
22646         * termios/Makefile: Likewise.
22647         * time/Makefile: Likewise.
22648         * timezone/Makefile: Likewise.
22649         (all): Remove target.
22650         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22651         subdir.
22652         * wctype/Makefile: Likewise.
22654 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22656         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22657         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22658         (libc_feholdexcept_setround_mips): Ditto.
22659         (libc_feholdsetround): New.
22660         (libc_feholdsetroundf): New.
22661         (libc_feholdsetroundl): New.
22662         (libc_feupdateenv_test_mips): New.
22663         (libc_feupdateenv_test): New.
22664         (libc_feupdateenv_testf): New.
22665         (libc_feupdateenv_testl): New.
22666         (libc_feresetround): New.
22667         (libc_feresetroundf): New.
22668         (libc_feresetroundl): New.
22669         (libc_fetestexcept_mips): New.
22670         (libc_fetestexcept): New.
22671         (libc_fetestexceptf): New.
22672         (libc_fetestexceptl): New.
22673         (HAVE_RM_CTX): New.
22674         (libc_feholdexcept_setround_mips_ctx): New.
22675         (libc_feholdexcept_setround_ctx): New.
22676         (libc_feholdexcept_setroundf_ctx): New.
22677         (libc_feholdexcept_setroundl_ctx): New.
22678         (libc_fesetenv_mips_ctx): New.
22679         (libc_fesetenv_ctx): New.
22680         (libc_fesetenv_ctxf): New.
22681         (libc_fesetenv_ctxl): New.
22682         (libc_feupdateenv_mips_ctx): New.
22683         (libc_feupdateenv_ctx): New.
22684         (libc_feupdateenvf_ctx): New.
22685         (libc_feupdateenvl_ctx): New.
22686         (libc_feholdsetround_mips_ctx): New.
22687         (libc_feholdsetround_ctx): New.
22688         (libc_feholdsetroundf_ctx): New.
22689         (libc_feholdsetroundl_ctx): New.
22690         (libc_feresetround_mips_ctx): New.
22691         (libc_feresetround_ctx): New.
22692         (libc_feresetroundf_ctx): New.
22693         (libc_feresetroundl_ctx): New.
22695 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22697         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22699         * manual/ipc.texi: New file.
22700         * manual/Makefile (chapters): Add ipc.
22701         * manual/job.texi: Add "Inter-Process Communication" to next.
22702         * manual/process.texi: Add "Inter-Process Communication" to prev.
22704 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22708 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22710         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22712         * manual/arith.texi: Fix spaces after sentences.
22713         * manual/charset.texi: Likewise.
22714         * manual/errno.texi: Likewise.
22715         * manual/install.texi: Likewise.
22716         * manual/llio.texi: Likewise.
22717         * manual/locale.texi: Likewise.
22718         * manual/maint.texi: Likewise.
22719         * manual/math.texi: Likewise.
22720         * manual/memory.texi: Likewise.
22721         * manual/message.texi: Likewise.
22722         * manual/probes.texi: Likewise.
22723         * manual/resource.texi: Likewise.
22724         * manual/signal.texi: Likewise.
22725         * manual/socket.texi: Likewise.
22726         * manual/stdio.texi: Likewise.
22727         * manual/string.texi: Likewise.
22728         * manual/time.texi: Likewise.
22729         * manual/users.texi: Likewise.
22731 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22733         [BZ #16632]
22734         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22735         _DEFAULT_SOURCE is defined.
22737 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22738             Carlos O'Donell  <carlos@redhat.com>
22740         [BZ #16613]
22741         * elf/dl-tls.c (_dl_count_modids): New function.
22742         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22743         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22744         audit library and increment generation counter.
22745         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22746         * elf/tst-audit9.c: New file.
22747         * elf/tst-auditmod9a.c: New file.
22748         * elf/tst-auditmod9b.c: New file.
22749         * elf/Makefile: Add rules to build and run tst-audit9.
22751 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22753         [BZ #15347]
22754         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22756 2014-02-25  Will Newton  <will.newton@linaro.org>
22758         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22759         (__longjmp): Restore sp and lr before restoring callee
22760         saved registers.  Add longjmp and longjmp_target
22761         SystemTap probe point.
22762         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22763         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22764         Define to zero to match jmpbuf layout.
22765         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22766         (__sigsetjmp): Save sp and lr before saving callee
22767         saved registers.  Add setjmp SystemTap probe point.
22769 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22771         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22773 2014-02-24  Andreas Schwab  <schwab@suse.de>
22775         [BZ #15804]
22776         * elf/pldd.c (wait_for_ptrace_stop): New function.
22777         (main): Call it after attaching.
22779 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22781         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22782         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22783         Versions files is now verboten.
22784         * hurd/Versions (libc: GLIBC_2.0):
22785         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22786         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22787         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22788         * mach/Versions: Likewise.
22790         * csu/Versions: Remove unused %include.
22791         * resolv/Versions: Likewise.
22793 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22795         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22796         ($(objpfx)check-local-headers.out): Likewise.
22797         ($(objpfx)begin-end-check.out): Likewise.
22798         * Makerules (check-abi-%.out): Likewise.
22799         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22800         ($(objpfx)test2.cat): Likewise.
22801         ($(objpfx)de/libc.cat): Likewise.
22802         ($(objpfx)test-gencat.out): Likewise.
22803         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22804         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22805         ($(objpfx)noload-mem): Likewise.
22806         ($(objpfx)tst-pathopt.out): Likewise.
22807         ($(objpfx)tst-rtld-load-self.out): Likewise.
22808         ($(objpfx)tst-array1-cmp.out): Likewise.
22809         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22810         ($(objpfx)tst-array2-cmp.out): Likewise.
22811         ($(objpfx)tst-array3-cmp.out): Likewise.
22812         ($(objpfx)tst-array4-cmp.out): Likewise.
22813         ($(objpfx)tst-array5-cmp.out): Likewise.
22814         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22815         ($(objpfx)check-textrel.out): Likewise.
22816         ($(objpfx)check-execstack.out): Likewise.
22817         ($(objpfx)check-localplt.out): Likewise.
22818         ($(objpfx)order2-cmp.out): Likewise.
22819         ($(objpfx)tst-leaks1-mem): Likewise.
22820         ($(objpfx)tst-leaks1-static-mem): Likewise.
22821         ($(objpfx)tst-initorder-cmp.out): Likewise.
22822         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22823         ($(objpfx)tst-unused-dep.out): Likewise.
22824         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22825         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22826         * iconv/Makefile (test-iconvconfig): Likewise.
22827         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22828         ($(objpfx)iconv-test.out): Likewise.
22829         ($(objpfx)tst-tables.out): Likewise.
22830         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22831         ($(objpfx)tst-gettext.out): Likewise.
22832         ($(objpfx)tst-translit.out): Likewise.
22833         ($(objpfx)tst-gettext2.out): Likewise.
22834         ($(objpfx)tst-gettext4.out): Likewise.
22835         ($(objpfx)tst-gettext6.out): Likewise.
22836         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22837         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22838         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22839         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22840         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22841         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22842         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22843         ($(objpfx)wordexp-tst.out): Likewise.
22844         ($(objpfx)annexc.out): Likewise.
22845         ($(objpfx)tst-fnmatch-mem): Likewise.
22846         ($(objpfx)bug-regex2-mem): Likewise.
22847         ($(objpfx)bug-regex14-mem): Likewise.
22848         ($(objpfx)bug-regex21-mem): Likewise.
22849         ($(objpfx)bug-regex31-mem): Likewise.
22850         ($(objpfx)tst-vfork3-mem): Likewise.
22851         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22852         ($(objpfx)tst-pcre-mem): Likewise.
22853         ($(objpfx)tst-boost-mem): Likewise.
22854         ($(objpfx)tst-getconf.out): Likewise.
22855         ($(objpfx)bug-ga2-mem): Likewise.
22856         ($(objpfx)bug-glob2-mem): Likewise.
22857         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22858         ($(objpfx)mtrace-tst-leaks2): Likewise.
22859         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22860         ($(objpfx)tst-printf.out): Likewise.
22861         ($(objpfx)tst-setvbuf1.out): Likewise.
22862         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22863         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22864         ($(objpfx)tst-fmtmsg.out): Likewise.
22865         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22866         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22868         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22869         * bits/sigaction.h [__USE_MISC]: Likewise.
22870         * bits/waitstatus.h: Update #endif comments.
22871         * ctype/ctype.h: Likewise.
22872         * dirent/dirent.h: Likewise.
22873         [__USE_MISC]: Remove redundant conditionals.
22874         * grp/grp.h: Update #endif comments.
22875         [__USE_GNU]: Remove redundant conditionals.
22876         [__USE_MISC]: Likewise.
22877         * inet/netinet/in.h [__USE_GNU]: Likewise.
22878         * io/sys/stat.h [__USE_MISC]: Likewise.
22879         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22880         * libio/bits/stdio.h: Update #endif comments.
22881         [__USE_MISC]: Remove redundant conditionals.
22882         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22883         * libio/stdio.h: Update #endif comments.
22884         [__USE_MISC]: Remove redundant conditionals.
22885         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22886         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22887         * math/math.h: Update #else and #endif comments.
22888         [__USE_MISC]: Remove redundant conditionals.
22889         * misc/sys/uio.h: Update #endif comments.
22890         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22891         * posix/glob.h [__USE_MISC]: Likewise.
22892         * posix/sys/types.h: Update #endif comments.
22893         [__USE_MISC]: Remove redundant conditionals.
22894         * posix/sys/wait.h: Update #endif comments.
22895         [__USE_MISC]: Remove redundant conditionals.
22896         * posix/unistd.h: Update #endif comments.
22897         [__USE_MISC]: Remove redundant conditionals.
22898         * pwd/pwd.h [__USE_GNU]: Likewise.
22899         [__USE_MISC]: Likewise.
22900         * resolv/netdb.h [__USE_GNU]: Likewise.
22901         * signal/signal.h: Update #endif comments.
22902         [__USE_MISC]: Remove redundant conditionals.
22903         * stdlib/stdlib.h: Update #else and #endif comments.
22904         [__USE_MISC]: Remove redundant conditionals.
22905         [__USE_GNU]: Likewise.
22906         * string/bits/string2.h [__USE_MISC]: Likewise.
22907         * string/string.h: Update #endif comments.
22908         [__USE_MISC]: Remove redundant conditionals.
22909         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22910         Likewise.
22911         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22912         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22913         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22914         Likewise.
22915         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22916         Likewise.
22917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22918         comments.
22919         [__USE_MISC]: Remove redundant conditionals.
22920         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22921         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22922         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22923         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22924         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22925         Likewise.
22926         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22927         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22928         Likewise.
22929         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22930         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22931         Likewise.
22932         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22933         Likewise.
22934         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22935         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22936         Likewise.
22937         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22938         Likewise.
22939         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22940         * sysdeps/x86/bits/string.h: Update #endif comments.
22941         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22942         conditionals.
22943         * time/sys/time.h: Update #endif comments.
22944         * time/time.h: Likewise.
22945         [__USE_MISC]: Remove redundant conditionals.
22947 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22949         [BZ #16600]
22950         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22952 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22954         * Versions.def (librt): Add GLIBC_2.17.
22956 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22958         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22959         synonym for _SYS_AUXV_H to allow direct inclusion.
22960         * sysdeps/sparc/bits/hwcap.h: Likewise.
22961         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22962         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22963         * sysdeps/sparc/sysdep.h: Likewise.
22965 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22967         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22969 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22971         * benchtests/bench-strrchr.c: Print length instead of position.
22973 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22975         [BZ #16611]
22976         * sysdeps/unix/sysv/linux/kernel-features.h
22977         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22978         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22979         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22980         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22981         Likewise.
22982         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22983         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22984         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22985         (__ASSUME_SENDMMSG): Define instead of using previous
22986         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22987         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22988         (__ASSUME_SENDMMSG_SYSCALL): Define.
22989         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22990         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22991         Likewise.
22992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22993         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22994         Likewise.
22995         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22996         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22997         Likewise.
22998         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22999         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23000         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23001         [__ASSUME_SENDMMSG]: Change conditionals to
23002         [__ASSUME_SENDMMSG_SOCKETCALL].
23003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23004         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23005         Define.
23006         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23007         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23008         Likewise.
23009         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23010         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23011         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23012         [!__ASSUME_SENDMMSG]: Change conditional to
23013         [!__ASSUME_SENDMMSG_SOCKETCALL].
23014         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23015         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23016         Define.
23018         [BZ #16610]
23019         * sysdeps/unix/sysv/linux/kernel-features.h
23020         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23021         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23022         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23023         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23024         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23025         [__i386__ || __sparc__]
23026         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23027         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23028         (__ASSUME_RECVMMSG): Define instead of using previous
23029         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23030         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23031         (__ASSUME_RECVMMSG_SYSCALL): Define.
23032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23033         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23034         Likewise.
23035         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23037         Likewise.
23038         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23039         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23040         Likewise.
23041         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23042         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23043         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23044         [__ASSUME_RECVMMSG]: Change condition to
23045         [__ASSUME_RECVMMSG_SOCKETCALL].
23046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23048         Define.
23049         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23051         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23052         Likewise.
23053         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23054         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23055         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23056         [!__ASSUME_RECVMMSG]: Change condition to
23057         [!__ASSUME_RECVMMSG_SOCKETCALL].
23058         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23059         (__ASSUME_RECVMMSG_SYSCALL): Define.
23061         [BZ #16609]
23062         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23063         __powerpc__ || __s390__ || __sh__ || __sparc__]
23064         (__ASSUME_SOCKETCALL): Define.
23065         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23066         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23067         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23068         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23069         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23070         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23071         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23072         (__ASSUME_ACCEPT4): Define instead of using previous
23073         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23074         __powerpc__ || __sparc__ || __s390__)] condition.
23075         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23076         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23077         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23078         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23079         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23080         [!__ASSUME_ACCEPT4]: Change condition to
23081         [!__ASSUME_ACCEPT4_SOCKETCALL].
23082         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23083         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23084         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23085         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23086         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23087         __ASSUME_ACCEPT4_SYSCALL.
23088         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23089         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23090         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23091         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23092         __ASSUME_ACCEPT4_SYSCALL.
23093         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23094         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23095         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23096         [__ASSUME_ACCEPT4]: Change condition to
23097         [__ASSUME_ACCEPT4_SOCKETCALL].
23098         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23099         (__ASSUME_SOCKETCALL): Define.
23100         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23101         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23102         (__ASSUME_SOCKETCALL): Define.
23103         (__ASSUME_ACCEPT4): Remove.
23104         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23105         Define.
23106         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23107         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23108         Likewise.
23109         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23110         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23112         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23113         macro.
23114         (HWCAP_ARM_LPAE): Likewise.
23115         (HWCAP_ARM_EVTSTRM): Likewise.
23116         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23117         Add vpfd32, lpae and evtstrm.
23118         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23119         Increase to 22.
23121 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23123         * math/auto-libm-test-in: Add tests of clog10.
23124         * math/auto-libm-test-out: Regenerated.
23125         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23126         * sysdeps/i386/fpu/libm-test-ulps: Update.
23127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23129 2014-02-18  Andreas Schwab  <schwab@suse.de>
23131         [BZ #16574]
23132         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23133         Store non-zero if the second buffer was newly allocated.
23134         (send_dg): Likewise.
23135         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23136         to send_vc and send_dg.
23137         (res_nsend): Pass NULL for ansp2_malloced.
23138         * resolv/res_query.c (__libc_res_nquery): Add parameter
23139         answerp2_malloced and pass it down to __libc_res_nsend.
23140         (res_nquery): Pass additional NULL to __libc_res_nquery.
23141         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23142         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23143         second answer buffer if answerp2_malloced was set.
23144         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23145         (__libc_res_nquerydomain): Add parameter
23146         answerp2_malloced and pass it down to __libc_res_nquery.
23147         (res_nquerydomain): Pass additional NULL to
23148         __libc_res_nquerydomain.
23149         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23150         additional NULL to __libc_res_nsend and __libc_res_nquery.
23151         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23152         additional NULL to __libc_res_nsearch.
23153         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23154         parameter of __libc_res_nsearch to check for separately allocated
23155         second buffer.
23156         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23157         __libc_res_nquery.
23158         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23159         additional NULL to __libc_res_nquery.
23160         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23161         __libc_res_nsearch.
23162         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23163         * include/resolv.h: Update prototypes of __libc_res_nquery,
23164         __libc_res_nsearch, __libc_res_nsend.
23166 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23168         * math/auto-libm-test-in: Add tests of fma.
23169         * math/auto-libm-test-out: Regenerated.
23170         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23171         (fma_towardzero_test_data): Likewise.
23172         (fma_downward_test_data): Likewise.
23173         (fma_upward_test_data): Likewise.
23174         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23175         mpc_mode.
23176         (rounding_modes): Add values for new field.
23177         (func_calc_method): Add value mpfr_fff_f.
23178         (func_calc_desc): Add mpfr_fff_f union field.
23179         (test_function): Add field exact_args.
23180         (FUNC): Add macro argument EXACT_ARGS.
23181         (FUNC_mpfr_f_f): Update call to FUNC.
23182         (FUNC_mpfr_f_f): Likewise.
23183         (FUNC_mpfr_ff_f): Likewise.
23184         (FUNC_mpfr_if_f): Likewise.
23185         (FUNC_mpc_c_f): Likewise.
23186         (FUNC_mpc_c_c): Likewise.
23187         (test_functions): Add fma.  Update calls to FUNC.
23188         (handle_input_arg): Add argument exact_args.
23189         (add_test): Update call to handle_input_arg.
23190         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23191         (output_for_one_input_case): Update call to calc_generic_results.
23192         Recalculate exact zero results in each rounding mode.
23194         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23195         non-negative before setting low bit.
23196         * math/auto-libm-test-in: Mark one asin test possibly having
23197         spurious underflow.
23198         * math/auto-libm-test-out: Regenerated.
23199         * sysdeps/i386/fpu/libm-test-ulps: Update.
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23204         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23205         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23206         ports/sysdeps/unix/sysv/linux/microblaze.
23207         * README: Add missing listing for microblaze*-*-linux-gnu.
23209 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23211         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23212         duplicate code
23214 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23216         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23217         * sysdeps/unix/sysv/linux/ia64: Move directory from
23218         ports/sysdeps/unix/sysv/linux/ia64.
23219         * README: Update listing for ia64-*-linux-gnu.
23221 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23222             Joseph Myers  <joseph@codesourcery.com>
23224         * Makeconfig (test-name): New variable.
23225         (evaluate-test): Likewise.
23226         * Makerules (do-test-clean): Remove .test-result files.
23227         (common-mostlyclean): Likewise.
23228         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23229         * scripts/evaluate-test.sh: New file.
23231 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23233         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23234         separate $(objpfx)tst-fopenloc-cmp.out and
23235         $(objpfx)tst-fopenloc-mem.out targets.
23236         (tests): Update dependencies.
23237         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23238         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23239         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23240         (tst-rxspencer-no-utf8-ARGS): New variable.
23241         (tst-rxspencer-no-utf8-ENV): Likewise.
23242         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23243         instead of $(objpfx)tst-rxspencer-mem.
23244         ($(objpfx)tst-rxspencer-mem): Change target to
23245         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23246         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23247         * posix/tst-rxspencer-no-utf8.c: New file.
23249         * elf/Makefile ($(objpfx)order.out): Remove rule.
23250         [$(run-built-tests) = yes] (tests): Depend on
23251         $(objpfx)order-cmp.out.
23252         ($(objpfx)order-cmp.out): New rule.
23253         [$(run-built-tests) = yes] (tests): Depend on
23254         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23255         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23256         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23257         $(objpfx)tst-array5-static-cmp.out.
23258         ($(objpfx)tst-array1.out): Remove rule.
23259         ($(objpfx)tst-array1-cmp.out): New rule.
23260         ($(objpfx)tst-array1-static.out): Remove rule.
23261         ($(objpfx)tst-array1-static-cmp.out): New rule.
23262         ($(objpfx)tst-array2.out): Remove rule.
23263         ($(objpfx)tst-array2-cmp.out): New rule.
23264         ($(objpfx)tst-array3.out): Remove rule.
23265         ($(objpfx)tst-array3-cmp.out): New rule.
23266         ($(objpfx)tst-array4.out): Remove rule.
23267         ($(objpfx)tst-array4-cmp.out): New rule.
23268         ($(objpfx)tst-array5.out): Remove rule.
23269         ($(objpfx)tst-array5-cmp.out): New rule.
23270         ($(objpfx)tst-array5-static.out): Remove rule.
23271         ($(objpfx)tst-array5-static-cmp.out): New rule.
23272         [$(run-built-tests) = yes] (tests): Depend on
23273         $(objpfx)order2-cmp.out.
23274         ($(objpfx)order2.out): Remove rule.
23275         ($(objpfx)order2-cmp.out): New rule.
23276         ($(objpfx)tst-initorder.out): Remove rule.
23277         [$(run-built-tests) = yes] (tests): Depend on
23278         $(objpfx)tst-initorder-cmp.out.
23279         ($(objpfx)tst-initorder-cmp.out): New rule.
23280         ($(objpfx)tst-initorder2.out): Remove rule.
23281         [$(run-built-tests) = yes] (tests): Depend on
23282         $(objpfx)tst-initorder2-cmp.out.
23283         ($(objpfx)tst-initorder2-cmp.out): New rule.
23284         [$(run-built-tests) = yes] (tests): Depend on
23285         $(objpfx)tst-unused-dep-cmp.out.
23286         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23287         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23288         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23289         on $(objpfx)tst-setvbuf1-cmp.out.
23290         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23291         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23292         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23293         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23294         ($(objpfx)tst-svc.out): Remove rule.
23295         ($(objpfx)tst-svc-cmp.out): New rule.
23297 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23299         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23300         * ctype/ctype.h [__USE_MISC]: Likewise.
23301         * dirent/dirent.h [__USE_MISC]: Likewise.
23302         * grp/grp.h [__USE_MISC]: Likewise.
23303         * io/fcntl.h [__USE_MISC]: Likewise.
23304         * io/sys/stat.h [__USE_MISC]: Likewise.
23305         * libio/stdio.h [__USE_MISC]: Likewise.
23306         * posix/unistd.h [__USE_MISC]: Likewise.
23307         * pwd/pwd.h [__USE_MISC]: Likewise.
23308         * stdlib.h [__USE_MISC]: Likewise.
23309         * string/bits/string2.h [__USE_MISC]: Likewise.
23310         * string/string.h [__USE_MISC]: Likewise.
23311         * time/time.h [__USE_MISC]: Likewise.
23313 2014-02-13  Andreas Schwab  <schwab@suse.de>
23315         [BZ #16574]
23316         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23317         second answer buffer if it was separately allocated.
23319 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23321         * sysdeps/mips/math-tests.h: Include <features.h>.
23322         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23323         (ROUNDING_TESTS_long_double): Do not define.
23324         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23325         (EXCEPTION_TESTS_long_double): Likewise.
23326         * sysdeps/mips/mips64/libm-test-ulps: Update.
23328         * include/features.h (__USE_BSD): Remove macro definitions.
23329         (__USE_SVID): Likewise.
23330         (_BSD_SOURCE): Likewise.
23331         (_SVID_SOURCE): Likewise.
23332         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23333         from definition of _DEFAULT_SOURCE.
23334         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23335         [_DEFAULT_SOURCE].
23336         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23337         * bits/mman.h [__USE_BSD]: Likewise.
23338         * bits/termios.h [__USE_BSD]: Likewise.
23339         * bits/waitstatus.h [__USE_BSD]: Likewise.
23340         * ctype/ctype.h [__USE_SVID]: Likewise.
23341         * dirent/dirent.h [__USE_BSD]: Likewise.
23342         * grp/grp.h [__USE_SVID]: Likewise.
23343         [__USE_BSD]: Likewise.
23344         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23345         * io/fcntl.h [__USE_BSD]: Likewise.
23346         * io/ftw.h [__USE_BSD]: Likewise.
23347         * io/sys/stat.h [__USE_BSD]: Likewise.
23348         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23349         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23350         * libio/stdio.h [__USE_SVID]: Likewise.
23351         [__USE_BSD]: Likewise.
23352         * math/math.h [__USE_SVID]: Likewise.
23353         [__USE_BSD]: Likewise.
23354         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23355         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23356         * misc/search.h [__USE_SVID]: Likewise.
23357         * misc/sys/mman.h [__USE_BSD]: Likewise.
23358         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23359         * misc/sys/uio.h [__USE_BSD]: Likewise.
23360         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23361         * posix/glob.h [__USE_BSD]: Likewise.
23362         * posix/regex.h [__USE_BSD]: Likewise.
23363         * posix/sys/types.h [__USE_BSD]: Likewise.
23364         [__USE_SVID]: Likewise.
23365         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23366         * posix/sys/wait.h [__USE_BSD]: Likewise.
23367         [__USE_SVID]: Likewise.
23368         * posix/unistd.h [__USE_BSD]: Likewise.
23369         [__USE_SVID]: Likewise.
23370         * pwd/pwd.h [__USE_SVID]: Likewise.
23371         * resolv/netdb.h [__USE_BSD]: Likewise.
23372         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23373         * signal/signal.h [__USE_BSD]: Likewise.
23374         [__USE_SVID]: Likewise.
23375         * socket/sys/socket.h [__USE_BSD]: Likewise.
23376         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23377         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23378         [__USE_SVID]: Likewise.
23379         * string/bits/string2.h [__USE_BSD]: Likewise.
23380         [__USE_SVID]: Likewise.
23381         * string/bits/string3.h [__USE_BSD]: Likewise.
23382         * string/endian.h [__USE_BSD]: Likewise.
23383         * string/string.h [__USE_SVID]: Likewise.
23384         [__USE_BSD]: Likewise.
23385         * string/strings.h [__USE_BSD]: Likewise.
23386         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23387         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23388         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23389         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23390         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23391         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23392         Likewise.
23393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23394         Likewise.
23395         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23396         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23397         Likewise.
23398         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23399         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23400         Likewise.
23401         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23402         Likewise.
23403         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23404         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23405         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23406         Likewise.
23407         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23408         Likewise.
23409         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23410         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23411         * termios/termios.h [__USE_BSD]: Likewise.
23412         * time/sys/time.h [__USE_BSD]: Likewise.
23413         * time/time.h [__USE_BSD]: Likewise.
23414         [__USE_SVID]: Likewise.
23416         * Makefile (subdir_targets): Remove subdir_lint.out.
23418         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23419         (do-tst-printf): Likewise.
23420         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23421         $(objpfx)tst-printf.out.
23423         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23425         * Makerules (check-abi-%): Change target to
23426         $(objpfx)check-abi-%.out.
23427         (check-abi target): Update dependencies.
23428         (check-abi-pattern variable): Redirect output of diff to $@.
23429         (check-abi variable): Likewise.
23430         * elf/Makefile (check-abi): Update dependencies.
23432         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23433         unused.
23434         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23435         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23436         subnormal range.
23437         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23438         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23439         value has largest subnormal exponent.
23440         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23441         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23442         * sysdeps/aarch64/soft-fp/sfp-machine.h
23443         (_FP_TININESS_AFTER_ROUNDING): New macro.
23444         * sysdeps/alpha/soft-fp/sfp-machine.h
23445         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23446         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23447         Likewise.
23448         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23449         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23450         * sysdeps/mips/soft-fp/sfp-machine.h
23451         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23452         * sysdeps/powerpc/soft-fp/sfp-machine.h
23453         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23454         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23455         Likewise.
23456         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23457         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23458         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23459         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23460         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23461         Likewise.
23463 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23465         [BZ #16545]
23466         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23467         model 1.
23469 2014-02-12  Richard Henderson  <rth@redhat.com>
23471         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23472         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23473         * sysdeps/unix/sysv/linux/alpha: Move directory from
23474         ports/sysdeps/unix/sysv/linux/alpha.
23475         * README: Update listing for alpha-*-linux-gnu.
23477 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23479         * include/features.h: Update comment documenting feature test
23480         macros.
23481         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23482         _DEFAULT_SOURCE.
23483         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23484         (_SVID_SOURCE): Likewise.
23485         (_DEFAULT_SOURCE): Update description of default features.
23486         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23487         with _GNU_SOURCE.
23488         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23489         (S_ISVTX): Likewise.
23490         * manual/math.texi (Mathematical Constants): Likewise.
23491         * manual/signal.texi (Interrupted Primitives): Likewise.
23492         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23493         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23494         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23495         Don't refer to _SVID_SOURCE in warning text.
23497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23499         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23500         already defined.
23501         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23502         * sysdeps/mips/dl-lookup.c: Remove.
23503         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23505 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23507         [BZ #16447]
23508         * math/auto-libm-test-in: Add testcase for expl.
23509         * math/auto-libm-test-out: Regenerate.
23510         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23511         calculation of unsafe.
23512         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23514 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23516         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23517         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23518         ports/sysdeps/unix/sysv/linux/aarch64.
23519         * README: Update listing for aarch64*-*-linux-gnu.
23521 2014-02-11  Will Newton  <will.newton@linaro.org>
23523         * manual/probes.texi (Mathematical Function Probes): Use
23524         "triggered" instead of "hit".
23526         * manual/probes.texi (Internal Probes): Add documentation
23527         of setjmp, longjmp and longjmp_target probes.
23529         * include/stap-probe.h: Add comment about probe argument
23530         format.
23532         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23533         definition.  (tr_where, tr_freehook, tr_mallochook,
23534         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23536 2014-02-11  David S. Miller  <davem@davemloft.net>
23538         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23539         processing int_tests.
23541 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23543         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23544         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23545         * sysdeps/unix/sysv/linux/mips: Move directory from
23546         ports/sysdeps/unix/sysv/linux/mips.
23547         * README: Update listing for mips-*-linux-gnu and
23548         mips64-*-linux-gnu.
23550 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23552         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23553         * sysdeps/unix/sysv/linux/m68k: Move directory from
23554         ports/sysdeps/unix/sysv/linux/m68k.
23555         * README: Update listing for m68k-*-linux-gnu.
23557 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23559         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23560         * sysdeps/unix/sysv/linux/generic: Move directory from
23561         ports/sysdeps/unix/sysv/linux/generic.
23562         * sysdeps/unix/sysv/linux/tile: Move directory from
23563         ports/sysdeps/unix/sysv/linux/tile.
23564         * README: Update listing for tile*-*-linux-gnu.
23566 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23568         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23569         __builtin_expect.
23570         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23571         * catgets/open_catalog.c (__open_catalog): Likewise.
23572         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23573         * debug/confstr_chk.c: Likewise.
23574         * debug/fread_chk.c (__fread_chk): Likewise.
23575         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23576         * debug/getgroups_chk.c: Likewise.
23577         * debug/mbsnrtowcs_chk.c: Likewise.
23578         * debug/mbsrtowcs_chk.c: Likewise.
23579         * debug/mbstowcs_chk.c: Likewise.
23580         * debug/memcpy_chk.c: Likewise.
23581         * debug/memmove_chk.c: Likewise.
23582         * debug/mempcpy_chk.c: Likewise.
23583         * debug/memset_chk.c: Likewise.
23584         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23585         * debug/strcat_chk.c (__strcat_chk): Likewise.
23586         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23587         * debug/strncat_chk.c (__strncat_chk): Likewise.
23588         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23589         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23590         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23591         * debug/wcpncpy_chk.c: Likewise.
23592         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23593         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23594         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23595         * debug/wcsncpy_chk.c: Likewise.
23596         * debug/wcsnrtombs_chk.c: Likewise.
23597         * debug/wcsrtombs_chk.c: Likewise.
23598         * debug/wcstombs_chk.c: Likewise.
23599         * debug/wmemcpy_chk.c: Likewise.
23600         * debug/wmemmove_chk.c: Likewise.
23601         * debug/wmempcpy_chk.c: Likewise.
23602         * debug/wmemset_chk.c: Likewise.
23603         * dirent/scandirat.c (SCANDIRAT): Likewise.
23604         * dlfcn/dladdr1.c (dladdr1): Likewise.
23605         * dlfcn/dladdr.c (dladdr): Likewise.
23606         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23607         * dlfcn/dlerror.c (__dlerror): Likewise.
23608         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23609         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23610         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23611         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23612         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23613         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23614         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23615         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23616         Likewise.
23617         * elf/dl-conflict.c: Likewise.
23618         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23619         * elf/dl-dst.h: Likewise.
23620         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23621         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23622         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23623         * elf/dl-init.c (call_init, _dl_init): Likewise.
23624         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23625         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23626         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23627         Likewise.
23628         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23629         Likewise.
23630         * elf/dl-minimal.c (__libc_memalign): Likewise.
23631         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23632         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23633         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23634         * elf/dl-sym.c (do_sym): Likewise.
23635         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23636         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23637         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23638         * elf/dl-writev.h (_dl_writev): Likewise.
23639         * elf/ldconfig.c (search_dir): Likewise.
23640         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23641         (dl_main): Likewise.
23642         * elf/setup-vdso.h (setup_vdso): Likewise.
23643         * grp/compat-initgroups.c (compat_call): Likewise.
23644         * grp/fgetgrent.c (fgetgrent): Likewise.
23645         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23646         * grp/putgrent.c (putgrent): Likewise.
23647         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23648         Likewise.
23649         * hurd/hurdinit.c: Likewise.
23650         * iconvdata/8bit-gap.c (struct): Likewise.
23651         * iconvdata/ansi_x3.110.c : Likewise.
23652         * iconvdata/big5.c : Likewise.
23653         * iconvdata/big5hkscs.c : Likewise.
23654         * iconvdata/cp1255.c: Likewise.
23655         * iconvdata/cp1258.c : Likewise.
23656         * iconvdata/cp932.c : Likewise.
23657         * iconvdata/euc-cn.c: Likewise.
23658         * iconvdata/euc-jisx0213.c : Likewise.
23659         * iconvdata/euc-jp.c: Likewise.
23660         * iconvdata/euc-jp-ms.c : Likewise.
23661         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23662         * iconvdata/gb18030.c : Likewise.
23663         * iconvdata/gbbig5.c (const): Likewise.
23664         * iconvdata/gbgbk.c: Likewise.
23665         * iconvdata/gbk.c : Likewise.
23666         * iconvdata/ibm1364.c : Likewise.
23667         * iconvdata/ibm930.c : Likewise.
23668         * iconvdata/ibm932.c: Likewise.
23669         * iconvdata/ibm933.c : Likewise.
23670         * iconvdata/ibm935.c : Likewise.
23671         * iconvdata/ibm937.c : Likewise.
23672         * iconvdata/ibm939.c : Likewise.
23673         * iconvdata/ibm943.c: Likewise.
23674         * iconvdata/iso_11548-1.c: Likewise.
23675         * iconvdata/iso-2022-cn.c : Likewise.
23676         * iconvdata/iso-2022-cn-ext.c : Likewise.
23677         * iconvdata/iso-2022-jp-3.c: Likewise.
23678         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23679         * iconvdata/iso-2022-kr.c : Likewise.
23680         * iconvdata/iso646.c (gconv_end): Likewise.
23681         * iconvdata/iso_6937-2.c : Likewise.
23682         * iconvdata/iso_6937.c : Likewise.
23683         * iconvdata/iso8859-1.c: Likewise.
23684         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23685         * iconvdata/shift_jisx0213.c : Likewise.
23686         * iconvdata/sjis.c : Likewise.
23687         * iconvdata/t.61.c : Likewise.
23688         * iconvdata/tcvn5712-1.c : Likewise.
23689         * iconvdata/tscii.c: Likewise.
23690         * iconvdata/uhc.c : Likewise.
23691         * iconvdata/unicode.c (gconv_end): Likewise.
23692         * iconvdata/utf-16.c (gconv_end): Likewise.
23693         * iconvdata/utf-32.c (gconv_end): Likewise.
23694         * iconvdata/utf-7.c (base64): Likewise.
23695         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23696         * iconv/gconv_close.c (__gconv_close): Likewise.
23697         * iconv/gconv_open.c (__gconv_open): Likewise.
23698         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23699         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23700         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23701         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23702         (ucs4le_internal_loop_single): Likewise.
23703         * iconv/iconv.c (iconv): Likewise.
23704         * iconv/iconv_close.c: Likewise.
23705         * iconv/loop.c (SINGLE): Likewise.
23706         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23707         * include/atomic.h: Likewise.
23708         * inet/inet6_option.c (option_alloc): Likewise.
23709         * intl/bindtextdom.c (set_binding_values): Likewise.
23710         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23711         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23712         * intl/localealias.c (read_alias_file): Likewise.
23713         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23714         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23715         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23716         * libio/fmemopen.c (fmemopen): Likewise.
23717         * libio/iofgets.c (_IO_fgets): Likewise.
23718         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23719         * libio/iofgetws.c (fgetws): Likewise.
23720         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23721         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23722         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23723         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23724         * locale/findlocale.c (_nl_find_locale): Likewise.
23725         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23726         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23727         Likewise.
23728         * locale/setlocale.c (setlocale): Likewise.
23729         * login/programs/pt_chown.c (main): Likewise.
23730         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23731         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23732         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23733         (mmap, mmap64, mremap, munmap): Likewise.
23734         * math/e_exp2l.c: Likewise.
23735         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23736         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23737         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23738         * math/s_catan.c (__catan): Likewise.
23739         * math/s_catanf.c (__catanf): Likewise.
23740         * math/s_catanh.c (__catanh): Likewise.
23741         * math/s_catanhf.c (__catanhf): Likewise.
23742         * math/s_catanhl.c (__catanhl): Likewise.
23743         * math/s_catanl.c (__catanl): Likewise.
23744         * math/s_ccosh.c (__ccosh): Likewise.
23745         * math/s_ccoshf.c (__ccoshf): Likewise.
23746         * math/s_ccoshl.c (__ccoshl): Likewise.
23747         * math/s_cexp.c (__cexp): Likewise.
23748         * math/s_cexpf.c (__cexpf): Likewise.
23749         * math/s_cexpl.c (__cexpl): Likewise.
23750         * math/s_clog10.c (__clog10): Likewise.
23751         * math/s_clog10f.c (__clog10f): Likewise.
23752         * math/s_clog10l.c (__clog10l): Likewise.
23753         * math/s_clog.c (__clog): Likewise.
23754         * math/s_clogf.c (__clogf): Likewise.
23755         * math/s_clogl.c (__clogl): Likewise.
23756         * math/s_csin.c (__csin): Likewise.
23757         * math/s_csinf.c (__csinf): Likewise.
23758         * math/s_csinh.c (__csinh): Likewise.
23759         * math/s_csinhf.c (__csinhf): Likewise.
23760         * math/s_csinhl.c (__csinhl): Likewise.
23761         * math/s_csinl.c (__csinl): Likewise.
23762         * math/s_csqrt.c (__csqrt): Likewise.
23763         * math/s_csqrtf.c (__csqrtf): Likewise.
23764         * math/s_csqrtl.c (__csqrtl): Likewise.
23765         * math/s_ctan.c (__ctan): Likewise.
23766         * math/s_ctanf.c (__ctanf): Likewise.
23767         * math/s_ctanh.c (__ctanh): Likewise.
23768         * math/s_ctanhf.c (__ctanhf): Likewise.
23769         * math/s_ctanhl.c (__ctanhl): Likewise.
23770         * math/s_ctanl.c (__ctanl): Likewise.
23771         * math/w_pow.c: Likewise.
23772         * math/w_powf.c: Likewise.
23773         * math/w_powl.c: Likewise.
23774         * math/w_scalb.c (sysv_scalb): Likewise.
23775         * math/w_scalbf.c (sysv_scalbf): Likewise.
23776         * math/w_scalbl.c (sysv_scalbl): Likewise.
23777         * misc/error.c (error_tail): Likewise.
23778         * misc/pselect.c (__pselect): Likewise.
23779         * nis/nis_callback.c (__nis_create_callback): Likewise.
23780         * nis/nis_call.c (__nisfind_server): Likewise.
23781         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23782         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23783         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23784         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23785         * nis/nis_lookup.c (nis_lookup): Likewise.
23786         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23787         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23788         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23789         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23790         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23791         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23792         * nis/nss_compat/compat-initgroups.c (add_group)
23793         (internal_getgrent_r): Likewise.
23794         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23795         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23796         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23797         (internal_getspnam_r): Likewise.
23798         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23799         (_nss_nis_getaliasbyname_r): Likewise.
23800         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23801         (_nss_nis_getntohost_r): Likewise.
23802         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23803         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23804         (_nss_nis_getgrgid_r): Likewise.
23805         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23806         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23807         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23808         (_nss_nis_gethostbyname4_r): Likewise.
23809         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23810         (initgroups_netid): Likewise.
23811         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23812         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23813         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23814         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23815         (_nss_nis_getprotobynumber_r): Likewise.
23816         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23817         (_nss_nis_getsecretkey): Likewise.
23818         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23819         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23820         (_nss_nis_getpwuid_r): Likewise.
23821         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23822         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23823         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23824         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23825         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23826         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23827         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23828         Likewise.
23829         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23830         (_nss_nisplus_getntohost_r): Likewise.
23831         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23832         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23833         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23834         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23835         Likewise.
23836         * nis/nss_nisplus/nisplus-initgroups.c
23837         (_nss_nisplus_initgroups_dyn): Likewise.
23838         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23839         (_nss_nisplus_getnetbyaddr_r): Likewise.
23840         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23841         (_nss_nisplus_getprotobynumber_r): Likewise.
23842         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23843         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23844         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23845         Likewise.
23846         * nis/nss_nisplus/nisplus-service.c
23847         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23848         (_nss_nisplus_getservbyport_r): Likewise.
23849         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23850         (_nss_nisplus_getspnam_r): Likewise.
23851         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23852         Likewise.
23853         * nscd/aicache.c (addhstaiX): Likewise.
23854         * nscd/cache.c (cache_search, prune_cache): Likewise.
23855         * nscd/connections.c (register_traced_file, send_ro_fd)
23856         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23857         (main_loop_epoll): Likewise.
23858         * nscd/grpcache.c (addgrbyX): Likewise.
23859         * nscd/hstcache.c (addhstbyX): Likewise.
23860         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23861         * nscd/mem.c (gc, mempool_alloc): Likewise.
23862         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23863         (addinnetgrX): Likewise.
23864         * nscd/nscd-client.h (__nscd_acquire_maplock)
23865         (__nscd_drop_map_ref): Likewise.
23866         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23867         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23868         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23869         Likewise.
23870         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23871         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23872         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23873         (__nscd_get_map_ref): Likewise.
23874         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23875         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23876         Likewise.
23877         * nscd/pwdcache.c (addpwbyX): Likewise.
23878         * nscd/selinux.c (preserve_capabilities): Likewise.
23879         * nscd/servicescache.c (addservbyX): Likewise.
23880         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23881         * posix/fnmatch.c (fnmatch): Likewise.
23882         * posix/getopt.c (_getopt_internal_r): Likewise.
23883         * posix/glob.c (glob, glob_in_dir): Likewise.
23884         * posix/wordexp.c (exec_comm_child): Likewise.
23885         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23886         (getanswer_r, gaih_getanswer_slice): Likewise.
23887         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23888         * resolv/res_init.c: Likewise.
23889         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23890         * resolv/res_query.c (__libc_res_nquery): Likewise.
23891         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23892         Likewise.
23893         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23894         * stdio-common/perror.c (perror): Likewise.
23895         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23896         * stdio-common/tmpnam.c (tmpnam): Likewise.
23897         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23898         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23899         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23900         Likewise.
23901         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23902         * stdlib/putenv.c (putenv): Likewise.
23903         * stdlib/setenv.c (__add_to_environ): Likewise.
23904         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23905         * stdlib/strtol_l.c (INTERNAL): Likewise.
23906         * string/memmem.c (memmem): Likewise.
23907         * string/strerror.c (strerror): Likewise.
23908         * string/strnlen.c (__strnlen): Likewise.
23909         * string/test-memmem.c (simple_memmem): Likewise.
23910         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23911         * sunrpc/pm_getport.c (__get_socket): Likewise.
23912         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23913         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23914         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23915         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23916         Likewise.
23917         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23918         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23919         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23920         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23921         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23922         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23923         Likewise.
23924         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23925         Likewise.
23926         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23927         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23928         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23929         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23930         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23932         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23933         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23934         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23935         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23936         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23937         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23938         Likewise.
23939         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23940         Likewise.
23941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23942         Likewise.
23943         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23944         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23945         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23946         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23947         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23948         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23949         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23952         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23953         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23954         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23955         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23956         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23958         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23959         Likewise.
23960         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23961         Likewise.
23962         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23963         Likewise.
23964         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23965         Likewise.
23966         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23968         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23969         Likewise.
23970         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23971         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23972         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23973         * sysdeps/posix/sleep.c: Likewise.
23974         * sysdeps/posix/tempname.c: Likewise.
23975         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23976         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23977         Likewise.
23978         * sysdeps/powerpc/powerpc32/dl-machine.h
23979         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23980         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23982         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23983         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23984         Likewise.
23985         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23986         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23987         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23988         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23989         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23990         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23991         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23992         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23993         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23994         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23995         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23996         (elf_machine_lazy_rel): Likewise.
23997         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23998         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23999         (elf_machine_lazy_rel): Likewise.
24000         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24001         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24002         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24003         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24004         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24005         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24006         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24007         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24008         Likewise.
24009         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24010         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24011         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24012         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24013         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24014         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24015         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24016         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24017         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24018         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24019         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24020         Likewise.
24021         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24022         (__posix_fallocate64_l64): Likewise.
24023         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24024         (posix_fallocate): Likewise.
24025         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24026         Likewise.
24027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24028         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24029         (getifaddrs_internal): Likewise.
24030         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24031         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24032         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24033         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24034         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24035         (__posix_fallocate64_l64): Likewise.
24036         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24037         Likewise.
24038         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24039         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24040         (__get_clockfreq): Likewise.
24041         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24042         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24043         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24046         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24047         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24048         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24049         Likewise.
24050         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24051         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24052         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24053         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24054         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24055         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24056         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24057         Likewise.
24058         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24059         (posix_fallocate): Likewise.
24060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24061         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24062         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24063         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24064         (elf_machine_rela, elf_machine_rela_relative)
24065         (elf_machine_lazy_rel): Likewise.
24066         * time/asctime.c (asctime_internal): Likewise.
24067         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24068         * time/tzset.c (__tzset_parse_tz): Likewise.
24069         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24070         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24071         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24072         * wcsmbs/wcsmbsload.h: Likewise.
24074         [BZ #15894]
24075         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24077         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24078         (arena_get2): Remove THREAD_STATS conditionals.
24079         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24080         (__malloc_stats, int): Likewise.
24082 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24084         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24085         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24087         * manual/setjmp.texi: Fix typos/grammar errors.
24089         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24090         Only return early when n is <= 0.  Delete unused return statement.
24092         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24093         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24094         * debug/tst-longjmp_chk3.c: New file.
24096         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24097         (test_main): Replace code with set_fortify_handler call.
24098         * debug/test-strcpy_chk.c: Likewise.
24099         * debug/tst-chk1.c: Likewise.
24100         * debug/tst-longjmp_chk.c: Likewise.
24101         * test-skeleton.c: Include fcntl.h & paths.h
24102         (set_fortify_handler): Define.
24104         * debug/tst-longjmp_chk.c: Add header comment and include
24105         ../test-skeleton.c.
24106         (do_test): Mark static.
24107         (TEST_FUNCTION): Define.
24109         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24110         (IP_PMTUDISC_INTERFACE): Likewise.
24111         (IP_MULTICAST_IF): Likewise.
24112         (IP_MULTICAST_TTL): Likewise.
24113         (IP_MULTICAST_LOOP): Likewise.
24114         (IP_ADD_MEMBERSHIP): Likewise.
24115         (IP_DROP_MEMBERSHIP): Likewise.
24116         (IP_UNBLOCK_SOURCE): Likewise.
24117         (IP_BLOCK_SOURCE): Likewise.
24118         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24119         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24120         (IP_MSFILTER): Likewise.
24121         (MCAST_JOIN_GROUP): Likewise.
24122         (MCAST_BLOCK_SOURCE): Likewise.
24123         (MCAST_UNBLOCK_SOURCE): Likewise.
24124         (MCAST_LEAVE_GROUP): Likewise.
24125         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24126         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24127         (MCAST_MSFILTER): Likewise.
24128         (IP_MULTICAST_ALL): Likewise.
24129         (IP_UNICAST_IF): Likewise.
24131         * timezone/Makefile: Delete $(have-ksh) check.
24132         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24133         * timezone/tzselect.ksh: Add +x mode bits.
24135         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24136         (ANON_INODE_FS_MAGIC): Likewise.
24137         (BDEVFS_MAGIC): Likewise.
24138         (BINFMTFS_MAGIC): Likewise.
24139         (BTRFS_TEST_MAGIC): Likewise.
24140         (CRAMFS_MAGIC_WEND): Likewise.
24141         (DEBUGFS_MAGIC): Likewise.
24142         (ECRYPTFS_SUPER_MAGIC): Likewise.
24143         (EXT3_SUPER_MAGIC): Likewise.
24144         (EXT4_SUPER_MAGIC): Likewise.
24145         (FUTEXFS_SUPER_MAGIC): Likewise.
24146         (HOSTFS_SUPER_MAGIC): Likewise.
24147         (HUGETLBFS_MAGIC): Likewise.
24148         (MINIX3_SUPER_MAGIC): Likewise.
24149         (MTD_INODE_FS_MAGIC): Likewise.
24150         (NILFS_SUPER_MAGIC): Likewise.
24151         (OPENPROM_SUPER_MAGIC): Likewise.
24152         (PIPEFS_MAGIC): Likewise.
24153         (PSTOREFS_MAGIC): Likewise.
24154         (QNX6_SUPER_MAGIC): Likewise.
24155         (RAMFS_MAGIC): Likewise.
24156         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24157         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24158         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24159         (SECURITYFS_MAGIC): Likewise.
24160         (SELINUX_MAGIC): Likewise.
24161         (SMACK_MAGIC): Likewise.
24162         (SOCKFS_MAGIC): Likewise.
24163         (SQUASHFS_MAGIC): Likewise.
24164         (STACK_END_MAGIC): Likewise.
24165         (TMPFS_MAGIC): Likewise.
24166         (USBDEVICE_SUPER_MAGIC): Likewise.
24167         (V9FS_MAGIC): Likewise.
24168         (XENFS_SUPER_MAGIC): Likewise.
24169         (CRAMFS_MAGIC): Fix typo in comment.
24170         (EXT2_SUPER_MAGIC): Update comment.
24171         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24173 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24175         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24176         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24177         * sysdeps/unix/sysv/linux/arm: Move directory from
24178         ports/sysdeps/unix/sysv/linux/arm.
24179         * README: Update listing for arm-*-linux-gnueabi.
24181         * README: Remove mention of am33.
24183 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24185         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24186         than the comma operator, to avoid "rhs of comma has no effect"
24187         compiler warnings.
24188         (__sigfillset, __sigandset, __sigorset): Likewise.
24189         * include/signal.h (__sigemptyset): Likewise.
24190         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24192 2014-02-07  Allan McRae  <allan@archlinux.org>
24194         * version.h (RELEASE): Set to "development".
24195         (VERSION): Set to "2.19.90"
24196         * NEWS: Add 2.20 section.
24198 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24200         [BZ #16529]
24201         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24203 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24205         * manual/contrib.texi: Update entry for Carlos O'Donell,
24206         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24208 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24210         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24212         * sysdeps/unix/sysv/linux/kernel-features.h
24213         [__LINUX_KERNEL_VERSION >= 0x020621]
24214         (__ASSUME_PROC_PID_TASK_COMM): Define.
24216 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24218         [BZ #16398]
24219         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24220         conversion when destination buffer does not have enough space.
24221         * libio/tst-ftell-partial-wide.c: New test case.
24222         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24224         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24225         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24226         Leonard and Allan McRae.
24228 2014-02-04  David S. Miller  <davem@davemloft.net>
24230         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24231         32-bit.
24233 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24236         New file
24237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24238         New file
24239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24240         New file.
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24242         New file.
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24244         New file.
24245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24246         New file.
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24248         New file.
24249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24250         New file.
24251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24252         New file.
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24254         New file.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24256         New file.
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24258         New file.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24260         New file.
24262 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24264         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24265         * shlib-versions: Likewise.
24267 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24270         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24271         (abilist-pattern): New variable, set to %-le.abilist.
24273         * Makerules (abilist-pattern): New variable.
24274         (vpath): Use $(abilist-pattern) in place of %.abilist.
24275         (check-abi-% pattern rule): Likewise.
24276         (check-abi, update-abi): Likewise.
24278 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24282 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24284         * manual/startup.texi: Add next, previous, and top entries for
24285         the `Program Arguments' and `Environment Variables' nodes.
24287 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24289         * manual/macros.texi: Add comments before MTASC-safety macros.
24291         * manual/users.texi: Document MTASC-safety properties.
24293         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24294         (pthread_getspecific, pthread_setspecific): Format with
24295         @deftypefun, and add @safety note.
24296         * manual/signal.texi: Move comments that analyze the above
24297         functions to their home place.
24299 2014-02-03  Allan McRae  <allan@archlinux.org>
24301         * po/sl.po: Update Slovenian translation from translation project.
24303 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24305         * manual/time.texi (timegm): Add missing blank after @c.
24306         Reported by Joseph Myers <joseph@codesourcery.com>.
24308 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24310         * manual/check-safety.sh: New.
24311         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24313         * manual/terminal.texi: Document MTASC-safety properties.
24315         * manual/filesys.texi: Document MTASC-safety properties.
24317         * manual/errno.texi: Document MTASC-safety properties.
24319         * manual/intro.texi: Document safety identifiers and
24320         conditionals.
24322         * manual/string.texi (wcstok): Fix prototype.
24323         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24325         * manual/time.texi: Document MTASC-safety properties.
24327         * manual/string.texi: Document MTASC-safety properties.
24329         * manual/threads.texi: Document MTASC-safety properties.
24331         * manual/stdio.texi: Document MTASC-safety properties.
24333         * manual/syslog.texi: Document MTASC-safety properties.
24335         * manual/sysinfo.texi: Document MTASC-safety properties.
24337         * manual/startup.texi: Document MTASC-safety properties.
24339         * manual/socket.texi: Document MTASC-safety properties.
24341         * manual/signal.texi: Document MTASC-safety properties.
24343 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24345         * manual/setjmp.texi: Document MTASC-safety properties.
24347         * manual/search.texi: Document MTASC-safety properties.
24349         * manual/resource.texi: Document MTASC-safety properties.
24351         * manual/process.texi: Document MTASC-safety properties.
24353         * manual/platform.texi: Document MTASC-safety properties.
24355         * manual/pipe.texi: Document MTASC-safety properties.
24357         * manual/pattern.texi: Document MTASC-safety properties.
24359         * manual/message.texi: Document MTASC-safety properties.
24361         [BZ #12751]
24362         * manual/memory.texi: Document MTASC-safety properties.
24364         * manual/math.texi: Document MTASC-safety properties.
24366         * manual/locale.texi: Document MTASC-safety properties.
24368         * manual/llio.texi: Document MTASC-safety properties.
24370         * manual/libdl.texi: New.
24372         * manual/lang.texi: Document MTASC-safety properties.
24374         * manual/job.texi: Document MTASC-safety properties.
24376         * manual/getopt.texi: Document MTASC-safety properties.
24378         * manual/ctype.texi: Document MTASC-safety properties.
24380 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24382         [BZ #16046]
24383         * csu/libc-tls.c (static_map): Remove variable.
24384         (__libc_setup_tls): Use main executable's link map for TLS data.
24385         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24386         casing for LM_ID_BASE and GL(dl_nns).
24387         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24388         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24389         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24390         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24391         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24392         member.
24393         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24394         l_phnum members.
24396 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24398         * manual/debug.texi: Document MTASC-safety properties.
24400 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24402         [BZ #16510]
24403         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24404         of __x86_64__ when disabling x87 inline functions.
24406 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24408         * manual/charset.texi: Document MTASC-safety properties.
24410         * manual/crypt.texi: Document MTASC-safety properties.
24412         * manual/conf.texi: Document MTASC-safety properties.
24414         * manual/arith.texi: Document MTASC-safety properties.
24416         * manual/argp.texi: Document MTASC-safety properties.
24418         * manual/macros.texi: Introduce macros to document multi
24419         thread, asynchronous signal and asynchronous cancellation
24420         safety properties.
24421         * manual/intro.texi: Introduce the properties themselves.
24423 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24425         * sysdeps/sh/sh4/Makefile: New file.
24427 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24429         * math/gen-libm-test.pl ($srcdir): New variable.
24430         ($auto_input): Use it.
24432 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24434         [BZ #16506]
24435         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24436         access beyond array bounds when parsing netgroups file.
24438         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24439         the old buffer before realloc.
24441 2014-01-27  Allan McRae  <allan@archlinux.org>
24443         * po/fr.po: Update French translation from translation project.
24445 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24447         * sysdeps/sh/libm-test-ulps: Regenerate.
24449 2014-01-24  David S. Miller  <davem@davemloft.net>
24451         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24453 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24455         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24456         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24458 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24460         [BZ #16474]
24461         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24462         string pointers after reallocation.
24464 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24466         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24467         __SH4A__ instead of __SH_FPU_ANY__.
24469 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24471         * sysdeps/sh/fpu_control.h: New file.
24472         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24473         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24474         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24475         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24476         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24477         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24478         * sysdeps/sh/sys/ucontext.h: Remove.
24479         * sysdeps/sh/sys: Remove directory.
24481 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24483         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24484         s390/sys/ucontext.h.
24485         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24486         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24488 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24490         [BZ #15605]
24491         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24493 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24495         [BZ#16431]
24496         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24497         Adjust the vDSO correctly for internal calls.
24498         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24500 2014-01-20  Allan McRae  <allan@archlinux.org>
24502         * po/ca.po: Update Catalan translation from translation project.
24504 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24506         * sysdeps/s390/sotruss-lib.c: New file.
24508 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24510         [BZ#16430]
24511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24512         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24513         local calls issues by not having a PLT stub required for IFUNC calls.
24514         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24516 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24518         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24519         * math/test-fpucw-static.c: Likewise.
24521 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24523         [BZ #16453]
24524         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24526 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24528         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24529         implementation for powerpc.
24531 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24533         [BZ #14782]
24534         * sysdeps/posix/system.c (__libc_system): Do not enable
24535         asynchronous cancellation.
24537 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24539         [BZ #16427]
24540         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24541         handling only for numbers special also in the IEEE case.
24543 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24545         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24547 2014-01-11  Allan McRae  <allan@archlinux.org>
24549         * po/bg.po: Update Bulgarian translation from translation project.
24551         * po/de.po: Update German translation from translation project.
24553 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24555         * sysdeps/generic/gcc-compat.h: New file.
24557 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24559         * benchtests/asin-inputs: Correct slow inputs.
24560         * benchtests/acos-inputs: Likewise.
24562 2014-01-10  Allan McRae  <allan@archlinux.org>
24564         * po:sv.po: Update Swedish translation from translation project.
24566         * po/vi.po: Update Vietnamese translation from translation project.
24568         * po/eo.po: Update Esperanto translation from translation project.
24570         * po/cs.po: Update Czech translation from translation project.
24572         * po/nl.po: Update Dutch translation from translation project.
24574         * po/pl.po: Update Polish translation from translation project.
24576         * po/ru.po: Update Russian translation from translation project.
24578         * po/uk.po: Update Ukrainian translation from translation project.
24580 2014-01-08  Brooks Moses  <bmoses@google.com>
24582         * elf/dl-load.c: Fix comment typo.
24584 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24586         * po/header.pot: Rename to...
24587         * po/pot.header: ... this.
24588         * po/Makefile: Use pot.header.
24590 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24591             Maxim Kuvyrkov  <maxim@kugelworks.com>
24593         [BZ #16394]
24594         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24595         SRC and DEST against LEN.
24597 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24599         [BZ #16414]
24600         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24601         implementation.
24602         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24604 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24608 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24610         [BZ #16408]
24611         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24612         for large positive arguments.
24614 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24616         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24618         * math/auto-libm-test-in: Mark various tests with
24619         xfail-rounding:ldbl-128ibm.
24620         * math/auto-libm-test-out: Regenerated.
24622         [BZ #16407]
24623         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24624         Increase overflow threshold.
24626 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24628         [BZ #14286]
24629         * stdio-common/vfprintf.c: Check for integer overflow.
24631 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24633         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24634         the first argument and return value of __tls_get_addr_internal.
24636 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24638         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24639         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24641 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24643         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24644         * sysdeps/s390/rtld-global-offsets.sym: New file.
24645         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24646         GLIBC_2.19 symbol.
24647         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24648         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24649         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24650         ... this.
24651         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24652         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24653         ... this.
24654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24655         Regenerate.
24656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24657         Regenerate.
24658         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24659         halfs of GPRs for high_gprs contexts.
24660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24661         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24662         field.
24663         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24664         uc_flags field.
24665         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24666         64 bit versions:
24667         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24668         for high GPRs (uc_high_gprs) and for future extensions
24669         (__reserved).
24670         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24671         for future extensions (__reserved).
24672         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24673         64 bit versions:
24674         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24675         SC_HIGHGPRS offset definition.
24676         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24677         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24679         * Versions.def: Add GLIBC_2.19 for libpthread.
24680         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24681         siglongjmp for libpthread with GLIBC_2.19 symver.
24682         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24683         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24684         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24685         * sysdeps/s390/__longjmp.c: New file.
24686         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24687         * sysdeps/s390/longjmp.c: New file.
24688         * sysdeps/s390/setjmp.S: New file.
24689         * sysdeps/s390/sigjmp.S: New file.
24690         * sysdeps/s390/v1-longjmp.c: New file.
24691         * sysdeps/s390/v1-setjmp.h: New file.
24692         * sysdeps/s390/v1-sigjmp.c: New file.
24693         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24694         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24695         GLIBC_2.19 version.
24696         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24697         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24698         versioned symbols for ____longjmp_chk.
24699         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24700         Likewise.
24701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24702         Regenerate.
24703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24704         Regenerate.
24705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24706         Regenerate.
24707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24708         Regenerate.
24709         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24710         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24711         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24712         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24713         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24714         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24715         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24716         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24717         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24718         * sysdeps/s390/rtld-__longjmp.c: New file.
24719         * sysdeps/s390/rtld-setjmp.S: New file.
24721 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24723         [BZ #16400]
24724         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24725         Return -__logl (x) for small positive arguments without evaluating
24726         a polynomial.
24728 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24730         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24731         Rename to ...
24732         (__ptrace_peeksiginfo_args): ... this.
24733         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24734         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24737 2014-01-06  Allan McRae  <allan@archlinux.org>
24739         * inet/netinet/in.h: Fix typo in comment.
24741 2014-01-05  Andreas Jaeger  <aj@suse.de>
24743         * sysdeps/i386/fpu/libm-test-ulps: Update.
24745 2014-01-05  Allan McRae  <allan@archlinux.org>
24747         * po/libc.pot: Regenerated.
24749         * malloc/memusagestat.c: Fix gettext call formatting.
24751 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24753         * nscd/nscd.c: Improve usage() output.
24755 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24757         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24758         * sysdeps/unix/sysv/linux/configure: Regenerated.
24759         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24760         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24762 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24764         [BZ #16390]
24765         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24766         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24768 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24771         extra tokens at end of #undef directive.
24772         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24773         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24774         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24776 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24778         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24780         * math/auto-libm-test-in: Mark various tests with
24781         xfail-rounding:ldbl-128ibm.
24782         * math/auto-libm-test-out: Regenerated.
24784 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24786         [BZ #16386]
24787         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24788         numbers with subnormal high part when calculating exponent.
24790         [BZ #16385]
24791         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24792         fabs.
24794         [BZ #16384]
24795         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24796         M_LN2l.
24797         (__ieee754_acoshl): Use __log1pl not __log1p.
24799 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24801         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24802         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24803         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24804         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24805         (reused_arena, arena_get2): Convert to GNU style.
24806         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24807         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24808         (memalign_check, __malloc_set_state): Likewise.
24809         * malloc/mallocbug.c (main): Likewise.
24810         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24811         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24812         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24813         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24814         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24815         (__posix_memalign, malloc_info): Likewise.
24816         * malloc/malloc.h: Likewise.
24817         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24818         (mallochook, memalignhook, reallochook, mabort): Likewise.
24819         * malloc/mcheck.h: Likewise.
24820         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24821         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24822         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24823         * malloc/morecore.c (__default_morecore): Likewise.
24824         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24825         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24826         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24827         (print_and_abort): Likewise.
24828         * malloc/obstack.h: Likewise.
24829         * malloc/set-freeres.c (__libc_freeres): Likewise.
24830         * malloc/tst-mallocstate.c (main): Likewise.
24831         * malloc/tst-mtrace.c (main): Likewise.
24832         * malloc/tst-realloc.c (do_test): Likewise.
24834 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24836         [BZ #16366]
24837         * nscd/netgroupcache.c (do_notfound): New function.
24838         (addgetnetgrentX): Use it.
24840         [BZ # 16365]
24841         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24842         NSS_STATUS_NOTFOUND.
24844 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24846         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24849 2014-01-01  Allan McRae  <allan@archlinux.org>
24851         * scripts/update-copyrights: Update configure input file suffix.
24853         * NEWS: Update copyright year.
24854         * catgets/gencat.c: Likewise.
24855         * csu/version.c: Likewise.
24856         * debug/catchsegv.sh: Likewise.
24857         * debug/pcprofiledump.c: Likewise.
24858         * debug/xtrace.sh: Likewise.
24859         * elf/ldconfig.c: Likewise.
24860         * elf/ldd.bash.in: Likewise.
24861         * elf/pldd.c: Likewise.
24862         * elf/sotruss.ksh: Likewise.
24863         * elf/sprof.c: Likewise.
24864         * iconv/iconv_prog.c: Likewise.
24865         * iconv/iconvconfig.c: Likewise.
24866         * locale/programs/locale.c: Likewise.
24867         * locale/programs/localedef.c: Likewise.
24868         * login/programs/pt_chown.c: Likewise.
24869         * malloc/memusage.sh: Likewise.
24870         * malloc/memusagestat.c: Likewise.
24871         * malloc/mtrace.pl: Likewise.
24872         * manual/libc.texinfo: Likewise.
24873         * nscd/nscd.c: Likewise.
24874         * nss/getent.c: Likewise.
24875         * nss/makedb.c: Likewise.
24876         * posix/getconf.c: Likewise.
24877         * scripts/test-installation.pl: Likewise.
24879         * All files with FSF copyright notices: Update copyright dates
24880         using scripts/update-copyrights.
24881         * intl/plural.c: Regenerated.
24882         * locale/programs/charmap-kw.h: Likewise.
24883         * locale/programs/locfile-kw.h: Likewise.
24885 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24887         * sysdeps/unix/sysv/linux/configure: Regenerated.
24888         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24889         the linux/fanotify.h header.
24890         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24891         HAVE_LINUX_FANOTIFY_H is defined.
24893 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24895         * benchtests/cos-inputs: New inputs.
24896         * benchtests/sin-inputs: Likewise.
24898         * benchtests/atan-inputs: New inputs. Fix name of multiple
24899         precision fallback inputs.
24901         * benchtests/atanh-inputs: New inputs.
24902         * benchtests/tanh-inputs: Likewise.
24904         * benchtests/acosh-inputs: New inputs.
24905         * benchtests/asinh-inputs: Likewise.
24907         * benchtests/cosh-inputs: New inputs.
24908         * benchtests/sinh-inputs: Likewise.
24910         * benchtests/acos-inputs: Add more inputs.
24911         * benchtests/asin-inputs: Likewise.
24913 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24915         [BZ #16375]
24916         * manual/arith.texi: Fix spelling.
24917         * manual/charset.texi: Likewise.
24918         * manual/errno.texi: Likewise.
24919         * manual/filesys.texi: Likewise.
24920         * manual/lang.texi: Likewise.
24921         * manual/llio.texi: Likewise.
24922         * manual/locale.texi: Likewise.
24923         * manual/message.texi: Likewise.
24924         * manual/resource.texi: Likewise.
24925         * manual/search.texi: Likewise.
24926         * manual/setjmp.texi: Likewise.
24927         * manual/stdio.texi: Likewise.
24928         * manual/string.texi: Likewise.
24929         * manual/sysinfo.texi: Likewise.
24930         * manual/time.texi: Likewise.
24932 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24934         * po/sl.po: New file.
24936 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24938         * .gitignore: Add core/.gdbinit/.gdb_history.
24940 2013-12-27  Allan McRae  <allan@archlinux.org>
24942         [BZ #16369]
24943         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24944         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24946 2013-12-24  Brooks Moses  <bmoses@google.com>
24948         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24949         all compilers that claim C++98 compliance, not just GCC.
24950         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24951         Likewise.
24953 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24955         * NEWS: Restore accidentally deleted bug-fix entries.
24957 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24958             Ondřej Bílka  <neleai@seznam.cz>
24960         [BZ #15073]
24961         * malloc/malloc.c (_int_free): Perform sanity check only if we
24962         have_lock.
24964 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24966         [BZ #12986]
24967         * manual/stdio.texi (String Input Conversions): Clarify that character
24968         classes are not supported.
24970 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24974 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24976         [BZ #16337]
24977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24978         Calculate results for small negative arguments directly rather
24979         than using reflection formula with special underflow handling.
24981         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24982         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24983         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24984         (fchflags): Likewise.
24985         (revoke): Likewise.
24986         (setlogin): Likewise.
24987         (sigaltstack): Likewise.
24988         (wait4): Likewise.
24989         (sigblock): Remove.
24990         (sigsetmask): Likewise.
24991         (wait3): Likewise.
24992         (waitpid): Likewise.
24993         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24994         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24995         file.
24996         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24997         * sysdeps/unix/bsd/Makefile: ... here.
24998         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24999         * sysdeps/unix/bsd/Versions: ... here.
25000         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25001         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25002         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25003         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25004         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25005         * sysdeps/unix/bsd/sigblock.c: ... here.
25006         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25007         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25008         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25009         * sysdeps/unix/bsd/sigvec.c: ... here.
25010         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25011         * sysdeps/unix/bsd/tcdrain.c: ... here.
25012         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25013         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25014         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25015         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25016         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25017         * sysdeps/unix/bsd/wait.c: ... here.
25018         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25019         * sysdeps/unix/bsd/wait3.c: ... here.
25020         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25021         * sysdeps/unix/bsd/waitpid.c: ... here.
25023 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25025         [BZ #16356]
25026         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25027         round-to-nearest for [!USE_AS_EXPM1L].
25028         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25029         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25030         more tests of exp and exp10.  Expect some exp10 tests to miss
25031         exceptions or fail in directed rounding modes.
25032         * math/auto-libm-test-out: Regenerated.
25033         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25034         (exp10_test_tonearest): New function.
25035         (exp10_towardzero_test_data): New array.
25036         (exp10_test_towardzero): New function.
25037         (exp10_downward_test_data): New array.
25038         (exp10_test_downward): New function.
25039         (exp10_upward_test_data): New array.
25040         (exp10_test_upward): New function.
25041         (main): Call the new functions.
25042         * sysdeps/i386/fpu/libm-test-ulps: Update.
25043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25047         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25048         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25049         * math/auto-libm-test-out: Regenerated.
25050         * math/libm-test.inc (acosh_test_data): Add more tests.
25051         (atanh_test_data): Likewise.
25052         (ceil_test_data): Likewise.
25053         (copysign_test_data): Likewise.
25054         * sysdeps/i386/fpu/libm-test-ulps: Update.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057         * timezone/checktab.awk: Update from tzcode 2013i.
25058         * timezone/private.h: Likewise.
25059         * timezone/scheck.c: Likewise.
25060         * timezone/tzfile.h: Likewise.
25061         * timezone/tzselect.ksh: Likewise.
25062         * timezone/zdump.c: Likewise.
25063         * timezone/zic.c: Likewise.
25065         * math/auto-libm-test-in: Add tests of cpow.
25066         * math/auto-libm-test-out: Regenerated.
25067         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25068         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25069         mpc_cc_c.
25070         (func_calc_desc): Add mpc_cc_c union field.
25071         (test_functions): Add cpow.
25072         (special_fill_2pi): New function.
25073         (special_real_inputs): Add 2pi.
25074         (calc_generic_results): Handle mpc_cc_c.
25075         * sysdeps/i386/fpu/libm-test-ulps: Update.
25076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25078         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25079         csqrt, ctan and ctanh.
25080         * math/auto-libm-test-out: Regenerated.
25081         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25082         (TEST_COND_x86): Likewise.
25083         (ccos_test_data): Use AUTO_TESTS_c_c.
25084         (ccosh_test_data): Likewise.
25085         (cexp_test_data): Likewise.
25086         (clog_test_data): Likewise.
25087         (csqrt_test_data): Likewise.
25088         (ctan_test_data): Likewise.
25089         (ctan_tonearest_test_data): Likewise.
25090         (ctan_towardzero_test_data): Likewise.
25091         (ctan_downward_test_data): Likewise.
25092         (ctan_upward_test_data): Likewise.
25093         (ctanh_test_data): Likewise.
25094         (ctanh_tonearest_test_data): Likewise.
25095         (ctanh_towardzero_test_data): Likewise.
25096         (ctanh_downward_test_data): Likewise.
25097         (ctanh_upward_test_data): Likewise.
25098         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25099         mpc_c_c.
25100         (func_calc_desc): Add mpc_c_c union field.
25101         (FUNC_mpc_c_c): New macro.
25102         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25103         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25104         ctanh.
25105         (special_fill_min_subnorm_p120): New function.
25106         (special_real_inputs): Add min_subnorm_p120.
25107         (calc_generic_results): Handle mpc_c_c.
25108         * sysdeps/i386/fpu/libm-test-ulps: Update.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25113         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25114         (do_sin_slow): New functions.
25115         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25116         (cslow2, csloww1, csloww2): Use the new functions.
25118         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25119         Use M to change sign of result instead of X.  Assume X is
25120         positive.
25121         (csloww1): Likewise.
25122         (__sin): Adjust.
25123         (__cos): Adjust.
25125         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25126         arguments A and DA.
25127         (__sin): Adjust.
25128         (__cos): Likewise.
25130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25131         (__cos): Likewise.
25132         (sloww1): Don't adjust sign of DX.
25133         (csloww1): Likewise.
25134         (sloww2): Use X directly and don't adjust sign of DX.
25135         (csloww2): Likewise.
25137 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25139         * math/auto-libm-test-in: Add tests of cabs and carg.
25140         * math/auto-libm-test-out: Regenerated.
25141         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25142         (carg_test_data): Likewise.
25143         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25144         mpc_c_f.
25145         (func_calc_desc): Add mpc_c_f union field.
25146         (test_functions): Add cabs and carg.
25147         (calc_generic_results): Handle mpc_c_f.
25149         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25150         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25151         as a macro and a compat symbol.
25152         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25153         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25154         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25155         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25156         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25157         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25158         not use .hidden.
25159         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25160         Likewise.
25161         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25162         Likewise.
25163         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25164         Likewise.
25165         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25166         Likewise.
25167         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25168         Likewise.
25169         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25170         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25171         from GLIBC_2.3.2.
25173 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25177 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25179         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25180         trailing whitespace removed.
25181         * scripts/config.guess: Update to version 2013-11-29.
25182         * scripts/config.sub: Update to version 2013-10-01.
25184         * math/auto-libm-test-in: Add tests of sincos.
25185         * math/auto-libm-test-out: Regenerated.
25186         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25187         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25188         mpfr_f_11.
25189         (func_calc_desc): Add mpfr_f_11 union field.
25190         (test_functions): Add sincos.
25191         (calc_generic_results): Handle mpfr_f_11.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195 2013-12-19  Andreas Schwab  <schwab@suse.de>
25197         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25198         CALL_MCOUNT.
25199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25200         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25201         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25203 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25205         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25206         * sysdeps/i386/fpu/libm-test-ulps: Update.
25207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25209         [BZ #16293]
25210         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25211         round-to-nearest mode when using frndint.
25212         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25213         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25215         Likewise.
25216         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25217         sinh test to fail.
25218         * math/auto-libm-test-out: Regenerated.
25219         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25220         (TEST_COND_x86): Likewise.
25221         (expm1_tonearest_test_data): New array.
25222         (expm1_test_tonearest): New function.
25223         (expm1_towardzero_test_data): New array.
25224         (expm1_test_towardzero): New function.
25225         (expm1_downward_test_data): New array.
25226         (expm1_test_downward): New function.
25227         (expm1_upward_test_data): New array.
25228         (expm1_test_upward): New function.
25229         (main): Run the new test functions.
25230         * sysdeps/i386/fpu/libm-test-ulps: Update.
25231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25233         * include/features.h: Update comment documenting feature test
25234         macros.  Mention _DEFAULT_SOURCE in comment.
25235         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25236         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25237         _BSD_SOURCE and _SVID_SOURCE.
25238         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25239         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25240         !_SVID_SOURCE]: Likewise.
25241         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25242         (__USE_POSIX_IMPLICITLY): Define.
25243         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25244         (_POSIX_SOURCE): Undefine and redefine.
25245         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25246         (_POSIX_C_SOURCE): Likewise.
25247         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25248         (Feature Test Macros): Update documentation of default features.
25250 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25252         * benchtests/Makefile: Add bench-strtok.
25253         * benchtests/bench-strtok.c: New file: strtok benchtest.
25255 2013-12-19  Allan McRae  <allan@archlinux.org>
25257         * manual/install.texi: Suppress menu for plain text output.
25258         * INSTALL: Regenerated.
25260 2013-12-18  Brooks Moses  <bmoses@google.com>
25262         [BZ #15846]
25263         * misc/getauxval.c: Include errno.h.
25264         (__getauxval): Set errno to ENOENT if the requested type is not
25265         found.
25266         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25267         don't declare with __attribute_const__.
25268         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25269         * manual/startup.texi: Document that getauxval sets errno.
25271 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25273         * math/auto-libm-test-in: Add tests of jn and yn.
25274         * math/auto-libm-test-out: Regenerated.
25275         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25276         (yn_test_data): Likewise.
25277         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25278         mpfr_if_f.
25279         (func_calc_desc): Add mpfr_if_f union field.
25280         (FUNC_mpfr_if_f): New macro.
25281         (test_functions): Add jn and yn.
25282         (calc_generic_results): Assert type of second input for
25283         mpfr_ff_f.  Handle mpfr_if_f.
25284         (output_for_one_input_case): Disable all checking for arguments
25285         fitting floating-point types in case of an integer argument.
25286         * sysdeps/i386/fpu/libm-test-ulps: Update.
25287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25290         Don't expect fegetround reference in libm.so.
25292 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25294         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25295         $(config-cflags-nofma).
25297 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25299         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25300         * math/auto-libm-test-out: Regenerated.
25302         [BZ #16338]
25303         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25304         to determine exponent and adjust argument to have exponent of -1.
25305         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25306         log2.
25307         * math/auto-libm-test-out: Regenerated.
25308         * sysdeps/i386/fpu/libm-test-ulps: Update.
25309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25313         * manual/probes.texi: Remove cases when per-thread arenas are
25314         disabled.
25316 2013-12-18  Andreas Schwab  <schwab@suse.de>
25318         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25319         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25320         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25321         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25322         * sysdeps/i386/i686/multiarch/Makefile: Update.
25323         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25325 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25327         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25328         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25330 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25332         [BZ #15968]
25333         Support TZ transition times < 00:00:00.
25334         This is needed for version-3 tz-format files; it supports time
25335         stamps past 2037 for America/Godthab (the only entry in the tz
25336         database for which this change is relevant).
25337         * manual/time.texi (TZ Variable): Document transition times
25338         from -167:59:59 through -00:00:01.
25339         * time/tzset.c (tz_rule): Time of day is now signed.
25340         (__tzset_parse_tz): Parse negative time of day.
25342         Document TZ transition times >= 25:00:00.
25343         * manual/time.texi (TZ Variable): Document transition times from
25344         25:00:00 through 167:59:59.  These are already supported, and this
25345         support will help with version-3 tz-format files.
25347         * manual/time.texi (TZ Variable): Modernize North America example
25348         to reflect current (i.e., 2007-and-later) daylight saving rules.
25350         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25352 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25354         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25355         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25356         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25358         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25359         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25360         * sysdeps/unix/bsd/clock.c: Likewise.
25361         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25362         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25363         * sysdeps/unix/bsd/init-posix.c: Likewise.
25364         * sysdeps/unix/bsd/poll.c: Likewise.
25365         * sysdeps/unix/bsd/ptsname.c: Likewise.
25366         * sysdeps/unix/bsd/seekdir.c: Likewise.
25367         * sysdeps/unix/bsd/setegid.c: Likewise.
25368         * sysdeps/unix/bsd/seteuid.c: Likewise.
25369         * sysdeps/unix/bsd/setgid.c: Likewise.
25370         * sysdeps/unix/bsd/setrgid.c: Likewise.
25371         * sysdeps/unix/bsd/setruid.c: Likewise.
25372         * sysdeps/unix/bsd/setsid.c: Likewise.
25373         * sysdeps/unix/bsd/setuid.c: Likewise.
25374         * sysdeps/unix/bsd/sigaction.c: Likewise.
25375         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25376         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25377         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25378         * sysdeps/unix/bsd/telldir.c: Likewise.
25379         * sysdeps/unix/bsd/times.c: Likewise.
25380         * sysdeps/unix/bsd/usleep.c: Likewise.
25382         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25383         ($(objpfx)libbsd-compat.a): Remove rule.
25385         * include/features.h (__FAVOR_BSD): Do not define.
25386         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25387         features conflicting with POSIX.
25388         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25389         (_BSD_SOURCE): Remove description of not being a subset of other
25390         feature test macros.
25391         * manual/job.texi (getpgrp): Do not document BSD version.
25392         (getpgid): Do not document by reference to BSD getpgrp.
25393         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25394         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25395         * signal/signal.h [__FAVOR_BSD]: Likewise.
25396         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25397         instead of making contents conditional on [__FAVOR_BSD].
25398         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25400 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25404 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25406         [BZ #16314]
25407         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25408         values below 2**-450, not 2**-500.
25409         * math/auto-libm-test-in: Don't allow spurious underflow from
25410         hypot.
25411         * math/auto-libm-test-out: Regenerated.
25413         [BZ #16316]
25414         [BZ #16330]
25415         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25416         values of ha and hb and sort them after adjusting subnormal
25417         arguments.
25418         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25419         Likewise.
25420         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25421         values of ea and eb and sort them after adjusting subnormal
25422         arguments.
25423         * math/auto-libm-test-in: Do not expect some hypot tests of
25424         subnormals to fail.  Add more hypot tests.
25425         * math/auto-libm-test-out: Regenerated.
25427 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25429         [BZ #13304]
25430         * sysdeps/sh/s_fma.c: New file.
25431         * sysdeps/sh/s_fmaf.c: New file.
25432         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25433         version.
25434         * sysdeps/sh/Implies: Add sh/soft-fp.
25436 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25438         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25439         level of indirection to members `objname', `errstring', `malloced'.
25440         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25441         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25442         it as the __longjmp argument (just pass 1 instead).
25443         (_dl_catch_error): Initialize C with argument pointers and address of
25444         volatile local ERRCODE rather than copying values out of C at return.
25446 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25448         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25449         * math/auto-libm-test-out: Regenerated.
25450         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25451         (hypot_test_data): Likewise.
25452         (pow_test_data): Likewise.
25453         (pow_tonearest_test_data): Likewise.
25454         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25455         mpfr_ff_f.
25456         (func_calc_desc): Add mpfr_ff_f union field.
25457         (FUNC_mpfr_ff_f): New macro.
25458         (test_functions): Add atan2, hypot and pow.
25459         (special_fill_min): New function.
25460         (special_fill_minus_min): Likewise.
25461         (special_fill_min_subnorm): Likewise.
25462         (special_fill_minus_min_subnorm): Likewise.
25463         (special_real_inputs): Add min, -min, min_subnorm and
25464         -min_subnorm.
25465         (calc_generic_results): Handle mpfr_ff_f.
25466         * sysdeps/i386/fpu/libm-test-ulps: Update.
25467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25469 2013-12-16  Will Newton  <will.newton@linaro.org>
25471         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25472         (Aligned Memory Blocks): Add documentation for aligned_alloc
25473         and suggest it as an alternative to posix_memalign.
25474         (Hooks for Malloc): Document __memalign_hook is also called
25475         for aligned_alloc.  (Summary of Malloc): Add summary for
25476         aligned alloc.  Document __memalign_hook is also called
25477         for aligned_alloc.
25479 2013-12-16  Will Newton  <will.newton@linaro.org>
25481         * manual/memory.texi (Malloc Examples): Clarify default
25482         alignment documentation.  Suggest posix_memalign rather
25483         than memalign or valloc.
25484         (Aligned Memory Blocks): Remove suggestion to use memalign
25485         or valloc.  Remove obsolete comment about BSD.
25486         Document memalign errno values and mark the function obsolete.
25487         Document posix_memalign returned error codes.  Mark valloc
25488         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25489         called for posix_memalign and valloc.
25490         (Summary of Malloc): Add posix_memalign to function summary.
25491         __memalign_hook is also called for posix_memalign and valloc.
25493 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25495         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25496         TAYLOR_SIN.
25497         (__sin): Adjust.
25498         (__cos): Likewise.
25499         (sloww): Use mynumber union.  Expand ternary operator into
25500         if-else statements.
25501         (cslow): use mynumber union.
25503 2013-12-16  Allan McRae  <allan@archlinux.org>
25505         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25506         * configure: Regenerated.
25508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25510         [BZ #14120]
25511         * configure.ac: Added --enable-maintainer-mode. Check for
25512         autoconf when enabled.
25513         * configure: Regenerated.
25515         * nscd/nscd.service: New file.
25516         * nscd/nscd.tmpfiles: New file.
25518 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25520         [BZ #12100]
25521         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25522         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25523         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25524         (strstr): Add __strstr_sse2_unaligned ifunc.
25525         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25526         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25527         (strcasestr): Remove __strcasestr_sse42 ifunc.
25528         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25532 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25534         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25535         * sysdeps/sh/bits/fenv.h: ... here.
25536         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25538 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25540         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25543         hypotf multiarch implementations.
25544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25545         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25546         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25547         multiarch hypot for PPC64.
25548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25549         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25550         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25551         multiarch hypotf for PPC64.
25553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25554         modff multiarch implementations.
25555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25558         multiarch modf for PPC64.
25559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25562         multiarch modff for PPC64.
25564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25565         and logl multiarch implementations.
25566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25569         multiarch logb for PPC64.
25570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25573         multiarch logb for PPC64.
25574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25577         multiarch logb for PPC64.
25579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25580         isinff multiarch implementation.
25581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25582         file.
25583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25585         multiarch isinf for PPC64.
25586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25587         file.
25588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25589         multiarch isinff for PPC64.
25591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25592         finitef multiarch implementation.
25593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25594         file.
25595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25597         multiarch finite for PPC64.
25598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25599         file.
25600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25601         multiarch finitef for PPC64.
25603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25604         lrint multiarch implementation.
25605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25606         file.
25607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25609         multiarch llrint for PPC64.
25610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25611         multiarch lrint for PPC64.
25613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25614         copysignf multiarch implementation.
25615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25616         file.
25617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25618         file.
25619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25620         multiarch copysign for PPC64.
25621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25622         multiarch copysignf for PPC64.
25624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25625         multiarch implementation.
25626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25627         file.
25628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25629         file.
25630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25631         file.
25632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25633         file.
25634         multiarch llround for PPC64.
25635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25636         multiarch trunc for PPC64.
25637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25638         multiarch truncf for PPC64.
25640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25641         multiarch implementation.
25642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25643         file.
25644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25645         file.
25646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25647         file.
25648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25649         file.
25650         multiarch llround for PPC64.
25651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25652         multiarch round for PPC64.
25653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25654         multiarch roundf for PPC64.
25656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25657         multiarch implementation.
25658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25659         file.
25660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25661         file.
25662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25663         file.
25664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25665         file.
25666         multiarch llround for PPC64.
25667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25668         multiarch floor for PPC64.
25669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25670         multiarch floorf for PPC64.
25672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25673         multiarch implementation.
25674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25675         file.
25676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25677         file.
25678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25679         file.
25680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25681         file.
25682         multiarch llround for PPC64.
25683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25684         multiarch ceil for PPC64.
25685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25686         multiarch ceilf for PPC64.
25688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25689         multiarch implementation.
25690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25691         file.
25692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25693         file.
25694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25695         file.
25696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25697         multiarch llround for PPC64.
25698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25699         multiarch lround for PPC64.
25701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25702         multiarch implementation.
25703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25706         file.
25707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25710         multiarch isnan for PPC64.
25711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25712         multiarch isnanf for PPC64.
25714         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25715         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25716         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25717         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25718         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25721         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25722         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25723         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25727         multiarch implementations.
25728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25729         (__libc_ifunc_impl_list): Likewise.
25730         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25732         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25733         multiarch stpcpy for PPC64.
25735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25736         multiarch implementations.
25737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25738         (__libc_ifunc_impl_list): Likewise.
25739         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25740         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25741         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25742         multiarch strcpy for PPC64.
25744         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25745         redefine function name.
25746         (_wordcopy_fwd_dest_aligned): Likewise.
25747         (_wordcopy_bwd_aligned): Likewise.
25748         (_wordcopy_bwd_dest_aligned): Likewise.
25749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25750         multiarch implementations.
25751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25752         (__libc_ifunc_impl_list): Likewise.
25753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25754         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25755         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25756         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25757         multiarch wcscpy for PPC64.
25759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25760         multiarch implementations.
25761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25762         (__libc_ifunc_impl_list): Likewise.
25763         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25764         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25765         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25766         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25767         multiarch wcscpy for PPC64.
25769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25770         multiarch implementations.
25771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25772         (__libc_ifunc_impl_list): Likewise.
25773         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25774         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25775         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25776         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25777         multiarch wcsrchr for PPC64.
25779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25780         multiarch implementations.
25781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25782         (__libc_ifunc_impl_list): Likewise.
25783         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25784         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25785         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25786         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25787         multiarch wcschr for PPC64.
25789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25790         multiarch implementations.
25791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25792         (__libc_ifunc_impl_list): Likewise.
25793         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25794         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25795         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25796         multiarch strchrnul for PPC64.
25798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25799         implementations.
25800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25801         (__libc_ifunc_impl_list): Likewise.
25802         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25803         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25804         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25805         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25806         strchr for PPC64.
25808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25809         implementations.
25810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25811         (__libc_ifunc_impl_list): Likewise.
25812         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25813         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25814         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25815         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25816         strncmp for PPC64.
25818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25819         multiarch implementations.
25820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25821         (__libc_ifunc_impl_list): Likewise.
25822         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25823         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25824         strncasecmp for PPC64.
25825         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25826         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25827         multiarch strncasecmp_l for PPC64.
25829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25830         multiarch implementations.
25831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25832         (__libc_ifunc_impl_list): Likewise.
25833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25835         multiarch strcasecmp for PPC64.
25836         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25837         file.
25838         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25839         multiarch strcasecmp_l for PPC64.
25841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25842         implementations.
25843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25844         (__libc_ifunc_impl_list): Likewise.
25845         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25846         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25847         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25848         strnlen for PPC64.
25850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25851         implementations.
25852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25853         (__libc_ifunc_impl_list): Likewise.
25854         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25855         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25856         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25857         strlen for PPC64.
25859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25860         implementations.
25861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25862         (__libc_ifunc_impl_list): Likewise.
25863         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25864         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25865         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25866         rawmemrchr for PPC64.
25868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25869         implementation.
25870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25871         (__libc_ifunc_impl_list): Likewise.
25872         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25873         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25874         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25875         memrchr for PPC64.
25877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25878         implementation.
25879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25880         (__libc_ifunc_impl_list): Likewise.
25881         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25882         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25883         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25884         memchr for PPC64.
25886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25887         implementation.
25888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25889         (__libc_ifunc_impl_list): Likewise.
25890         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25891         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25892         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25893         mempcpy for PPC64.
25895         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25896         avoid cretion of __bzero symbol.
25897         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25898         Likewise.
25899         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25900         Likewise.
25901         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25902         Likewise.
25903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25904         multiarch implementations.
25905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25906         (__libc_ifunc_impl_list): Likewise.
25907         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25908         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25909         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25910         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25911         bzero for PPC32.
25912         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25913         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25914         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25915         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25916         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25917         memset for PPC64.
25918         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25920         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25922         implementations.
25923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25924         (__libc_ifunc_impl_list): Likewise.
25925         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25926         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25927         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25928         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25929         memcmp for PPC64.
25931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25932         multiarch for POWER/PPC64.
25933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25934         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25935         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25936         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25938         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25939         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25941         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25942         memcpy for PPC64.
25944         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25945         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25946         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25947         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25948         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25949         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25950         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25951         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25952         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25953         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25954         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25955         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25956         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25957         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25958         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25967 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25969         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25971 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25973         * benchtests/Makefile (bench): Add exp2 and log2.
25974         (LDLIBS-bench-exp2): Add -lm.
25975         (LDLIBS-bench-log2): Likewise.
25976         * benchtests/exp2-inputs: New inputs file.
25977         * benchtests/log2-inputs: New inputs file.
25978         * benchtests/log-inputs: Add new inputs.
25979         * benchtests/tan-inputs: Likewise.
25981 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25983         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25984         definition...
25985         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25986         (csloww2): ... from here.
25988         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25989         instead of structures.
25990         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25991         (POLYNOMIAL): Likewise.
25992         (TAYLOR_SLOW): Likewise.
25993         (__sin): Likewise.
25994         (__cos): Likewise.
25995         (slow1): Likewise.
25996         (slow2): Likewise.
25997         (sloww): Likewise.
25998         (sloww1); Likewise.
25999         (sloww2): Likewise.
26000         (bsloww1): Likewise.
26001         (bsloww2): Likewise.
26002         (cslow2): Likewise.
26003         (csloww): Likewise.
26004         (csloww1): Likewise.
26005         (csloww2): Likewise.
26007 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26009         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26010         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26011         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26012         * malloc/hooks.c (realloc_check): Likewise.
26014         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26015         * malloc/arena.c: Remove PER_THREAD conditional.
26016         [!PER_THREAD]: Remove code.
26017         (ptmalloc_unlock_all2): Likewise.
26018         (ptmalloc_init): Likewise.
26019         (_int_new_arena): Likewise.
26020         (arena_get2): Likewise.
26021         * malloc/hooks.c (__malloc_get_state): Likewise.
26022         (__malloc_set_state): Likewise.
26023         * malloc/malloc.c: Likewise.
26024         (struct malloc_state): Likewise.
26025         (struct malloc_par): Likewise.
26026         (__libc_realloc): Likewise.
26027         (__libc_mallopt): Likewise.
26029 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26031         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26033 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26035         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26036         macro to a function.  Check for zero perturb_byte.
26037         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26039         * malloc/malloc.c: (force_reg): Remove.
26040         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26041         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26042         force_reg by atomic_forced_read.
26043         * malloc/arena.c (ptmalloc_init): Likewise.
26044         * malloc/hooks.c (top_check): Likewise.
26046 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26050 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26054 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26056         * math/auto-libm-test-in: Add tests of lgamma.
26057         * math/auto-libm-test-out: Regenerated.
26058         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26059         (M_LOG_2_SQRT_PIl): Likewise.
26060         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26061         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26062         mpfr_f_f1.
26063         (func_calc_desc): Add mpfr_f_f1 union field.
26064         (ARGS1): New macro.
26065         (ARGS2): Likewise.
26066         (ARGS3): Likewise.
26067         (ARGS4): Likewise.
26068         (RET1): Likewise.
26069         (RET2): Likewise.
26070         (CALC): Likewise.
26071         (FUNC): Likewise.
26072         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26073         (test_functions): Add lgamma.
26074         (calc_generic_results): Handle mpfr_f_f1.
26075         * sysdeps/i386/fpu/libm-test-ulps: Update.
26076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26078 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26080         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26081         __mpn_add_n for PowerPC64/POWER7.
26082         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26083         __mpn_sub_n for PowerPC64/POWER7.
26085         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26086         __mpn_addmul_1 for PowerPC64.
26087         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26088         __mpn_submul_1 for PowerPC64.
26089         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26090         for PowerPC64.
26091         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26092         for PowerPC64.
26094 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26096         [BZ #15089]
26097         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26099 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26101         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26103         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26104         add multiarch folders.
26105         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26106         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26107         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26108         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26109         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26110         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26111         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26112         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26113         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26114         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26115         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26124         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26126         New file.
26127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26128         New file.
26129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26130         multiarch __ieee754_hypot for PowerPC32.
26131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26132         New file.
26133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26134         New file.
26135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26136         multiarch __ieee754_hypotf for PowerPC32.
26138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26139         long_double_symbol only if __logbl is defined.
26140         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26141         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26142         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26143         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26145         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26146         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26147         path for implementation.
26148         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26149         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26151         logb, and logbl multiarch implementations for PowerPC32.
26152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26153         file.
26154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26155         file.
26156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26157         multiarch logb for PowerPC32.
26158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26159         file.
26160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26161         file.
26162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26163         multiarch logbf for PowerPC32.
26164         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26166         file.
26167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26168         multiarch logbl implementation for PowerPC32.
26170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26171         and modff multiarch implementations.
26172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26173         New file.
26174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26175         New file.
26176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26177         multiarch modf for PowerPC32.
26178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26179         New file.
26180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26181         New file.
26182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26183         multiarch modff for PowerPC32.
26185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26186         and lrintf multiarch implementations.
26187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26188         New file.
26189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26190         New file.
26191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26192         multiarch lrint for PowerPC32.
26193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26194         file: multiarch lrintf for PowerPC32.
26196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26197         and lroundf multiarch implementations.
26198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26199         New file.
26200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26201         New file.
26202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26203         New file.
26204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26205         multiarch lround for PowerPC32.
26206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26207         file: multiarch lroundf for PowerPC32.
26209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26210         copysign and copysignf multiarch implementations.
26211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26212         New file.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26214         New file.
26215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26216         file: multiarch copysign for PowerPC32.
26217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26218         file: multiarch copysignf for PowerPC32.
26220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26221         and truncf multiarch implementations.
26222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26223         New file.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26225         file.
26226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26227         multiarch trunc for PowerPC32.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26229         New file.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26231         New file.
26232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26233         multiarch truncf for PowerPC32.
26235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26236         and roundf multiarch implementations.
26237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26238         New file.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26240         file.
26241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26242         multiarch round for PowerPC32.
26243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26244         New file.
26245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26246         New file.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26248         multiarch roundf for PowerPC32.
26250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26251         and floorf multiarch implementations.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26253         New file.
26254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26255         file.
26256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26257         multiarch floor for PowerPC32.
26258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26259         New file.
26260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26261         New file.
26262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26263         multiarch floorf for PowerPC32.
26265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26266         and ceilf multiarch implementations.
26267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26268         New file.
26269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26270         file.
26271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26272         multiarch ceil for PowerPC32.
26273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26274         New file.
26275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26276         file.
26277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26278         multiarch ceilf for PowerPC32.
26280         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26281         is defined.
26282         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26283         FINITEF is defined.
26284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26285         and finitef multiarch implementations.
26286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26287         New file.
26288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26289         file.
26290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26291         multiarch finite for PowerPC32.
26292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26293         New file.
26294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26295         file: multiarch finitef for PowerPC32.
26297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26298         and isinff multiarch implementations.
26299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26300         file.
26301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26302         file.
26303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26304         multiarch isinf for PowerPC32.
26305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26306         New file.
26307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26308         multiarch isinff for PowerPC32.
26310         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26311         alias when __isnan is defined.
26312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26313         and isnanf multiarch implementations.
26314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26315         file.
26316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26317         file.
26318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26319         file.
26320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26321         file.
26322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26323         multiarch isnan for PowerPC32.
26324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26325         New file.
26326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26327         New file.
26328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26329         multiarch isnanf for PowerPC32.
26331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26332         and sqrtf multiarch implementations.
26333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26334         file.
26335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26336         file.
26337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26338         multiarch sqrt for PowerPC32.
26339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26340         file.
26341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26342         file.
26343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26344         multiarch sqrtf for PowerPC32.
26346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26347         and llroundf multiarch implementations.
26348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26349         New file.
26350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26351         New file.
26352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26353         New file.
26354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26355         file: multiarch llround for PowerPC32.
26356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26357         file: multiarch llroundf for PowerPC32.
26359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26360         multiarch PowerPC32 fpu implementations.
26361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26362         New file.
26363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26364         New file.
26365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26366         multiarch llrint for PowerPC32.
26367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26368         New file.
26369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26370         New file.
26371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26372         file.
26374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26376         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26377         file.
26378         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26379         file.
26380         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26381         file.
26382         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26383         multiarch wordcopy for PPC32.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26385         wordcopy objects.
26386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26387         (__libc_ifunc_impl_list): Likewise.
26388         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26389         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26390         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26391         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26392         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26393         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26395         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26397         file.
26398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26399         file.
26400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26401         file.
26402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26403         multiarch wcscpy for PPC32.
26404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26405         multiarch objects.
26406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26407         (__libc_ifunc_impl_list): Likewise.
26408         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26409         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26410         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26411         sysdeps/powerpc/power6/wcscpy.c.
26413         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26415         file.
26416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26417         file.
26418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26419         file.
26420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26421         multiarch wcsrchr for PPC32.
26422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26423         multiarch objects.
26424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26425         (__libc_ifunc_impl_list): Likewise.
26426         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26427         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26428         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26429         sysdeps/powerpc/power6/wcsrchr.c.
26431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26432         file.
26433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26434         file.
26435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26437         multiarch wcschr for PPc32.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26439         multiarch objects.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26441         (__libc_ifunc_impl_list): Likewise.
26442         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26443         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26444         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26445         sysdeps/powerpc/power6/wcschr.c.
26447         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26448         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26449         file.
26450         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26451         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26452         file: multiarch strchr for PPC32.
26453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26454         multiarch objects.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26456         (__libc_ifunc_impl_list): Likewise.
26458         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26459         name.
26460         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26461         file.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26463         file.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26465         multiarch strchrnul for PPC32.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26467         multiarch objects.
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26469         (__libc_ifunc_impl_list): Likewise.
26471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26472         file.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26474         multiarch strncasecmp for PPC32.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26476         file.
26477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26478         multiarch strncasecmp_l for PPC32.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26480         strncasecmp multiarch objects.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26482         (__libc_ifunc_impl_list): Likewise.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26485         file.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26487         multiarch strncasecmp for PPC32.
26488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26489         New file.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26491         multiarch strcasecmp_l for PPC32.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26493         multiarch objects.
26494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26495         (__libc_ifunc_impl_list): Likewise.
26497         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26498         file.
26499         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26500         file.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26502         multiarch strncmp for PPC32.
26503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26504         multiarch objects.
26505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26506         (__libc_ifunc_impl_list): Likewise.
26508         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26509         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26510         file.
26511         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26512         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26514         multiarch objects.
26515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26516         (__libc_ifunc_impl_list): Likewise.
26518         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26519         file.
26520         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26521         file.
26522         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26524         multiarch objects.
26525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26526         (__libc_ifunc_impl_list): Likewise.
26528         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26529         file.
26530         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26531         file.
26532         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26533         multiarch rawmemchr for PPC32.
26534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26535         multiarch objects.
26536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26537         (__libc_ifunc_impl_list): Likewise.
26539         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26540         file.
26541         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26542         file.
26543         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26544         file: memrchr multiarch for PPC32.
26545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26546         multiarch objects.
26547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26548         (__libc_ifunc_impl_list): Likewise.
26550         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26552         file.
26553         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26554         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26555         multiarch memchr for PPC32.
26556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26557         multiarch objects.
26558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26559         (__libc_ifunc_impl_list): Likewise.
26561         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26562         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26563         file.
26564         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26565         file.
26566         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26567         file: multiarch mempcpy for PPC32.
26568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26569         multiarch objects.
26570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26571         (__libc_ifunc_impl_list): Likewise.
26573         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26574         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26575         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26576         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26577         multiarch bzero for PPC32.
26578         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26579         file.
26580         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26581         file.
26582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26583         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26584         file: multiarch memset for PPC32.
26585         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26587         memset multiarch objects.
26588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26589         (__libc_ifunc_impl_list): Likewise.
26591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26592         file.
26593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26595         memcmp for PPC32.
26596         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26598         multiarch objects.
26599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26600         (__libc_ifunc_impl_list): Likewise.
26602         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26603         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26604         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26605         file.
26606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26607         file.
26608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26609         file.
26610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26611         multiarch memcpy for PPC32.
26612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26613         multiarch objects.
26614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26615         (__libc_ifunc_impl_list): Likewise.
26617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26618         support multiarch for POWER/PPC32.
26619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26620         Likewise.
26621         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26623         Implies file to make multiarch folder appers before the fpu and
26624         default folder for power4 configuration.
26626 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26628         * scripts/bench.pl: Append volatile keyword to type.
26630 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26632         * sysdeps/sh/sotruss-lib.c: New file.
26633         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26635 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26639 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26641         [BZ #6810]
26642         * math/w_tgamma.c: Include <errno.h>.
26643         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26644         * math/w_tgammaf.c: Include <errno.h>.
26645         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26646         * math/w_tgammal.c: Include <errno.h>.
26647         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26648         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26649         underflow.  Add more tgamma tests.
26650         * math/auto-libm-test-out: Regenerated.
26651         * sysdeps/i386/fpu/libm-test-ulps: Update.
26652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26654         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26655         sin, sinh, tan, tanh, tgamma, y0 and y1.
26656         * math/auto-libm-test-out: Regenerated.
26657         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26658         (TEST_COND_x86): Likewise.
26659         (M_E2l): Remove macro.
26660         (M_E3l): Likewise.
26661         (M_2_SQRT_PIl): Likewise.
26662         (M_SQRT_PIl): Likewise.
26663         (M_1_DIV_El): Likewise.
26664         (log_test_data): Use AUTO_TESTS_f_f.
26665         (log10_test_data): Likewise.
26666         (log1p_test_data): Likewise.
26667         (log2_test_data): Likewise.
26668         (sin_test_data): Likewise.
26669         (sin_tonearest_test_data): Likewise.
26670         (sin_towardzero_test_data): Likewise.
26671         (sin_downward_test_data): Likewise.
26672         (sin_upward_test_data): Likewise.
26673         (sinh_test_data): Likewise.
26674         (sinh_tonearest_test_data): Likewise.
26675         (sinh_towardzero_test_data): Likewise.
26676         (sinh_downward_test_data): Likewise.
26677         (sinh_upward_test_data): Likewise.
26678         (tan_test_data): Likewise.
26679         (tan_tonearest_test_data): Likewise.
26680         (tan_towardzero_test_data): Likewise.
26681         (tan_downward_test_data): Likewise.
26682         (tan_upward_test_data): Likewise.
26683         (tanh_test_data): Likewise.
26684         (tgamma_test_data): Likewise.
26685         (y0_test_data): Likewise.
26686         (y1_test_data): Likewise.
26687         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26688         (special_real_inputs): Add pi/4.
26689         * sysdeps/i386/fpu/libm-test-ulps: Update.
26690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26692 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26694         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26695         "longjmp_target" static probes.
26696         (__longjmp): Rename to __longjmp_symbol.
26697         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26698         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26699         on which longjmp to generate.
26700         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26702         probe.
26703         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26704         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26705         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26706         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26707         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26708         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26710         __longjmp_symbol based on which __longjmp to generate.
26711         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26712         probe.
26713         (setjmp): Rename to setjmp_symbol.
26714         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26715         (_setjmp): Rename to _setjmp_symbol.
26716         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26717         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26718         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26719         which setjmp to generate.
26720         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26721         "longjmp_target" static probes.
26723 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26725         * benchtests/README: Add note about output arguments.
26726         * benchtests/bench-sincos.c: Remove file.
26727         * benchtests/sincos-inputs: New file.
26728         * scripts/bench.pl: Identify output arguments and define
26729         static variables for them.
26731         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26733         [BZ #15941]
26734         * Makefile (INSTALL): Add install-plain.texi as the primary
26735         dependency.
26736         * manual/install-plain.texi: New file.
26737         * manual/install.texi: Include node directive only for
26738         non-plaintext output.
26740 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26742         * stdlib/longlong.h: Update from GCC.
26744         [BZ #6807]
26745         [BZ #15901]
26746         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26747         * math/w_j0f.c (y0f): Likewise.
26748         * math/w_j0l.c (__y0l): Likewise.
26749         * math/w_j1.c (y1): Likewise.
26750         * math/w_j1f.c (y1f): Likewise.
26751         * math/w_j1l.c (__y1l): Likewise
26752         * math/w_jn.c (yn): Likewise.
26753         * math/w_jnf.c (ynf): Likewise.
26754         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26755         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26756         value for Bessel function domain errors outside _SVID_ mode.
26757         Adjust sign of return value for yn (negative integer, 0).
26758         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26759         by zero in return for negative x and set sign appropriately for
26760         negative n.
26761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26763         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26764         expectations in error cases.
26765         (y1_test_data): Likewise.
26766         (yn_test_data): Likewise.
26767         * sysdeps/i386/fpu/libm-test-ulps: Update.
26768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26770 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26772         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26773         "64" to "64-v1".  Add "64-v2".
26774         (abi-64-options): Rename to ...
26775         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26776         (abi-64-condition): Rename to ...
26777         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26778         (abi-64-ld-soname): Rename to ...
26779         (abi-64-v1-ld-soname): ... this.
26780         (abi-64-v2-options): Define.
26781         (abi-64-v2-condition): Likewise.
26782         (abi-64-v2-ld-soname): Likewise.
26783         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26784         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26789 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26790             Alan Modra  <amodra@gmail.com>
26792         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26793         New versions for use with the ELFv2 ABI.
26794         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26795         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26796         declaration.
26797         (struct La_ppc64v2_retval): Likewise.
26798         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26799         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26800         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26801         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26802         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26803         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26804         Do not save or restore CR.
26805         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26806         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26807         return values for ELFv2 ABI.  Fix location of FPR return registers.
26808         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26809         updated values for _CALL_ELF == 2.
26810         (La_regs, La_retval, int_retval): Likewise.
26812 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26814         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26815         (FRAME_MIN_SIZE_PARM): Likewise.
26816         (FRAME_BACKCHAIN): Likewise.
26817         (FRAME_CR_SAVE): Likewise.
26818         (FRAME_LR_SAVE): Likewise.
26819         (FRAME_TOC_SAVE): Likewise.
26820         (FRAME_PARM_SAVE): Likewise.
26821         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26822         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26823         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26824         (call_mcount_parm_offset): New macro.
26825         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26826         (PROF): Use symbolic stack frame offsets.
26827         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26828         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26829         Redefine in terms of FRAME_MIN_SIZE.
26830         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26831         (_dl_profile_resolve): Likewise.  Update comment.
26832         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26833         symbols stack frame offsets.
26834         (__sigsetjmp): Likewise.
26835         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26836         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26837         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26838         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26841         (FRAME_BACKCHAIN): Remove.
26842         (FRAME_CR_SAVE): Likewise.
26843         (FRAME_LR_SAVE): Likewise.
26844         (FRAME_COMPILER_DW): Likewise.
26845         (FRAME_LINKER_DW): Likewise.
26846         (FRAME_TOC_SAVE): Likewise.
26847         (FRAME_PARM_SAVE): Likewise.
26848         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26849         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26850         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26852         (CHECK_SP): Use symbolic stack frame offsets.
26853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26854         zone" instead of caller's parameter save area for temp storage.
26855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26856         Likewise.  Also, use symbolic stack frame offsets.
26857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26858         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26859         our own stack frame instead of the caller's.
26860         (__socket): Use symbolic stack frame offsets.
26862 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26863             Alan Modra  <amodra@gmail.com>
26865         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26866         Define.
26867         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26868         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26869         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26870         New function.
26871         (elf_machine_fixup_plt): Call it.
26872         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26873         reloc arguments.
26874         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26875         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26876         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26877         r2 before calling target.
26879 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26880             Alan Modra  <amodra@gmail.com>
26882         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26883         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26884         versions of macros to support ELFv2 ABI.
26885         (LOCALENTRY): New macro.
26886         (ENTRY, EALIGN): Use it.
26887         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26888         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26889         fall through into ENTRY entry point.
26890         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26891         Only define if _CALL_ELF != 2.
26893         (elf_machine_matches_host): Verify ABI version matches.
26894         (RTLD_START): Use LOCALENTRY.
26895         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26896         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26897         (PLT_ENTRY_WORDS): New macro.
26898         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26899         (elf_machine_runtime_setup): Support ELFv2 ABI.
26900         (elf_machine_fixup_plt): Likewise.
26901         (elf_machine_plt_conflict): Likewise.
26902         (resolve_ifunc): Likewise.
26903         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26905         Likewise.
26906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26907         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26909         (makecontext): Support ELFv2 ABI.
26910         * elf/elf.h (EF_PPC64_ABI): Define.
26912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26914         * sysdeps/powerpc/powerpc64/sysdep.h
26915         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26916         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26917         (ENTRY) [ASSEMBLER]: ... but instead here ...
26918         (EALIGN) [ASSEMBLER]: ... and here.
26919         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26920         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26921         (ENTRY_2) [!ASSEMBLER]: Use it.
26922         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26923         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26924         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26925         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26926         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26928         Use PPC64_LOAD_FUNCPTR.
26930         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26932 2013-12-04  Alan Modra  <amodra@gmail.com>
26934         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26935         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26936         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26937         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26939         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26940         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26941         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26942         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26943         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26944         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26946 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26949         (__makecontext): Fix incorrect CFI when backtracing out of
26950         context created via makecontext.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26952         (__setcontext): Fix incorrect CFI during switch to new context.
26953         (__novec_setcontext): Likewise.
26955 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26957         [BZ #4772]
26958         * time/strptime_l.c (__strptime_internal): Allow modifiers
26959         in strptime.
26960         * time/tst-strptime.c (day_tests): Add testcase.
26962 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26964         * scripts/bench.pl: Skip over blank lines.
26966 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26968         [BZ #926]
26969         * manual/time.texi (Calendar Time): Clarify what timezone functions
26970         use.
26972 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26976 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26978         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26979         implementation.
26980         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26981         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26982         * debug/memset_chk.c (__memset_chk): Likewise.
26983         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26984         * debug/strncpy_chk.c: Likewise.
26986 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #15268]
26989         [BZ #15425]
26990         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26991         (__ieee754_exp): For possibly underflowing results, check size of
26992         result and force underflow exception if required.
26993         * math/auto-libm-test-in: Add more tests of exp.
26994         * math/auto-libm-test-out: Regenerated.
26995         * sysdeps/i386/fpu/libm-test-ulps: Update.
26996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26998         [BZ #16283]
26999         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27000         * math/w_exp2f.c (__exp2f): Likewise.
27001         * math/w_exp2l.c (__exp2l): Likewise.
27002         * math/auto-libm-test-in: Do not allow missing errno on exp2
27003         underflow.
27004         * math/auto-libm-test-out: Regenerated.
27006 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27008         [BZ #16274]
27009         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27010         handle filename validation.
27011         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27012         (do_open): Delete.
27014 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27016         [BZ #6786]
27017         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27018         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27019         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27020         <float.h>.
27021         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27022         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27023         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27025         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27026         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27027         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27028         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27029         Add more erfc tests.
27030         * math/auto-libm-test-out: Regenerated.
27031         * sysdeps/i386/fpu/libm-test-ulps: Update.
27032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27034         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27035         exp2, expm1, j0 and j1.
27036         * math/auto-libm-test-out: Regenerated.
27037         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27038         (erfc_test_data): Likewise.
27039         (exp_test_data): Likewise.
27040         (exp_tonearest_test_data): Likewise.
27041         (exp_towardzero_test_data): Likewise.
27042         (exp_downward_test_data): Likewise.
27043         (exp_upward_test_data): Likewise.
27044         (exp10_test_data): Likewise.
27045         (exp2_test_data): Likewise.
27046         (expm1_test_data): Likewise.
27047         (j0_test_data): Likewise.
27048         (j1_test_data): Likewise.
27049         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27050         (input_flag_type): Add flag_xfail_rounding.
27051         (input_flags): Add xfail-rounding.
27052         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27053         (output_for_one_input_case): Handle flag_xfail_rounding.
27054         * sysdeps/i386/fpu/libm-test-ulps: Update.
27055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27057 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27059         [BZ #16289]
27060         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27061         division by 0.
27063 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27065         [BZ #16195]
27066         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27067         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27068         (STAP_PROBE0): New macro.
27069         (STAP_PROBE1): Likewise.
27070         (STAP_PROBE2): Likewise.
27071         (STAP_PROBE3): Likewise.
27072         (STAP_PROBE4): Likewise.
27074 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27076         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27078 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27080         * benchtests/Makefile (bench): Add sqrt.
27081         (LDLIBS-bench-sqrt): New.
27082         * benchtests/sqrt-input: New.
27084 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27086         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27087         (GAIH_EAI): Likewise.
27088         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27089         (gaih_inet): Likewise.
27090         (getaddrinfo): Don't use GAIH_EAI.
27092         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27093         (struct gaih): Remove definition.
27095 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27097         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27098         Use HERRNOP directly.
27100 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27104 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27106         * math/gen-auto-libm-tests.c (test_functions): Add more
27107         single-argument functions.
27108         (special_fill_pi_2): New function.
27109         (special_fill_minus_pi_2): Likewise.
27110         (special_fill_pi_6): Likewise.
27111         (special_fill_minus_pi_6): Likewise.
27112         (special_fill_pi_3): Likewise.
27113         (special_fill_2pi_3): Likewise.
27114         (special_fill_e): Likewise.
27115         (special_fill_1_e): Likewise.
27116         (special_fill_e_minus_1): Likewise.
27117         (special_real_inputs): Add more special inputs.
27118         (output_for_one_input_case): Do not require ERANGE on underflow to
27119         zero if round-to-nearest result does not underflow to zero, unless
27120         exact results required.
27121         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27122         atan, atanh, cbrt, cos and cosh.
27123         * math/auto-libm-test-out: Regenerated.
27124         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27125         (acos_tonearest_test_data): Likewise.
27126         (acos_towardzero_test_data): Likewise.
27127         (acos_downward_test_data): Likewise.
27128         (acos_upward_test_data): Likewise.
27129         (acosh_test_data): Likewise.
27130         (asin_test_data): Likewise.
27131         (asin_tonearest_test_data): Likewise.
27132         (asin_towardzero_test_data): Likewise.
27133         (asin_upward_test_data): Likewise.
27134         (asinh_test_data): Likewise.
27135         (atan_test_data): Likewise.
27136         (atanh_test_data): Likewise.
27137         (cbrt_test_data): Likewise.
27138         (cos_test_data): Likewise.
27139         (cos_tonearest_test_data): Likewise.
27140         (cos_towardzero_test_data): Likewise.
27141         (cos_downward_test_data): Likewise.
27142         (cos_upward_test_data): Likewise.
27143         (cosh_test_data): Likewise.
27144         (cosh_tonearest_test_data): Likewise.
27145         (cosh_towardzero_test_data): Likewise.
27146         (cosh_downward_test_data): Likewise.
27147         (cosh_upward_test_data): Likewise.
27148         * sysdeps/i386/fpu/libm-test-ulps: Update.
27149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27151 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27153         [BZ #6787]
27154         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27155         * math/w_exp10f.c (__exp10f): Likewise.
27156         * math/w_exp10l.c (__exp10l): Likewise.
27157         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27158         errno settings in existing tests.
27160         [BZ #14032]
27161         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27162         precision control set to double precision.
27163         * sysdeps/i386/fpu/w_sqrt.c: New file.
27164         * math/auto-libm-test-in: Add more tests.
27165         * math/auto-libm-test-out: Update.
27167         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27168         (sqrt_test_tonearest): New function.
27169         (sqrt_towardzero_test_data): New variable.
27170         (sqrt_test_towardzero): New function.
27171         (sqrt_downward_test_data): New variable.
27172         (sqrt_test_downward): New function.
27173         (sqrt_upward_test_data): New variable.
27174         (sqrt_test_upward): New function.
27175         (main): Call the new functions.
27177         * math/gen-auto-libm-tests.c: New file.
27178         * math/auto-libm-test-in: Likewise.
27179         * math/auto-libm-test-out: New generated file.
27180         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27181         variables.
27182         (%beautify): Add generated representations of zero.
27183         (top level): Set $auto_input and call parse_auto_input.
27184         (beautify): Remove trailing "f" from hex float constants.
27185         (parse_args): Handle XFAIL_TEST.
27186         (convert_condition): New function.
27187         (or_value): Likewise.
27188         (or_cond_value): Likewise.
27189         (generate_testfile): Handle AUTO_TESTS_* lines.
27190         (parse_auto_input): New function.
27191         * math/libm-test.inc (XFAIL_TEST): New macro.
27192         (ERRNO_UNCHANGED): Update value.
27193         (ERRNO_EDOM): Likewise.
27194         (ERRNO_ERANGE): Likewise.
27195         (IGNORE_RESULT): Likewise.
27196         (TEST_COND_flt_32): New macro.
27197         (TEST_COND_dbl_64): Likewise.
27198         (TEST_COND_ldbl_96_intel): Likewise.
27199         (TEST_COND_ldbl_96_m68k): Likewise.
27200         (TEST_COND_ldbl_128): Likewise.
27201         (TEST_COND_ldbl_128ibm): Likewise.
27202         (TEST_COND_long32): Likewise.
27203         (TEST_COND_long64): Likewise.
27204         (TEST_COND_before_rounding): Likewise.
27205         (TEST_COND_after_rounding): Likewise.
27206         (enable_test): Handle XFAIL_TEST flag.
27207         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27208         with finite results.
27209         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27210         auto-libm-test-out.
27212 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27215         [BZ #16214]
27216         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27217         __tls_get_addr_internal instead of __tls_get_offset in order to
27218         avoid GOT pointer dependency.  Make rtld export
27219         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27220         __tls_get_addr since we are a __tls_get_offset platform.
27221         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27222         GOT pointer being set up before.
27223         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27225 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27227         * manual/math.texi (Errors in Math Functions): Document accuracy
27228         goals.
27230         [BZ #15004]
27231         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27232         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27233         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27234         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27235         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27236         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27237         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27238         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27239         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27240         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27242         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27243         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27244         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27245         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27246         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27248         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27249         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27250         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27251         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27252         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27253         Likewise.
27254         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27255         Likewise.
27256         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27257         Likewise.
27258         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27259         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27260         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27261         atomic-feupdateenv and flt-rounds.
27262         * sysdeps/powerpc/nofpu/Versions (libc): Add
27263         __atomic_feholdexcept, __atomic_feclearexcept,
27264         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27265         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27266         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27267         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27268         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27269         here.
27270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27271         Update.
27273         * manual/arith.texi (FP Exceptions): Document that exceptions may
27274         not be raised when matherr is used.
27275         (Math Error Reporting): Document overflow in directed rounding
27276         modes.  Document that errno may not be set when finite values are
27277         returned on overflow.  Document intent to set errno on underflow
27278         only for underflow to zero.
27280         [BZ #16271]
27281         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27282         round-to-nearest then adjust result for other rounding modes.
27283         * include/fenv.h (fegetround): Use libm_hidden_proto.
27284         * math/fegetround.c (fegetround): Use libm_hidden_def.
27285         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27286         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27287         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27288         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27289         Likewise.
27290         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27291         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27292         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27293         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27295 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27297         [BZ #16077]
27298         * nss/Versions (libnss_files): Add
27299         _nss_files_gethostbyname3_r.
27300         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27301         New function.
27302         (HOST_DB_LOOKUP): Remove macro.
27303         (_nss_files_gethostbyname_r): Implement function without the
27304         HOST_DB_LOOKUP macro.
27305         (_nss_files_gethostbyname2_r): Likewise.
27307 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27309         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27311 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27313         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27314         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27315         warning.
27317 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27319         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27320         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27321         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27322         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27323         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27324         __fe_nomask_env_priv and attribute_hidden.
27325         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27326         (libc_feupdateenv_test_ppc): Likewise.
27327         (libc_feresetround_ppc): Likewise.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27329         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27330         compat_symbol macro.
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27332         (__fe_nomask_env): Likewise.
27333         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27335 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27337         * string/Makefile: Remove ifunc tests.
27338         * string/test-string.h: Define TEST_IFUNC.
27339         * string/test-bcopy-ifunc.c: Remove.
27340         * string/test-bzero-ifunc.c: Likewise.
27341         * string/test-memccpy-ifunc.c: Likewise.
27342         * string/test-memchr-ifunc.c: Likewise.
27343         * string/test-memcmp-ifunc.c: Likewise.
27344         * string/test-memcpy-ifunc.c: Likewise.
27345         * string/test-memmem-ifunc.c: Likewise.
27346         * string/test-memmove-ifunc.c: Likewise.
27347         * string/test-mempcpy-ifunc.c: Likewise.
27348         * string/test-memrchr-ifunc.c: Likewise.
27349         * string/test-memset-ifunc.c: Likewise.
27350         * string/test-rawmemchr-ifunc.c: Likewise.
27351         * string/test-stpcpy-ifunc.c: Likewise.
27352         * string/test-stpncpy-ifunc.c: Likewise.
27353         * string/test-strcasecmp-ifunc.c: Likewise.
27354         * string/test-strcasestr-ifunc.c: Likewise.
27355         * string/test-strcat-ifunc.c: Likewise.
27356         * string/test-strchr-ifunc.c: Likewise.
27357         * string/test-strchrnul-ifunc.c: Likewise.
27358         * string/test-strcmp-ifunc.c: Likewise.
27359         * string/test-strcpy-ifunc.c: Likewise.
27360         * string/test-strcspn-ifunc.c: Likewise.
27361         * string/test-strlen-ifunc.c: Likewise.
27362         * string/test-strncasecmp-ifunc.c: Likewise.
27363         * string/test-strncat-ifunc.c: Likewise.
27364         * string/test-strncmp-ifunc.c: Likewise.
27365         * string/test-strncpy-ifunc.c: Likewise.
27366         * string/test-strnlen-ifunc.c: Likewise.
27367         * string/test-strpbrk-ifunc.c: Likewise.
27368         * string/test-strrchr-ifunc.c: Likewise.
27369         * string/test-strspn-ifunc.c: Likewise.
27370         * string/test-strstr-ifunc.c: Likewise.
27372 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27374         * benchtests/Makefile: Remove ifunc tests.
27375         * benchtests/bench-string.h: Define TEST_IFUNC.
27376         * benchtests/bench-bcopy-ifunc.c: Remove.
27377         * benchtests/bench-bzero-ifunc.c: Likewise.
27378         * benchtests/bench-memccpy-ifunc.c: Likewise.
27379         * benchtests/bench-memchr-ifunc.c: Likewise.
27380         * benchtests/bench-memcmp-ifunc.c: Likewise.
27381         * benchtests/bench-memcpy-ifunc.c: Likewise.
27382         * benchtests/bench-memmem-ifunc.c: Likewise.
27383         * benchtests/bench-memmove-ifunc.c: Likewise.
27384         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27385         * benchtests/bench-memrchr-ifunc.c: Likewise.
27386         * benchtests/bench-memset-ifunc.c: Likewise.
27387         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27388         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27389         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27390         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27391         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27392         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27393         * benchtests/bench-strcat-ifunc.c: Likewise.
27394         * benchtests/bench-strchr-ifunc.c: Likewise.
27395         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27396         * benchtests/bench-strcmp-ifunc.c: Likewise.
27397         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27398         * benchtests/bench-strcpy-ifunc.c: Likewise.
27399         * benchtests/bench-strcspn-ifunc.c: Likewise.
27400         * benchtests/bench-strlen-ifunc.c: Likewise.
27401         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27402         * benchtests/bench-strncat-ifunc.c: Likewise.
27403         * benchtests/bench-strncmp-ifunc.c: Likewise.
27404         * benchtests/bench-strncpy-ifunc.c: Likewise.
27405         * benchtests/bench-strnlen-ifunc.c: Likewise.
27406         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27407         * benchtests/bench-strrchr-ifunc.c: Likewise.
27408         * benchtests/bench-strsep-ifunc.c: Likewise.
27409         * benchtests/bench-strspn-ifunc.c: Likewise.
27410         * benchtests/bench-strstr-ifunc.c: Likewise.
27412 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27414         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27416 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27418         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27419         * rt/aio.h: Likewise.
27420         * sysdeps/gnu/bits/utmp.h: Likewise.
27421         * sysdeps/gnu/bits/utmpx.h: Likewise.
27422         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27423         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27424         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27425         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27426         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27427         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27428         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27429         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27430         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27431         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27432         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27433         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27434         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27436         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27437         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27438         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27439         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27440         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27441         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27442         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27443         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27444         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27445         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27446         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27448         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27449         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27450         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27451         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27452         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27453         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27454         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27455         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27456         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27457         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27458         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27459         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27460         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27461         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27462         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27463         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27465 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27467         [BZ #16245]
27468         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27469         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27471 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27473         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27474         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27475         Likewise.
27477 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27480         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27481         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27482         (__fesetround): Remove define.
27483         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27484         rounding and exceptions handling.
27485         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27486         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27487         (__fe_nomask_env): Likewise.
27488         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27489         __fegetround instead of fegetround.
27490         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27491         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27493 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27495         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27496         it's there.
27498         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27500 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27502         [BZ #11157]
27503         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27504         (encrypt_r): Likewise.
27505         * malloc/obstack.h (obstack_free): Likewise.
27506         * posix/unistd.h (encrypt): Likewise.
27508 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27510         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27511         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27512         DL_CALL_DT_FINI() that call the functions directly.
27513         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27514         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27515         * elf/dl-fini.c: Likewise.
27517 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27519         * malloc/hooks.c (memalign_check): Add alignment rounding.
27520         * malloc/malloc.c (_mid_memalign): New function.
27521         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27522         Implement by calling _mid_memalign.
27523         * manual/probes.texi (Memory Allocation Probes): Remove
27524         memory_valloc_retry and memory_pvalloc_retry.
27526 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27528         * locale/programs/locarchive.c (open_archive): Add const
27529         qualifier to ARCHIVEFNAME and copy default fname to
27530         DEFAULT_FNAME.
27532         [BZ #15601]
27533         * libio/tst-widetext.input: Rename Oriya to Odia.
27534         * locale/iso-639.def: Likewise.
27536         * manual/probes.texi (Mathematical Function Probes): Add
27537         documentation for sin, cos, asin and acos probes.
27538         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27539         (__sin32): Add slowasin probe.
27540         (__cos32): Add slowacos probe.
27541         (__mpsin): Add slowsin probe.
27542         (__mpcos): Add slowcos probe.
27544 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27546         [BZ #15483]
27547         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27548         thread-local __sim_exceptions_thread and global
27549         __sim_exceptions_global.
27550         (__sim_disabled_exceptions): Change to thread-local
27551         __sim_disabled_exceptions_thread and global
27552         __sim_disabled_exceptions_global.
27553         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27554         and global __sim_round_mode_global.
27555         (__simulate_exceptions): Use thread-local floating-point state and
27556         set global state from it as needed.
27557         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27558         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27559         __sim_round_mode_thread.
27560         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27561         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27562         and global __sim_exceptions_global.
27563         (__sim_disabled_exceptions): Change to thread-local
27564         __sim_disabled_exceptions_thread and global
27565         __sim_disabled_exceptions_global.
27566         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27567         and global __sim_round_mode_global.
27568         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27569         (SIM_SET_GLOBAL): Likewise.
27570         * sysdeps/powerpc/soft-fp/sfp-machine.h
27571         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27572         __sim_round_mode_thread.
27573         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27574         __sim_disabled_exceptions_thread.
27575         (__sim_exceptions): Change to __sim_exceptions_thread.
27576         (__sim_disabled_exceptions): Change to
27577         __sim_disabled_exceptions_thread.
27578         (__sim_round_mode): Change to __sim_round_mode_thread.
27579         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27580         thread-local floating-point state and set global state from it as
27581         needed.
27582         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27583         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27584         (__sim_disabled_exceptions): Remove extern declaration.
27585         (feenableexcept): Use thread-local floating-point state and set
27586         global state from it as needed.
27587         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27588         extern declaration.
27589         (__sim_disabled_exceptions): Likewise.
27590         (__sim_round_mode): Likewise.
27591         (__fegetenv): Use thread-local floating-point state.
27592         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27593         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27594         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27595         floating-point state and set global state from it as needed.
27596         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27597         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27598         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27599         Likewise.
27600         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27601         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27602         Likewise.
27603         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27604         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27605         Use __sim_round_mode_thread.
27606         * math/test-fenv-tls.c: New file.
27607         * math/Makefile (tests): Add test-fenv-tls.
27608         ($(objpfx)test-fenv-tls): Depend on
27609         $(common-objpfx)nptl/libpthread.so.
27611 2013-11-19  Andreas Schwab  <schwab@suse.de>
27613         * locale/programs/locale.c (show_info): Decode wordarray elements.
27614         * locale/categories.def (LC_MONETARY): Add element for
27615         _NL_MONETARY_CRNCYSTR.
27616         * locale/C-monetary.c (conversion_rate): New variable.
27617         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27618         element.
27620 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27622         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27623         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27625 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27627         * elf/Makefile (tst-auxv): New test.
27628         * elf/tst-auxv.c: New
27629         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27631 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27633         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27634         (hidden_proto): Caller changed.
27635         (hidden_tls_proto): New macro.
27636         (libc_hidden_tls_proto): Likewise.
27637         (rtld_hidden_tls_proto): Likewise.
27638         (libm_hidden_tls_proto): Likewise.
27639         (libresolv_hidden_tls_proto): Likewise.
27640         (librt_hidden_tls_proto): Likewise.
27641         (libdl_hidden_tls_proto): Likewise.
27642         (libnss_files_hidden_tls_proto): Likewise.
27643         (libnsl_hidden_tls_proto): Likewise.
27644         (libnss_nisplus_hidden_tls_proto): Likewise.
27645         (libutil_hidden_tls_proto): Likewise.
27647 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27649         [BZ #10253]
27650         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27651         (decompose_rpath): Defer expansion to fillin_rpath.
27652         (_dl_init_paths): Pass linkmap to fillin_rpath.
27654 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27656         * benchtests/Makefile: Add strsep.
27657         * benchtests/bench-strsep.c: New file: strsep benchtest.
27658         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27660 2013-11-18  Andreas Schwab  <schwab@suse.de>
27662         * locale/programs/locale.c (show_info) [case byte]: Check for
27663         '\377' instead of '\177'.
27664         * locale/C-monetary.c (not_available): Always use "\377".
27665         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27666         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27667         detect unavailable sign_posn locale elements.
27668         * locale/localeconv.c (__localeconv): For grouping and
27669         mon_grouping handle "\177" and "\377" like no grouping.
27670         (INT_ELEM): New macro.  Use it to set all numeric members.
27671         * locale/programs/ld-monetary.c (monetary_read)
27672         <tok_mon_grouping>: Normalize single -1 to the empty string.
27673         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27674         Likewise.
27676 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27678         [BZ #16055]
27679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27680         when we match (nil).
27681         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27683 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27685         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27686         (NO_TEST_INLINE): Update value.
27687         (ERRNO_UNCHANGED): Likewise.
27688         (ERRNO_EDOM): Likewise.
27689         (ERRNO_ERANGE): Likewise.
27690         (IGNORE_RESULT): Likewise.
27691         (check_float_internal): Check signs of NaN results if
27692         TEST_NAN_SIGN used.
27693         (check_complex): Pass TEST_NAN_SIGN flag through to second
27694         check_float_internal call.
27695         (copysign_test_data): Add tests with quiet NaNs as second
27696         argument.  Use TEST_NAN_SIGN.
27697         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27698         TEST_NAN_SIGN.
27699         (signbit_test_data): Add tests of quiet NaN argument.
27700         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27702         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27703         $ignore_result.
27704         (parse_args): Handle function results specified as IGNORE.
27705         * math/libm-test.inc (IGNORE_RESULT): New macro.
27706         (check_float_internal): Do not check numerical result if flag
27707         IGNORE_RESULT set.
27708         (check_complex): Pass through IGNORE_RESULT to second
27709         check_float_internal call.
27710         (check_int): Do not check numerical result if flag IGNORE_RESULT
27711         set.
27712         (check_long): Likewise.
27713         (check_bool): Likewise.
27714         (check_longlong): Likewise.
27715         (lrint_test_data): Add tests of infinite and NaN arguments.
27716         (lrint_tonearest_test_data): Likewise.
27717         (lrint_towardzero_test_data): Likewise.
27718         (lrint_downward_test_data): Likewise.
27719         (lrint_upward_test_data): Likewise.
27720         (llrint_test_data): Likewise.
27721         (llrint_tonearest_test_data): Likewise.
27722         (llrint_towardzero_test_data): Likewise.
27723         (llrint_downward_test_data): Likewise.
27724         (llrint_upward_test_data): Likewise.
27725         (lround_test_data): Likewise.
27726         (llround_test_data): Likewise.
27728         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27729         (ERRNO_UNCHANGED): Update value.
27730         (ERRNO_EDOM): Likewise.
27731         (ERRNO_ERANGE): Likewise.
27732         (NO_TEST_INLINE_FLOAT): New macro.
27733         (NO_TEST_INLINE_DOUBLE): Likewise.
27734         (enable_test): New function.
27735         (RUN_TEST_f_f): Check enable_test before running test.
27736         (RUN_TEST_2_f): Likewise.
27737         (RUN_TEST_fff_f): Likewise.
27738         (RUN_TEST_c_f): Likewise.
27739         (RUN_TEST_f_f1): Likewise.
27740         (RUN_TEST_fF_f1): Likewise.
27741         (RUN_TEST_fI_f1): Likewise.
27742         (RUN_TEST_ffI_f1): Likewise.
27743         (RUN_TEST_c_c): Likewise.
27744         (RUN_TEST_cc_c): Likewise.
27745         (RUN_TEST_f_i): Likewise.
27746         (RUN_TEST_f_i_tg): Likewise.
27747         (RUN_TEST_ff_i_tg): Likewise.
27748         (RUN_TEST_f_b): Likewise.
27749         (RUN_TEST_f_b_tg): Likewise.
27750         (RUN_TEST_f_l): Likewise.
27751         (RUN_TEST_f_L): Likewise.
27752         (RUN_TEST_fFF_11): Likewise.
27753         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27754         conditionals.
27755         (cosh_test_data): Likewise.
27756         (exp_test_data): Likewise.
27757         (expm1_test_data): Likewise.
27758         (hypot_test_data): Likewise.
27759         (pow_test_data): Likewise.
27760         (sinh_test_data): Likewise.
27761         (tanh_test_data): Likewise.
27762         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27763         flags argument.
27765         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27766         tests with quiet NaN input and output.
27767         (acosh_test_data): Likewise.
27768         (asin_test_data): Likewise.
27769         (asinh_test_data): Likewise.
27770         (atan_test_data): Likewise.
27771         (atanh_test_data): Likewise.
27772         (atan2_test_data): Likewise.
27773         (cbrt_test_data): Likewise.
27774         (cos_test_data): Likewise.
27775         (cosh_test_data): Likewise.
27776         (erf_test_data): Likewise.
27777         (erfc_test_data): Likewise.
27778         (exp_test_data): Likewise.
27779         (exp10_test_data): Likewise.
27780         (exp2_test_data): Likewise.
27781         (expm1_test_data): Likewise.
27782         (hypot_test_data): Likewise.
27783         (j0_test_data): Likewise.
27784         (j1_test_data): Likewise.
27785         (jn_test_data): Likewise.
27786         (lgamma_test_data): Likewise.
27787         (log_test_data): Likewise.
27788         (log10_test_data): Likewise.
27789         (log1p_test_data): Likewise.
27790         (log2_test_data): Likewise.
27791         (pow_test_data): Likewise.
27792         (scalb_test_data): Likewise.
27793         (sin_test_data): Likewise.
27794         (sincos_test_data): Likewise.
27795         (sinh_test_data): Likewise.
27796         (tan_test_data): Likewise.
27797         (tanh_test_data): Likewise.
27798         (tgamma_test_data): Likewise.
27799         (y0_test_data): Likewise.
27800         (y1_test_data): Likewise.
27801         (yn_test_data): Likewise.
27803         [BZ #16167]
27804         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27805         argument being NaN and avoid computations with second argument in
27806         that case.
27807         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27808         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27809         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27811 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27813         * locale/iso-639.def: Add Chitwani Tharu (the).
27815 2013-11-14  Andreas Schwab  <schwab@suse.de>
27817         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27818         word instead of empty string.
27820 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27823         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27825         (__fe_nomask_env): Likewise.
27827 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27829         * benchtests/bench-timing.h: Include time.h.
27831 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27833         [BZ #15997]
27834         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27835         to 3.4.0 for x32.
27836         * sysdeps/unix/sysv/linux/configure: Regenerated.
27838 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27840         [BZ #16151]
27841         * stdlib/strtod_l.c (round_and_return): Do not consider
27842         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27843         exponent one less than half the least subnormal exponent.
27844         * stdlib/test-strtod-round-data: Add more tests.
27845         * stdlib/tst-strtod-round.c (tests): Regenerated.
27847 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27849         [BZ #14143]
27850         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27851         (__fe_mask_env): Likewise.
27852         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27853         libm_hidden_proto and add function prototype.
27854         (__fe_mask_env): Add function prototype.
27855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27856         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27858         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27860         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27862 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27864         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27865         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27867 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27869         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27870         of htab_find_slot().
27872 2013-11-11  David S. Miller  <davem@davemloft.net>
27874         [BZ #16150]
27875         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27876         symbol in the non-vis3 case in static builds.
27877         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27878         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27879         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27880         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27882 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27884         [BZ #387]
27885         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27886         it is empty.
27888 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27890         * benchtests/Makefile: Add bench-strtod.
27891         * benchtests/bench-strtod.c: New file: strtod benchtest
27893 2013-11-11  Andreas Schwab  <schwab@suse.de>
27895         [BZ #16153]
27896         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27897         terminating NUL in key length.
27899 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27901         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27902         Add artificial ODP entry for vDSO symbol for PPC64.
27903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27904         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27906 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27908         [BZ #15374]
27909         * nss/getent.c (services_keys): Recognize services starting with digit.
27911 2013-11-06  David S. Miller  <davem@davemloft.net>
27913         [BZ #15985]
27914         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27915         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27917 2013-11-06  Will Newton  <will.newton@linaro.org>
27919         * manual/memory.texi (Malloc Examples): Remove register
27920         keyword from examples.
27922 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27924         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27926 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27928         [BZ #6981]
27929         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27930         depending on [__GCC_IEC_559 > 0].
27931         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27932         depending on [__GCC_IEC_559_COMPLEX > 0].
27934 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27936         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27937         to iso-639.def.
27939 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27941         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27943 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27945         [BZ #16112]
27946         * malloc/malloc (malloc_info): Do not handle first bin as
27947         special case.
27949 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27951         * locale/iso-639.def: Add Central Nahuatl (nhn).
27953 2013-11-01  Bruno Haible  <bruno@clisp.org>
27955         [BZ #7003]
27956         * manual/math.texi (BSD Random): Specify range upper bound as
27957         in POSIX.
27959 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27961         * locale/iso-639.def: Add Meadow Mari (mhr).
27963 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27965         [BZ #14752], [BZ #15763]
27966         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27967         Validate name.
27968         * rt/tst_shm.c: Add test for escaping directory.
27970 2013-10-31  Andreas Schwab  <schwab@suse.de>
27972         [BZ #15917]
27973         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27974         followed by 'x' as part of digit sequence.
27975         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27977 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27979         [BZ #16037]
27980         * configure.ac: allow GNU Make 4.0 and greater.
27981         * configure: Regenerated.
27983 2013-10-30  Will Newton  <will.newton@linaro.org>
27985         [BZ #16038]
27986         * malloc/hooks.c (memalign_check): Limit alignment to the
27987         maximum representable power of two.
27988         * malloc/malloc.c (__libc_memalign): Likewise.
27989         * malloc/tst-memalign.c (do_test): Add test for very
27990         large alignment values.
27991         * malloc/tst-posix_memalign.c (do_test): Likewise.
27993 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27995         [BZ #11087]
27996         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27997         (munmap_chunk): Likewise.
27998         (mremap_chunk): Likewise.
28000 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28002         [BZ #15799]
28003         * stdlib/div.c (div): Remove obsolete code.
28004         * stdlib/ldiv.c (ldiv): Likewise.
28005         * stdlib/lldiv.c (lldiv): Likewise.
28007 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28009         [BZ #16071]
28010         * nss/nss_files/files-XXX.c (get_contents_ret): New
28011         enumerator.
28012         (get_contents): New function.
28013         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28015 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28017         * configure.in: Moved to ...
28018         * configure.ac: ... here. Change reference to configure.in
28019         to configure.ac.
28020         * sysdeps/arm/preconfigure.ac: ... here.
28021         configure.in to configure.ac.
28022         * sysdeps/gnu/configure.in: Moved to ...
28023         * sysdeps/gnu/configure.ac: ... here.
28024         * sysdeps/i386/configure.in: Moved to ...
28025         * sysdeps/i386/configure.ac: ... here.
28026         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28027         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28028         * sysdeps/mach/configure.in: Moved to ...
28029         * sysdeps/mach/configure.ac: ... here.
28030         * sysdeps/mach/hurd/configure.in: Moved to ...
28031         * sysdeps/mach/hurd/configure.ac: ... here.
28032         * sysdeps/powerpc/configure.in: Moved to ...
28033         * sysdeps/powerpc/configure.ac: ... here.
28034         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28035         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28036         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28037         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28038         * sysdeps/s390/s390-32/configure.in: Moved to ...
28039         * sysdeps/s390/s390-32/configure.ac: ... here.
28040         * sysdeps/s390/s390-64/configure.in: Moved to ...
28041         * sysdeps/s390/s390-64/configure.ac: ... here.
28042         * sysdeps/sh/configure.in: Moved to ...
28043         * sysdeps/sh/configure.ac: ... here.
28044         * sysdeps/sparc/configure.in: Moved to ...
28045         * sysdeps/sparc/configure.ac: ... here.
28046         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28047         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28048         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28049         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28050         * sysdeps/x86_64/configure.in: Moved to ...
28051         * sysdeps/x86_64/configure.ac: ... here.
28052         * sysdeps/x86_64/preconfigure.in: Moved to ...
28053         * sysdeps/x86_64/preconfigure.ac: ... here.
28054         * aclocal.m4: Change reference to configure.in to configure.ac.
28055         * config.h.in: Likewise.
28056         * manual/install.texi: Likewise.
28057         * manual/maint.texi: Likewise.
28058         * Makefile: Likewise.
28059         * malloc/Makefile: Likewise.
28060         * nscd/Makefile: Likewise.
28061         * Makeconfig: Change reference to configure.in and
28062         preconfigure.in to configure.ac and preconfigure.ac
28063         respectively.
28064         * INSTALL: Regenerated.
28065         * configure: Likewise.
28066         * sysdeps/gnu/configure: Likewise.
28067         * sysdeps/i386/configure: Likewise.
28068         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28069         * sysdeps/mach/configure: Likewise.
28070         * sysdeps/mach/hurd/configure: Likewise.
28071         * sysdeps/powerpc/configure: Likewise.
28072         * sysdeps/powerpc/powerpc32/configure: Likewise.
28073         * sysdeps/powerpc/powerpc64/configure: Likewise.
28074         * sysdeps/s390/s390-32/configure: Likewise.
28075         * sysdeps/s390/s390-64/configure: Likewise.
28076         * sysdeps/sh/configure: Likewise.
28077         * sysdeps/sparc/configure: Likewise.
28078         * sysdeps/unix/sysv/linux/configure: Likewise.
28079         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28080         * sysdeps/x86_64/configure: Likewise.
28081         * sysdeps/x86_64/preconfigure: Likewise.
28083 2013-10-29  Andreas Schwab  <schwab@suse.de>
28085         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28087 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28089         * benchtests/pow-inputs: Add new inputs.
28091         * benchtests/exp-inputs: Add new inputs.
28093         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28094         conditional check for return value.
28095         (__cos32): Likewise.
28097 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28099         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28100         to provide a boost for large inputs with word alignment.
28101         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28102         implementation based on optimized PPC64 strcpy.
28103         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28104         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28105         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28106         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28108 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28110         [BZ #2801]
28111         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28113 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28115         [BZ #14876]
28116         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28117         * time/tst-strptime.c (day_tests): Add testcase.
28119 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28121         [BZ #14029]
28122         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28124 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28126         [BZ #16074]
28127         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28128         MAP_FAILED on error.
28130 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28132         [BZ #16072]
28133         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28134         heap for large requests.
28136 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28138         [BZ #9954]
28139         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28140         result if the result has no associated interface.
28141         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28142         interface for all 127.X.Y.Z addresses.
28144 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28146         * locale/iso-639.def: Add Ligurian (lij)
28148 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28150         [BZ #15825]
28151         * sunrpc/rpc_main.c: Document rpcgen -5.
28153 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28155         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28157 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28159         [BZ #10278]
28160         * posix/glob.c: Match only directories when trailing slash is present.
28161         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28162         (main): Add testcase.
28164 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28166         [BZ #15670]
28167         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28169 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28171         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28172         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28173         AUTH_DES and cindex for FIPS 140-2.
28174         (DES Encryption): Add cindex FIPS 46-3.
28176         * locale/locarchive.h (struct locarhandle): Add fname.
28177         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28178         if an optional argument was specified to --list-archive,
28179         otherwise NULL.
28180         * locale/programs/locarchive.c (show_archive_content): Take new
28181         argument fname and pass it via ah.fname to open_archive.
28182         * locale/programs/localedef.h: Update decl.
28183         (open_archive): If AH->fname is non-null, open that file
28184         rather than the default file name, and don't ignore ENOENT.
28185         (create_archive): Set AH.fname to NULL.
28186         (delete_locales_from_archive): Likewise.
28187         (add_locales_to_archive): Likewise.
28188         * locale/programs/locfile.c (write_all_categories): Likewise.
28190 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28191             Aldy Hernandez  <aldyh@redhat.com>
28193         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28194         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28195         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28196         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28197         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28198         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28200         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28201         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28202         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28203         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28204         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28205         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28206         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28207         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28208         Likewise.
28209         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28210         Likewise.
28211         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28212         Likewise.
28213         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28214         Likewise.
28215         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28216         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28217         Likewise.
28218         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28219         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28220         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28221         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28222         Likewise.
28223         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28224         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28225         * sysdeps/powerpc/preconfigure: Likewise.
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28227         Likewise.
28228         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28229         Replace contents of file by #include of <fenv_libc.h>.
28230         * sysdeps/powerpc/soft-fp/sfp-machine.h
28231         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28232         and <sys/prctl.h>.
28233         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28234         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28235         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28236         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28237         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28238         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28240         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28243         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28246         Allow copysignl PLT reference to be missing.
28248 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28249             Joseph Myers  <joseph@codesourcery.com
28251         [BZ #15948]
28252         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28253         single character.
28254         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28256 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28258         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28259         * elf/tst-tls1.c: Likewise.
28260         * elf/tst-tls10.h: Likewise.
28261         * elf/tst-tls14.c: Likewise.
28262         * elf/tst-tls2.c: Likewise.
28263         * elf/tst-tls3.c: Likewise.
28264         * elf/tst-tls4.c: Likewise.
28265         * elf/tst-tls5.c: Likewise.
28266         * elf/tst-tls6.c: Likewise.
28267         * elf/tst-tls7.c: Likewise.
28268         * elf/tst-tls8.c: Likewise.
28269         * elf/tst-tls9.c: Likewise.
28270         * elf/tst-tlsmod1.c: Likewise.
28271         * elf/tst-tlsmod13.c: Likewise.
28272         * elf/tst-tlsmod13a.c: Likewise.
28273         * elf/tst-tlsmod14a.c: Likewise.
28274         * elf/tst-tlsmod16a.c: Likewise.
28275         * elf/tst-tlsmod16b.c: Likewise.
28276         * elf/tst-tlsmod2.c: Likewise.
28277         * elf/tst-tlsmod3.c: Likewise.
28278         * elf/tst-tlsmod4.c: Likewise.
28279         * elf/tst-tlsmod5.c: Likewise.
28280         * elf/tst-tlsmod6.c: Likewise.
28282 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28284         [BZ #12486]
28285         * malloc/malloc.c: remove checks for statistics.
28287 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28289         [BZ #15277]
28290         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28291         * inet/tst-network.c: Add testcase.
28293 2013-10-17  Andreas Schwab  <schwab@suse.de>
28295         [BZ #15218]
28296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28297         to determine canonical name.
28299 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28301         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28302         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28306         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28307         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28308         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28309         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28310         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28311         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28315         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28316         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28318         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28319         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28320         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28321         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28322         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28324         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28325         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28326         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28327         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28328         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28329         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28330         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28331         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28333         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28334         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28335         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28336         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28337         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28338         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28339         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28340         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28341         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28342         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28343         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28344         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28345         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28346         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28347         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28348         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28349         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28350         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28351         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28352         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28355         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28356         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28358         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28360 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28362         [BZ #16041]
28363         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28364         make result into a quiet NaN.
28366 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28368         * soft-fp/adddf3.c: Fix horizontal whitespace.
28369         * soft-fp/addsf3.c: Likewise.
28370         * soft-fp/addtf3.c: Likewise.
28371         * soft-fp/divdf3.c: Likewise.
28372         * soft-fp/divsf3.c: Likewise.
28373         * soft-fp/divtf3.c: Likewise.
28374         * soft-fp/double.h: Likewise.
28375         * soft-fp/eqdf2.c: Likewise.
28376         * soft-fp/eqsf2.c: Likewise.
28377         * soft-fp/eqtf2.c: Likewise.
28378         * soft-fp/extenddftf2.c: Likewise.
28379         * soft-fp/extended.h: Likewise.
28380         * soft-fp/extendsfdf2.c: Likewise.
28381         * soft-fp/extendsftf2.c: Likewise.
28382         * soft-fp/extendxftf2.c: Likewise.
28383         * soft-fp/fixdfdi.c: Likewise.
28384         * soft-fp/fixdfsi.c: Likewise.
28385         * soft-fp/fixdfti.c: Likewise.
28386         * soft-fp/fixsfdi.c: Likewise.
28387         * soft-fp/fixsfsi.c: Likewise.
28388         * soft-fp/fixsfti.c: Likewise.
28389         * soft-fp/fixtfdi.c: Likewise.
28390         * soft-fp/fixtfsi.c: Likewise.
28391         * soft-fp/fixtfti.c: Likewise.
28392         * soft-fp/fixunsdfdi.c: Likewise.
28393         * soft-fp/fixunsdfsi.c: Likewise.
28394         * soft-fp/fixunsdfti.c: Likewise.
28395         * soft-fp/fixunssfdi.c: Likewise.
28396         * soft-fp/fixunssfsi.c: Likewise.
28397         * soft-fp/fixunssfti.c: Likewise.
28398         * soft-fp/fixunstfdi.c: Likewise.
28399         * soft-fp/fixunstfsi.c: Likewise.
28400         * soft-fp/fixunstfti.c: Likewise.
28401         * soft-fp/floatdidf.c: Likewise.
28402         * soft-fp/floatdisf.c: Likewise.
28403         * soft-fp/floatditf.c: Likewise.
28404         * soft-fp/floatsidf.c: Likewise.
28405         * soft-fp/floatsisf.c: Likewise.
28406         * soft-fp/floatsitf.c: Likewise.
28407         * soft-fp/floattidf.c: Likewise.
28408         * soft-fp/floattisf.c: Likewise.
28409         * soft-fp/floattitf.c: Likewise.
28410         * soft-fp/floatundidf.c: Likewise.
28411         * soft-fp/floatundisf.c: Likewise.
28412         * soft-fp/floatunditf.c: Likewise.
28413         * soft-fp/floatunsidf.c: Likewise.
28414         * soft-fp/floatunsisf.c: Likewise.
28415         * soft-fp/floatunsitf.c: Likewise.
28416         * soft-fp/floatuntidf.c: Likewise.
28417         * soft-fp/floatuntisf.c: Likewise.
28418         * soft-fp/floatuntitf.c: Likewise.
28419         * soft-fp/fmadf4.c: Likewise.
28420         * soft-fp/fmasf4.c: Likewise.
28421         * soft-fp/fmatf4.c: Likewise.
28422         * soft-fp/gedf2.c: Likewise.
28423         * soft-fp/gesf2.c: Likewise.
28424         * soft-fp/getf2.c: Likewise.
28425         * soft-fp/ledf2.c: Likewise.
28426         * soft-fp/lesf2.c: Likewise.
28427         * soft-fp/letf2.c: Likewise.
28428         * soft-fp/muldf3.c: Likewise.
28429         * soft-fp/mulsf3.c: Likewise.
28430         * soft-fp/multf3.c: Likewise.
28431         * soft-fp/negdf2.c: Likewise.
28432         * soft-fp/negsf2.c: Likewise.
28433         * soft-fp/negtf2.c: Likewise.
28434         * soft-fp/op-1.h: Likewise.
28435         * soft-fp/op-2.h: Likewise.
28436         * soft-fp/op-4.h: Likewise.
28437         * soft-fp/op-8.h: Likewise.
28438         * soft-fp/op-common.h: Likewise.
28439         * soft-fp/quad.h: Likewise.
28440         * soft-fp/single.h: Likewise.
28441         * soft-fp/soft-fp.h: Likewise.
28442         * soft-fp/sqrtdf2.c: Likewise.
28443         * soft-fp/sqrtsf2.c: Likewise.
28444         * soft-fp/sqrttf2.c: Likewise.
28445         * soft-fp/subdf3.c: Likewise.
28446         * soft-fp/subsf3.c: Likewise.
28447         * soft-fp/subtf3.c: Likewise.
28448         * soft-fp/truncdfsf2.c: Likewise.
28449         * soft-fp/trunctfdf2.c: Likewise.
28450         * soft-fp/trunctfsf2.c: Likewise.
28451         * soft-fp/trunctfxf2.c: Likewise.
28452         * soft-fp/unorddf2.c: Likewise.
28453         * soft-fp/unordsf2.c: Likewise.
28454         * soft-fp/unordtf2.c: Likewise.
28456 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28458         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28459         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28461 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28463         * elf/dl-libc.c: Clear initfini list after freeing.
28465 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28467         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28468         * soft-fp/addsf3.c: Likewise.
28469         * soft-fp/addtf3.c: Likewise.
28470         * soft-fp/divdf3.c: Likewise.
28471         * soft-fp/divsf3.c: Likewise.
28472         * soft-fp/divtf3.c: Likewise.
28473         * soft-fp/double.h: Likewise.
28474         * soft-fp/eqdf2.c: Likewise.
28475         * soft-fp/eqsf2.c: Likewise.
28476         * soft-fp/eqtf2.c: Likewise.
28477         * soft-fp/extenddftf2.c: Likewise.
28478         * soft-fp/extended.h: Likewise.
28479         * soft-fp/extendsfdf2.c: Likewise.
28480         * soft-fp/extendsftf2.c: Likewise.
28481         * soft-fp/extendxftf2.c: Likewise.
28482         * soft-fp/fixdfdi.c: Likewise.
28483         * soft-fp/fixdfsi.c: Likewise.
28484         * soft-fp/fixdfti.c: Likewise.
28485         * soft-fp/fixsfdi.c: Likewise.
28486         * soft-fp/fixsfsi.c: Likewise.
28487         * soft-fp/fixsfti.c: Likewise.
28488         * soft-fp/fixtfdi.c: Likewise.
28489         * soft-fp/fixtfsi.c: Likewise.
28490         * soft-fp/fixtfti.c: Likewise.
28491         * soft-fp/fixunsdfdi.c: Likewise.
28492         * soft-fp/fixunsdfsi.c: Likewise.
28493         * soft-fp/fixunsdfti.c: Likewise.
28494         * soft-fp/fixunssfdi.c: Likewise.
28495         * soft-fp/fixunssfsi.c: Likewise.
28496         * soft-fp/fixunssfti.c: Likewise.
28497         * soft-fp/fixunstfdi.c: Likewise.
28498         * soft-fp/fixunstfsi.c: Likewise.
28499         * soft-fp/fixunstfti.c: Likewise.
28500         * soft-fp/floatdidf.c: Likewise.
28501         * soft-fp/floatdisf.c: Likewise.
28502         * soft-fp/floatditf.c: Likewise.
28503         * soft-fp/floatsidf.c: Likewise.
28504         * soft-fp/floatsisf.c: Likewise.
28505         * soft-fp/floatsitf.c: Likewise.
28506         * soft-fp/floattidf.c: Likewise.
28507         * soft-fp/floattisf.c: Likewise.
28508         * soft-fp/floattitf.c: Likewise.
28509         * soft-fp/floatundidf.c: Likewise.
28510         * soft-fp/floatundisf.c: Likewise.
28511         * soft-fp/floatunsidf.c: Likewise.
28512         * soft-fp/floatunsisf.c: Likewise.
28513         * soft-fp/floatuntidf.c: Likewise.
28514         * soft-fp/floatuntisf.c: Likewise.
28515         * soft-fp/floatuntitf.c: Likewise.
28516         * soft-fp/fmadf4.c: Likewise.
28517         * soft-fp/fmasf4.c: Likewise.
28518         * soft-fp/fmatf4.c: Likewise.
28519         * soft-fp/gedf2.c: Likewise.
28520         * soft-fp/gesf2.c: Likewise.
28521         * soft-fp/getf2.c: Likewise.
28522         * soft-fp/ledf2.c: Likewise.
28523         * soft-fp/lesf2.c: Likewise.
28524         * soft-fp/letf2.c: Likewise.
28525         * soft-fp/muldf3.c: Likewise.
28526         * soft-fp/mulsf3.c: Likewise.
28527         * soft-fp/multf3.c: Likewise.
28528         * soft-fp/negdf2.c: Likewise.
28529         * soft-fp/negsf2.c: Likewise.
28530         * soft-fp/negtf2.c: Likewise.
28531         * soft-fp/op-1.h: Likewise.
28532         * soft-fp/op-2.h: Likewise.
28533         * soft-fp/op-4.h: Likewise.
28534         * soft-fp/op-8.h: Likewise.
28535         * soft-fp/op-common.h: Likewise.
28536         * soft-fp/quad.h: Likewise.
28537         * soft-fp/single.h: Likewise.
28538         * soft-fp/soft-fp.h: Likewise.
28539         * soft-fp/sqrtdf2.c: Likewise.
28540         * soft-fp/sqrtsf2.c: Likewise.
28541         * soft-fp/sqrttf2.c: Likewise.
28542         * soft-fp/subdf3.c: Likewise.
28543         * soft-fp/subsf3.c: Likewise.
28544         * soft-fp/subtf3.c: Likewise.
28545         * soft-fp/truncdfsf2.c: Likewise.
28546         * soft-fp/trunctfdf2.c: Likewise.
28547         * soft-fp/trunctfsf2.c: Likewise.
28548         * soft-fp/trunctfxf2.c: Likewise.
28549         * soft-fp/unorddf2.c: Likewise.
28550         * soft-fp/unordsf2.c: Likewise.
28551         * soft-fp/unordtf2.c: Likewise.
28553 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28555         [BZ #15672]
28556         * misc/error.c (error_tail): Fix possible buffer overflow.
28558 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28560         [BZ #13028]
28561         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28562         address.
28564 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28566         [BZ #832]
28567         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28568         testing pipefail option.
28570 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28572         * soft-fp/double.h: Indent preprocessor directives inside #if.
28573         * soft-fp/extended.h: Likewise.
28574         * soft-fp/op-2.h: Likewise.
28575         * soft-fp/op-4.h: Likewise.
28576         * soft-fp/op-common.h: Likewise.
28577         * soft-fp/quad.h: Likewise.
28578         * soft-fp/single.h: Likewise.
28579         * soft-fp/soft-fp.h: Likewise.
28581 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28583         * iconv/iconv_prog.c: Fix typos.
28584         * stdio-common/psiginfo-data.h: Likewise.
28586 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28588         [BZ #15764]
28589         * locale/setlocale.c: Fix typo.
28591 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28593         [BZ #16036]
28594         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28595         signaling NaN arguments.
28596         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28597         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28599         [BZ #14910]
28600         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28601         unordered operands.
28602         * soft-fp/gesf2.c (__gesf2): Likewise.
28603         * soft-fp/getf2.c (__getf2): Likewise.
28604         * soft-fp/ledf2.c (__ledf2): Likewise.
28605         * soft-fp/lesf2.c (__lesf2): Likewise.
28606         * soft-fp/letf2.c (__letf2): Likewise.
28608         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28609         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28610         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28611         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28612         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28613         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28614         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28615         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28616         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28617         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28618         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28619         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28620         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28621         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28622         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28623         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28624         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28625         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28626         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28627         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28628         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28629         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28630         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28631         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28632         * soft-fp/floattidf.c (__floattidf): Likewise.
28633         * soft-fp/floattisf.c (__floattisf): Likewise.
28634         * soft-fp/floattitf.c (__floattitf): Likewise.
28635         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28636         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28637         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28638         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28639         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28640         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28641         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28642         * soft-fp/gesf2.c (__gesf2): Likewise.
28643         * soft-fp/getf2.c (__getf2): Likewise.
28644         * soft-fp/ledf2.c (__ledf2): Likewise.
28645         * soft-fp/lesf2.c (__lesf2): Likewise.
28646         * soft-fp/letf2.c (__letf2): Likewise.
28648         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28649         Undefine and redefine.
28650         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28651         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28652         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28653         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28654         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28655         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28656         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28657         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28658         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28659         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28660         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28661         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28662         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28663         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28664         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28666         [BZ #16032]
28667         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28668         without decrementing exponent if mantissa >= that for the
28669         denominator, not >.
28670         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28671         denominator, not >.  Decrement exponent in < case instead of
28672         incrementing in >= case.
28673         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28674         without decrementing exponent if mantissa >= that for the
28675         denominator, not >.
28677         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28678         computing saturated result for unsigned overflow.
28680 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28681             Jeff Law  <law@redhat.com>
28683         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28684         (atan2Mp): Add systemtap probe marker.
28685         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28686         (__ieee754_log): Add systemtap probe marker.
28687         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28688         (atanMp): Add systemtap probe marker.
28689         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28690         (tanMp): Add systemtap probe marker.
28691         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28692         (__slowexp): Add systemtap probe marker.
28693         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28694         (__slowpow): Add systemtap probe marker.
28695         * manual/probes.texi: Document probes.
28697 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28699         [BZ #15362]
28700         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28701         written.
28702         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28703         written.
28704         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28705         written to buffer but not flushed.
28706         * libio/iofwrite_u.c:  Likewise.
28707         * libio/iopadn.c:  Return bytes returned even if EOF was
28708         encountered.
28709         * libio/iowpadn.c:  Likewise.
28710         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28711         if _IO_padn does not write the whole buffer.
28712         [!COMPILE_WPRINTF] (PAD): Likewise.
28714 2013-10-10  David S. Miller  <davem@davemloft.net>
28716         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28717         directory block.
28719 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28721         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28722         instead of FSF address.
28723         * soft-fp/fixdfti.c: Likewise.
28724         * soft-fp/fixsfti.c: Likewise.
28725         * soft-fp/fixtfti.c: Likewise.
28726         * soft-fp/fixunsdfti.c: Likewise.
28727         * soft-fp/fixunssfti.c: Likewise.
28728         * soft-fp/fixunstfti.c: Likewise.
28729         * soft-fp/floattidf.c: Likewise.
28730         * soft-fp/floattisf.c: Likewise.
28731         * soft-fp/floattitf.c: Likewise.
28732         * soft-fp/floatuntidf.c: Likewise.
28733         * soft-fp/floatuntisf.c: Likewise.
28734         * soft-fp/floatuntitf.c: Likewise.
28735         * soft-fp/trunctfxf2.c: Likewise.
28737         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28738         * soft-fp/fixdfti.c: Likewise.
28739         * soft-fp/fixsfti.c: Likewise.
28740         * soft-fp/fixtfti.c: Likewise.
28741         * soft-fp/fixunsdfti.c: Likewise.
28742         * soft-fp/fixunssfti.c: Likewise.
28743         * soft-fp/fixunstfti.c: Likewise.
28744         * soft-fp/floattidf.c: Likewise.
28745         * soft-fp/floattisf.c: Likewise.
28746         * soft-fp/floattitf.c: Likewise.
28747         * soft-fp/floatuntidf.c: Likewise.
28748         * soft-fp/floatuntisf.c: Likewise.
28749         * soft-fp/floatuntitf.c: Likewise.
28750         * soft-fp/trunctfxf2.c: Likewise.
28752 2013-10-10  David S. Miller  <davem@davemloft.net>
28754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28756 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28758         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28759         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28760         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28761         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28762         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28763         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28764         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28767         for NaNs before doing comparisons on argument.
28768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28769         Likewise.
28771 2013-10-10  Will Newton  <will.newton@linaro.org>
28773         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28774         passed to _int_memalign does not overflow.
28776 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28778         * scripts/bench.pl: Add include-sources directive.
28779         * benchtests/README: Update documentation.
28781 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28783         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28784         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28785         instead of FP_INIT_ROUNDMODE.
28786         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28787         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28789         [BZ #16034]
28790         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28791         copy class of input value.
28792         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28793         not handle exceptions.
28794         * soft-fp/negsf2.c (__negsf2): Likewise.
28795         * soft-fp/negtf2.c (__negtf2): Likewise.
28796         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28798 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28800         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28801         semicolon.  From Linux kernel.
28803 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28805         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28807 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28809         [BZ #156]
28810         * manual/socket.texi: Added statement about buffer
28811         for gethostbyname2_r.
28813 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28815         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28816         Use .p2align directive instead, throughout.
28817         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28818         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28819         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28820         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28821         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28822         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28823         * sysdeps/x86_64/strchr.S: Likewise.
28824         * sysdeps/x86_64/strrchr.S: Likewise.
28826 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28828         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28830         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28832         * sysdeps/generic/math_private.h (__mpsin1): Remove
28833         declaration.
28834         (__mpcos1): Likewise.
28835         (__mpsin): New argument __range_reduce.
28836         (__mpcos): Likewise.
28837         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28838         (slow): Use __mpsin and __mpcos.
28839         (slow1): Likewise.
28840         (slow2): Likewise.
28841         (sloww): Likewise.
28842         (sloww1): Likewise.
28843         (sloww2): Likewise.
28844         (bsloww): Likewise.
28845         (bsloww1): Likewise.
28846         (bsloww2): Likewise.
28847         (cslow2): Likewise.
28848         (csloww): Likewise.
28849         (csloww1): Likewise.
28850         (csloww2): Likewise.
28851         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28852         range_reduce.  Merge in __mpsin1.
28853         (__mpcos): Likewise.
28854         (__mpsin1): Remove.
28855         (__mpcos1): Likewise.
28857 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28859         * locale/loadlocale.c (_nl_intern_locale_data): Use
28860         LOCFILE_ALIGNED_P.
28861         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28862         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28863         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28864         obstack data is appropriately aligned.
28865         (obstack_int32_grow_fast): Likewise.
28866         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28867         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28868         (add_locale_uint32_array): Likewise.
28870 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28872         * benchtests/Makefile: Remove ARGLIST and RET variables.
28873         ($(objpfx)bench-%.c): Pass only function name to the script.
28874         * benchtests/README: Update documentation.
28875         * benchtests/acos-inputs: Add new directives.
28876         * benchtests/acosh-inputs: Likewise.
28877         * benchtests/asin-inputs: Likewise.
28878         * benchtests/asinh-inputs: Likewise.
28879         * benchtests/atan-inputs: Likewise.
28880         * benchtests/atanh-inputs: Likewise.
28881         * benchtests/cos-inputs: Likewise.
28882         * benchtests/cosh-inputs: Likewise.
28883         * benchtests/exp-inputs: Likewise.
28884         * benchtests/log-inputs: Likewise.
28885         * benchtests/pow-inputs: Likewise.
28886         * benchtests/rint-inputs: Likewise.
28887         * benchtests/sin-inputs: Likewise.
28888         * benchtests/sinh-inputs: Likewise.
28889         * benchtests/tan-inputs: Likewise.
28890         * benchtests/tanh-inputs: Likewise.
28891         * scripts/bench.pl: Add support for new directives.
28893 2013-10-07  Alan Modra  <amodra@gmail.com>
28895         * README: Fix careless merge.
28897 2013-10-05  Alan Modra  <amodra@gmail.com>
28899         * NEWS: Mention powerpc64le support and bugs fixed.
28900         * README: Both big-endian and little-endian powerpc64 supported.
28902 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28904         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28905         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28906         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28907         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28909 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28911         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28912         match prototype.
28914 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28916         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28917         Move -mhard-float appending from
28918         ports/sysdeps/powerpc/powerpc32/Makefile.
28919         [$(with-fp) = yes] (ASFLAGS): Likewise.
28920         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28921         * sysdeps/powerpc/nofpu: Move directory from
28922         ports/sysdeps/powerpc/nofpu.
28923         * sysdeps/powerpc/soft-fp: Move directory from
28924         ports/sysdeps/powerpc/soft-fp.
28925         * sysdeps/powerpc/powerpc32/405: Move directory from
28926         ports/sysdeps/powerpc/powerpc32/405.
28927         * sysdeps/powerpc/powerpc32/440: Move directory from
28928         ports/sysdeps/powerpc/powerpc32/440.
28929         * sysdeps/powerpc/powerpc32/464: Move directory from
28930         ports/sysdeps/powerpc/powerpc32/464.
28931         * sysdeps/powerpc/powerpc32/476: Move directory from
28932         ports/sysdeps/powerpc/powerpc32/476.
28933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28934         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28936         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28938         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28940         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28942         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28943         * README: Update for powerpc-*-linux-gnu software floating point
28944         support in libc.
28946         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28947         case to powerpc/powerpc32*.
28948         * sysdeps/unix/sysv/linux/configure: Regenerated.
28950         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28951         (_FPU_MASK_OM): Define as 0x04.
28952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28954         0x00c10080.
28955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28956         0x0000003c.
28957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28960         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28961         getcontext_e500.
28962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28963         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28964         setcontext_e500.
28965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28966         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28967         and setcontext_e500.
28969 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28971         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28973 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28975         * manual/threads.texi (Default Thread Attributes): Fix typo.
28977 2013-10-04  Will Newton  <will.newton@linaro.org>
28979         * malloc/Makefile: Add tst-memalign.
28980         * malloc/tst-memalign.c: New file.
28982         * malloc/tst-posix_memalign.c: Add comments.
28983         (do_test): Add comments and call free on all potentially
28984         allocated pointers. Add space after cast.
28986         * malloc/tst-pvalloc.c: Add comments.
28987         (do_test): Add comments and call free on all potentially
28988         allocated pointers. Remove duplicate check for NULL pointer.
28989         Add space after cast.
28991         * malloc/tst-valloc.c: Add comments.
28992         (do_test): Add comments and call free on all potentially
28993         allocated pointers. Remove duplicate check for NULL pointer.
28994         Add space after cast.
28996 2013-10-04  Alan Modra  <amodra@gmail.com>
28998         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28999         Use stdint types in rather than __attribute__((mode())).
29000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29002 2013-10-04  Alan Modra  <amodra@gmail.com>
29004         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29005         Correct handling of unaligned relocs for little-endian.
29006         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29008 2013-10-04  Alan Modra  <amodra@gmail.com>
29010         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29011         * configure: Regenerate.
29012         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29013         * shlib-versions: Likewise.
29015 2013-10-04  Alan Modra  <amodra@gmail.com>
29017         * string/tester.c (test_memrchr): Increment reported test cycle.
29019 2013-10-04  Alan Modra  <amodra@gmail.com>
29021         * string/test-memcpy.c (do_one_test): When reporting errors, print
29022         string address and don't overrun end of string.
29024 2013-10-04  Alan Modra  <amodra@gmail.com>
29026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29027         insrdi.  Make better use of reg selection to speed exit slightly.
29028         Schedule entry path a little better.  Remove useless "are we done"
29029         checks on entry to main loop.  Handle wrapping around zero address.
29030         Correct main loop count.  Handle single left-over word from main
29031         loop inline rather than by using loop_small.  Remove extra word
29032         case in loop_small caused by wrong loop count.  Add little-endian
29033         support.
29034         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29035         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29036         cache hint.
29037         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29038         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29039         support.  Avoid rlwimi.
29040         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29042 2013-10-04  Alan Modra  <amodra@gmail.com>
29044         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29045         insrdi.  Formatting.
29046         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29047         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29048         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29049         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29050         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29051         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29053 2013-10-04  Alan Modra  <amodra@gmail.com>
29055         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29056         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29057         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29058         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29059         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29060         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29061         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29062         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29063         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29064         use of regs.  Use power7 mtocrf.  Tidy function tails.
29066 2013-10-04  Alan Modra  <amodra@gmail.com>
29068         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29069         Formatting.  Consistently use rXXX register defines or rN defines.
29070         Use early exit labels that avoid restoring unused non-volatile regs.
29071         Make cr field use more consistent with rWORDn compares.  Rename
29072         regs used as shift registers for unaligned loop, using rN defines
29073         for short lifetime/multiple use regs.
29074         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29075         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29076         addi 1,1,64 to pop stack frame.  Simplify return value code.
29077         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29079 2013-10-04  Alan Modra  <amodra@gmail.com>
29081         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29082         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29083         rather than rlwimi.
29084         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29085         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29086         little-endian support.  Correct typos.
29087         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29088         rather than rlwimi.
29089         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29090         in loop and entry code to keep "and." results.
29091         (strchr): Add little-endian support.  Comment.  Move cntlzd
29092         earlier in tail.
29093         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29095 2013-10-04  Alan Modra  <amodra@gmail.com>
29097         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29098         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29099         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29100         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29102 2013-10-04  Alan Modra  <amodra@gmail.com>
29104         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29105         (rTMP): Define as r11.
29106         (strcmp): Add little-endian support.  Optimise tail.
29107         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29108         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29109         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29110         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29111         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29115 2013-10-04  Alan Modra  <amodra@gmail.com>
29117         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29118         little-endian support.  Remove unnecessary "are we done" tests.
29119         Handle "s" wrapping around zero and extremely large "size".
29120         Correct main loop count.  Handle single left-over word from main
29121         loop inline rather than by using small_loop.  Correct comments.
29122         Delete "zero" tail, use "end_max" instead.
29123         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29125 2013-10-04  Alan Modra  <amodra@gmail.com>
29127         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29128         support.  Don't branch over align.
29129         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29130         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29131         support.  Rearrange tmp reg use to suit.  Comment.
29132         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29134 2013-10-04  Alan Modra  <amodra@gmail.com>
29136         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29138 2013-10-04  Alan Modra  <amodra@gmail.com>
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29141         conditional form of branch and link when obtaining pc.
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29144 2013-10-04  Alan Modra  <amodra@gmail.com>
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29147         HIWORD/LOWORD.
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29151 2013-10-04  Alan Modra  <amodra@gmail.com>
29153         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29154         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29155         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29156         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29157         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29158         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29159         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29160         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29161         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29162         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29164 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29165             Alistair Popple <alistair@ozlabs.au.ibm.com>
29166             Alan Modra <amodra@gmail.com>
29168         [BZ #15723]
29169         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29170         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29171         _dl_hwcap access for little-endian.
29172         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29173         destroy vmx regs when saving unaligned.
29174         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29175         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29176         destroy vmx regs when saving unaligned.
29178 2013-10-04  Alan Modra  <amodra@gmail.com>
29180         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29181         Don't use a union to pack hi/low value.
29183 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29185         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29186         for little-endian.
29187         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29188         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29189         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29190         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29191         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29193 2013-10-04  Alan Modra  <amodra@gmail.com>
29195         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29196         constants to usual value for .cst8 section, and remove redundant
29197         high address load.
29198         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29199         constant for 0x1p52.  Load little-endian words of double from
29200         correct stack offsets.
29202 2013-10-04  Alan Modra  <amodra@gmail.com>
29204         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29205         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29206         words of double from correct stack offsets.
29207         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29208         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29209         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29210         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29211         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29212         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29213         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29214         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29215         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29216         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29217         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29218         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29219         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29220         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29221         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29222         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29223         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29225 2013-10-04  Alan Modra  <amodra@gmail.com>
29227         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29228         64-bit int/double union.
29229         (_FPU_SETCW): Likewise.
29230         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29231         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29233 2013-10-04  Alan Modra  <amodra@gmail.com>
29235         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29236         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29238 2013-10-04  Alan Modra  <amodra@gmail.com>
29240         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29241         use vector int constants.
29242         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29244 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29246         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29247         array with long long.
29248         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29249         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29250         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29251         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29252         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29253         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29254         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29255         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29256         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29257         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29258         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29259         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29260         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29262 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29264         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29265         (__signbit): Likewise.  Correct for little-endian.
29266         (__signbitl): Call __signbit.
29267         (lrint): Correct for little-endian.
29268         (lrintf): Call lrint.
29270 2013-10-04  Alan Modra  <amodra@gmail.com>
29272         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29273         union 32-bit int array member with 64-bit int array.
29274         (t515, tm256): Double rather than long double.
29275         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29277 2013-10-04  Alan Modra  <amodra@gmail.com>
29279         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29280         Delete.
29281         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29283         version of math_ldbl.h.
29285 2013-10-04  Alan Modra  <amodra@gmail.com>
29287         [BZ #15734], [BZ #15735]
29288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29289         all uses of ieee875 long double macros and unions.  Simplify test
29290         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29291         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29292         normalize after ldbl_extract_mantissa, and don't add hidden bit
29293         already handled.  Don't treat low word of ieee854 mantissa like
29294         low word of IBM long double and mask off bit when testing for
29295         zero.
29296         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29297         all uses of ieee875 long double macros and unions.  Simplify tests
29298         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29299         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29300         two1022, instead use their values.  Recognise that tests for large
29301         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29302         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29303         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29304         test for 0.0L and nan.  Correct negation.
29305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29306         ieee875 long double macros and unions.  Correct output for large
29307         magnitude x.  Correct absolute value calculation.
29308         (__erfcl): Likewise.
29309         * math/libm-test.inc: Add tests for errors discovered in IBM long
29310         double versions of fmodl, remainderl, erfl and erfcl.
29312 2013-10-04  Alan Modra  <amodra@gmail.com>
29314         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29315         all uses of ieee854 long double macros and unions.  Simplify tests
29316         for long doubles that are fully specified by the high double.
29317         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29318         Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29320         Remove dead code too.
29321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29322         (__ieee754_ynl): Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29324         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29325         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29326         Remove dead code too.
29327         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29328         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29331         Simplify.
29332         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29333         Simplify.
29334         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29335         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29336         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29337         Comment on variable precision.
29338         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29339         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29340         Likewise.
29341         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29342         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29343         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29344         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29345         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29347 2013-10-04  Alan Modra  <amodra@gmail.com>
29349         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29350         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29351         all uses of ieee854 long double macros and unions.
29352         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29353         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29354         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29355         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29356         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29357         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29358         Likewise.
29359         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29360         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29361         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29364         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29365         Simplify sign and nan test too.
29366         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29367         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29369         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29370         Likewise.
29371         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29372         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29373         Likewise.
29374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29375         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29376         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29377         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29378         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29381 2013-10-04  Alan Modra  <amodra@gmail.com>
29383         * stdio-common/printf_size.c (__printf_size): Don't use
29384         union ieee854_long_double in fpnum union.
29385         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29386         signbit macro to retrieve sign from long double.
29387         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29388         retrieve sign from long double.
29389         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29390         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29391         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29392         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29393         * math/test-misc.c (main): Don't use union ieee854_long_double.
29395 2013-10-04  Alan Modra  <amodra@gmail.com>
29397         [BZ #15680]
29398         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29399         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29400         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29401         calculation.  Remove unnecessary test for denormal exponent.
29402         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29403         Correct handling of denormals.  Avoid undefined shift behaviour.
29404         Correct normalisation of low mantissa when low double is denormal.
29405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29406         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29407         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29408         Correct normalisation of low mantissa.  Test for overflow of high
29409         mantissa and normalise.
29410         (ldbl_nearbyint): Use more readable constant for two52.
29411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29412         (__mpn_construct_long_double): Fix test for overflow of high
29413         mantissa and correct normalisation.  Avoid undefined shift.
29415 2013-10-04  Alan Modra  <amodra@gmail.com>
29417         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29418         (union ibm_extended_long_double): Define as an array of ieee754_double.
29419         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29420         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29421         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29422         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29423         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29424         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29425         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29426         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29429         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29431 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29433         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29434         page size instead of calling getpagesize.
29436         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29437         (LOCFILE_ALIGN_MASK): Likewise.
29438         (LOCFILE_ALIGN_UP): Likewise.
29439         (LOCFILE_ALIGNED_P): Likewise.
29440         * locale/programs/ld-collate.c (collate_output): Use the new
29441         macros instead of __alignof__ (int32_t).
29442         * locale/weight.h (findidx): Likewise.
29444 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29446         [BZ #431]
29447         * manual/string.texi: Fix strncat and wcsncat.
29449 2013-10-03  Brooks Moses  <bmoses@google.com>
29451         [BZ #15915]
29452         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29453         * Makerules: ...here, and adjust associated comments.
29455 2013-10-02  Will Newton  <will.newton@linaro.org>
29457         * malloc/Makefile: Add tst-pvalloc.
29458         * malloc/tst-pvalloc.c: New file.
29460 2013-10-02  Will Newton  <will.newton@linaro.org>
29462         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29463         improve test coverage.
29465 2013-10-02  Will Newton  <will.newton@linaro.org>
29467         * malloc/Makefile: Add tst-posix_memalign.
29468         * malloc/tst-posix_memalign.c: New file.
29470 2013-10-01  Eric Blake  <eblake@redhat.com>
29472         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29473         Use __THROWNL rather than __THROW on static functions.
29475 2013-09-30  Petr Machata  <pmachata@redhat.com>
29477         * elf/elf.h (R_AARCH64_ABS16): New macro.
29478         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29479         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29480         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29481         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29482         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29483         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29484         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29485         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29486         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29487         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29488         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29489         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29490         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29491         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29492         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29493         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29494         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29495         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29496         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29497         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29498         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29499         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29500         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29501         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29502         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29503         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29504         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29505         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29506         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29507         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29508         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29509         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29510         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29511         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29512         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29513         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29514         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29515         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29516         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29517         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29518         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29519         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29520         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29521         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29522         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29523         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29524         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29525         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29526         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29527         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29528         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29529         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29530         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29531         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29532         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29533         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29534         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29535         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29536         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29537         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29538         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29539         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29540         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29541         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29542         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29543         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29544         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29545         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29546         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29547         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29548         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29549         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29550         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29551         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29552         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29553         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29554         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29555         (R_AARCH64_TLSDESC_LDR): Likewise.
29556         (R_AARCH64_TLSDESC_ADD): Likewise.
29557         (R_AARCH64_TLSDESC_CALL): Likewise.
29559 2013-09-30  Andreas Schwab  <schwab@suse.de>
29561         [BZ #15048]
29562         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29563         the nss database lookup.
29564         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29567 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29569         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29571 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29573         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29574         ${Bash-specific parameter/pattern/string} parameter expansion.
29575         * sysdeps/unix/make-syscalls.sh: Likewise.
29577 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29579         * sysdeps/sh/stackguard-macros.h: New file.
29581 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29585         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29586         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29587         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29588         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29590 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29592         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29593         Fix thread ID register.
29595 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29597         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29598         [POSIX || UNIX98]: Require rather than permitting all symbols from
29599         <time.h>.
29600         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29601         element of struct sched_param.
29602         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29603         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29604         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29605         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29606         constant.
29608 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29610         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29611         argument calculation.
29613 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29615         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29616         Expect macro.
29617         [POSIX] (pthread_attr_t): Do not require type.
29618         [POSIX] (pthread_cond_t): Likewise.
29619         [POSIX] (pthread_condattr_t): Likewise.
29620         [POSIX] (pthread_key_t): Likewise.
29621         [POSIX] (pthread_mutex_t): Likewise.
29622         [POSIX] (pthread_mutexattr_t): Likewise.
29623         [POSIX] (pthread_once_t): Likewise.
29624         [POSIX] (pthread_t): Likewise.
29625         [POSIX-based standards] (pthread_atfork): Expect function.
29627 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29628             Richard Sandiford  <richard@codesourcery.com>
29630         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29631         (swap_endianness_p): New extern variable.
29632         (set_big_endian): New inline function.
29633         (maybe_swap_uint32): Likewise.
29634         (maybe_swap_uint32_array): Likewise.
29635         (maybe_swap_uint32_obstack): Likewise.
29636         * locale/programs/locfile.c: Include <stdbool.h>.
29637         (swap_endianness_p): New variable.
29638         (add_locale_uint32): Call maybe_swap_uint32.
29639         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29640         (write_locale_data): Call maybe_swap_uint32_array.
29641         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29642         maybe_swap_uint32.
29643         (obstack_int32_grow_fast): Likewise.
29644         (output_weightwc): Call maybe_swap_uint32_obstack.
29645         (collate_output): Likewise.
29646         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29647         (OPT_LITTLE_ENDIAN): Likewise.
29648         (options): Add --little-endian and --big-endian options.
29649         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29650         * locale/programs/locarchive.c: Include "locfile.h".
29651         (GET): New macro.
29652         (SET): Likewise.
29653         (INC): Likewise.
29654         (create_archive): Use the new macros to access fields of
29655         structures directly mapped from or written to locale archives.
29656         (oldlocrecentcmp): Likewise.
29657         (enlarge_archive): Likewise.
29658         (insert_name): Likewise.
29659         (add_alias): Likewise.
29660         (add_locale): Likewise.
29661         (delete_locales_from_archive): Likewise.
29662         (show_archive_content): Likewise.
29663         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29664         locale data.
29666 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29668         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29669         http://www.gnu.org/doc/freemanuals.texi.
29670         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29672 2013-09-24  Will Newton  <will.newton@linaro.org>
29674         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29675         macro.
29677 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29679         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29680         unsigned char.
29682 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29684         * manual/threads.texi (POSIX Threads): Fix a typo.
29686 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29688         [BZ #14547]
29689         * string/tst-strcoll-overflow.c: New test case.
29690         * string/Makefile (xtests): Add tst-strcoll-overflow.
29691         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29692         cache if string sizes may cause integer overflow.
29694         [BZ #14547]
29695         * string/strcoll_l.c (coll_seq): New members rule, idx,
29696         save_idx and back_us.
29697         (get_next_seq_nocache): New function.
29698         (do_compare_nocache): New function.
29699         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29700         when malloc fails.
29702 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29704         [BZ #15754]
29705         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29706         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29707         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29709         [BZ #15754]
29710         * elf/Makefile (tests): Add tst-ptrguard1.
29711         (tests-static): Add tst-ptrguard1-static.
29712         (tst-ptrguard1-ARGS): Define.
29713         (tst-ptrguard1-static-ARGS): Define.
29714         * elf/tst-ptrguard1.c: New file.
29715         * elf/tst-ptrguard1-static.c: New file.
29716         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29717         * sysdeps/i386/stackguard-macros.h: Likewise.
29718         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29719         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29720         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29721         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29722         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29723         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29725 2013-09-23  Hector Marco  <hecmargi@upv.es>
29726             Ismael Ripoll  <iripoll@disca.upv.es>
29727             Carlos O'Donell  <carlos@redhat.com>
29729         [BZ #15754]
29730         * sysdeps/generic/stackguard-macros.h: Define
29731         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29732         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29733         Define __pointer_chk_guard_local.
29734         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29735         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29737 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29739         [BZ #15859]
29740         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29742 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29744         * include/string.h (__ffs): Declare as hidden.
29745         * string/ffs.c (__ffs): Define as hidden.
29746         * sysdeps/i386/ffs.c (__ffs): Likewise.
29747         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29748         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29749         * sysdeps/s390/ffs.c (__ffs): Likewise.
29750         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29752 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29754         * NEWS: Mention malloc probes.
29756         * malloc/arena.c (new_heap): New memory_heap_new probe.
29757         (grow_heap): New memory_heap_more probe.
29758         (shrink_heap): New memory_heap_less probe.
29759         (heap_trim): New memory_heap_free probe.
29760         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29761         (systrim): New memory_sbrk_less probe.
29762         * manual/probes.texi: Document them.
29764         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29765         * manual/probes.texi: Document it.
29767         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29768         (__libc_realloc): Add memory_realloc_retry probe.
29769         (__libc_memalign): Add memory_memalign_retry probe.
29770         (__libc_valloc): Add memory_valloc_retry probe.
29771         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29772         (__libc_calloc): Add memory_calloc_retry probe.
29773         * manual/probes.texi: Document them.
29775         * malloc/arena.c (get_free_list): Add probe
29776         memory_arena_reuse_free_list.
29777         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29778         and memory_arena_reuse.
29779         (arena_get2) [!PER_THREAD]: Likewise.
29780         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29781         memory_arena_reuse_realloc.
29782         * manual/probes.texi: Document them.
29784         * malloc/malloc.c (__libc_free): Add
29785         memory_mallopt_free_dyn_thresholds probe.
29786         (__libc_mallopt): Add multiple memory_mallopt probes.
29787         * manual/probes.texi: Document them.
29789         * malloc/malloc.c: Include stap-probe.h.
29790         (__libc_mallopt): Add memory_mallopt probe.
29791         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29792         * manual/probes.texi: New.
29793         * manual/Makefile (chapters): Add probes.
29794         * manual/threads.texi: Set next node.
29796 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29798         [BZ #15963, #13985]
29799         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29800         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29801         Add `Chinese' to `nan' entry name.
29803 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29805         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29806         (POLYNOMIAL): Likewise.
29807         (TAYLOR_SINCOS): Likewise.
29808         (TAYLOR_SLOW): Likewise.
29809         (__sin): Use TAYLOR_SINCOS.
29810         (__cos): Likewise.
29811         (slow): Use TAYLOR_SLOW.
29812         (sloww): Likewise.
29813         (bsloww): Likewise.
29814         (csloww): Likewise.
29816 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29818         * stdlib/strtod_l.c: Fix buffer overrun.
29820 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29822         * benchtests/Makefile (bench): Add sincos.
29823         * benchtests/bench-sincos.c: New file.
29825         * math/libm-test.inc (cos_test_data): New test inputs.
29826         (sin_test_data): Likewise.
29828         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29829         macro.
29830         (__sin): Use it.
29831         (__cos): Likewise.
29832         (slow1): Likewise.
29833         (slow2): Likewise.
29834         (sloww1): Likewise.
29835         (sloww2): Likewise.
29836         (bsloww1): Likewise.
29837         (bsloww2): Likewise.
29838         (cslow2): Likewise.
29839         (csloww1): Likewise.
29840         (csloww2): Likewise.
29842         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29843         function.
29844         (__sin): Use it.
29845         (__cos): Likewise.
29847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29848         gotos.
29849         (__cos): Likewise.
29851 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29853         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29854         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29855         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29856         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29857         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29858         * elf/cache.c (print_entry): Handle the new cache flags.
29860 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29861             Aldy Hernandez  <aldyh@redhat.com>
29863         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29864         Change condition to [_SOFT_FLOAT].
29865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29877         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29880         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29881         declaration.
29883 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29885         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29886         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29887         (__longjmp): Use LOAD_GP to load saved GPRs.
29888         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29889         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29890         (__sigsetjmp): Use SAVE_GP to save GPRs.
29892         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29893         Do not append -msoft-float.
29894         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29896 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29898         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29900 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29902         [BZ #15966]
29903         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29904         (_FPU_GETCW): Use initial "__" on variable and field names but not
29905         on macro parameter name.
29906         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29907         parentheses around reference to macro parameter.
29909 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29911         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29912         prototype.
29913         (ctype_startup): Use uint32_t in cast and sizeof for
29914         ctype->charnames.
29916 2013-09-11  Jia Liu  <proljc@gmail.com>
29918         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29919         __daddr_t_defined.
29920         [__FreeBSD__]: Likewise.
29922 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29925         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29926         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29927         (strchr): Remove __strchr_sse42 ifunc selection.
29928         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29929         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29931 2013-09-11  Will Newton  <will.newton@linaro.org>
29933         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29934         parameter to RES. Remove hardcoded 1000 value.
29935         * benchtests/bench-skeleton.c (main): Pass RES parameter
29936         to TIMING_INIT and multiply result by 1000.
29938 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29942 2013-09-11  Andreas Schwab  <schwab@suse.de>
29944         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29945         if not defined.
29946         (O_TMPFILE) [__USE_GNU]: Define.
29947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29948         Define.
29950 2013-09-11  Will Newton  <will.newton@linaro.org>
29952         [BZ #15857]
29953         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29954         does not overflow.
29956 2013-09-11  Will Newton  <will.newton@linaro.org>
29958         [BZ #15856]
29959         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29960         does not overflow.
29962 2013-09-11  Will Newton  <will.newton@linaro.org>
29964         [BZ #15855]
29965         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29966         does not overflow.
29968 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29970         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29971         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29972         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29973         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29974         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29976 2013-09-10  Allan McRae  <allan@archlinux.org>
29978         [BZ #15748]
29979         * manual/arith.texi (Parsing of Floats): Clarify
29980         cross-reference.
29982         [BZ #15849]
29983         * manual/install.texi (Running make install): Mention
29984         --enable-pt-chown.
29985         * INSTALL: Regenerated.
29987 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29989         * csu/init-first.c (_init): Remove the !SHARED condition around
29990         FPU control word initialization.
29991         * elf/dl-support.c (_dl_fpu_control): New variable.
29992         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29993         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29994         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29995         * math/test-fpucw-static.c: New file.
29996         * math/test-fpucw-ieee.c: New file.
29997         * math/test-fpucw-ieee-static.c: New file.
29998         * math/Makefile (tests): Add `test-fpucw-ieee' and
29999         `$(tests-static)'.
30000         (tests-static): New variable.
30001         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30002         dependency to...
30003         [($(build-shared),yes)]
30004         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30005         ... this.
30006         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30007         New dependency.
30009 2013-09-09  Allan McRae  <allan@archlinux.org>
30011         [BZ #15939]
30012         * manual/string.texi (Collation Functions): Fix typo in
30013         strcoll example.
30014         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30016         [BZ #15893]
30017         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30019         [BZ #15892]
30020         * libio/memstream.c (open_memstream): Fix memory leak.
30021         * libio/wmemstream.c (open_wmemstream): Likewise.
30023         [BZ #15895]
30024         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30026 2013-09-09  Will Newton  <will.newton@linaro.org>
30028         * malloc/Makefile: Add tst-realloc to tests.
30029         * malloc/tst-realloc.c: New file.
30031 2013-09-09  Allan McRae  <allan@archlinux.org>
30033         [BZ #15844]
30034         * COPYING: Update from GNU website to fix FSF address.
30035         * COPYING.LIB: Likewise.
30037 2013-09-06  David S. Miller  <davem@davemloft.net>
30039         * po/zh_TW.po: Update Chinese (traditional) translation from
30040         translation project.
30042 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30043             Joseph Myers  <joseph@codesourcery.com>
30045         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30046         "localeinfo.h".
30047         (obstack_chunk_alloc): New macro.
30048         (obstack_chunk_free): Likewise.
30049         (record_offset): New function.
30050         (init_locale_data): Likewise.
30051         (align_locale_data): Likewise.
30052         (add_locale_empty): Likewise.
30053         (add_locale_raw_data): Likewise.
30054         (add_locale_raw_obstack): Likewise.
30055         (add_locale_string): Likewise.
30056         (add_locale_wstring): Likewise.
30057         (add_locale_uint32): Likewise.
30058         (add_locale_uint32_array): Likewise.
30059         (add_locale_char): Likewise.
30060         (start_locale_structure): Likewise.
30061         (end_locale_structure): Likewise.
30062         (start_locale_prelude): Likewise.
30063         (end_locale_prelude): Likewise.
30064         (write_locale_data): Take locale_file structure rather than an
30065         iovec.
30066         * locale/programs/locfile.h: Include "obstack.h".
30067         (struct locale_file): Change to store locale file contents instead
30068         of header.
30069         (init_locale_data): New prototype.
30070         (align_locale_data): Likewise.
30071         (add_locale_empty): Likewise.
30072         (add_locale_raw_data): Likewise.
30073         (add_locale_raw_obstack): Likewise.
30074         (add_locale_string): Likewise.
30075         (add_locale_wstring): Likewise.
30076         (add_locale_uint32): Likewise.
30077         (add_locale_uint32_array): Likewise.
30078         (add_locale_char): Likewise.
30079         (start_locale_structure): Likewise.
30080         (end_locale_structure): Likewise.
30081         (start_locale_prelude): Likewise.
30082         (end_locale_prelude): Likewise.
30083         (write_locale_data): Update prototype.
30084         * locale/programs/3level.h (struct TABLE): Remove result field.
30085         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30086         Use new locale_file interface.
30087         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30088         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30089         * locale/programs/ld-address.c (address_output): Use new
30090         locale_file interface.
30091         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30092         NO_ADD_LOCALE.
30093         (collate_finish): Don't call collseq_table_finalize.
30094         (collate_output): Use new locale_file interface.
30095         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30096         in file.
30097         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30098         (TABLE): Move defines earlier in file.
30099         (ELEMENT): Likewise.
30100         (DEFAULT): Likewise.
30101         (wctrans_table_add): Move macro and inline function earlier in
30102         file.
30103         (struct wctype_table): Move type earlier in file.
30104         (add_locale_wctype_table): New static prototype.
30105         (struct locale_ctype_t): Use logical types instead of struct iovec
30106         pointers for members.
30107         (ctype_output): Use new locale_file interface.
30108         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30109         new locale_file interface.
30110         (allocate_arrays): Update for use of new locale_file interface.
30111         * locale/programs/ld-identification.c (identification_output): Use
30112         new locale_file interface.
30113         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30114         * locale/programs/ld-messages.c (messages_output): Likewise.
30115         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30116         * locale/programs/ld-name.c (name_output): Likewise.
30117         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30118         * locale/programs/ld-paper.c (paper_output): Likewise.
30119         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30120         * locale/programs/ld-time.c (time_output): Likewise.
30122 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30124         * benchtests/Makefile: Add memrchr benchmark.
30125         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30126         benchmark as memrchr.
30127         * benchtests/bench-memrchr-ifunc.c: New file.
30128         * benchtests/bench-memrchr.c: New file.
30130 2013-09-06   Will Newton  <will.newton@linaro.org>
30132         * benchtests/Makefile (string-bench): Add memcpy.
30134 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30135             Cong Wang  <amwang@redhat.com>
30137         [BZ #15850]
30138         * sysdeps/unix/sysv/linux/bits/in.h
30139         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30140         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30141         before __USE_KERNEL_IPV6_DEFS uses.
30142         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30143         IPPROTO_BEETPH.
30144         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30145         sockaddr_in6, or ipv6_mreq.
30147 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30149         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30150         memory access for final bytes in some large inputs.
30151         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30153 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30155         * string/test-memrchr.c: New file.
30156         * string/test-memrchr-ifunc.c: New file.
30157         * string/Makefile: Add new memrchr testcase.
30159 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30161         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30162         fanotify_init returns EPERM.
30164 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30166         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30167         errors.
30168         (top level): Treat second token from macro or constant entries for
30169         allowed headers as allowed.
30170         * include/complex.h: Condition internal declarations on
30171         [!_ISOMAC].
30172         * include/fenv.h: Condition include of <stdbool.h> and internal
30173         declarations on [!_ISOMAC].
30175 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30177         [BZ #15923]
30178         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30180 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30182         * configure.in (--enable-versioning): Remove configure option.
30183         (libc_cv_asm_symver_directive): Remove configure test.
30184         (libc_cv_ld_version_script_option): Likewise.
30185         (VERSIONING): Remove variable and AC_SUBST.
30186         (DO_VERSIONING): Remove AC_DEFINE.
30187         * configure: Regenerated.
30188         * config.h.in (DO_VERSIONING): Remove macro.
30189         * Makerules [$(versioning) = yes]: Change conditionals to
30190         [$(build-shared) = yes].
30191         * config.make.in (versioning): Remove variable.
30192         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30193         [$(build-shared) = yes].
30194         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30195         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30196         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30197         [$(build-shared) = yes].
30198         * extra-lib.mk [$(versioning) = yes]: Likewise.
30199         * hurd/Makefile [$(versioning) = yes]: Likewise.
30200         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30201         [SHARED].
30202         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30203         [SHARED].
30204         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30205         [SHARED && !NO_HIDDEN].
30206         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30207         [SHARED].
30208         [SHARED && DO_VERSIONING]: Likewise..
30209         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30210         [$(build-shared) = yes].
30211         * manual/install.texi (--disable-versioning): Remove
30212         documentation.
30213         * INSTALL: Regenerated.
30214         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30215         to [SHARED].
30216         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30217         [$(build-shared) = yes].
30218         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30219         * sysdeps/i386/i686/multiarch/strstr-c.c
30220         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30221         [SHARED && !NO_HIDDEN].
30222         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30223         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30224         * sysdeps/powerpc/powerpc32/dl-machine.c
30225         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30226         * sysdeps/powerpc/powerpc32/sysdep.h
30227         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30228         to [SHARED && PIC && !NO_HIDDEN].
30229         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30230         conditional to [SHARED].
30232 2013-09-04   Will Newton  <will.newton@linaro.org>
30234         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30235         * benchtests/bench-string.h: Include bench-timing.h instead
30236         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30237         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30238         call to HP_TIMING_DIFF_INIT.
30239         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30240         instead of hp-timing.h macros.
30241         * benchtests/bench-memchr.c: Likewise.
30242         * benchtests/bench-memcmp.c: Likewise.
30243         * benchtests/bench-memcpy.c: Likewise.
30244         * benchtests/bench-memmem.c: Likewise.
30245         * benchtests/bench-memmove.c: Likewise.
30246         * benchtests/bench-memset.c: Likewise.
30247         * benchtests/bench-rawmemchr.c: Likewise.
30248         * benchtests/bench-strcasecmp.c: Likewise.
30249         * benchtests/bench-strcasestr.c: Likewise.
30250         * benchtests/bench-strcat.c: Likewise.
30251         * benchtests/bench-strchr.c: Likewise.
30252         * benchtests/bench-strcmp.c: Likewise.
30253         * benchtests/bench-strcpy.c: Likewise.
30254         * benchtests/bench-strcpy_chk.c: Likewise.
30255         * benchtests/bench-strlen.c: Likewise.
30256         * benchtests/bench-strncasecmp.c: Likewise.
30257         * benchtests/bench-strncat.c: Likewise.
30258         * benchtests/bench-strncmp.c: Likewise.
30259         * benchtests/bench-strncpy.c: Likewise.
30260         * benchtests/bench-strnlen.c: Likewise.
30261         * benchtests/bench-strpbrk.c: Likewise.
30262         * benchtests/bench-strrchr.c: Likewise.
30263         * benchtests/bench-strspn.c: Likewise.
30264         * benchtests/bench-strstr.c: Likewise.
30266 2013-09-04  Will Newton  <will.newton@linaro.org>
30268         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30270 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30272         [BZ #15427]
30273         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30274         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30275         * math/libm-test.inc (lgamma_test_data): Add more tests.
30276         * sysdeps/i386/fpu/libm-test-ulps: Update.
30277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30279 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30281         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30283         Add ifunc.
30284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30285         Add strcmp-sse2-unaligned
30286         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30288 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30290         * Versions.def (libc): Add GLIBC_2.19.
30292 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30294         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30295         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30297 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30299         [BZ #14155]
30300         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30301         intermediate calculations in recurrence.
30302         (__ieee754_ynf): Likewise.
30303         * math/libm-test.inc (jn_test_data): Do not allow spurious
30304         underflow exception.  Add more tests.
30305         (yn_test_data): Add more tests.
30306         * sysdeps/i386/fpu/libm-test-ulps: Update.
30307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30309 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30313 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30315         * csu/init-first.c: Fix then/than typos.
30316         * locale/programs/ld-collate.c: Likewise.
30317         * locale/programs/linereader.h: Likewise.
30318         * manual/charset.texi: Likewise.
30319         * manual/filesys.texi: Likewise.
30320         * manual/stdio.texi: Likewise.
30321         * manual/string.texi: Likewise.
30322         * stdlib/fmtmsg.c: Likewise.
30323         * sysdeps/i386/stpncpy.S: Likewise.
30324         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30325         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30327         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30329 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30331         * elf/dl-open.c: Fix typos.
30332         * iconvdata/gbbig5.c: Likewise.
30333         * iconvdata/iso-2022-jp.c: Likewise.
30334         * iconv/gconv_int.h: Likewise.
30335         * iconv/loop.c: Likewise.
30336         * nis/rpcsvc/nis.h: Likewise.
30337         * resolv/ns_name.c: Likewise.
30338         * stdio-common/vfscanf.c: Likewise.
30339         * streams/stropts.h: Likewise.
30340         * sunrpc/rpc_thread.c: Likewise.
30341         * sysdeps/i386/strpbrk.S: Likewise.
30342         * sysdeps/ieee754/k_standard.c: Likewise.
30343         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30345         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30346         * sysdeps/mach/hurd/profil.c: Likewise.
30347         * sysdeps/s390/dl-procinfo.h: Likewise.
30348         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30349         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30350         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30351         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30352         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30354 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30356         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30359 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30361         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30362         aix specific files.
30363         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30364         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30365         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30366         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30367         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30368         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30369         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30370         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30372 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30373             Roland McGrath  <roland@hack.frob.com>
30375         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30376         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30378 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30380         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30381         __executable_start symbol instead of _start.
30383 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30385         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30386         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30387         Move macros to...
30388         * sysdeps/gnu/ldsodefs.h: ... this new file.
30390         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30391         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30392         instead of ELFOSABI_LINUX.
30394         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30395         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30396         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30397         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30398         Likewise.
30399         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30400         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30401         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30402         Likewise.
30403         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30404         (ibm_extended_long_double): Add ieee_nan member.
30405         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30406         (do_test): New function.
30408         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30409         TEST_TRUNC.
30410         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30411         functions, renamed from truncdfsf_test, trunctfsf_test,
30412         trunctfdf_test.
30413         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30414         functions.
30415         (do_test): Run all these.
30417 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30419         * argp/argp-help.c: Fix typos.
30420         * argp/argp-parse.c: Likewise.
30421         * debug/backtracesyms.c: Likewise.
30422         * elf/elf.h: Likewise.
30423         * malloc/malloc.c: Likewise.
30424         * nis/nis_print.c: Likewise.
30425         * resolv/res_comp.c: Likewise.
30426         * stdlib/stdlib.h: Likewise.
30427         * sunrpc/clnt_tcp.c: Likewise.
30428         * sunrpc/clnt_udp.c: Likewise.
30429         * sunrpc/clnt_unix.c: Likewise.
30430         * sysdeps/unix/bsd/ptsname.c: Likewise.
30431         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30432         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30434         Likewise.
30435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30436         Likewise.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30438         Likewise.
30439         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30441 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30443         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30446 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30448         [BZ #15897]
30449         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30450         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30451         ($(objpfx)bug-dl-leaf): New rule.
30452         ($(objpfx)bug-dl-leaf.so): Likewise.
30453         ($(objpfx)bug-dl-leaf.out): Likewise.
30454         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30455         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30456         * dlfcn/bug-dl-leaf.c: New test.
30457         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30458         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30459         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30460         (dlclose): Likewise.
30461         (dlmopen): Likewise.
30463 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30465         * include/netdb.h [!_ISOMAC]:
30466         Don't include <tls.h>.
30467         (h_errno, __libc_h_errno): Move declaration and macros out of
30468         [_LIBC_REENTRANT].
30470         * include/resolv.h [_RESOLV_H_]:
30471         Don't include <tls.h>.
30472         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30473         * resolv/res_libc.c: Don't include <tls.h>.
30474         (_res): Use __attribute__ ((nocommon)) in place of
30475         __attribute__ ((section (".bss"))).
30477         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30478         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30480         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30482         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30483         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30485         * resolv/res_mkquery.c: Include <sys/time.h>.
30487         * inet/ifreq.c: Moved to ...
30488         * sysdeps/unix/ifreq.c: ... here.
30489         * inet/ifreq.c: New file, true stub version.
30491         * socket/sa_len.c: New file.
30492         * socket/Makefile (aux): Add it.
30493         * sysdeps/unix/sysv/linux/Makefile
30494         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30495         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30496         and #include <socket/sa_len.c>.
30497         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30498         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30500         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30501         * bits/socket.h: ... here.
30503         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30504         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30505         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30507 2013-08-27  Andreas Schwab  <schwab@suse.de>
30509         [BZ #15736]
30510         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30511         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30512         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30513         * string/test-strcasecmp.c (test_main): Run tests in several
30514         locales.
30515         * string/test-strncasecmp.c (test_main): Likewise.
30517         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30518         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30519         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30520         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30521         (__strncasecmp_ssse3) [PIC]: Likewise.
30523 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30525         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30527         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30528         instead of explicitly declaring xdecrypt.
30529         * nis/nss_nis/nis-publickey.c: Likewise.
30531 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30533         [BZ #15890]
30534         * nscd/aicache.c: Include res_hconf.h.
30535         (addhstaiX): Initialize res_hconf.
30537 2013-08-26  Andreas Schwab  <schwab@suse.de>
30539         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30540         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30542 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30544         * nscd/aicache.c (addhstaiX): Fix indentation.
30546 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30548         * configure.ac: Quote $build_pt_chown test.
30549         * configure: Regenerated.
30551 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #15532]
30554         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30555         * math/s_cexpf.c (__cexpf): Likewise.
30556         * math/s_cexpl.c (__cexpl): Likewise.
30557         * math/libm-test.inc (cexp_test_data): Correct expected return
30558         value for NaN + i0.  Add another test.
30560 2013-08-22  David S. Miller  <davem@davemloft.net>
30562         * po/ca.po: Update Catalan translation from translation project.
30563         * po/uk.po: Add Ukrainian translations from translation project.
30565 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30567         [BZ #15797]
30568         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30569         is infinite, not alongside NaN test.
30570         * math/s_fdimf.c (__fdimf): Likewise.
30571         * math/s_fdiml.c (__fdiml): Likewise.
30572         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30573         errno is unchanged.
30575 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30577         * argp/argp-help.c: Fix typos.
30578         * crypt/speeds.c: Likewise.
30579         * csu/check_fds.c: Likewise.
30580         * elf/dl-load.c: Likewise.
30581         * elf/dl-open.c: Likewise.
30582         * elf/reldep3.c: Likewise.
30583         * elf/reldep.c: Likewise.
30584         * elf/sprof.c: Likewise.
30585         * iconv/iconv_charmap.c: Likewise.
30586         * iconv/skeleton.c: Likewise.
30587         * iconv/strtab.c: Likewise.
30588         * io/lockf64.c: Likewise.
30589         * libio/libioP.h: Likewise.
30590         * resolv/gai_notify.c: Likewise.
30591         * resolv/ns_name.c: Likewise.
30592         * resolv/ns_samedomain.c: Likewise.
30593         * resolv/res_send.c: Likewise.
30594         * stdlib/random.c: Likewise.
30595         * sunrpc/rpc/xdr.h: Likewise.
30596         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30597         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30598         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30599         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30600         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30601         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30603         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30604         * sysdeps/mach/hurd/check_fds.c: Likewise.
30605         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30606         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30607         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30608         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30609         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30610         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30611         * sysdeps/pthread/aio_notify.c: Likewise.
30612         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30613         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30614         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30616         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30618 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30620         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30621         version if bit_Slow_SSE4_2 is set.
30622         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30623         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30625 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30627         [BZ #15867]
30628         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30629         trampoline stack frame information.
30630         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30631         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30632         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30633         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30634         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30635         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30636         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30637         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30638         sa_flags value.
30639         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30640         interrupting a syscall and set with option SA_SIGINFO.
30642 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30644         [BZ #15531]
30645         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30646         argument is infinite.
30647         * math/s_cprojf.c (__cprojf): Likewise.
30648         * math/s_cprojl.c (__cprojl): Likewise.
30649         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30650         * math/libm-test.inc (cproj_test_data): Add more tests.
30652         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30654         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30655         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30656         size.  Use __ffs to determine corresponding shift.
30658 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30659             Roland McGrath  <roland@hack.frob.com>
30661         * Makefile (INSTALL): Remove trailing blank lines from output of
30662         makeinfo.
30664 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30666         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30667         Align 32 bit compat elf_greg to 8 bytes.
30669 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30671         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30673 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30675         * string/strcoll_l.c (coll_seq): New structure.
30676         (get_next_seq_cached): New function.
30677         (get_next_seq): New function.
30678         (do_compare): New function.
30679         (STRCOLL): Use GNU style definition.  Simplify implementation
30680         by using get_next_seq, get_next_seq_cached and do_compare.
30682 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30684         [BZ #14699]
30685         CVE-2013-4237
30686         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30687         member.
30688         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30689         member.
30690         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30691         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30692         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30693         conditional.
30694         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30695         GETDENTS_64BIT_ALIGNED.
30696         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30697         * manual/filesys.texi (Reading/Closing Directory): Document
30698         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30699         strongly.
30700         * manual/conf.texi (Limits for Files): Add portability note to
30701         NAME_MAX, PATH_MAX.
30702         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30704 2013-08-13  Andreas Schwab  <schwab@suse.de>
30706         [BZ #15749]
30707         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30708         of fabs.
30709         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30710         LDBL_MAX_EXP >= 16384]: Add tests for it.
30712 2013-08-12  David S. Miller  <davem@davemloft.net>
30714         * version.h (RELEASE): Set to "development".
30715         (VERSION): Set to "2.18.90".
30716         * NEWS: Add 2.19 section.
30718 2013-08-03  David S. Miller  <davem@davemloft.net>
30720         * po/ko.po: Update Korean translation from translation project.
30722 2013-08-01  David S. Miller  <davem@davemloft.net>
30724         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30725         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30726         Bilka.
30728 2013-07-30  David S. Miller  <davem@davemloft.net>
30730         * po/fr.po: Update French translation from translation project.
30732 2013-07-28  David S. Miller  <davem@davemloft.net>
30734         * po/cs.po: Update Czech translation from translation project.
30736         * po/sv.po: Update Swedish translation from translation project.
30738 2013-07-27  David S. Miller  <davem@davemloft.net>
30740         * po/eo.po: Update Esperanto translation from translation project.
30742         * po/vi.po: Update Vietnamese translation from translation project.
30744         * po/de.po: Update German translation from translation project.
30746 2013-07-26  David S. Miller  <davem@davemloft.net>
30748         * po/bg.po: Update Bulgarian translation from translation project.
30750         * po/nl.po: Update Dutch translation from translation project.
30751         * po/pl.po: Update Polish translation from translation project.
30752         * po/ru.po: Update Russian translation from translation project.
30754 2013-07-24  David S. Miller  <davem@davemloft.net>
30756         * po/libc.pot: Update.
30758 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30760         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30761         variable page size.
30762         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30763         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30764         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30766 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30768         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30770 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30771             Andreas Schwab  <schwab@suse.de>
30772             Roland McGrath  <roland@hack.frob.com>
30773             Joseph Myers  <joseph@codesourcery.com>
30774             Carlos O'Donell  <carlos@redhat.com>
30776         [BZ #15755]
30777         * config.h.in: Define HAVE_PT_CHOWN.
30778         * config.make.in (build-pt-chown): New variable.
30779         * configure.in (--enable-pt_chown): New configure option.
30780         * configure: Regenerate.
30781         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30782         build-pt-chown is enabled.
30783         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30784         pt_chown to fix pty ownership.
30785         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30786         CLOSE_ALL_FDS.
30787         * manual/install.texi (Configuring and compiling): Mention
30788         --enable-pt_chown. Add @findex for grantpt.
30789         * INSTALL: Regenerate.
30791 2013-07-20  David S. Miller  <davem@davemloft.net>
30793         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30794         difference between 32-bit and 64-bit.
30796 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30798         [BZ #15711]
30799         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30800         Avoid system header dependency with -ffreestanding.
30801         ($(objpfx)bits/syscall%d): Likewise.
30803 2013-07-13  David S. Miller  <davem@davemloft.net>
30805         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30806         underflows from atanl/atan2l due to bug 15319.
30807         (casinh_test_data): Likewise.
30809 2013-07-07  David S. Miller  <davem@davemloft.net>
30811         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30813 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30815         * sysdeps/i386/fpu/libm-test-ulps: Update.
30816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30818 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30820         * configure.in (--enable-lock-elision): Fix message text.
30821         * INSTALL: Regenerate.
30822         * configure: Regenerate.
30824 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30828 2013-07-03  Andreas Jaeger  <aj@suse.de>
30830         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30831         define.
30832         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30833         (ptrace_peeksiginfo_args): Add.
30834         (__ptrace_peeksiginfo_flags): Add.
30835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30836         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30837         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30839 2013-07-03  Allan McRae  <allan@archlinux.org>
30841         * sysdeps/i386/fpu/libm-test-ulps: Update.
30843 2013-07-02  David S. Miller  <davem@davemloft.net>
30845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30847 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30851 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30853         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30856 2013-07-02  Andi Kleen <ak@linux.intel.com>
30858         * config.h.in (ENABLE_LOCK_ELISION): Add.
30859         * configure.in (--enable-lock-elision): Add option.
30860         * manual/install.texi: Document --enable lock elision.
30861         * configure: Regenerate
30862         * INSTALL: Regenerate.
30864 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30866         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30867         SSE4.2 strcasecmp for libc.a.
30868         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30870 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30872         [BZ #13304]
30873         * soft-fp/op-common.h (_FP_FMA): New macro.
30874         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30875         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30876         (_FP_MUL_MEAT_1_imm): ... here.
30877         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30878         (_FP_MUL_MEAT_1_wide): ... here.
30879         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30880         (_FP_MUL_MEAT_1_hard): ... here.
30881         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30882         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30883         (_FP_MUL_MEAT_2_wide): ... here.
30884         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30885         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30886         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30887         (_FP_MUL_MEAT_2_gmp): ... here.
30888         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30889         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30890         (_FP_MUL_MEAT_4_wide): ... here.
30891         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30892         (_FP_MUL_MEAT_4_gmp): ... here.
30893         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30894         (_FP_WFRACBITS_DW_S): Likewise.
30895         (_FP_WFRACXBITS_DW_S): Likewise.
30896         (_FP_HIGHBIT_DW_S): Likewise.
30897         (FP_FMA_S): Likewise.
30898         (_FP_FRAC_HIGH_DW_S): Likewise.
30899         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30900         (_FP_WFRACBITS_DW_D): Likewise.
30901         (_FP_WFRACXBITS_DW_D): Likewise.
30902         (_FP_HIGHBIT_DW_D): Likewise.
30903         (FP_FMA_D): Likewise.
30904         (_FP_FRAC_HIGH_DW_D): Likewise.
30905         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30906         (_FP_WFRACBITS_DW_E): Likewise.
30907         (_FP_WFRACXBITS_DW_E): Likewise.
30908         (_FP_HIGHBIT_DW_E): Likewise.
30909         (FP_FMA_E): Likewise.
30910         (_FP_FRAC_HIGH_DW_E): Likewise.
30911         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30912         (_FP_WFRACBITS_DW_Q): Likewise.
30913         (_FP_WFRACXBITS_DW_Q): Likewise.
30914         (_FP_HIGHBIT_DW_Q): Likewise.
30915         (FP_FMA_Q): Likewise.
30916         (_FP_FRAC_HIGH_DW_Q): Likewise.
30917         * soft-fp/fmasf4.c: New file.
30918         * soft-fp/fmadf4.c: Likewise.
30919         * soft-fp/fmatf4.c: Likewise.
30921 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30924         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30925         Silvermont.
30926         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30927         macro.
30928         (index_Slow_SSE4_2): Likewise.
30929         (index_Prefer_PMINUB_for_stringop): Likewise.
30930         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30931         bit_Slow_SSE4_2 is set.
30932         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30933         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30935 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30937         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30938         rtld_global._dl_hwcap2.
30939         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30940         POWER8.
30941         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30942         POWER8 feature descriptions defined in _dl_hwcap2.
30943         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30944         string handling for POWER8 feature bits.
30945         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30946         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30947         _dl_powerpc_cap_flags.
30948         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30949         * sysdeps/powerpc/rtld-global-offsets.sym
30950         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30951         _dl_hwcap2 in the rtld_global_ro structure.
30953 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30955         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30956         hardware capabilities in support of AT_HWCAP2.
30957         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30958         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30959         GLRO(dl_hwcap2).
30960         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30961         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30962         explicitly the unknown a_type display mechanism is used.
30963         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30964         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30965         struct member.
30966         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30967         to macro prototype for AT_HWCAP2 support.
30968         * sysdeps/i386/dl-procinfo.h: Likewise.
30969         * sysdeps/s390/dl-procinfo.h: Likewise.
30970         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30971         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30972         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30973         return -1 for unknown a_type display fallback.
30974         * sysdeps/sparc/dl-procinfo.h: Likewise.
30975         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30976         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30978 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30980         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30981         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30983 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30985         [BZ #12492]
30986         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30987         mprotect making __stack_prot writable.
30989 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30990             Joseph Myers  <joseph@codesourcery.com>
30992         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30993         as being properly aligned.
30995 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30997         * dlfcn/modstatic5.c: New file.
30998         * dlfcn/tststatic5.c: New file.
30999         * dlfcn/Makefile (tests): Add tststatic5.
31000         (tests-static): Likewise.
31001         (modules-names): Add modstatic5.
31002         (tststatic5-ENV): New variable.
31003         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31005         [BZ #15022]
31006         * elf/dl-support.c (_dl_main_map): New variable.
31007         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31008         (_dl_nns, _dl_load_adds): Set to 1.
31009         (_dl_initial_searchlist): Refer to _dl_main_map.
31010         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31011         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31012         call to _dl_get_origin.
31013         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31014         around call_map.
31015         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31016         * dlfcn/modstatic3.c: New file.
31017         * dlfcn/tststatic3.c: New file.
31018         * dlfcn/tststatic4.c: New file.
31019         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31020         (tests-static): Likewise.
31021         (modules-names): Add modstatic3.
31022         (tststatic3-ENV, tststatic4-ENV): New variables.
31023         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31024         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31026 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31028         * configure.in (CC): Require GCC version 4.4 or later.
31029         * configure: Regenerated.
31030         * manual/install.texi (Tools for Compilation): Update GCC version
31031         requirement.
31032         * INSTALL: Regenerated.
31034 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31036         [BZ #15674]
31037         * string/test-memcmp.c (check2): New.
31038         (main): Call check2.
31040         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31042 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31044         [BZ #15022]
31045         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31046         over to...
31047         (dl_open_worker) [!SHARED]: ... here.
31049 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31051         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31053 2013-06-25  Richard Henderson  <rth@redhat.com>
31055         * locale/programs/locarchive.c: Include <libc-internal.h>
31057 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31059         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31060         trailing whitespace removed.
31062 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31064         [BZ #10283]
31065         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31066         * locale/programs/locarchive.c: Include libc-mmap.h.
31067         (prepare_address_space): Take two new outputs (the mmap base and len).
31068         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31069         values.
31070         (create_archive): Declare new mmap base and len values for
31071         prepare_address_space, and store the result in ah.
31072         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31073         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31074         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31075         Declare new mmap base and len values for
31076         prepare_address_space, and store the result in new_ah.
31077         (open_archive): Declare new mmap base and len values for
31078         prepare_address_space, and store the result in ah.
31079         (close_archive): If ah->mmap_base is not NULL, use that and
31080         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31081         * sysdeps/generic/libc-mmap.h: New file.
31083 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31085         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31086         (ALIGN_UP): Likewise.
31087         (PTR_ALIGN_DOWN): Likewise.
31088         (PTR_ALIGN_UP): Likewise.
31090 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31092         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31093         entry mapped to PPC_PLATFORM_POWER8.
31094         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31095         POWER8.
31096         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31097         (_dl_string_platform): Add case for exporting platform position for
31098         POWER8.
31099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31100         search path to sysdeps/powerpc/powerpc32/power8 directory.
31101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31102         search path to sysdeps/powerpc/powerpc64/power8 directory.
31103         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31104         power7 directories.
31105         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31106         power7 directories.
31108 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31110         * INSTALL: Regenerate.
31112         * nscd/connections.c (nscd_init): Fix comment.
31114 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31116         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31118         [BZ #15667]
31119         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31120         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31122 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31124         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31125         DL_DST_REQ_STATIC.
31126         (DL_DST_REQ_STATIC): Remove macro.
31128 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31130         [BZ #7006]
31131         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31132         with a shift of 0 bits.
31134 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31136         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31137         $(tststatic-ENV).
31139 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31141         [BZ #15655]
31142         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31144 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31146         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31147         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31148         accepts -fno-tree-loop-distribute-patterns.
31149         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31150         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31151         recursive call.
31152         * string/memset.c (memset): Likewise.
31153         * string/test-memmove.c (simple_memmove): Disable loop transformation
31154         to library calls.
31155         * string/test-memset.c (simple_memset): Likewise.
31156         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31157         * benchtests/bench-memset.c (simple_memset): Likewise.
31158         * configure: Regenerated.
31160 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31162         * math/test-misc.c (main): Ignore fesetround failure when failures
31163         of subsequent rounding tests would be ignored.
31165         [BZ #15654]
31166         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31167         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31168         * math/fegetenv.c (__fegetenv): Return 0.
31169         * math/fegetexcept.c (fegetexcept): Return 0.
31170         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31171         FE_TONEAREST.
31172         * math/feholdexcpt.c (feholdexcept): Return 0.
31173         * math/fesetenv.c (__fesetenv): Return 0.
31174         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31175         argument FE_TONEAREST.
31176         * math/feupdateenv.c (__feupdateenv): Return 0.
31177         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31179 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31181         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31182         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31183         ($(objpfx)rtld-%.os rules): Use them.
31185 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31187         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31188         fields.
31190 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31192         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31193         length of target pattern, then descending length of dependency pattern.
31194         * configure.in (AWK): Require gawk 3.1.2 or newer.
31195         * manual/install.texi (Tools for Compilation): Say that we do.
31196         * configure: Regenerated.
31198         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31199         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31200         * scripts/sysd-rules.awk: ... this new script.
31201         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31202         than a glob-style pattern.
31204 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31206         * math/test-misc.c (main): Do not treat incorrectly rounded
31207         conversions as failure unless ROUNDING_TESTS passes.
31209 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31211         [BZ #15631]
31212         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31213         restore exception state around main square root computation, then
31214         check for inexactness explicitly.
31216         * math/libm-test.inc (fma_test_data): Add another test.
31218 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31220         * manual/threads.texi (Non-POSIX Extensions): New document
31221         node.  Document pthread_getattr_default_np and
31222         pthread_setattr_default_np.
31224         * Versions.def (libpthread): Add GLIBC_2.18.
31225         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31227         Likewise.
31228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31229         Likewise.
31230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31231         Likewise.
31232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31233         Likewise.
31234         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31235         Likewise.
31236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31237         Likewise.
31238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31239         Likewise.
31240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31241         Likewise.
31242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31243         Likewise.
31245 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31248         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31250 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251             H.J. Lu  <hjl.tools@gmail.com>
31253         [BZ #15627]
31254         * sysdeps/x86_64/rtld-memset.c: Remove file.
31255         * sysdeps/x86_64/rtld-memset.S: New file.
31257 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31259         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31260         (test_in_one_mode): Take arguments for whether the rounding mode
31261         is supported for each floating-point type.
31262         (do_test): Pass new arguments to test_in_one_mode using
31263         ROUNDING_TESTS.
31265 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31267         * posix/tst-waitid.c (do_test): Distinguish different instances of
31268         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31269         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31270         before entering the kernel for waitpid.
31272 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31274         * NEWS: Fix note on clock function precision.  Text by Roland
31275         McGrath.
31277 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31279         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31280         it into place only when and if the sanity check passes.
31282 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31284         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31285         output for whether conversion result is exact.  Take argument
31286         indicating whether type is IBM long double.
31287         (round_for_all): Change need_exact field to ibm_ld.
31288         * stdlib/tst-strtod-round.c (struct exactness): New type.
31289         (struct test): Change bool ld_ok field to struct exactness exact.
31290         (TEST): Update all definitions for change to field.
31291         (tests): Regenerate array contents.
31292         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31293         field value.  Check for IBM long double here.
31294         (do_test): Update calls to test_in_one_mode.
31296 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31298         [BZ #12515]
31299         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31300         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31302 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31304         [BZ #15605]
31305         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31306         generated by the compiler on loop optimizations.
31307         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31308         general definitions.
31310 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31312         * math/bug-nextafter.c: Include <math-tests.h>.
31313         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31314         the relevant type.
31315         * math/bug-nexttoward.c: Include <math-tests.h>.
31316         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31317         the relevant type.
31318         * math/test-misc.c: Include <math-tests.h>.
31319         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31320         the relevant type.
31322 2013-06-12  Andreas Jaeger  <aj@suse.de>
31324         * po/ia.po: Update Interlingua translation from translation
31325         project.
31327 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31329         * include/fenv.h: Include stdbool.h.
31330         (struct rm_ctx): New structure.
31331         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31332         Define macro.
31333         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31334         (SET_RESTORE_ROUNDF): Likewise.
31335         (SET_RESTORE_ROUNDL): Likewise.
31336         (SET_RESTORE_ROUND_NOEX): Likewise.
31337         (SET_RESTORE_ROUND_NOEXF): Likewise.
31338         (SET_RESTORE_ROUND_NOEXL): Likewise.
31339         (SET_RESTORE_ROUND_53BIT): Likewise.
31340         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31341         (libc_feresetround_noexf_ctx): Likewise.
31342         (libc_feresetround_noexl_ctx): Likewise.
31343         (libc_feholdsetround_53bit_ctx): Likewise.
31344         (libc_feresetround_53bit_ctx): Likewise.
31345         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31346         (libc_feholdexcept_setround_sse_ctx): New function.
31347         (libc_fesetenv_sse_ctx): Likewise.
31348         (libc_feupdateenv_sse_ctx): Likewise.
31349         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31350         (libc_feholdexcept_setround_387_ctx): Likewise.
31351         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31352         (libc_feholdsetround_387_prec_ctx): Likewise.
31353         (libc_feholdsetround_387_ctx): Likewise.
31354         (libc_feholdsetround_387_53bit_ctx): Likewise.
31355         (libc_feholdsetround_sse_ctx): Likewise.
31356         (libc_feresetround_sse_ctx): Likewise.
31357         (libc_feresetround_387_ctx): Likewise.
31358         (libc_feupdateenv_387_ctx): Likewise.
31359         (libc_feholdexcept_setroundf_ctx): Define macro.
31360         (libc_fesetenvf_ctx): Likewise.
31361         (libc_feupdateenvf_ctx): Likewise.
31362         (libc_feholdsetroundf_ctx): Likewise.
31363         (libc_feresetroundf_ctx): Likewise.
31364         (libc_feholdexcept_setround_ctx): Likewise.
31365         (libc_fesetenv_ctx): Likewise.
31366         (libc_feupdateenv_ctx): Likewise.
31367         (libc_feholdsetround_ctx): Likewise.
31368         (libc_feresetround_ctx): Likewise.
31369         (libc_feholdexcept_setroundl_ctx): Likewise.
31370         (libc_feupdateenvl_ctx): Likewise.
31371         (libc_feholdsetroundl_ctx): Likewise.
31372         (libc_feresetroundl_ctx): Likewise.
31373         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31374         (libc_feresetround_53bit_ctx): Likewise.
31376 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31378         * locale/iso-639.def: Convert to UTF-8.
31380 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31382         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31383         (EXCEPTION_TESTS_double): Likewise.
31384         (EXCEPTION_TESTS_long_double): Likewise.
31385         (EXCEPTION_TESTS): Likewise.
31386         * math/libm-test.inc (test_exceptions): Only test exceptions if
31387         EXCEPTION_TESTS (FLOAT).
31389 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31391         * benchtests/Makefile (string-bench): Add strcpy_chk and
31392         stpcpy_chk.
31393         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31394         * benchtests/bench-stpcpy_chk.c: New file.
31395         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31396         * benchtests/bench-strcpy_chk.c: New file.
31397         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31398         code.
31399         (do_test): Likewise.
31401 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31403         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31404         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31405         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31406         with tabs where appropriate.
31407         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31408         dl-procinfo.h.
31409         [PPC_PLATFORM_PPC440]: Likewise.
31410         [PPC_PLATFORM_PPC464]: Likewise.
31411         [PPC_PLATFORM_PPC476]: Likewise.
31412         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31413         ppc464, and ppc476 platform strings merging from ports/
31414         dl-procinfo.h.
31416 2013-06-11  Andreas Schwab  <schwab@suse.de>
31418         [BZ #14991]
31419         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31420         (from_ucs4_idx): Regenerate.
31421         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31422         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31423         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31424         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31425         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31426         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31427         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31428         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31429         from FROM_LOOP and TO_LOOP specific macros.
31430         (BODY): Handle combining characters.
31431         * iconvdata/BIG5HKSCS.irreversible: Update.
31432         * iconvdata/BIG5HKSCS.precomposed: New file.
31433         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31434         characters.
31435         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31437 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31439         * include/sys/time.h: Fix indentation and add copyright header.
31441         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31442         (do_test): Likewise.
31443         * string/test-memchr.c (do_one_test): Likewise.
31444         (do_test): Likewise.
31445         * string/test-memcmp.c (do_one_test): Likewise.
31446         (do_test): Likewise.
31447         * string/test-memcpy.c (do_one_test): Likewise.
31448         (do_test): Likewise.
31449         * string/test-memmem.c (do_one_test): Likewise.
31450         (do_test): Likewise.
31451         (do_random_tests): Likewise.
31452         * string/test-memmove.c (do_one_test): Likewise.
31453         (do_test): Likewise.
31454         * string/test-memset.c (do_one_test): Likewise.
31455         (do_test): Likewise.
31456         * string/test-rawmemchr.c (do_one_test): Likewise.
31457         (do_test): Likewise.
31458         * string/test-strcasecmp.c (do_one_test): Likewise.
31459         (do_test): Likewise.
31460         * string/test-strcasestr.c (do_one_test): Likewise.
31461         (do_test): Likewise.
31462         * string/test-strcat.c (do_one_test): Likewise.
31463         (do_test): Likewise.
31464         * string/test-strchr.c (do_one_test): Likewise.
31465         (do_test): Likewise.
31466         * string/test-strcmp.c (do_one_test): Likewise.
31467         (do_test): Likewise.
31468         * string/test-strcpy.c (do_one_test): Likewise.
31469         (do_test): Likewise.
31470         * string/test-string.h: Likewise.
31471         (test_init): Likewise.
31472         * string/test-strlen.c (do_one_test): Likewise.
31473         (do_test): Likewise.
31474         * string/test-strncasecmp.c (do_one_test): Likewise.
31475         (do_test): Likewise.
31476         * string/test-strncat.c (do_one_test): Likewise.
31477         (do_test): Likewise.
31478         * string/test-strncmp.c (do_one_test): Likewise.
31479         (do_test_limit): Likewise.
31480         (do_test): Likewise.
31481         * string/test-strncpy.c (do_one_test): Likewise.
31482         (do_test): Likewise.
31483         * string/test-strnlen.c (do_one_test): Likewise.
31484         (do_test): Likewise.
31485         * string/test-strpbrk.c (do_one_test): Likewise.
31486         (do_test): Likewise.
31487         * string/test-strrchr.c (do_one_test): Likewise.
31488         (do_test): Likewise.
31489         * string/test-strspn.c (do_one_test): Likewise.
31490         (do_test): Likewise.
31491         * string/test-strstr.c (do_one_test): Likewise.
31492         (do_test): Likewise.
31494         * benchtests/Makefile (string-bench): Add string benchmarks.
31495         * benchtests/bench-bcopy-ifunc.c: New file.
31496         * benchtests/bench-bcopy.c: New file.
31497         * benchtests/bench-bzero-ifunc.c: New file.
31498         * benchtests/bench-bzero.c: New file.
31499         * benchtests/bench-memccpy-ifunc.c: New file.
31500         * benchtests/bench-memccpy.c: New file.
31501         * benchtests/bench-memchr-ifunc.c: New file.
31502         * benchtests/bench-memchr.c: New file.
31503         * benchtests/bench-memcmp-ifunc.c: New file.
31504         * benchtests/bench-memcmp.c: New file.
31505         * benchtests/bench-memmem-ifunc.c: New file.
31506         * benchtests/bench-memmem.c: New file.
31507         * benchtests/bench-memmove-ifunc.c: New file.
31508         * benchtests/bench-memmove.c: New file.
31509         * benchtests/bench-mempcpy-ifunc.c: New file.
31510         * benchtests/bench-mempcpy.c: New file.
31511         * benchtests/bench-memset-ifunc.c: New file.
31512         * benchtests/bench-memset.c: New file.
31513         * benchtests/bench-rawmemchr-ifunc.c: New file.
31514         * benchtests/bench-rawmemchr.c: New file.
31515         * benchtests/bench-stpcpy-ifunc.c: New file.
31516         * benchtests/bench-stpcpy.c: New file.
31517         * benchtests/bench-stpncpy-ifunc.c: New file.
31518         * benchtests/bench-stpncpy.c: New file.
31519         * benchtests/bench-strcasecmp-ifunc.c: New file.
31520         * benchtests/bench-strcasecmp.c: New file.
31521         * benchtests/bench-strcasestr-ifunc.c: New file.
31522         * benchtests/bench-strcasestr.c: New file.
31523         * benchtests/bench-strcat-ifunc.c: New file.
31524         * benchtests/bench-strcat.c: New file.
31525         * benchtests/bench-strchr-ifunc.c: New file.
31526         * benchtests/bench-strchr.c: New file.
31527         * benchtests/bench-strchrnul-ifunc.c: New file.
31528         * benchtests/bench-strchrnul.c: New file.
31529         * benchtests/bench-strcmp-ifunc.c: New file.
31530         * benchtests/bench-strcmp.c: New file.
31531         * benchtests/bench-strcpy-ifunc.c: New file.
31532         * benchtests/bench-strcpy.c: New file.
31533         * benchtests/bench-strcspn-ifunc.c: New file.
31534         * benchtests/bench-strcspn.c: New file.
31535         * benchtests/bench-strlen-ifunc.c: New file.
31536         * benchtests/bench-strlen.c: New file.
31537         * benchtests/bench-strncasecmp-ifunc.c: New file.
31538         * benchtests/bench-strncasecmp.c: New file.
31539         * benchtests/bench-strncat-ifunc.c: New file.
31540         * benchtests/bench-strncat.c: New file.
31541         * benchtests/bench-strncmp-ifunc.c: New file.
31542         * benchtests/bench-strncmp.c: New file.
31543         * benchtests/bench-strncpy-ifunc.c: New file.
31544         * benchtests/bench-strncpy.c: New file.
31545         * benchtests/bench-strnlen-ifunc.c: New file.
31546         * benchtests/bench-strnlen.c: New file.
31547         * benchtests/bench-strpbrk-ifunc.c: New file.
31548         * benchtests/bench-strpbrk.c: New file.
31549         * benchtests/bench-strrchr-ifunc.c: New file.
31550         * benchtests/bench-strrchr.c: New file.
31551         * benchtests/bench-strspn-ifunc.c: New file.
31552         * benchtests/bench-strspn.c: New file.
31553         * benchtests/bench-strstr-ifunc.c: New file.
31554         * benchtests/bench-strstr.c: New file.
31556         * benchtests/Makefile: Disable parallel execution of targets.
31557         (string-bench): Add memcpy.
31558         (benchset): New variable to store a list of benchmark sets.
31559         (bench-func): Renamed from bench.
31560         (bench-set): New target.
31561         (bench): Depend on bench-func and bench-set.
31562         * benchtests/README: Add section on benchmark sets.
31563         * benchtests/bench-memcpy-ifunc.c: New file.
31564         * benchtests/bench-memcpy.c: New file.
31565         * benchtests/bench-string.h: New file.
31567 2013-06-11  Andreas Schwab  <schwab@suse.de>
31569         [BZ #15577]
31570         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31571         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31572         values in the triple.
31573         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31574         terminator in the group key.
31576 2013-06-11  Andreas Jaeger  <aj@suse.de>
31578         * po/zh_TW.po: Update Chinese (traditional) translation from
31579         translation project.
31581 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31583         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31584         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31585         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31586         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31587         (clock_getcpuclockid): Likewise.
31588         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31589         Add weak_alias and libc_hidden_def.
31590         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31591         * rt/clock_gettime.c (clock_gettime): Rename to
31592         __clock_gettime.  Add weak_alias and libc_hidden_def.
31593         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31594         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31595         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31596         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31597         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31598         Likewise.
31599         * rt/clock_settime.c (clock_settime): Rename to
31600         __clock_settime.  Add weak_alias and libc_hidden_def.
31601         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31603 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31605         * mach/err_boot.sub: Remove trailing whitespace.
31606         * mach/err_ipc.sub: Likewise.
31607         * mach/err_mach.sub: Likewise.
31609         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31610         (ROUNDING_TESTS_double): Likewise.
31611         (ROUNDING_TESTS_long_double): Likewise.
31612         (ROUNDING_TESTS): Likewise.
31613         * math/libm-test.inc: Include <math-tests.h>.
31614         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31615         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31616         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31617         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31619 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31621         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31622         of assigning.
31624 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31626         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31627         otherwise empty TRANS lines.
31628         * sysdeps/gnu/errlist.c: Regenerated.
31630         * catgets/gencat.c (error_print): Use (void) in function
31631         definition.
31632         * crypt/crypt_util.c (__init_des): Likewise.
31633         * crypt/speeds.c (Stop): Likewise.
31634         (main): Likewise.
31635         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31636         * inet/ruserpass.c (token): Likewise.
31637         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31638         * intl/localealias.c (extend_alias_table): Likewise.
31639         * intl/plural-exp.c (init_germanic_plural): Likewise.
31640         * libio/fcloseall.c (__fcloseall): Likewise.
31641         * libio/genops.c (_IO_flush_all): Likewise.
31642         (_IO_flush_all_linebuffered): Likewise.
31643         (_IO_cleanup): Likewise.
31644         (_IO_iter_begin): Likewise.
31645         (_IO_iter_end): Likewise.
31646         (_IO_list_lock): Likewise.
31647         (_IO_list_unlock): Likewise.
31648         (_IO_list_resetlock): Likewise.
31649         * libio/getchar.c (getchar): Likewise.
31650         * libio/getchar_u.c (getchar_unlocked): Likewise.
31651         * libio/getwchar.c (getwchar): Likewise.
31652         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31653         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31654         * login/getpt.c (__getpt): Likewise.
31655         * login/tst-utmp.c (main): Likewise.
31656         * malloc/hooks.c (__malloc_check_init): Likewise.
31657         * malloc/malloc.c (__malloc_stats): Likewise.
31658         * malloc/mtrace.c (tr_break): Likewise.
31659         (mtrace): Likewise.
31660         (muntrace): Likewise.
31661         * misc/fstab.c (endfsent): Likewise.
31662         * misc/getclktck.c (__getclktck): Likewise.
31663         * misc/getdtsz.c (__getdtablesize): Likewise.
31664         * misc/gethostid.c (gethostid): Likewise.
31665         * misc/getpagesize.c (__getpagesize): Likewise.
31666         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31667         (__get_nprocs): Likewise.
31668         (__get_phys_pages): Likewise.
31669         (__get_avphys_pages): Likewise.
31670         * misc/getttyent.c (getttyent): Likewise.
31671         (setttyent): Likewise.
31672         (endttyent): Likewise.
31673         * misc/getusershell.c (getusershell): Likewise.
31674         (endusershell): Likewise.
31675         (setusershell): Likewise.
31676         (initshells): Likewise.
31677         * misc/hsearch.c (__hdestroy): Likewise.
31678         * misc/sync.c (sync): Likewise.
31679         * misc/syslog.c (closelog_internal): Likewise.
31680         (closelog): Likewise.
31681         * misc/ttyslot.c (ttyslot): Likewise.
31682         * misc/vhangup.c (vhangup): Likewise.
31683         * posix/fork.c (__fork): Likewise.
31684         * posix/getegid.c (__getegid): Likewise.
31685         * posix/geteuid.c (__geteuid): Likewise.
31686         * posix/getgid.c (__getgid): Likewise.
31687         * posix/getpid.c (__getpid): Likewise.
31688         * posix/getppid.c (__getppid): Likewise.
31689         * posix/getuid.c (__getuid): Likewise.
31690         * posix/pause.c (pause): Likewise.
31691         * posix/setpgrp.c (setpgrp): Likewise.
31692         * posix/setsid.c (__setsid): Likewise.
31693         * posix/test-vfork.c (noop): Likewise.
31694         * resolv/gethnamaddr.c (_endhtent): Likewise.
31695         (_gethtent): Likewise.
31696         (ht_endhostent): Likewise.
31697         (gethostent): Likewise.
31698         (dns_service): Likewise.
31699         * stdlib/drand48.c (drand48): Likewise.
31700         * stdlib/lrand48.c (lrand48): Likewise.
31701         * stdlib/mrand48.c (mrand48): Likewise.
31702         * stdlib/rand.c (rand): Likewise.
31703         * stdlib/random.c (__random): Likewise.
31704         * stdlib/setenv.c (clearenv): Likewise.
31705         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31706         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31707         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31708         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31709         (__get_nprocs): Likewise.
31710         (__get_phys_pages): Likewise.
31711         (__get_avphys_pages): Likewise.
31712         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31713         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31714         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31715         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31716         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31717         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31718         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31719         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31720         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31721         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31722         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31723         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31724         * sysdeps/posix/clock.c (clock): Likewise.
31725         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31726         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31727         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31728         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31729         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31730         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31731         (__get_nprocs_conf): Likewise.
31732         (__get_phys_pages): Likewise.
31733         (__get_avphys_pages): Likewise.
31734         * time/clock.c (clock): Likewise.
31735         * time/tzset.c (__tzname_max): Likewise.
31737 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31739         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31740         (__bswap_32): Do not use "register".
31741         * crypt/crypt.c (_ufc_doit_r): Likewise.
31742         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31743         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31744         * gmon/gmon.c (__monstartup): Likewise.
31745         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31746         * hurd/hurdmalloc.c (more_memory): Likewise.
31747         (malloc): Likewise.
31748         (free): Likewise.
31749         (realloc): Likewise.
31750         (malloc_fork_prepare): Likewise.
31751         (malloc_fork_parent): Likewise.
31752         (malloc_fork_child): Likewise.
31753         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31754         (_svcauth_des): Likewise.
31755         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31756         * inet/inet_net.c (inet_network): Likewise.
31757         * inet/inet_netof.c (inet_netof): Likewise.
31758         * inet/rcmd.c (__validuser2_sa): Likewise.
31759         * io/fts.c (fts_open): Likewise.
31760         (fts_load): Likewise.
31761         (fts_close): Likewise.
31762         (fts_read): Likewise.
31763         (fts_children): Likewise.
31764         (fts_build): Likewise.
31765         (fts_stat): Likewise.
31766         (fts_sort): Likewise.
31767         (fts_alloc): Likewise.
31768         (fts_lfree): Likewise.
31769         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31770         (_IO_file_xsgetn): Likewise.
31771         (_IO_file_xsgetn_mmap): Likewise.
31772         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31773         (_IO_cookie_write): Likewise.
31774         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31775         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31776         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31777         * malloc/obstack.c (_obstack_begin): Likewise.
31778         (_obstack_begin_1): Likewise.
31779         (_obstack_newchunk): Likewise.
31780         (_obstack_allocated_p): Likewise.
31781         (obstack_free): Likewise.
31782         (_obstack_memory_used): Likewise.
31783         * misc/getttyent.c (getttynam): Likewise.
31784         (getttyent): Likewise.
31785         (skip): Likewise.
31786         (value): Likewise.
31787         * misc/getusershell.c (initshells): Likewise.
31788         * misc/syslog.c (__vsyslog_chk): Likewise.
31789         * misc/ttyslot.c (ttyslot): Likewise.
31790         * nis/nis_hash.c (__nis_hash): Likewise.
31791         * posix/fnmatch_loop.c (FCT): Likewise.
31792         * posix/getconf.c (print_all): Likewise.
31793         (main): Likewise.
31794         * posix/getopt.c (exchange): Likewise.
31795         * posix/glob.c (globfree): Likewise.
31796         (prefix_array): Likewise.
31797         (__glob_pattern_type): Likewise.
31798         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31799         (NS_GET32): Likewise.
31800         (NS_PUT16): Likewise.
31801         (NS_PUT32): Likewise.
31802         * resolv/gethnamaddr.c (getanswer): Likewise.
31803         (gethostbyname2): Likewise.
31804         (gethostbyaddr): Likewise.
31805         (_gethtent): Likewise.
31806         (_gethtbyname2): Likewise.
31807         (_gethtbyaddr): Likewise.
31808         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31809         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31810         * resolv/res_init.c (__res_vinit): Likewise.
31811         (net_mask): Likewise.
31812         * resolv/res_mkquery.c (outchar): Likewise.
31813         (PRINT): Likewise.
31814         * stdio-common/printf_fp.c (outchar): Likewise.
31815         (PRINT): Likewise.
31816         * stdio-common/printf_fphex.c (outchar): Likewise.
31817         (PRINT): Likewise.
31818         * stdio-common/printf_size.c (outchar): Likewise.
31819         (PRINT): Likewise.
31820         * stdio-common/test_rdwr.c (main): Likewise.
31821         * stdio-common/tfformat.c (matches): Likewise.
31822         * stdio-common/vfprintf.c (outchar): Likewise.
31823         (printf_unknown): Likewise.
31824         (buffered_vfprintf): Likewise.
31825         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31826         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31827         (ReadFile): Likewise.
31828         * stdlib/qsort.c (SWAP): Likewise.
31829         (_quicksort): Likewise.
31830         * stdlib/setenv.c (__add_to_environ): Likewise.
31831         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31832         * stdlib/strtol_l.c (__strtol_l): Likewise.
31833         * stdlib/tst-strtod.c (main): Likewise.
31834         * stdlib/tst-strtol.c (main): Likewise.
31835         * stdlib/tst-strtoll.c (main): Likewise.
31836         * string/bits/string2.h (__strcmp_cc): Likewise.
31837         (__strcmp_cg): Likewise.
31838         (__strcspn_c1): Likewise.
31839         (__strcspn_c2): Likewise.
31840         (__strcspn_c3): Likewise.
31841         (__strspn_c1): Likewise.
31842         (__strspn_c2): Likewise.
31843         (__strspn_c3): Likewise.
31844         (__strsep_1c): Likewise.
31845         (__strsep_2c): Likewise.
31846         (__strsep_3c): Likewise.
31847         * string/memccpy.c (__memccpy): Likewise.
31848         * string/stpcpy.c (__stpcpy): Likewise.
31849         * string/strcmp.c (strcmp): Likewise.
31850         * string/strrchr.c (strrchr): Likewise.
31851         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31852         Likewise.
31853         * sysdeps/mach/hurd/getcwd.c
31854         (_hurd_canonicalize_directory_name_internal): Likewise.
31855         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31856         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31857         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31858         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31859         Likewise, in both definitions.
31860         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31861         definitions.
31862         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31863         64] (__bswap_64): Likewise.
31864         * time/test_time.c (main): Likewise.
31865         * time/tzfile.c (__tzfile_read): Likewise.
31866         (__tzfile_compute): Likewise.
31867         * time/tzset.c (__tzset_parse_tz): Likewise.
31868         (tzset_internal): Likewise.
31869         (compute_change): Likewise.
31870         * wcsmbs/wcscat.c (__wcscat): Likewise.
31871         * wcsmbs/wcschr.c (wcschr): Likewise.
31872         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31873         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31874         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31875         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31876         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31877         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31878         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31879         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31880         * wcsmbs/wmemset.c (wmemset): Likewise.
31882 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31884         * scripts/config.guess: Update to version 2013-05-16.
31885         * scripts/config.sub: Update to version 2013-04-24.
31886         * scripts/install-sh: Update to version 2011-11-20.07.
31887         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31888         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31890 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31892         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31893         * elf/sln.c: Likewise.
31894         * hurd/hurd/ioctl.h: Likewise.
31895         * hurd/hurdmalloc.c: Likewise.
31896         * hurd/xattr.c: Likewise.
31897         * include/shlib-compat.h: Likewise.
31898         * inet/ruserpass.c: Likewise.
31899         * libio/iofgets_u.c: Likewise.
31900         * libio/iofgetws_u.c: Likewise.
31901         * locale/programs/ld-identification.c: Likewise.
31902         * locale/programs/ld-time.c: Likewise.
31903         * mach/msg-destroy.c: Likewise.
31904         * nss/nss_files/files-netgrp.c: Likewise.
31905         * resolv/res_data.c: Likewise.
31906         * soft-fp/op-1.h: Likewise.
31907         * soft-fp/op-2.h: Likewise.
31908         * soft-fp/op-4.h: Likewise.
31909         * soft-fp/op-common.h: Likewise.
31910         * stdio-common/printf_fphex.c: Likewise.
31911         * stdlib/strtod_l.c: Likewise.
31912         * sunrpc/rpc/clnt.h: Likewise.
31913         * sysdeps/generic/framestate.c: Likewise.
31914         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31915         * sysdeps/i386/bsd-setjmp.S: Likewise.
31916         * sysdeps/i386/__longjmp.S: Likewise.
31917         * sysdeps/i386/setjmp.S: Likewise.
31918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31919         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31921         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31922         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31923         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31925         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31928         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31929         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31930         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31931         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31932         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31934         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31935         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31936         * sysdeps/ieee754/support.c: Likewise.
31937         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31938         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31939         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31940         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31941         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31942         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31943         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31944         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31945         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31946         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31947         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31948         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31949         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31950         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31951         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31952         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31953         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31956 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31958         * posix/transbug.c: Remove executable mode.
31960 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31962         * crypt/speeds.c: Remove trailing whitespace.
31963         * dlfcn/default.c: Likewise.
31964         * elf/ifuncdep2.c: Likewise.
31965         * elf/ifuncmain1.c: Likewise.
31966         * elf/ifuncmain1vis.c: Likewise.
31967         * elf/testobj.h: Likewise.
31968         * elf/tst-stackguard1.c: Likewise.
31969         * gmon/sys/gmon.h: Likewise.
31970         * hurd/hurdmsg.c: Likewise.
31971         * hurd/new-fd.c: Likewise.
31972         * hurd/ports-get.c: Likewise.
31973         * iconvdata/ibm1008_420.c: Likewise.
31974         * inet/tst-getni1.c: Likewise.
31975         * inet/tst-getni2.c: Likewise.
31976         * libio/ioungetc.c: Likewise.
31977         * libio/wfiledoalloc.c: Likewise.
31978         * manual/libm-err-tab.pl: Likewise.
31979         * math/w_dremf.c: Likewise.
31980         * misc/ftruncate.c: Likewise.
31981         * posix/bug-glob2.c: Likewise.
31982         * posix/tst-pcre.c: Likewise.
31983         * posix/wait4.c: Likewise.
31984         * resolv/README: Likewise.
31985         * resolv/res_debug.h: Likewise.
31986         * resolv/tst-inet_ntop.c: Likewise.
31987         * setjmp/bug269-setjmp.c: Likewise.
31988         * soft-fp/extended.h: Likewise.
31989         * soft-fp/op-1.h: Likewise.
31990         * soft-fp/op-2.h: Likewise.
31991         * soft-fp/op-4.h: Likewise.
31992         * soft-fp/op-8.h: Likewise.
31993         * soft-fp/testit.c: Likewise.
31994         * stdio-common/bug16.c: Likewise.
31995         * stdlib/random.c: Likewise.
31996         * sunrpc/rpcsvc/rquota.x: Likewise.
31997         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31998         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31999         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32000         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32001         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32002         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32003         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32004         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32005         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32006         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32007         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32008         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32009         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32010         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32011         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32012         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32013         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32015         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32018         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32019         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32020         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32022         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32025         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32026         * sysdeps/ieee754/s_lib_version.c: Likewise.
32027         * sysdeps/mach/hurd/check_fds.c: Likewise.
32028         * sysdeps/mach/hurd/getsockname.c: Likewise.
32029         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32030         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32031         * sysdeps/powerpc/bits/link.h: Likewise.
32032         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32033         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32034         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32035         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32036         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32037         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32038         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32039         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32040         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32041         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32042         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32043         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32044         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32045         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32046         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32047         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32048         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32049         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32050         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32051         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32052         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32053         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32054         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32055         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32056         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32057         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32058         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32059         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32060         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32061         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32062         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32063         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32064         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32065         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32066         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32067         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32068         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32069         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32070         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32071         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32072         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32073         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32074         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32075         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32076         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32077         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32078         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32079         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32080         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32081         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32084         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32085         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32086         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32087         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32088         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32089         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32090         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32091         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32092         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32093         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32094         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32095         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32096         * sysdeps/powerpc/sysdep.h: Likewise.
32097         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32098         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32099         * sysdeps/sh/dl-trampoline.S: Likewise.
32100         * sysdeps/sh/memset.S: Likewise.
32101         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32102         * sysdeps/sh/strlen.S: Likewise.
32103         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32104         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32105         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32106         * sysdeps/sparc/sparc32/rem.S: Likewise.
32107         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32108         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32109         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32110         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32111         * sysdeps/sparc/sparc32/urem.S: Likewise.
32112         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32113         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32114         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32115         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32116         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32117         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32118         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32119         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32120         * sysdeps/unix/bsd/times.c: Likewise.
32121         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32122         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32126         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32127         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32128         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32129         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32130         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32131         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32133         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32134         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32135         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32136         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32137         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32138         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32139         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32140         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32141         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32142         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32143         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32144         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32145         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32146         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32147         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32148         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32149         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32150         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32151         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32152         * sysdeps/x86_64/strcspn.S: Likewise.
32154 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32156         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32157         generated file.  Regenerate properly from gen-translit.pl.
32158         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32159         locale/C-translit.h.
32161 2013-06-05  Andreas Schwab  <schwab@suse.de>
32163         [BZ #15100]
32164         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32165         week as 6 instead of -1.
32166         * time/tst-strptime.c (day_tests): Add test case.
32168 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32170         * sysdeps/generic/math_private.h
32171         (libc_feholdexcept_setround_53bit): Replace with
32172         libc_feholdsetround_53bit.
32173         (libc_feupdateenv_53bit): Replace with
32174         libc_feresetround_53bit.
32175         (SET_RESTORE_ROUND_53BIT): Adjust.
32177 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32179         * string/test-strchrnul.c: Add copyright header.
32181         * posix/tst-getaddrinfo4.c: Increase test timeout.
32183 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32185         [BZ #15536]
32186         * math/libm-test.inc (MAX_EXP): Remove
32187         (MIN_EXP): Define.
32188         (ulp): Use MIN_EXP - MANT_DIG.
32189         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32191 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32193         * po/be.po: Revert last change.
32194         * po/zh_CN.po: Likewise.
32195         * po/header.pot: Likewise.
32197 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32199         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32200         link-libc-deps to empty as target-specific variable.
32201         * Makerules (link-libc-args): New variable.
32202         (libc-for-link): Likewise.
32203         (link-libc-deps): Likewise.
32204         (lib%.so): Depend on $(link-libc-deps).  Link with
32205         $(link-libc-args).
32206         (build-module): Link with $(link-libc-args).
32207         (build-module-asneeded): Likewise.
32208         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32209         list of objects.
32210         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32211         target-specific variable.
32212         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32213         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32214         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32215         libc.
32216         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32217         libc and ld.so.
32218         ($(objpfx)libpcprofile.so): Likewise.
32219         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32220         libc_nonshared.a.
32221         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32222         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32223         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32224         $(link-libc-deps).
32225         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32226         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32227         * login/Makefile ($(objpfx)libutil.so): Likewise.
32228         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32229         * math/Makefile ($(objpfx)libm.so): Likewise.
32230         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32231         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32232         variable instead of depending directly on libc.
32233         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32234         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32235         $(link-libc-deps).
32236         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32237         libc.
32238         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32239         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32240         ($(objpfx)libanl.so): Likewise.
32241         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32242         ld.so.
32243         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32244         $(link-libc-deps).
32245         * sysdeps/i386/fpu/Makefile: Remove file.
32246         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32247         ($(objpfx)libm.so): Remove dependency on ld.so.
32249 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32251         [BZ # 15553]
32252         * nis/yp_xdr.c (XDRMAXNAME): Define.
32253         (XDRMAXRECORD): Define.
32254         (xdr_domainname): Use XDRMAXNAME.
32255         (xdr_mapname): Likewise.
32256         (xdr_peername): Likewise.
32257         (xdr_keydat): Use XDRMAXRECORD.
32258         (xdr_valdat): Likewise.
32260 2013-05-30  Jeff Law  <law@redhat.com>
32262         [BZ #14256]
32263         * manual/errno.texi (ESTALE): Update to account for more than
32264         just NFS file systems.
32265         * sysdeps/gnu/errlist.c: Regenerated.
32267 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32269         [BZ #15465]
32270         * elf/Makefile (tests): Add tst-null-argv.
32271         (modules-names):  Add tst-null-argv-lib.
32272         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32273         (tst-null-argv-ENV): Set environment for tst-null-argv.
32274         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32275         (RTLD_PROGNAME): New macro.
32276         * elf/tst-null-argv.c: New test case.
32277         * elf/tst-null-argv-lib.c: Library for test case.
32278         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32279         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32280         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32281         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32282         * elf/dl-init.c (call_init): Likewise.
32283         (_dl_init): Likewise.
32284         * elf/dl-load.c (print_search_path): Likewise.
32285         (_dl_map_object): Likewise.
32286         * elf/dl-lookup.c (do_lookup_x): Likewise.
32287         (add_dependency): Likewise.
32288         (_dl_lookup_symbol_x): Likewise.
32289         (_dl_debug_bindings): Likewise.
32290         * elf/dl-open.c (_dl_show_scope): Likewise.
32291         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32292         * elf/dl-version.c (match_symbol): Likewise.
32293         (_dl_check_map_versions): Likewise.
32294         * elf/rtld.c (dl_main): Likewise.
32295         (print_unresolved): Use RTLD_PROGNAME.
32296         (print_missing_version): Likewise.
32297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32298         (elf_machine_rela): Likewise.
32299         * sysdeps/powerpc/powerpc32/dl-machine.c
32300         (__process_machine_rela): Likewise.
32301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32302         Likewise.
32303         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32304         Likewise.
32305         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32306         Likewise.
32307         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32308         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32309         Likewise.
32310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32311         Likewise.
32312         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32314 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32316         * po/be.po: Add descriptive title.
32317         * po/zh_CN.po: Likewise.
32318         * po/header.pot: Likewise.
32320 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32322         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32323         error message.
32324         (enlarge_archive): Likewise.
32326 2013-05-28  Ben North  <ben@redfrontdoor.org>
32328         * manual/arith.texi (frexp): It is the magnitude of the return
32329         value which lies in [0.5, 1), not the return value itself.
32331 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32335 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32337         * stdio-common/bug26.c (main): Correct fscanf template.
32339         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32340         declare _dl_skip_args.
32342         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32343         Don't declare.
32345         * manual/platform.texi: Add missing @end deftypefun.
32347 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32349         [BZ #15529]
32350         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32351         bit of mantissa of 2^16382.
32352         * math/libm-test.inc (hypot_test_data): Add more tests.
32354         * math/libm-test.inc: Add drem and pow10 to list of tested
32355         functions.
32356         (pow10_test): New function.
32357         (drem_test): Likewise.
32358         (drem_test_tonearest): Likewise.
32359         (drem_test_towardzero): Likewise.
32360         (drem_test_downward): Likewise.
32361         (drem_test_upward): Likewise.
32362         (main): Call the new functions.
32364         * math/libm-test.inc (finite_test_data): Remove.
32365         (finite_test): Run tests from isfinite_test_data.
32366         (gamma_test_data): Remove.
32367         (gamma_test): Run tests from lgamma_test_data.
32368         * sysdeps/i386/fpu/libm-test-ulps: Update.
32369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32371 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32373         * manual/platform.texi: Add PowerPC PPR function set documentation.
32374         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32375         implementation.
32377 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32379         * math/libm-test.inc (MAX_EXP): Define.
32380         (ULPDIFF): Define.
32381         (ulp): New function.
32382         (check_float_internal): Use ULPDIFF.
32383         (cpow_test): Disable failing test.
32384         (check_ulp): Test ulp() implemetnation.
32385         (main): Call check_ulp before starting tests.
32387 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32389         * math/gen-libm-test.pl (generate_testfile): Do not handle
32390         START_DATA and END_DATA.
32391         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32392         END_DATA.
32393         (acos_tonearest_test_data): Likewise.
32394         (acos_towardzero_test_data): Likewise.
32395         (acos_downward_test_data): Likewise.
32396         (acos_upward_test_data): Likewise.
32397         (acosh_test_data): Likewise.
32398         (asin_test_data): Likewise.
32399         (asin_tonearest_test_data): Likewise.
32400         (asin_towardzero_test_data): Likewise.
32401         (asin_downward_test_data): Likewise.
32402         (asin_upward_test_data): Likewise.
32403         (asinh_test_data): Likewise.
32404         (atan_test_data): Likewise.
32405         (atanh_test_data): Likewise.
32406         (atan2_test_data): Likewise.
32407         (cabs_test_data): Likewise.
32408         (cacos_test_data): Likewise.
32409         (cacosh_test_data): Likewise.
32410         (carg_test_data): Likewise.
32411         (casin_test_data): Likewise.
32412         (casinh_test_data): Likewise.
32413         (catan_test_data): Likewise.
32414         (catanh_test_data): Likewise.
32415         (cbrt_test_data): Likewise.
32416         (ccos_test_data): Likewise.
32417         (ccosh_test_data): Likewise.
32418         (ceil_test_data): Likewise.
32419         (cexp_test_data): Likewise.
32420         (cimag_test_data): Likewise.
32421         (clog_test_data): Likewise.
32422         (clog10_test_data): Likewise.
32423         (conj_test_data): Likewise.
32424         (copysign_test_data): Likewise.
32425         (cos_test_data): Likewise.
32426         (cos_tonearest_test_data): Likewise.
32427         (cos_towardzero_test_data): Likewise.
32428         (cos_downward_test_data): Likewise.
32429         (cos_upward_test_data): Likewise.
32430         (cosh_test_data): Likewise.
32431         (cosh_tonearest_test_data): Likewise.
32432         (cosh_towardzero_test_data): Likewise.
32433         (cosh_downward_test_data): Likewise.
32434         (cosh_upward_test_data): Likewise.
32435         (cpow_test_data): Likewise.
32436         (cproj_test_data): Likewise.
32437         (creal_test_data): Likewise.
32438         (csin_test_data): Likewise.
32439         (csinh_test_data): Likewise.
32440         (csqrt_test_data): Likewise.
32441         (ctan_test_data): Likewise.
32442         (ctan_tonearest_test_data): Likewise.
32443         (ctan_towardzero_test_data): Likewise.
32444         (ctan_downward_test_data): Likewise.
32445         (ctan_upward_test_data): Likewise.
32446         (ctanh_test_data): Likewise.
32447         (ctanh_tonearest_test_data): Likewise.
32448         (ctanh_towardzero_test_data): Likewise.
32449         (ctanh_downward_test_data): Likewise.
32450         (ctanh_upward_test_data): Likewise.
32451         (erf_test_data): Likewise.
32452         (erfc_test_data): Likewise.
32453         (exp_test_data): Likewise.
32454         (exp_tonearest_test_data): Likewise.
32455         (exp_towardzero_test_data): Likewise.
32456         (exp_downward_test_data): Likewise.
32457         (exp_upward_test_data): Likewise.
32458         (exp10_test_data): Likewise.
32459         (exp2_test_data): Likewise.
32460         (expm1_test_data): Likewise.
32461         (fabs_test_data): Likewise.
32462         (fdim_test_data): Likewise.
32463         (finite_test_data): Likewise.
32464         (floor_test_data): Likewise.
32465         (fma_test_data): Likewise.
32466         (fma_towardzero_test_data): Likewise.
32467         (fma_downward_test_data): Likewise.
32468         (fma_upward_test_data): Likewise.
32469         (fmax_test_data): Likewise.
32470         (fmin_test_data): Likewise.
32471         (fmod_test_data): Likewise.
32472         (fpclassify_test_data): Likewise.
32473         (frexp_test_data): Likewise.
32474         (gamma_test_data): Likewise.
32475         (hypot_test_data): Likewise.
32476         (ilogb_test_data): Likewise.
32477         (isfinite_test_data): Likewise.
32478         (isgreater_test_data): Likewise.
32479         (isgreaterequal_test_data): Likewise.
32480         (isinf_test_data): Likewise.
32481         (isless_test_data): Likewise.
32482         (islessequal_test_data): Likewise.
32483         (islessgreater_test_data): Likewise.
32484         (isnan_test_data): Likewise.
32485         (isnormal_test_data): Likewise.
32486         (issignaling_test_data): Likewise.
32487         (isunordered_test_data): Likewise.
32488         (j0_test_data): Likewise.
32489         (j1_test_data): Likewise.
32490         (jn_test_data): Likewise.
32491         (ldexp_test_data): Likewise.
32492         (lgamma_test_data): Likewise.
32493         (lrint_test_data): Likewise.
32494         (lrint_tonearest_test_data): Likewise.
32495         (lrint_towardzero_test_data): Likewise.
32496         (lrint_downward_test_data): Likewise.
32497         (lrint_upward_test_data): Likewise.
32498         (llrint_test_data): Likewise.
32499         (llrint_tonearest_test_data): Likewise.
32500         (llrint_towardzero_test_data): Likewise.
32501         (llrint_downward_test_data): Likewise.
32502         (llrint_upward_test_data): Likewise.
32503         (log_test_data): Likewise.
32504         (log10_test_data): Likewise.
32505         (log1p_test_data): Likewise.
32506         (log2_test_data): Likewise.
32507         (logb_test_data): Likewise.
32508         (logb_downward_test_data): Likewise.
32509         (lround_test_data): Likewise.
32510         (llround_test_data): Likewise.
32511         (modf_test_data): Likewise.
32512         (nearbyint_test_data): Likewise.
32513         (nextafter_test_data): Likewise.
32514         (nexttoward_test_data): Likewise.
32515         (pow_test_data): Likewise.
32516         (pow_tonearest_test_data): Likewise.
32517         (pow_towardzero_test_data): Likewise.
32518         (pow_downward_test_data): Likewise.
32519         (pow_upward_test_data): Likewise.
32520         (remainder_test_data): Likewise.
32521         (remainder_tonearest_test_data): Likewise.
32522         (remainder_towardzero_test_data): Likewise.
32523         (remainder_downward_test_data): Likewise.
32524         (remainder_upward_test_data): Likewise.
32525         (remquo_test_data): Likewise.
32526         (rint_test_data): Likewise.
32527         (rint_tonearest_test_data): Likewise.
32528         (rint_towardzero_test_data): Likewise.
32529         (rint_downward_test_data): Likewise.
32530         (rint_upward_test_data): Likewise.
32531         (round_test_data): Likewise.
32532         (scalb_test_data): Likewise.
32533         (scalbn_test_data): Likewise.
32534         (scalbln_test_data): Likewise.
32535         (signbit_test_data): Likewise.
32536         (sin_test_data): Likewise.
32537         (sin_tonearest_test_data): Likewise.
32538         (sin_towardzero_test_data): Likewise.
32539         (sin_downward_test_data): Likewise.
32540         (sin_upward_test_data): Likewise.
32541         (sincos_test_data): Likewise.
32542         (sinh_test_data): Likewise.
32543         (sinh_tonearest_test_data): Likewise.
32544         (sinh_towardzero_test_data): Likewise.
32545         (sinh_downward_test_data): Likewise.
32546         (sinh_upward_test_data): Likewise.
32547         (sqrt_test_data): Likewise.
32548         (tan_test_data): Likewise.
32549         (tan_tonearest_test_data): Likewise.
32550         (tan_towardzero_test_data): Likewise.
32551         (tan_downward_test_data): Likewise.
32552         (tan_upward_test_data): Likewise.
32553         (tanh_test_data): Likewise.
32554         (tgamma_test_data): Likewise.
32555         (trunc_test_data): Likewise.
32556         (y0_test_data): Likewise.
32557         (y1_test_data): Likewise.
32558         (yn_test_data): Likewise.
32559         (significand_test_data): Likewise.
32561         * math/gen-libm-test.pl (@functions): Remove variable.
32562         (generate_testfile): Don't handle START and END lines.
32563         * math/libm-test.inc (START): New macro.
32564         (END): Likewise.
32565         (END_COMPLEX): Likewise.
32566         (acos_test): Use END macro without arguments.
32567         (acos_test_tonearest): Likewise.
32568         (acos_test_towardzero): Likewise.
32569         (acos_test_downward): Likewise.
32570         (acos_test_upward): Likewise.
32571         (acosh_test): Likewise.
32572         (asin_test): Likewise.
32573         (asin_test_tonearest): Likewise.
32574         (asin_test_towardzero): Likewise.
32575         (asin_test_downward): Likewise.
32576         (asin_test_upward): Likewise.
32577         (asinh_test): Likewise.
32578         (atan_test): Likewise.
32579         (atanh_test): Likewise.
32580         (atan2_test): Likewise.
32581         (cabs_test): Likewise.
32582         (cacos_test): Use END_COMPLEX macro without arguments.
32583         (cacosh_test): Likewise.
32584         (carg_test): Use END macro without arguments.
32585         (casin_test): Use END_COMPLEX macro without arguments.
32586         (casinh_test): Likewise.
32587         (catan_test): Likewise.
32588         (catanh_test): Likewise.
32589         (cbrt_test): Use END macro without arguments.
32590         (ccos_test): Use END_COMPLEX macro without arguments.
32591         (ccosh_test): Likewise.
32592         (ceil_test): Use END macro without arguments.
32593         (cexp_test): Use END_COMPLEX macro without arguments.
32594         (cimag_test): Use END macro without arguments.
32595         (clog_test): Use END_COMPLEX macro without arguments.
32596         (clog10_test): Likewise.
32597         (conj_test): Likewise.
32598         (copysign_test): Use END macro without arguments.
32599         (cos_test): Likewise.
32600         (cos_test_tonearest): Likewise.
32601         (cos_test_towardzero): Likewise.
32602         (cos_test_downward): Likewise.
32603         (cos_test_upward): Likewise.
32604         (cosh_test): Likewise.
32605         (cosh_test_tonearest): Likewise.
32606         (cosh_test_towardzero): Likewise.
32607         (cosh_test_downward): Likewise.
32608         (cosh_test_upward): Likewise.
32609         (cpow_test): Use END_COMPLEX macro without arguments.
32610         (cproj_test): Likewise.
32611         (creal_test): Use END macro without arguments.
32612         (csin_test): Use END_COMPLEX macro without arguments.
32613         (csinh_test): Likewise.
32614         (csqrt_test): Likewise.
32615         (ctan_test): Likewise.
32616         (ctan_test_tonearest): Likewise.
32617         (ctan_test_towardzero): Likewise.
32618         (ctan_test_downward): Likewise.
32619         (ctan_test_upward): Likewise.
32620         (ctanh_test): Likewise.
32621         (ctanh_test_tonearest): Likewise.
32622         (ctanh_test_towardzero): Likewise.
32623         (ctanh_test_downward): Likewise.
32624         (ctanh_test_upward): Likewise.
32625         (erf_test): Use END macro without arguments.
32626         (erfc_test): Likewise.
32627         (exp_test): Likewise.
32628         (exp_test_tonearest): Likewise.
32629         (exp_test_towardzero): Likewise.
32630         (exp_test_downward): Likewise.
32631         (exp_test_upward): Likewise.
32632         (exp10_test): Likewise.
32633         (exp2_test): Likewise.
32634         (expm1_test): Likewise.
32635         (fabs_test): Likewise.
32636         (fdim_test): Likewise.
32637         (finite_test): Likewise.
32638         (floor_test): Likewise.
32639         (fma_test): Likewise.
32640         (fma_test_towardzero): Likewise.
32641         (fma_test_downward): Likewise.
32642         (fma_test_upward): Likewise.
32643         (fmax_test): Likewise.
32644         (fmin_test): Likewise.
32645         (fmod_test): Likewise.
32646         (fpclassify_test): Likewise.
32647         (frexp_test): Likewise.
32648         (gamma_test): Likewise.
32649         (hypot_test): Likewise.
32650         (ilogb_test): Likewise.
32651         (isfinite_test): Likewise.
32652         (isgreater_test): Likewise.
32653         (isgreaterequal_test): Likewise.
32654         (isinf_test): Likewise.
32655         (isless_test): Likewise.
32656         (islessequal_test): Likewise.
32657         (islessgreater_test): Likewise.
32658         (isnan_test): Likewise.
32659         (isnormal_test): Likewise.
32660         (issignaling_test): Likewise.
32661         (isunordered_test): Likewise.
32662         (j0_test): Likewise.
32663         (j1_test): Likewise.
32664         (jn_test): Likewise.
32665         (ldexp_test): Likewise.
32666         (lgamma_test): Likewise.
32667         (lrint_test): Likewise.
32668         (lrint_test_tonearest): Likewise.
32669         (lrint_test_towardzero): Likewise.
32670         (lrint_test_downward): Likewise.
32671         (lrint_test_upward): Likewise.
32672         (llrint_test): Likewise.
32673         (llrint_test_tonearest): Likewise.
32674         (llrint_test_towardzero): Likewise.
32675         (llrint_test_downward): Likewise.
32676         (llrint_test_upward): Likewise.
32677         (log_test): Likewise.
32678         (log10_test): Likewise.
32679         (log1p_test): Likewise.
32680         (log2_test): Likewise.
32681         (logb_test): Likewise.
32682         (logb_test_downward): Likewise.
32683         (lround_test): Likewise.
32684         (llround_test): Likewise.
32685         (modf_test): Likewise.
32686         (nearbyint_test): Likewise.
32687         (nextafter_test): Likewise.
32688         (nexttoward_test): Likewise.
32689         (pow_test): Likewise.
32690         (pow_test_tonearest): Likewise.
32691         (pow_test_towardzero): Likewise.
32692         (pow_test_downward): Likewise.
32693         (pow_test_upward): Likewise.
32694         (remainder_test): Likewise.
32695         (remainder_test_tonearest): Likewise.
32696         (remainder_test_towardzero): Likewise.
32697         (remainder_test_downward): Likewise.
32698         (remainder_test_upward): Likewise.
32699         (remquo_test): Likewise.
32700         (rint_test): Likewise.
32701         (rint_test_tonearest): Likewise.
32702         (rint_test_towardzero): Likewise.
32703         (rint_test_downward): Likewise.
32704         (rint_test_upward): Likewise.
32705         (round_test): Likewise.
32706         (scalb_test): Likewise.
32707         (scalbn_test): Likewise.
32708         (scalbln_test): Likewise.
32709         (signbit_test): Likewise.
32710         (sin_test): Likewise.
32711         (sin_test_tonearest): Likewise.
32712         (sin_test_towardzero): Likewise.
32713         (sin_test_downward): Likewise.
32714         (sin_test_upward): Likewise.
32715         (sincos_test): Likewise.
32716         (sinh_test): Likewise.
32717         (sinh_test_tonearest): Likewise.
32718         (sinh_test_towardzero): Likewise.
32719         (sinh_test_downward): Likewise.
32720         (sinh_test_upward): Likewise.
32721         (sqrt_test): Likewise.
32722         (tan_test): Likewise.
32723         (tan_test_tonearest): Likewise.
32724         (tan_test_towardzero): Likewise.
32725         (tan_test_downward): Likewise.
32726         (tan_test_upward): Likewise.
32727         (tanh_test): Likewise.
32728         (tgamma_test): Likewise.
32729         (trunc_test): Likewise.
32730         (y0_test): Likewise.
32731         (y1_test): Likewise.
32732         (yn_test): Likewise.
32733         (significand_test): Likewise.
32735 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32737         [BZ #15381]
32738         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32740 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32742         [BZ #14894]
32743         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32744         __ppc_mdoio and __ppc_mdoom.
32745         * manual/platform.texi: Document new functions __ppc_yield,
32746         __ppc_mdoio and __ppc_mdoom.
32748 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32750         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32751         (main): Mention "tls" pseudo-hwcap is legacy.
32752         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32754 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32756         * math/gen-libm-test.pl (parse_args): Output only string of
32757         arguments as text for test name, not full call or descriptions of
32758         tests for extra outputs.
32759         (generate_testfile): Do not pass function name to parse_args.
32760         Generate this_func variable from START.
32761         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32762         field to arg_str.
32763         (struct test_ff_f_data): Likewise.
32764         (test_ff_f_data_nexttoward): Likewise.
32765         (struct test_fi_f_data): Likewise.
32766         (struct test_fl_f_data): Likewise.
32767         (struct test_if_f_data): Likewise.
32768         (struct test_fff_f_data): Likewise.
32769         (struct test_c_f_data): Likewise.
32770         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32771         (struct test_fF_f1_data): Likewise.
32772         (struct test_ffI_f1_data): Likewise.
32773         (struct test_c_c_data): Rename test_name field to arg_str.
32774         (struct test_cc_c_data): Likewise.
32775         (struct test_f_i_data): Likewise.
32776         (struct test_ff_i_data): Likewise.
32777         (struct test_f_l_data): Likewise.
32778         (struct test_f_L_data): Likewise.
32779         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32780         and extra2_name.
32781         (COMMON_TEST_SETUP): New macro.
32782         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32783         (COMMON_TEST_CLEANUP): Likewise.
32784         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32785         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32786         macros.
32787         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32788         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32789         macros.
32790         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32791         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32792         cleanup macros.
32793         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32794         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32795         macros.
32796         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32797         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32798         macros.
32799         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32800         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32801         cleanup macros.
32802         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32803         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32804         cleanup macros.
32805         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32806         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32807         cleanup macros.
32808         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32809         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32810         macros.
32811         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32812         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32813         macros.
32814         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32815         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32816         macros.
32817         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32818         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32819         cleanup macros.
32820         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32821         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32822         cleanup macros.
32823         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32824         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32825         macros.
32826         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32827         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32828         cleanup macros.
32829         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32830         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32831         macros.
32832         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32833         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32834         macros.
32835         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32836         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32837         cleanup macros.
32838         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32840 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32842         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32843         to _sifields.sigfault.
32844         (si_addr_lsb): Define new macro.
32845         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32846         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32847         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32849 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32851         [BZ #15441]
32852         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32853         returns -1.
32854         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32855         null return -1.
32856         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32857         loading the domain.
32859 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32861         * math/gen-libm-test.pl (parse_args): Do not include expected
32862         result in test name.
32863         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32864         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32865         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32866         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32867         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32872         * benchtests/Makefile: Sort function entries.
32874         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32875         tanh, asinh, acosh, atanh.
32876         * benchtests/acos-inputs: New file.
32877         * benchtests/acosh-inputs: New file.
32878         * benchtests/asin-inputs: New file.
32879         * benchtests/asinh-inputs: New file.
32880         * benchtests/atanh-inputs: New file.
32881         * benchtests/cosh-inputs: New file.
32882         * benchtests/log-inputs: New file.
32883         * benchtests/sinh-inputs: New file.
32884         * benchtests/tanh-inputs: New file.
32886 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32888         [BZ #15339]
32889         * posix/tst-getaddrinfo4.c: New test.
32890         * posix/Makefile (tests): Add it.
32892 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32894         [BZ #15339]
32895         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32896         when no services were used.
32897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32898         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32900 2013-05-21  Andreas Schwab  <schwab@suse.de>
32902         [BZ #15014]
32903         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32904         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32905         successful.
32906         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32907         redundant variable declarations and reallocation of buffer when
32908         parsing as IPv6 address.  Always set NSS status when called from
32909         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32910         buffer too small.  Correct computation of needed size.
32911         * nss/Makefile (tests): Add test-digits-dots.
32912         * nss/test-digits-dots.c: New test.
32914 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32916         * benchtests/Makefile: Remove instructions for adding
32917         benchmark tests.
32918         * benchtests/README: New file to explain how to execute and
32919         enhance the benchmark tests.
32921 2013-05-21  Andreas Schwab  <schwab@suse.de>
32923         [BZ #15493]
32924         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32925         * setjmp/tst-sigsetjmp.c: New test.
32927 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32929         * sysdeps/x86_64/memset.S (memset): New implementation.
32930         (__bzero): Likewise.
32931         (__memset_tail): New function.
32933 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32935         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32936         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32937         __memcpy_sse2_unaligned ifunc selection.
32938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32939         Add memcpy-sse2-unaligned.S.
32940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32941         Add: __memcpy_sse2_unaligned.
32943 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32945         [BZ #15490]
32946         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32947         math_force_eval before restoring floating-point envrionment.
32948         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32949         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32950         Likewise.
32951         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32952         <math_private.h>.
32953         (__nearbyintl): Use math_force_eval before restoring
32954         floating-point environment.
32955         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32957         * math/gen-libm-test.pl (special_functions): Remove.
32958         (parse_args): Don't handle TEST_extra.  Handle functions with no
32959         return value.
32960         * math/libm-test.inc (struct test_sincos_data): Replace with
32961         struct test_fFF_11_data.
32962         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32963         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32964         (sincos_test_data): Change element type to struct
32965         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32966         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32967         RUN_TEST_LOOP_sincos.
32968         * math/README.libm-test: Don't mention special handling of
32969         individual functions.
32970         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32971         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32972         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32973         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32974         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32977         * math/gen-libm-test.pl (get_variable): Remove function.
32978         (parse_args): Don't show pointer parameters to call in test
32979         names.  Use "extra output N" in test names for extra outputs
32980         rather than naming variables.
32982 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32984         [BZ #15488]
32985         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32986         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32987         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32988         double tests.
32989         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32990         disable.
32991         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32992         check_long_double.
32994         * math/gen-libm-test.pl (@tests): Remove variable.
32995         ($count): Likewise.
32996         (new_test): Remove function.
32997         (show_exceptions): New function.
32998         (special_functions): Use show_exceptions instead of new_test.
32999         (parse_args): Likewise.
33000         (generate_testfile): Pass only function name in generated call to
33001         print_max_error or print_complex_max_error.
33002         (get_ulps): Do not handle complex tests specially.
33003         (output_test): Rename to ...
33004         (get_all_ulps_for_test): ... this.  Return a string rather than
33005         printing to a file.  Require ulps to be present.
33006         (output_ulps): Generate arrays rather than #defines.
33007         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33008         (struct ulp_data): New type.
33009         (BUILD_COMPLEX_ULP): Remove macro.
33010         (compare_ulp_data): New function.
33011         (find_ulps): Likewise.
33012         (find_test_ulps): Likewise.
33013         (find_function_ulps): Likewise.
33014         (find_complex_function_ulps): Likewise.
33015         (print_max_error): Determine allowed ulps using
33016         find_function_ulps.
33017         (print_complex_max_error): Determine allowed ulps using
33018         find_complex_function_ulps.
33019         (check_float_internal): Determine max ulps using find_test_ulps.
33020         (check_float): Do not take max_ulp parameter.  Update call to
33021         check_float_internal.
33022         (check_complex): Likewise.
33023         (check_int): Do not take max_ulp parameter.
33024         (check_long): Likewise.
33025         (check_bool): Likewise.
33026         (check_longlong): Likewise.
33027         (struct test_f_f_data): Remove max_ulp field.
33028         (struct test_ff_f_data): Likewise.
33029         (struct test_ff_f_data_nexttoward): Likewise.
33030         (struct test_fi_f_data): Likewise.
33031         (struct test_fl_f_data): Likewise.
33032         (struct test_if_f_data): Likewise.
33033         (struct test_fff_f_data): Likewise.
33034         (struct test_c_f_data): Likewise.
33035         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33036         (struct test_fF_f1_data): Likewise.
33037         (struct test_ffI_f1_data): Likewise.
33038         (struct test_c_c_data): Remove max_ulp field.
33039         (struct test_cc_c_data): Likewise.
33040         (struct test_f_i_data): Likewise.
33041         (struct test_ff_i_data): Likewise.
33042         (struct test_f_l_data): Likewise.
33043         (struct test_f_L_data): Likewise.
33044         (struct test_sincos_data): Likewise.
33045         (RUN_TEST_f_f): Do not handle ulps.
33046         (RUN_TEST_LOOP_f_f): Likewise.
33047         (RUN_TEST_2_f): Likewise.
33048         (RUN_TEST_LOOP_2_f): Likewise.
33049         (RUN_TEST_fff_f): Likewise.
33050         (RUN_TEST_LOOP_fff_f): Likewise.
33051         (RUN_TEST_c_f): Likewise.
33052         (RUN_TEST_LOOP_c_f): Likewise.
33053         (RUN_TEST_f_f1): Likewise.
33054         (RUN_TEST_LOOP_f_f1): Likewise.
33055         (RUN_TEST_fF_f1): Likewise.
33056         (RUN_TEST_LOOP_fF_f1): Likewise.
33057         (RUN_TEST_fI_f1): Likewise.
33058         (RUN_TEST_LOOP_fI_f1): Likewise.
33059         (RUN_TEST_ffI_f1): Likewise.
33060         (RUN_TEST_LOOP_ffI_f1): Likewise.
33061         (RUN_TEST_c_c): Likewise.
33062         (RUN_TEST_LOOP_c_c): Likewise.
33063         (RUN_TEST_cc_c): Likewise.
33064         (RUN_TEST_LOOP_cc_c): Likewise.
33065         (RUN_TEST_f_i): Likewise.
33066         (RUN_TEST_LOOP_f_i): Likewise.
33067         (RUN_TEST_f_i_tg): Likewise.
33068         (RUN_TEST_LOOP_f_i_tg): Likewise.
33069         (RUN_TEST_ff_i_tg): Likewise.
33070         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33071         (RUN_TEST_f_b): Likewise.
33072         (RUN_TEST_LOOP_f_b): Likewise.
33073         (RUN_TEST_f_b_tg): Likewise.
33074         (RUN_TEST_LOOP_f_b_tg): Likewise.
33075         (RUN_TEST_f_l): Likewise.
33076         (RUN_TEST_LOOP_f_l): Likewise.
33077         (RUN_TEST_f_L): Likewise.
33078         (RUN_TEST_LOOP_f_L): Likewise.
33079         (RUN_TEST_sincos): Likewise.
33080         (RUN_TEST_LOOP_sincos): Likewise.
33082 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33084         [BZ #15480]
33085         [BZ #15485]
33086         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33087         main case of finite arguments, set rounding mode to FE_TONEAREST
33088         and discard exceptions.
33089         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33090         exceptions.
33091         (remainder_tonearest_test_data): New variable.
33092         (remainder_test_tonearest): New function.
33093         (remainder_towardzero_test_data): New variable.
33094         (remainder_test_towardzero): New function.
33095         (remainder_downward_test_data): New variable.
33096         (remainder_test_downward): New function.
33097         (remainder_upward_test_data): New variable.
33098         (remainder_test_upward): New function.
33099         (main): Call the new test functions.
33101         * math/libm-test.inc (struct test_f_f1_data): Remove field
33102         extra_init.
33103         (struct test_fF_f1_data): Likewise.
33104         (struct test_ffI_f1_data): Likewise.
33105         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33106         based on value of EXTRA_EXPECTED.
33107         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33108         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33109         EXTRA_VAR based on value of EXTRA_EXPECTED.
33110         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33111         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33112         EXTRA_VAR based on value of EXTRA_EXPECTED.
33113         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33114         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33115         EXTRA_VAR based on value of EXTRA_EXPECTED.
33116         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33117         * math/gen-libm-test.pl (parse_args): Don't output initializers
33118         for extra output values.
33120         * math/libm-test.inc (check_int): Expect result to be exactly
33121         equal to expected value and do not handle ulps.
33122         (check_long): Likewise.
33123         (check_longlong): Likewise.
33125         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33126         exceptions.
33127         (cimag_test_data): Likewise.
33128         (conj_test_data): Likewise.
33129         (copysign_test_data): Likewise.
33130         (cproj_test_data): Likewise.
33131         (creal_test_data): Likewise.
33132         (fabs_test_data): Likewise.
33133         (fdim_test_data): Likewise.
33134         (finite_test_data): Likewise.
33135         (floor_test_data): Likewise.
33136         (fmax_test_data): Likewise.
33137         (fmin_test_data): Likewise.
33138         (fmod_test_data): Likewise.
33139         (fpclassify_test_data): Likewise.
33140         (frexp_test_data): Likewise.
33141         (ilogb_test_data): Likewise.
33142         (isfinite_test_data): Likewise.
33143         (isgreater_test_data): Likewise.
33144         (isgreaterequal_test_data): Likewise.
33145         (isinf_test_data): Likewise.
33146         (isless_test_data): Likewise.
33147         (islessequal_test_data): Likewise.
33148         (islessgreater_test_data): Likewise.
33149         (isnan_test_data): Likewise.
33150         (isnormal_test_data): Likewise.
33151         (issignaling_test_data): Likewise.
33152         (isunordered_test_data): Likewise.
33153         (ldexp_test_data): Likewise.
33154         (lrint_test_data): Likewise.
33155         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33156         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33157         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33158         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33159         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33160         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33161         test input.
33162         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33163         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33164         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33165         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33166         that test input.
33167         (lrint_downward_test_data): Test for "inexact" exceptions.
33168         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33169         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33170         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33171         test input.
33172         (lrint_upward_test_data): Test for "inexact" exceptions.
33173         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33174         test input.
33175         (llrint_test_data): Test for "inexact" exceptions.
33176         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33177         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33178         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33179         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33180         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33181         (llrint_downward_test_data): Test for "inexact" exceptions.
33182         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33183         (llrint_upward_test_data): Test for "inexact" exceptions.
33184         (logb_test_data): Likewise.
33185         (logb_downward_test_data): Likewise.
33186         (nextafter_test_data): Likewise.
33187         (nexttoward_test_data): Likewise.
33188         (remainder_test_data): Likewise.
33189         (remquo_test_data): Likewise.
33190         (scalbn_test_data): Likewise.
33191         (scalbln_test_data): Likewise.
33192         (signbit_test_data): Likewise.
33193         (sqrt_test_data): Likewise.
33194         (significand_test_data): Likewise.
33196 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33198         [BZ #15424]
33199         * benchtests/bench-modf.c (struct args): Mark arg0 as
33200         volatile.
33201         * scripts/bench.pl: Mark members of struct args as volatile.
33203 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33205         [BZ # 15497]
33206         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33207         negative infinity on POWER6 or lower.
33208         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33210 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33212         [BZ #15442]
33213         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33214         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33215         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33216         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33217         (_FP_SETQNAN): New macro.
33218         (_FP_SETQNAN_SEMIRAW): Likewise.
33219         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33220         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33221         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33222         (FP_EXTEND): Use _FP_FRAC_SNANP.
33223         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33224         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33225         into account.
33226         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33227         New macro.
33228         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33229         Likewise.
33231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33233         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33234         with DIVIDE_BY_ZERO_EXCEPTION.
33235         (gamma_test_data): Likewise.
33236         (lgamma_test_data): Likewise.
33237         (log_test_data): Likewise.
33238         (log10_test_data): Likewise.
33239         (log2_test_data): Likewise.
33240         (tgamma_test_data): Likewise.
33242         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33243         (acos_test_tonearest): Likewise.
33244         (acos_test_towardzero): Likewise.
33245         (acos_test_downward): Likewise.
33246         (acos_test_upward): Likewise.
33247         (acosh_test): Likewise.
33248         (asin_test): Likewise.
33249         (asin_test_tonearest): Likewise.
33250         (asin_test_towardzero): Likewise.
33251         (asin_test_downward): Likewise.
33252         (asin_test_upward): Likewise.
33253         (asinh_test): Likewise.
33254         (atan_test): Likewise.
33255         (atanh_test): Likewise.
33256         (atan2_test): Likewise.
33257         (cabs_test): Likewise.
33258         (cacos_test): Likewise.
33259         (cacosh_test): Likewise.
33260         (casin_test): Likewise.
33261         (casinh_test): Likewise.
33262         (catan_test): Likewise.
33263         (catanh_test): Likewise.
33264         (cbrt_test): Likewise.
33265         (ccos_test): Likewise.
33266         (ccosh_test): Likewise.
33267         (cexp_test): Likewise.
33268         (clog_test): Likewise.
33269         (clog10_test): Likewise.
33270         (cos_test): Likewise.
33271         (cos_test_tonearest): Likewise.
33272         (cos_test_towardzero): Likewise.
33273         (cos_test_downward): Likewise.
33274         (cos_test_upward): Likewise.
33275         (cosh_test): Likewise.
33276         (cosh_test_tonearest): Likewise.
33277         (cosh_test_towardzero): Likewise.
33278         (cosh_test_downward): Likewise.
33279         (cosh_test_upward): Likewise.
33280         (cpow_test): Likewise.
33281         (csin_test): Likewise.
33282         (csinh_test): Likewise.
33283         (csqrt_test): Likewise.
33284         (ctan_test): Likewise.
33285         (ctan_test_tonearest): Likewise.
33286         (ctan_test_towardzero): Likewise.
33287         (ctan_test_downward): Likewise.
33288         (ctan_test_upward): Likewise.
33289         (ctanh_test): Likewise.
33290         (ctanh_test_tonearest): Likewise.
33291         (ctanh_test_towardzero): Likewise.
33292         (ctanh_test_downward): Likewise.
33293         (ctanh_test_upward): Likewise.
33294         (erf_test): Likewise.
33295         (erfc_test): Likewise.
33296         (exp_test): Likewise.
33297         (exp_test_tonearest): Likewise.
33298         (exp_test_towardzero): Likewise.
33299         (exp_test_downward): Likewise.
33300         (exp_test_upward): Likewise.
33301         (exp10_test): Likewise.
33302         (exp2_test): Likewise.
33303         (expm1_test): Likewise.
33304         (fmod_test): Likewise.
33305         (gamma_test): Likewise.
33306         (hypot_test): Likewise.
33307         (j0_test): Likewise.
33308         (j1_test): Likewise.
33309         (jn_test): Likewise.
33310         (lgamma_test): Likewise.
33311         (log_test): Likewise.
33312         (log10_test): Likewise.
33313         (log1p_test): Likewise.
33314         (log2_test): Likewise.
33315         (logb_test_downward): Likewise.
33316         (pow_test): Likewise.
33317         (pow_test_tonearest): Likewise.
33318         (pow_test_towardzero): Likewise.
33319         (pow_test_downward): Likewise.
33320         (pow_test_upward): Likewise.
33321         (remainder_test): Likewise.
33322         (remquo_test): Likewise.
33323         (sin_test): Likewise.
33324         (sin_test_tonearest): Likewise.
33325         (sin_test_towardzero): Likewise.
33326         (sin_test_downward): Likewise.
33327         (sin_test_upward): Likewise.
33328         (sincos_test): Likewise.
33329         (sinh_test): Likewise.
33330         (sinh_test_tonearest): Likewise.
33331         (sinh_test_towardzero): Likewise.
33332         (sinh_test_downward): Likewise.
33333         (sinh_test_upward): Likewise.
33334         (sqrt_test): Likewise.
33335         (tan_test): Likewise.
33336         (tan_test_tonearest): Likewise.
33337         (tan_test_towardzero): Likewise.
33338         (tan_test_downward): Likewise.
33339         (tan_test_upward): Likewise.
33340         (tanh_test): Likewise.
33341         (tgamma_test): Likewise.
33342         (y0_test): Likewise.
33343         (y1_test): Likewise.
33344         (yn_test): Likewise.
33346         * math/gen-libm-test.pl (adjust_arg): Remove function.
33347         (special_function): Remove argument $in_func.  Only handle
33348         generating output for tables of tests, not inside functions.
33349         (parse_args): Likewise.
33350         (generate_testfile): Remove variable $in_func.  Update call to
33351         parse_args.
33352         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33353         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33354         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33355         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33356         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33357         (MAX_VALUE_INIT): Rename macro to max_value.
33358         (MIN_VALUE_INIT): Rename macro to min_value.
33359         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33360         (plus_zero): Remove variable.
33361         (minus_zero): Likewise.
33362         (plus_infty): Likewise.
33363         (minus_infty): Likewise.
33364         (qnan_value): Likewise.
33365         (max_value): Likewise.
33366         (min_value): Likewise.
33367         (min_subnorm_value): Likewise.
33369 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33371         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33372         uint64_t or uint32_t usage.
33373         * crypt/sha256-block.c: Likewise.
33374         * crypt/sha256-crypt.c: Likewise.
33375         * crypt/sha256.c: Likewise.
33376         * crypt/sha512-block.c: Likewise.
33377         * crypt/sha512-crypt.c: Likewise.
33378         * crypt/sha512.c: Likewise.
33379         * debug/backtrace-tst.c: Likewise.
33380         * debug/pcprofiledump.c: Likewise.
33381         * elf/cache.c: Likewise.
33382         * elf/dl-cache.c: Likewise.
33383         * elf/dl-misc.c: Likewise.
33384         * elf/dl-profile.c: Likewise.
33385         * elf/dl-support.c: Likewise.
33386         * elf/ldconfig.c: Likewise.
33387         * elf/sprof.c: Likewise.
33388         * iconv/dummy-repertoire.c: Likewise.
33389         * iconv/iconv_charmap.c: Likewise.
33390         * iconv/skeleton.c: Likewise.
33391         * iconvdata/8bit-generic.c: Likewise.
33392         * iconvdata/cp737.h: Likewise.
33393         * iconvdata/cp775.h: Likewise.
33394         * iconvdata/ibm1008.h: Likewise.
33395         * iconvdata/ibm1025.h: Likewise.
33396         * iconvdata/ibm1046.h: Likewise.
33397         * iconvdata/ibm1097.h: Likewise.
33398         * iconvdata/ibm1112.h: Likewise.
33399         * iconvdata/ibm1122.h: Likewise.
33400         * iconvdata/ibm1123.h: Likewise.
33401         * iconvdata/ibm1124.h: Likewise.
33402         * iconvdata/ibm1129.h: Likewise.
33403         * iconvdata/ibm1130.h: Likewise.
33404         * iconvdata/ibm1132.h: Likewise.
33405         * iconvdata/ibm1133.h: Likewise.
33406         * iconvdata/ibm1137.h: Likewise.
33407         * iconvdata/ibm1140.h: Likewise.
33408         * iconvdata/ibm1141.h: Likewise.
33409         * iconvdata/ibm1142.h: Likewise.
33410         * iconvdata/ibm1143.h: Likewise.
33411         * iconvdata/ibm1144.h: Likewise.
33412         * iconvdata/ibm1145.h: Likewise.
33413         * iconvdata/ibm1146.h: Likewise.
33414         * iconvdata/ibm1147.h: Likewise.
33415         * iconvdata/ibm1148.h: Likewise.
33416         * iconvdata/ibm1149.h: Likewise.
33417         * iconvdata/ibm1153.h: Likewise.
33418         * iconvdata/ibm1154.h: Likewise.
33419         * iconvdata/ibm1155.h: Likewise.
33420         * iconvdata/ibm1156.h: Likewise.
33421         * iconvdata/ibm1157.h: Likewise.
33422         * iconvdata/ibm1158.h: Likewise.
33423         * iconvdata/ibm1160.h: Likewise.
33424         * iconvdata/ibm1161.h: Likewise.
33425         * iconvdata/ibm1162.h: Likewise.
33426         * iconvdata/ibm1163.h: Likewise.
33427         * iconvdata/ibm1164.h: Likewise.
33428         * iconvdata/ibm1166.h: Likewise.
33429         * iconvdata/ibm1167.h: Likewise.
33430         * iconvdata/ibm12712.h: Likewise.
33431         * iconvdata/ibm1390.h: Likewise.
33432         * iconvdata/ibm1399.h: Likewise.
33433         * iconvdata/ibm16804.h: Likewise.
33434         * iconvdata/ibm4517.h: Likewise.
33435         * iconvdata/ibm4899.h: Likewise.
33436         * iconvdata/ibm4909.h: Likewise.
33437         * iconvdata/ibm4971.h: Likewise.
33438         * iconvdata/ibm5347.h: Likewise.
33439         * iconvdata/ibm803.h: Likewise.
33440         * iconvdata/ibm856.h: Likewise.
33441         * iconvdata/ibm901.h: Likewise.
33442         * iconvdata/ibm902.h: Likewise.
33443         * iconvdata/ibm9030.h: Likewise.
33444         * iconvdata/ibm9066.h: Likewise.
33445         * iconvdata/ibm921.h: Likewise.
33446         * iconvdata/ibm922.h: Likewise.
33447         * iconvdata/ibm9448.h: Likewise.
33448         * iconvdata/isiri-3342.h: Likewise.
33449         * iconvdata/jis0201.h: Likewise.
33450         * include/link.h: Likewise.
33451         * include/netdb.h: Likewise.
33452         * inet/check_native.c: Likewise.
33453         * inet/check_pf.c: Likewise.
33454         * inet/getipv4sourcefilter.c: Likewise.
33455         * inet/getnameinfo.c: Likewise.
33456         * inet/getsourcefilter.c: Likewise.
33457         * inet/htonl.c: Likewise.
33458         * inet/setipv4sourcefilter.c: Likewise.
33459         * inet/setsourcefilter.c: Likewise.
33460         * inet/test-inet6_opt.c: Likewise.
33461         * inet/tst-network.c: Likewise.
33462         * locale/C-collate.c: Likewise.
33463         * locale/C-ctype.c: Likewise.
33464         * locale/C-time.c: Likewise.
33465         * locale/C-translit.h: Likewise.
33466         * locale/loadarchive.c: Likewise.
33467         * locale/programs/3level.h: Likewise.
33468         * locale/programs/charmap.c: Likewise.
33469         * locale/programs/charmap.h: Likewise.
33470         * locale/programs/ld-address.c: Likewise.
33471         * locale/programs/ld-collate.c: Likewise.
33472         * locale/programs/ld-ctype.c: Likewise.
33473         * locale/programs/ld-identification.c: Likewise.
33474         * locale/programs/ld-measurement.c: Likewise.
33475         * locale/programs/ld-messages.c: Likewise.
33476         * locale/programs/ld-monetary.c: Likewise.
33477         * locale/programs/ld-name.c: Likewise.
33478         * locale/programs/ld-numeric.c: Likewise.
33479         * locale/programs/ld-paper.c: Likewise.
33480         * locale/programs/ld-telephone.c: Likewise.
33481         * locale/programs/ld-time.c: Likewise.
33482         * locale/programs/linereader.c: Likewise.
33483         * locale/programs/locale.c: Likewise.
33484         * locale/programs/locarchive.c: Likewise.
33485         * locale/programs/locfile.h: Likewise.
33486         * locale/programs/repertoire.c: Likewise.
33487         * locale/programs/simple-hash.c: Likewise.
33488         * locale/programs/simple-hash.h: Likewise.
33489         * malloc/memusage.c: Likewise.
33490         * malloc/memusagestat.c: Likewise.
33491         * nis/nis_defaults.c: Likewise.
33492         * nis/nis_hash.c: Likewise.
33493         * nis/nis_print.c: Likewise.
33494         * nis/nis_xdr.c: Likewise.
33495         * nscd/connections.c: Likewise.
33496         * nscd/hstcache.c: Likewise.
33497         * nscd/nscd_gethst_r.c: Likewise.
33498         * nscd/nscd_getserv_r.c: Likewise.
33499         * nscd/nscd_helper.c: Likewise.
33500         * nscd/servicescache.c: Likewise.
33501         * nss/makedb.c: Likewise.
33502         * nss/nss_db/db-XXX.c: Likewise.
33503         * nss/nss_db/db-initgroups.c: Likewise.
33504         * nss/nss_db/db-netgrp.c: Likewise.
33505         * nss/nss_files/files-network.c: Likewise.
33506         * nss/nss_files/files-parse.c: Likewise.
33507         * posix/bug-regex5.c: Likewise.
33508         * posix/fnmatch_loop.c: Likewise.
33509         * posix/regcomp.c: Likewise.
33510         * posix/regexec.c: Likewise.
33511         * posix/tst-rfc3484-2.c: Likewise.
33512         * posix/tst-rfc3484-3.c: Likewise.
33513         * posix/tst-rfc3484.c: Likewise.
33514         * resolv/nss_dns/dns-canon.c: Likewise.
33515         * resolv/nss_dns/dns-network.c: Likewise.
33516         * resolv/res_init.c: Likewise.
33517         * resolv/res_mkquery.c: Likewise.
33518         * resolv/tst-aton.c: Likewise.
33519         * stdlib/cxa_atexit.c: Likewise.
33520         * stdlib/cxa_finalize.c: Likewise.
33521         * stdlib/gen-fpioconst.c: Likewise.
33522         * stdlib/strtol_l.c: Likewise.
33523         * string/tst-endian.c: Likewise.
33524         * sunrpc/auth_des.c: Likewise.
33525         * sunrpc/clnt_udp.c: Likewise.
33526         * sunrpc/rtime.c: Likewise.
33527         * sunrpc/svcauth_des.c: Likewise.
33528         * sunrpc/xdr.c: Likewise.
33529         * sunrpc/xdr_intXX_t.c: Likewise.
33530         * sunrpc/xdr_rec.c: Likewise.
33531         * sysdeps/generic/ldconfig.h: Likewise.
33532         * sysdeps/generic/ldsodefs.h: Likewise.
33533         * sysdeps/generic/memusage.h: Likewise.
33534         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33535         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33536         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33540         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33542         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33544         * sysdeps/posix/getaddrinfo.c: Likewise.
33545         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33546         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33547         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33548         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33549         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33550         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33551         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33552         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33553         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33554         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33555         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33556         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33557         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33558         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33560         * sysdeps/x86_64/dl-tls.h: Likewise.
33561         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33562         * time/alt_digit.c: Likewise.
33563         * time/era.c: Likewise.
33564         * wcsmbs/tst-c16c32-1.c: Likewise.
33566 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33568         * math/libm-test.inc (struct test_sincos_data): New type.
33569         (RUN_TEST_LOOP_sincos): New macro.
33570         (sincos_test_data): New variable.
33571         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33573 2013-05-16  Richard Henderson  <rth@redhat.com>
33575         * math/atest-exp2.c (LIMB64): New macro.
33576         (CONSTSZ): New macro.
33577         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33578         (hexdig): Move ...
33579         (print_mpn_fp): ... to function scope.
33580         (read_mpn_hex): Remove.
33581         (get_log2): Remove.
33582         (exp2_mpn): Use mp_log2.
33583         (main): Use mp_exp1.
33585 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33587         * math/libm-test.inc: Remove comment about not testing "inexact"
33588         exceptions.
33589         (INEXACT_EXCEPTION): New macro.
33590         (NO_INEXACT_EXCEPTION): Likewise.
33591         (INVALID_EXCEPTION_OK): Update value.
33592         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33593         (OVERFLOW_EXCEPTION_OK): Likewise.
33594         (UNDERFLOW_EXCEPTION_OK): Likewise.
33595         (IGNORE_ZERO_INF_SIGN): Likewise.
33596         (ERRNO_UNCHANGED): Likewise.
33597         (ERRNO_EDOM): Likewise.
33598         (ERRNO_ERANGE): Likewise.
33599         (test_exceptions): Handle testing "inexact" exceptions.
33600         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33601         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33602         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33603         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33604         INEXACT_EXCEPTION.
33605         (rint_towardzero_test_data): Likewise.
33606         (rint_downward_test_data): Likewise.
33607         (rint_upward_test_data): Likewise.
33609         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33610         with OVERFLOW_EXCEPTION.
33611         (exp10_test_data): Likewise.
33612         (exp2_test_data): Likewise.
33613         (expm1_test_data): Likewise.
33614         (lgamma_test_data): Likewise.
33615         (pow_test_data): Likewise.
33616         (tgamma_test_data): Likewise.
33617         (yn_test_data): Remove duplicate test of overflow.
33619         * math/libm-test.inc (struct test_cc_c_data): New type.
33620         (RUN_TEST_LOOP_cc_c): New macro.
33621         (cpow_test_data): New variable.
33622         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33624         * math/libm-test.inc (struct test_f_L_data): New type.
33625         (RUN_TEST_LOOP_f_L): New macro.
33626         (llrint_test_data): New variable.
33627         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33628         (llrint_tonearest_test_data): New variable.
33629         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33630         (llrint_towardzero_test_data): New variable.
33631         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33632         (llrint_downward_test_data): New variable.
33633         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33634         (llrint_upward_test_data): New variable.
33635         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33636         (llround_test_data): New variable.
33637         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33639 2013-05-13  Peter Collingbourne  <pcc@google.com>
33641         * math/atest-exp2.c (get_log2): Remove const attribute.
33643 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33645         * math/libm-test.inc (struct test_f_l_data): New type.
33646         (RUN_TEST_LOOP_f_l): New macro.
33647         (lrint_test_data): New variable.
33648         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33649         (lrint_tonearest_test_data): New variable.
33650         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33651         (lrint_towardzero_test_data): New variable.
33652         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33653         (lrint_downward_test_data): New variable.
33654         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33655         (lrint_upward_test_data): New variable.
33656         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33657         (lround_test_data): New variable.
33658         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33660 2013-05-15  Peter Collingbourne  <pcc@google.com>
33662         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33663         (EXTRACT_WORDS64) Use where appropriate.
33664         (INSERT_WORDS64) Likewise.
33666         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33667         constraints with x constraints.
33668         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33670         * malloc/obstack.c (_obstack_compat): Add initializer.
33672 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33674         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33675         si_trapno and add si_addr_lsb to _sifields.sigfault.
33676         (si_trapno): Remove macro.
33677         (si_addr_lsb): Define new macro.
33678         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33680 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33682         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33683         instead of TEST_f_l.
33684         (llrint_test_tonearest): Likewise.
33685         (llrint_test_towardzero): Likewise.
33686         (llrint_test_downward): Likewise.
33687         (llrint_test_upward): Likewise.
33688         (llround_test): Likewise.
33690         * math/libm-test.inc (struct test_f_i_data): Add comment.
33691         (RUN_TEST_LOOP_f_b): New macro.
33692         (RUN_TEST_LOOP_f_b_tg): Likewise.
33693         (finite_test_data): New variable.
33694         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33695         (isfinite_test_data): New variable.
33696         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33697         (isinf_test_data): New variable.
33698         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33699         (isnan_test_data): New variable.
33700         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33701         (isnormal_test_data): New variable.
33702         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33703         (issignaling_test_data): New variable.
33704         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33705         (signbit_test_data): New variable.
33706         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33708         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33709         with INVALID_EXCEPTION.
33710         (acosh_test_data): Likewise.
33711         (asin_test_data): Likewise.
33712         (atanh_test_data): Likewise.
33713         (fmod_test_data): Likewise.
33714         (log_test_data): Likewise.
33715         (log10_test_data): Likewise.
33716         (log2_test_data): Likewise.
33717         (pow_test_data): Likewise.
33718         (sqrt_test_data): Likewise.
33719         (y0_test_data): Likewise.
33720         (y1_test_data): Likewise.
33721         (yn_test_data): Likewise.
33723         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33724         function contents.
33726         * math/libm-test.inc (struct test_ff_i_data): New type.
33727         (RUN_TEST_LOOP_ff_i_tg): New macro.
33728         (isgreater_test_data): New variable.
33729         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33730         (isgreaterequal_test_data): New variable.
33731         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33732         (isless_test_data): New variable.
33733         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33734         (islessequal_test_data): New variable.
33735         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33736         (islessgreater_test_data): New variable.
33737         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33738         (isunordered_test_data): New variable.
33739         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33741 2013-05-14  David S. Miller  <davem@davemloft.net>
33743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33745 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33747         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33749         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33750         extra_test to int.
33751         (struct test_f_i_data): Change type of max_ulp to int.
33753         * math/libm-test.inc (test_ffI_f1_data): New type.
33754         (RUN_TEST_LOOP_ffI_f1): New macro.
33755         (remquo_test_data): New variable.
33756         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33758         * setjmp/tst-setjmp-fp.c: New file.
33759         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33760         (link-libm): New variable.
33761         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33763         * math/libm-test.inc (struct test_f_i_data): New type.
33764         (RUN_TEST_LOOP_f_i): New macro.
33765         (RUN_TEST_LOOP_f_i_tg): Likewise.
33766         (fpclassify_test_data): New variable.
33767         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33768         (ilogb_test_data): New variable.
33769         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33771         * math/libm-test.inc (scalbln_test): Correct function name in END
33772         call.
33774         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33775         (RUN_TEST_LOOP_fI_f1): New macro.
33776         (frexp_test_data): New variable.
33777         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33779         * math/libm-test.inc (struct test_fF_f1_data): New type.
33780         (RUN_TEST_LOOP_fF_f1): New macro.
33781         (modf_test_data): New variable.
33782         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33784         * math/libm-test.inc (struct test_f_f1_data): New type.
33785         (RUN_TEST_LOOP_f_f1): New macro.
33786         (gamma_test_data): New variable.
33787         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33788         (lgamma_test_data): New variable.
33789         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33791 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33793         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33794         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33795         (main): Comment "tls" pseudo-hwcap.
33797 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33799         * math/libm-test.inc (struct test_fl_f_data): New type.
33800         (RUN_TEST_LOOP_fl_f): New variable.
33801         (scalbln_test_data): New variable.
33802         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33804         * math/libm-test.inc (struct test_fi_f_data): New type.
33805         (RUN_TEST_LOOP_fi_f): New macro.
33806         (ldexp_test_data): New variable.
33807         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33808         (scalbn_test_data): New variable.
33809         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33811         * math/libm-test.inc (struct test_c_f_data): New type.
33812         (RUN_TEST_LOOP_c_f): New macro.
33813         (cabs_test_data): New variable.
33814         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33815         (carg_test_data): New variable.
33816         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33817         (cimag_test_data): New variable.
33818         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33819         (creal_test_data): New variable.
33820         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33822         * math/libm-test.inc (struct test_if_f_data): New type.
33823         (RUN_TEST_LOOP_if_f): New macro.
33824         (jn_test_data): New variable.
33825         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33826         (yn_test_data): New variable.
33827         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33829         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33831 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33833         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33834         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33836 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33838         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33839         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33840         (bench-deps): Add bench-timing.h.
33841         * benchtests-bench-skeleton.c: Include bench-timing.h.
33842         (main): Use TIMING_* macros instead of clock_gettime.
33843         * benchtests/bench-timing.h: New file.
33845         [BZ #14582]
33846         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33847         Renamed from _LIB_VERSION.
33848         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33850 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33852         * math/libm-test.inc (struct test_fff_f_data): New type.
33853         (RUN_TEST_LOOP_fff_f): New macro.
33854         (fma_test_data): New variable.
33855         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33856         (fma_towardzero_test_data): New variable.
33857         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33858         (fma_downward_test_data): New variable.
33859         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33860         (fma_upward_test_data): New variable.
33861         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33863         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33864         (struct test_c_c_data): New type.
33865         (RUN_TEST_LOOP_c_c): New macro.
33866         (cacos_test_data): New variable.
33867         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33868         (cacosh_test_data): New variable.
33869         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33870         (casin_test_data): New variable.
33871         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33872         (casinh_test_data): New variable.
33873         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33874         (catan_test_data): New variable.
33875         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33876         (catanh_test_data): New variable.
33877         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33878         (ccos_test_data): New variable.
33879         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33880         (ccosh_test_data): New variable.
33881         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33882         (cexp_test_data): New variable.
33883         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33884         (clog_test_data): New variable.
33885         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33886         (clog10_test_data): New variable.
33887         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33888         (conj_test_data): New variable.
33889         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33890         (cproj_test_data): New variable.
33891         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33892         (csin_test_data): New variable.
33893         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33894         (csinh_test_data): New variable.
33895         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33896         (csqrt_test_data): New variable.
33897         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33898         (ctan_test_data): New variable.
33899         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33900         (ctan_tonearest_test_data): New variable.
33901         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33902         (ctan_towardzero_test_data): New variable.
33903         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33904         (ctan_downward_test_data): New variable.
33905         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33906         (ctan_upward_test_data): New variable.
33907         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33908         (ctanh_test_data): New variable.
33909         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33910         (ctanh_tonearest_test_data): New variable.
33911         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33912         (ctanh_towardzero_test_data): New variable.
33913         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33914         (ctanh_downward_test_data): New variable.
33915         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33916         (ctanh_upward_test_data): New variable.
33917         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33918         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33919         of BUILD_COMPLEX.
33921         * math/libm-test.inc (struct test_ff_f_data): New type.
33922         (struct test_ff_f_data_nexttoward): Likewise.
33923         (RUN_TEST_LOOP_2_f): New macro.
33924         (RUN_TEST_LOOP_ff_f): Likewise.
33925         (atan2_test_data): New variable.
33926         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33927         (copysign_test_data): New variable.
33928         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33929         (fdim_test_data): New variable.
33930         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33931         (fmax_test_data): New variable.
33932         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33933         (fmin_test_data): New variable.
33934         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33935         (fmod_test_data): New variable.
33936         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33937         (hypot_test_data): New variable.
33938         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33939         (nextafter_test_data): New variable.
33940         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33941         (nexttoward_test_data): New variable.
33942         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33943         (pow_test_data): New variable.
33944         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33945         (pow_tonearest_test_data): New variable.
33946         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33947         (pow_towardzero_test_data): New variable.
33948         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33949         (pow_downward_test_data): New variable.
33950         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33951         (pow_upward_test_data): New variable.
33952         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33953         (remainder_test_data): New variable.
33954         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33955         (scalb_test_data): New variable.
33956         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33957         * sysdeps/i386/fpu/libm-test-ulps: Update.
33959 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33961         * math/libm-test.inc (fma_test): Use max_value instead of local
33962         variable fltmax.
33963         (nextafter_test): Likewise.
33965         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33966         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33967         (acos_downward_test_data): New variable.
33968         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33969         (acos_upward_test_data): New variable.
33970         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33971         (acosh_test_data): New variable.
33972         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33973         (asin_test_data): New variable.
33974         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33975         (asin_tonearest_test_data): New variable.
33976         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33977         (asin_towardzero_test_data): New variable.
33978         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33979         (asin_downward_test_data): New variable.
33980         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33981         (asin_upward_test_data): New variable.
33982         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33983         (asinh_test_data): New variable.
33984         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33985         (atan_test_data): New variable.
33986         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33987         (atanh_test_data): New variable.
33988         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33989         (cbrt_test_data): New variable.
33990         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33991         (ceil_test_data): New variable.
33992         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33993         (cos_test_data): New variable.
33994         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33995         (cos_tonearest_test_data): New variable.
33996         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33997         (cos_towardzero_test_data): New variable.
33998         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33999         (cos_downward_test_data): New variable.
34000         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34001         (cos_upward_test_data): New variable.
34002         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34003         (cosh_test_data): New variable.
34004         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34005         (cosh_tonearest_test_data): New variable.
34006         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34007         (cosh_towardzero_test_data): New variable.
34008         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34009         (cosh_downward_test_data): New variable.
34010         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34011         (cosh_upward_test_data): New variable.
34012         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34013         (erf_test_data): New variable.
34014         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34015         (erfc_test_data): New variable.
34016         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34017         (exp_test_data): New variable.
34018         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34019         (exp_tonearest_test_data): New variable.
34020         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34021         (exp_towardzero_test_data): New variable.
34022         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34023         (exp_downward_test_data): New variable.
34024         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34025         (exp_upward_test_data): New variable.
34026         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34027         (exp10_test_data): New variable.
34028         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34029         (exp2_test_data): New variable.
34030         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34031         (expm1_test_data): New variable.
34032         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34033         (fabs_test_data): New variable.
34034         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34035         (floor_test_data): New variable.
34036         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34037         (j0_test_data): New variable.
34038         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34039         (j1_test_data): New variable.
34040         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34041         (log_test_data): New variable.
34042         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34043         (log10_test_data): New variable.
34044         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34045         (log1p_test_data): New variable.
34046         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34047         (log2_test_data): New variable.
34048         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34049         (logb_test_data): New variable.
34050         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34051         (logb_downward_test_data): New variable.
34052         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34053         (nearbyint_test_data): New variable.
34054         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34055         (rint_test_data): New variable.
34056         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34057         (rint_tonearest_test_data): New variable.
34058         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34059         (rint_towardzero_test_data): New variable.
34060         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34061         (rint_downward_test_data): New variable.
34062         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34063         (rint_upward_test_data): New variable.
34064         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34065         (round_test_data): New variable.
34066         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34067         (sin_test_data): New variable.
34068         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34069         (sin_tonearest_test_data): New variable.
34070         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34071         (sin_towardzero_test_data): New variable.
34072         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34073         (sin_downward_test_data): New variable.
34074         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34075         (sin_upward_test_data): New variable.
34076         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34077         (sinh_test_data): New variable.
34078         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34079         (sinh_tonearest_test_data): New variable.
34080         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34081         (sinh_towardzero_test_data): New variable.
34082         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34083         (sinh_downward_test_data): New variable.
34084         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34085         (sinh_upward_test_data): New variable.
34086         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34087         (sqrt_test_data): New variable.
34088         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34089         (tan_test_data): New variable.
34090         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34091         (tan_tonearest_test_data): New variable.
34092         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34093         (tan_towardzero_test_data): New variable.
34094         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34095         (tan_downward_test_data): New variable.
34096         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34097         (tan_upward_test_data): New variable.
34098         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34099         (tanh_test_data): New variable.
34100         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34101         (tgamma_test_data): New variable.
34102         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34103         (trunc_test_data): New variable.
34104         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34105         (y0_test_data): New variable.
34106         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34107         (y1_test_data): New variable.
34108         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34109         (significand_test_data): New variable.
34110         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34112 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34114         [BZ #12387]
34115         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34117 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34119         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34121 2013-05-10  Andreas Jaeger  <aj@suse.de>
34123         [BZ #15448]
34124         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34125         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34127 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34129         * math/gen-libm-test.pl (adjust_arg): New function.
34130         (special_functions): Handle generating output in both functions
34131         and arrays.
34132         (parse_args): Likewise.
34133         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34134         $in_func argument to parse_args.
34135         * math/libm-test.inc (struct test_f_f_data): New type.
34136         (IF_ROUND_INIT_): New macro.
34137         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34138         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34139         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34140         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34141         (ROUND_RESTORE_): Likewise.
34142         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34143         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34144         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34145         (ROUND_RESTORE_FE_UPWARD): Likewise.
34146         (RUN_TEST_LOOP_f_f): New macro.
34147         (acos_test_data): New variable.
34148         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34149         (acos_tonearest_test_data): New variable.
34150         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34152 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34154         * benchtests/bench-skeleton.c (startup): Fix coding style.
34156 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34158         [BZ #6809]
34159         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34160         negative infinity argument.
34161         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34162         negative infinity argument.
34163         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34164         negative infinity argument.
34165         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34166         domain errors.
34168 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34170         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34171         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34172         * iconv/iconv_prog.c (main): Likewise.
34173         * locale/programs/charmap-dir.c (charmap_readdir)
34174         (fopen_uncompressed): Likewise.
34175         * locale/programs/locfile.c (siblings_uncached)
34176         (write_locale_data): Use lstat64 instead of lstat.
34177         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34178         stat.
34180 2013-05-10  Andreas Jaeger  <aj@suse.de>
34182         [BZ #15395]
34183         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34184         localization.
34185         Include <locale.h>.
34187 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34189         * elf/dl-close.c (_dl_close_worker): Add comments.
34191 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34193         [BZ #15359]
34194         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34195         high part of pi/2.
34196         (__ieee754_rem_pio2l): Update comments.
34198         [BZ #15429]
34199         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34200         high part of pi/2.
34201         (__ieee754_rem_pio2l): Update comments.
34203         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34204         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34206         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34207         M_PI_4l.
34209         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34210         (M_PI_34_LOG10El): Likewise.
34211         (M_PI2_LOG10El): Likewise.
34212         (M_PI4_LOG10El): Likewise.
34213         (M_PI_LOG10El): Likewise.
34215 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34219 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34221         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34222         (MINUS_ZERO_INIT): Likewise.
34223         (PLUS_INFTY_INIT): Likewise.
34224         (MINUS_INFTY_INIT): Likewise.
34225         (QNAN_VALUE_INIT): Likewise.
34226         (MAX_VALUE_INIT): Likewise.
34227         (MIN_VALUE_INIT): Likewise.
34228         (MIN_SUBNORM_VALUE_INIT): Likewise.
34229         (plus_zero): Initialize with PLUS_ZERO_INIT.
34230         (minus_zero): Initialize with MINUS_ZERO_INIT.
34231         (plus_infty): Initialize with PLUS_INFTY_INIT.
34232         (minus_infty): Initialize with MINUS_INFTY_INIT.
34233         (qnan_value): Initialize with QNAN_VALUE_INIT.
34234         (max_value): Initialize with MAX_VALUE_INIT.
34235         (min_value): Initialize with MIN_VALUE_INIT.
34236         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34238         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34239         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34240         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34241         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34243         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34244         (RUN_TEST_2_f): Likewise.
34245         (RUN_TEST_ff_f): Likewise.
34246         (RUN_TEST_fi_f): Likewise.
34247         (RUN_TEST_fl_f): Likewise.
34248         (RUN_TEST_fff_f): Likewise.
34249         (RUN_TEST_c_f): Likewise.
34250         (RUN_TEST_f_f1): Likewise.
34251         (RUN_TEST_fF_f1): Likewise.
34252         (RUN_TEST_fI_f1): Likewise.
34253         (RUN_TEST_ffI_f1): Likewise.
34254         (RUN_TEST_c_c): Likewise.
34255         (RUN_TEST_cc_c): Likewise.
34256         (RUN_TEST_f_i): Likewise.
34257         (RUN_TEST_f_i_tg): Likewise.
34258         (RUN_TEST_ff_i_tg): Likewise.
34259         (RUN_TEST_f_b): Likewise.
34260         (RUN_TEST_f_b_tg): Likewise.
34261         (RUN_TEST_f_l): Likewise.
34262         (RUN_TEST_f_L): Likewise.
34263         (RUN_TEST_sincos): Likewise.
34264         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34265         whether to show exceptions.  Do not include ");\n" in return
34266         value.
34267         (special_functions): Output call to RUN_TEST_sincos instead of
34268         check_float calls.  Update calls to new_test.
34269         (parse_args): Output call to single RUN_TEST_* macro instead of
34270         check_* calls and other assignments.  Update calls to new_test.
34272         [BZ #2546]
34273         [BZ #2560]
34274         [BZ #5159]
34275         [BZ #15426]
34276         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34277         input to result for tgamma overflow.
34278         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34279         (gamma_coeff): New variable.
34280         (NCOEFF): New macro.
34281         (gamma_positive): New function.
34282         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34283         underflow here.  Use gamma_positive instead of exp (lgamma) for
34284         other arguments.
34285         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34286         (gamma_coeff): New variable.
34287         (NCOEFF): New macro.
34288         (gammaf_positive): New function.
34289         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34290         underflow here.  Use gamma_positive instead of exp (lgamma) for
34291         other arguments.
34292         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34293         (gamma_coeff): New variable.
34294         (NCOEFF): New macro.
34295         (gammal_positive): New function.
34296         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34297         underflow here.  Use gamma_positive instead of exp (lgamma) for
34298         other arguments.
34299         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34300         (gamma_coeff): New variable.
34301         (NCOEFF): New macro.
34302         (gammal_positive): New function.
34303         (__ieee754_gammal_r): Handle positive infinity, overflow and
34304         underflow here.  Handle NaN the same as positive infinity.  Remove
34305         check x < 0xffffffff for negative integers.  Use gamma_positive
34306         instead of exp (lgamma) for other arguments.
34307         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34308         (gamma_coeff): New variable.
34309         (NCOEFF): New macro.
34310         (gammal_positive): New function.
34311         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34312         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34313         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34314         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34315         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34316         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34317         * sysdeps/generic/math_private.h (__gamma_productf): New
34318         prototype.
34319         (__gamma_product): Likewise.
34320         (__gamma_productl): Likewise.
34321         * math/Makefile (libm-calls): Add gamma_product.
34322         * math/libm-test.inc (tgamma_test): Add more tests.
34323         * sysdeps/i386/fpu/libm-test-ulps: Update.
34324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34326 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34328         * benchtests/bench-skeleton.c (main): Preheat CPU.
34330 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34332         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34334 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34336         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34337         and _dl_skip_args_internal.
34339 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34341         * manual/message.texi (Message Translation): Talk about users.
34342         Message to key mapping impacts design.
34344 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34346         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34348         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34350         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34351         * sysdeps/wordsize-64/glob64.c: ... here.
34353         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34354         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34355         New macros.
34357         * debug/getlogin_r_chk.c: Moved to ...
34358         * login/getlogin_r_chk.c: ... here.
34359         * debug/Makefile (routines): Move getlogin_r_chk to ...
34360         * login/Makefile (routines): ... here.
34361         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34362         * login/Versions (libc: GLIBC_2.4): ... here.
34364         * io/poll.c (__poll): Renamed from poll.
34365         Add libc_hidden_def.
34366         (poll): Define as weak alias.
34368         * debug/ptsname_r_chk.c: Moved to ...
34369         * login/ptsname_r_chk.c: ... here.
34370         * debug/Makefile (routines): Move ptsname_r_chk to ...
34371         * login/Makefile (routines): ... here.
34372         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34373         * login/Versions (libc: GLIBC_2.4): ... here.
34375         * posix/getlogin.c: Moved to ...
34376         * login/getlogin.c: ... here.
34377         * posix/getlogin_r.c: Moved to ...
34378         * login/getlogin_r.c: ... here.
34379         * posix/getlogin_r.c: Moved to ...
34380         * login/getlogin_r.c: ... here.
34381         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34382         * login/Makefile (routines): ... here.
34383         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34384         * login/Versions (libc: GLIBC_2.0): ... here.
34386         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34387         (setrlimit): Define as weak alias.
34389         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34390         Call __ names for open, ftruncate, and close.
34391         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34392         (truncate): Define as weak alias.
34394 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34396         * math/gen-libm-test.pl (parse_args): Initialize x before each
34397         test of frexp, modf and remquo.
34399         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34400         test signgam value.
34402 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34404         [BZ #15418]
34405         [BZ #15419]
34406         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34407         internal tests.
34408         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34410 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34412         * elf/dl-writev.h: New file.
34413         * elf/dl-misc.c: Include it.
34414         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34415         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34417 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34419         * math/libm-test.inc (noXFails): Remove variable.
34420         (noXPasses): Likewise.
34421         (BUILD_COMPLEX_INT): Remove macro.
34422         (print_screen): Remove xfail argument.
34423         (print_screen_max_error): Likewise.
34424         (update_stats): Likewise.
34425         (print_max_error): Likewise.  Update calls to other affected
34426         functions.
34427         (print_complex_max_error): Likewise.
34428         (test_single_exception): Update calls to print_screen.
34429         (test_single_errno): Likewise.
34430         (check_float_internal): Remove xfail argument.  Update calls to
34431         other affected functions.
34432         (check_float): Likewise.
34433         (check_complex): Likewise.
34434         (check_int): Likewise.
34435         (check_long): Likewise.
34436         (check_bool): Likewise.
34437         (check_longlong): Likewise.
34438         (main): Don't print noXFails and noXPasses.
34439         * math/gen-libm-test.pl (top level): Don't mention expected
34440         failure handling in comment.
34441         (new_test): Don't handle expected failures.
34442         (parse_args): Don't mention expected failure handling in comment.
34443         (generate_testfile): Don't handle expected failures.
34444         (parse_ulps): Likewise.
34445         (print_ulps_file): Likewise.
34446         (get_failure): Remove function.
34447         (output_test): Don't handle expected failures.
34448         * make/README.libm-test: Don't mention expected failure handling.
34450         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34451         (minus_zero): Likewise.
34452         (plus_infty): Likewise.
34453         (minus_infty): Likewise.
34454         (qnan_value): Likewise.
34455         (max_value): Likewise.
34456         (min_value): Likewise.
34457         (min_subnorm_value): Likewise.
34458         (initialize): Do not initialize those variables dynamically.
34460 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34462         * io/open.c (__open_2): Moved to ...
34463         * io/open_2.c: ... this new file.
34464         * io/open64.c (__open64_2): Moved to ...
34465         * io/open64_2.c: ... this new file.
34466         * io/openat.c (__openat_2): Moved to ...
34467         * io/openat_2.c: ... this new file.
34468         * io/openat64.c (__openat64_2): Moved to ...
34469         * io/openat64_2.c: ... this new file.
34470         * io/Makefile (routines): Add them.
34471         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34472         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34473         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34474         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34475         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34476         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34477         (__openat64): Add hidden_ver.
34478         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34479         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34481         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34482         Separately conditionalize setting of GLRO(dl_sysinfo) so
34483         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34484         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34486 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34488         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34489         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34490         definition.
34491         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34492         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34493         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34494         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34495         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34497 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34499         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34500         test signgam value.
34502         * math/libm-test.inc (hypot_test): Do not use
34503         IGNORE_ZERO_INF_SIGN.
34505 2013-05-03  Andreas Jaeger  <aj@suse.de>
34507         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34508         Linux 3.9.
34509         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34510         (PF_MAX): Adjust for VSOCK change.
34512 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34516 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34518         [BZ #15264]
34519         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34520         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34521         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34523 2013-05-02  David S. Miller  <davem@davemloft.net>
34525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34527 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34529         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34531 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34533         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34535 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34537         [BZ #14952]
34538         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34539         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34540         Use __attribute__ ((__gnu_inline__)).
34541         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34542         Don't use __attribute__ ((__gnu_inline__)).
34544 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34546         [BZ #15423]
34547         * math/s_catan.c (__catan): Handle small real or imaginary part of
34548         input specially to avoid spurious underflow.
34549         * math/s_catanf.c (__catanf): Likewise.
34550         * math/s_catanh.c (__catanh): Likewise.
34551         * math/s_catanhf.c (__catanhf): Likewise.
34552         * math/s_catanhl.c (__catanhl): Likewise.
34553         * math/s_catanl.c (__catanl): Likewise.
34554         * math/libm-test.inc (catan_test): Add more tests.
34555         (catanh_test): Likewise.
34556         * sysdeps/i386/fpu/libm-test-ulps: Update.
34557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34563 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34565         [BZ #15416]
34566         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34567         accurately for denominator in atan2.
34568         * math/s_catanf.c (__catanf): Likewise.
34569         * math/s_catanh.c (__catanh): Likewise.
34570         * math/s_catanhf.c (__catanhf): Likewise.
34571         * math/s_catanhl.c (__catanhl): Likewise.
34572         * math/s_catanl.c (__catanl): Likewise.
34573         * math/libm-test.inc (catan_test): Add more tests.
34574         (catanh_test): Likewise.
34575         * sysdeps/i386/fpu/libm-test-ulps: Update.
34576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34578 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34580         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34582         * benchtests/Makefile (bench): Remove slow benchmarks.
34583         * benchtests/atan-inputs: Add slow benchmark inputs.
34584         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34585         (BENCH_FUNC): Accept variant offset.
34586         (VARIANT): Define.
34587         * benchtests/bench-skeleton.c (main): Run benchmark for each
34588         variant.
34589         * benchtests/cos-inputs: Add slow benchmark inputs.
34590         * benchtests/exp-inputs: Likewise.
34591         * benchtests/pow-inputs: Likewise.
34592         * benchtests/sin-inputs: Likewise.
34593         * benchtests/slowatan-inputs: Remove.
34594         * benchtests/slowatan.c: Remove.
34595         * benchtests/slowcos-inputs: Remove.
34596         * benchtests/slowcos.c: Remove.
34597         * benchtests/slowexp-inputs: Remove.
34598         * benchtests/slowexp.c: Remove.
34599         * benchtests/slowpow-inputs: Remove.
34600         * benchtests/slowpow.c: Remove.
34601         * benchtests/slowsin-inputs: Remove.
34602         * benchtests/slowsin.c: Remove.
34603         * benchtests/slowtan-inputs: Remove.
34604         * benchtests/slowtan.c: Remove.
34605         * benchtests/tan-inputs: Add slow benchmark inputs.
34606         * scripts/bench.pl: Parse comments and directives.
34608         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34609         in CPPFLAGS.
34610         ($(objpfx)bench-%.c): Remove *-ITER.
34611         * benchtests/bench-modf.c: Remove definition of ITER.
34612         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34613         (main): Loop for DURATION seconds instead of fixed number of
34614         iterations.
34615         * scripts/bench.pl: Don't expect iterations in parameters.
34617 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34619         * io/fchdir.c (__fchdir): Renamed from fchdir.
34620         (fchdir): Define as weak alias.
34622 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34624         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34625         (ERRNO_EDOM): Likewise.
34626         (ERRNO_ERANGE): Likewise.
34627         (noErrnoTests): New variable.
34628         (init_max_error): Set errno to 0.
34629         (test_single_errno): New function.
34630         (test_errno): Likewise.
34631         (check_float_internal): Call test_errno.  Set errno to 0.
34632         (check_complex): Refer to errno tests in comment.
34633         (check_int): Call test_errno.  Set errno to 0.
34634         (check_long): Likewise.
34635         (check_bool): Likewise.
34636         (check_longlong): Likewise.
34637         (cos_test): Use ERRNO_* flags for errno tests instead of
34638         check_int.
34639         (expm1_test): Likewise.
34640         (fmod_test): Likewise.
34641         (ilogb_test): Likewise.
34642         (lgamma_test): Likewise.
34643         (pow_test): Likewise.
34644         (remainder_test): Likewise.
34645         (sin_test): Likewise.
34646         (tan_test): Likewise.
34647         (yn_test): Likewise.
34648         (initialize): Set errno to 0.
34649         (main): Print number of errno tests.
34650         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34652 2013-04-29  Andreas Jaeger  <aj@suse.de>
34654         [BZ #15084]
34655         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34656         and RES_USEVC.
34658         [BZ #15085]
34659         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34660         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34661         unimplemented.
34663         [BZ #15380]
34664         * stdlib/random.c (__initstate): Return NULL if
34665         __initstate fails.
34667         [BZ #15086]
34668         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34669         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34670         RES_SNGLKUPREOP.
34672 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34676 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34678         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34679         of individual tests.
34680         (casin_test): Likewise.
34681         (casinh_test): Likewise.
34683 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34685         [BZ #15409]
34686         * math/s_catan.c (__catan): Handle arguments with large real or
34687         imaginary part separately without squaring.
34688         * math/s_catanf.c (__catanf): Likewise.
34689         * math/s_catanh.c (__catanh): Likewise.
34690         * math/s_catanhf.c (__catanhf): Likewise.
34691         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34692         and redefine.
34693         (__catanhl): Handle arguments with large real or imaginary part
34694         separately without squaring.
34695         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34696         and redefine.
34697         (__catanl): Handle arguments with large real or imaginary part
34698         separately without squaring.
34699         * math/libm-test.inc (catan_test): Add more tests.
34700         (catanh_test): Likewise.
34701         * sysdeps/i386/fpu/libm-test-ulps: Update.
34702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34704 2013-04-27  Andreas Jaeger  <aj@suse.de>
34706         [BZ #15007]
34707         * stdlib/stdlib.h: Update guards for qecvt.
34708         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34709         <stdlib.h>.
34711 2013-04-27  Allan McRae  <allan@archlinux.org>
34713         * sysdeps/i386/fpu/libm-test-ulps: Update.
34715 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34717         [BZ #15406]
34718         * math/s_catan.c: Include <float.h>.
34719         (__catan): Ensure underflow exception occurs for underflowed
34720         result.
34721         * math/s_catanf.c: Include <float.h>.
34722         (__catanf): Ensure underflow exception occurs for underflowed
34723         result.
34724         * math/s_catanh.c: Include <float.h>.
34725         (__catanh): Ensure underflow exception occurs for underflowed
34726         result.
34727         * math/s_catanhf.c: Include <float.h>.
34728         (__catanhf): Ensure underflow exception occurs for underflowed
34729         result.
34730         * math/s_catanhl.c: Include <float.h>.
34731         (__catanhl): Ensure underflow exception occurs for underflowed
34732         result.
34733         * math/s_catanl.c: Include <float.h>.
34734         (__catanl): Ensure underflow exception occurs for underflowed
34735         result.
34736         * math/libm-test.inc (catan_test): Add more tests.
34737         (catanh_test): Likewise.
34739         [BZ #15405]
34740         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34741         underflowed result.
34742         * math/s_ccoshf.c (__ccoshf): Likewise.
34743         * math/s_ccoshl.c (__ccoshl): Likewise.
34744         * math/s_csin.c (__csin): Likewise.
34745         * math/s_csinf.c (__csinf): Likewise.
34746         * math/s_csinh.c (__csinh): Likewise.
34747         * math/s_csinhf.c (__csinhf): Likewise.
34748         * math/s_csinhl.c (__csinhl): Likewise.
34749         * math/s_csinl.c (__csinl): Likewise.
34750         * math/libm-test.inc (ccos_test): Add more tests.
34751         (ccosh_test): Likewise.
34752         (csin_test): Likewise.
34753         (csinh_test): Likewise.
34755 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34757         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34758         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34759         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34760         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34761         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34762         powerpc/power5+/fpu folders.
34763         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34766 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34770 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34772         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34773         additions to variable.
34774         [$(config-machine) = x86_64] (modules-names): Likewise.
34775         ($(objpfx)tst-audit3): Remove dependency.
34776         ($(objpfx)tst-audit3.out): Likewise.
34777         ($(objpfx)tst-audit4): Likewise.
34778         ($(objpfx)tst-audit4.out): Likewise.
34779         ($(objpfx)tst-audit5): Likewise.
34780         ($(objpfx)tst-audit5.out): Likewise.
34781         ($(objpfx)tst-audit6): Likewise.
34782         ($(objpfx)tst-audit6.out): Likewise.
34783         ($(objpfx)tst-audit7): Likewise.
34784         ($(objpfx)tst-audit7.out): Likewise.
34785         (tst-audit3-ENV): Remove variable.
34786         (tst-audit4-ENV): Likewise.
34787         (tst-audit5-ENV): Likewise.
34788         (tst-audit6-ENV): Likewise.
34789         (tst-audit7-ENV): Likewise.
34790         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34791         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34792         addition to variable.
34793         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34794         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34795         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34796         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34797         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34798         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34799         tst-audit3, tst-audit4 and tst-audit5.
34800         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34801         tst-audit6 and tst-audit7.
34802         [$(subdir) = elf] (modules-names): Add audit modules for those
34803         tests.
34804         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34805         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34806         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34807         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34808         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34809         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34810         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34811         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34812         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34813         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34814         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34815         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34816         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34817         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34818         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34819         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34820         Likewise.
34821         [$(subdir) = elf && $(config-cflags-avx) = yes]
34822         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34823         [$(subdir) = elf && $(config-cflags-avx) = yes]
34824         (CFLAGS-tst-auditmod4a.c): Likewise.
34825         [$(subdir) = elf && $(config-cflags-avx) = yes]
34826         (CFLAGS-tst-auditmod4b.c): Likewise.
34827         [$(subdir) = elf && $(config-cflags-avx) = yes]
34828         (CFLAGS-tst-auditmod6b.c): Likewise.
34829         [$(subdir) = elf && $(config-cflags-avx) = yes]
34830         (CFLAGS-tst-auditmod6c.c): Likewise.
34831         [$(subdir) = elf && $(config-cflags-avx) = yes]
34832         (CFLAGS-tst-auditmod7b.c): Likewise.
34833         * elf/tst-audit3.c: Move to ...
34834         * sysdeps/x86_64/tst-audit3.c: ... here.
34835         * elf/tst-audit4.c: Move to ...
34836         * sysdeps/x86_64/tst-audit4.c: ... here.
34837         * elf/tst-audit5.c: Move to ...
34838         * sysdeps/x86_64/tst-audit5.c: ... here.
34839         * elf/tst-audit6.c: Move to ...
34840         * sysdeps/x86_64/tst-audit6.c: ... here.
34841         * elf/tst-audit7.c: Move to ...
34842         * sysdeps/x86_64/tst-audit7.c: ... here.
34843         * elf/tst-auditmod3a.c: Move to ...
34844         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34845         * elf/tst-auditmod3b.c: Move to ...
34846         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34847         * elf/tst-auditmod4a.c: Move to ...
34848         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34849         * elf/tst-auditmod4b.c: Move to ...
34850         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34851         * elf/tst-auditmod5a.c: Move to ...
34852         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34853         * elf/tst-auditmod5b.c: Move to ...
34854         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34855         * elf/tst-auditmod6a.c: Move to ...
34856         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34857         * elf/tst-auditmod6b.c: Move to ...
34858         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34859         * elf/tst-auditmod6c.c: Move to ...
34860         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34861         * elf/tst-auditmod7a.c: Move to ...
34862         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34863         * elf/tst-auditmod7b.c: Move to ...
34864         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34866 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34868         [BZ #15366]
34869         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34870         define unconditionally.
34871         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34872         define unconditionally.
34873         (INT8_C, INT16_C, etc.): Likewise.
34875 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34877         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34878         __ehdr_start with hidden visibility.
34880         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34882 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34884         * math/libm-test.inc (cos_test): Use accurate hex constants.
34885         (sincost_test): Likewise.
34887 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34889         * math/libm-test.inc (catan_test): Add more tests.
34890         (catanh_test): Likewise.
34892         * math/s_catanf.c (__catanf): Use suffixed floating-point
34893         constants.
34894         * math/s_catanhf.c (__catanhf): Likewise.
34895         * math/s_catanhl.c (__catanhl): Likewise.
34896         * math/s_catanl.c (__catanl): Likewise.
34898         [BZ #15394]
34899         * math/s_catan.c (__catan): Calculate imaginary part of result
34900         with log1p not log unless computing log of number close to 0.
34901         * math/s_catanf.c (__catanf): Likewise.
34902         * math/s_catanl.c (__catanl): Likewise.
34903         * math/s_catanh.c (__catanh): Calculate real part of result with
34904         log1p not log unless computing log of number close to 0.
34905         * math/s_catanhf.c (__catanhf): Likewise.
34906         * math/s_catanhl.c (__catanhl): Likewise.
34907         * math/libm-test.inc (catan_test): Add more tests.
34908         (catanh_test): Likewise.
34909         * sysdeps/i386/fpu/libm-test-ulps: Update.
34910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914         * benchtests/Makefile: Mention files in which fast and slow
34915         paths of math functions are implemented.
34917 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34919         * sysdeps/posix/timespec_get.c: New file.
34921 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34923         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34924         POWER.
34925         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34926         for POWER.
34927         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34928         powerpc/power5/fpu folders.
34929         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34930         * benchtests/Makefile: Add modf testcase.
34931         * benchtests/bench-modf.c: New file: Benchmark test for mo
34933 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34935         [BZ #14888]
34936         * time/Makefile (tests): Add tst-strptime-whitespace.
34937         * time/strptime_l.c (get_number): Use ISSPACE.
34938         (__strptime_internal): Likewise.
34939         * time/tst-strptime-whitespace.c: New test case.
34941 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34943         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34944         member.
34945         (_nss_files_init): Set it here.
34947 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34949         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34950         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34951         unsigned.
34953 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34955         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34957 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34960         size just once.
34962 2013-04-21  David S. Miller  <davem@davemloft.net>
34964         * po/ru.po: Update Russion translation from translation project.
34966 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34968         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34969         and setfsgid.
34971 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34973         * configure.in: Remove i386 configure warning. Remove i386 case.
34974         * configure: Regenerate.
34975         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34976         Add example to error message.
34977         * sysdeps/i386/configure: Regenerate.
34979 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34981         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34982         slowtan.
34983         * benchtests/cos-inputs: New file.
34984         * benchtests/slowcos-inputs: New file.
34985         * benchtests/slowcos.c: New file.
34986         * benchtests/slowtan-inputs: New file.
34987         * benchtests/slowtan.c: New file.
34988         * benchtests/tan-inputs: New file.
34990 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34992         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34993         considered kosher.
34995 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34997         * benchtests/Makefile: Include cppflags-iterator.mk to add
34998         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35000         * Makefile.in (bench-clean): New target.
35001         * benchtests/Makefile (bench-clean): Likewise.
35003 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35005         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35007 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35009         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35011 2013-04-15  Andreas Schwab  <schwab@suse.de>
35013         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35014         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35015         * nscd/pwdcache.c (cache_addpw): Likewise.
35016         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35017         more than recsize.
35019 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35021         * benchtests/Makefile (bench): Write all output to
35022         bench-out.tmp together.
35024 2013-04-15  Andreas Schwab  <schwab@suse.de>
35026         * nscd/nscd.c (main): Don't fork again after closing files.
35028 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35030         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35032         * benchtests/Rules (bench-deps): Collect dependencies into a
35033         single variable.  Add Makefile to dependencies.
35034         ($(objpfx)bench-%.c): Depend on bench-deps.
35036 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35037             Xavier Roche  <roche+kml2@exalead.com>
35039         [BZ #15361]
35040         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35041         just that it's a file descriptor.
35042         * manual/llio.texi (Synchronizing AIO Operations): Update description
35043         for EBADF error from aio_fsync.
35045 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35047         * Rules (bench): Move target definition...
35048         * benchtests/Makefile: ... here.
35050 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35052         * math/libm-test.inc (cos_test): Fix PI/2 test.
35053         (sincos_test): Likewise.
35054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35055         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35057 2013-04-11  Andreas Schwab  <schwab@suse.de>
35059         [BZ #13988]
35060         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35061         accept exponent character only when digits were seen.
35062         * stdio-common/Makefile (tests): Add bug26.
35063         * stdio-common/bug26.c: New file.
35065         [BZ #14293]
35066         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35067         non-freeable.
35069 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35071         * Makeconfig (rtld-prefix): Define built linker prefix.
35072         * Rules (run-bench): Use it.
35073         * math/Makefile (run-regen-ulps): Likewise.
35075         * Rules (bench): Remove eval.
35077 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35078             Roland McGrath  <roland@hack.frob.com>
35079             Ondrej Bilka  <neleai@seznam.cz>
35081         [BZ #15346]
35082         * time/getdate.c: Include ctype.h and alloca.h.
35083         (__getdate_r): Trim leading and trailing spaces of input.
35084         * time/tst-getdate.c (tests): Add tests with leading and
35085         trailing spaces.
35087 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35089         [BZ #14280]
35090         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35091         when computing value.
35093 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35095         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35096         Use testrun.sh to run libm tests.
35098         [BZ #15309]
35099         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35101 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35103         [BZ #15264]
35104         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35106 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35108         * Makefile.in (regen-ulps): New target.
35109         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35110         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35111         [ifneq (no,$(PERL)] (regen-ulps): New target.
35112         [ifeq (no,$(PERL)] (regen-ulps): New target.
35113         * math/libm-test.inc (ulps_file_name): Define.
35114         (output_dir): New variable.
35115         (options): Add "output-dir" option.
35116         (parse_opt): Handle 'o' case.
35117         (main): If output_dir is non-NULL use it as a prefix
35118         otherwise use "".
35119         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35121 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35123         [BZ #10060, #10062]
35124         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35125         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35126         fail configure if __sync_val_compare_and_swap is not inlined.
35127         * sysdeps/i386/configure: Regenerate.
35128         * configure.in: Build for i686 when configured for i386.
35129         * configure: Regenerate.
35130         * README: Remove i386 reference.
35132 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35134         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35135         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35137 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35139         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35140         (lmsnanval): New variables.
35141         (F): Add conversion tests.
35142         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35143         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35145         * stdio-common/tstdiomisc.c (F): Properly collect individual
35146         tests' results.
35148         [BZ #14686, #15336]
35149         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35150         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35151         Instead, use input NaN values or generate a qNaN by arithmetic
35152         operation.  Also fix bugs to comply with the standard.
35153         * math/libm-test.inc (remainder_test): Add more tests.
35155         [BZ #15335, #15342]
35156         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35158         input NaN values or generate a qNaN by arithmetic operation.
35160         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35161         unreachable code.
35163         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35164         definitions.
35166 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35168         [BZ #14478]
35169         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35170         underflowed result.
35171         * math/s_cexpf.c (__cexpf): Likewise.
35172         * math/s_cexpl.c (__cexpl): Likewise.
35173         * math/libm-test.inc (cexp_test): Add more tests.
35175 2013-04-03  Andreas Schwab  <schwab@suse.de>
35177         [BZ #15330]
35178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35179         order arrays from heap if bigger than alloca cutoff.
35181 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35183         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35184         (SNAN_TESTS_double): Refer to GCC PR56831.
35185         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35186         GCC PR56828.
35188 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35190         * Rules (bench): Move bench.out after the run is complete.
35192         * Rules (bench): Echo currently running benchmark.
35194         * benchtests/Makefile (bench): Add atan and slowatan.
35195         * benchtests/atan-inputs: New file.
35196         * benchtests/slowatan-inputs: New file.
35197         * benchtests/slowatan.c: New file.
35199         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35200         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35201         its value.
35203         [BZ #15305]
35204         * sysdeps/unix/sysv/linux/kernel-features.h
35205         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35206         __ASSUME_XFS_RESTRICTED_CHOWN.
35207         * sysdeps/unix/sysv/linux/pathconf.c
35208         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35209         Save and restore errno.
35211 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35213         [BZ #15327]
35214         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35215         arguments using __kernel_casinh.
35216         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35217         arguments using __kernel_casinhf.
35218         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35219         arguments using __kernel_casinhl.
35220         * math/libm-test.inc (cacosh_test): Add more tests.
35221         * sysdeps/i386/fpu/libm-test-ulps: Update.
35222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35224 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35226         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35229         * bench/Makefile (bench): Add sin and slowsin.
35230         * benchtests/sin-inputs: New file.
35231         * benchtests/slowsin-inputs: New file.
35232         * benchtests/slowsin.c: New file.
35234         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35235         (bench): Add slowexp and slowpow.
35236         (exp-ITER): Increase iterations.
35237         (pow-ITER): Likewise.
35238         * benchtests/exp-inputs: Change input.
35239         * benchtests/pow-inputs: Likewise.
35240         * benchtests/slowexp-inputs: New file.
35241         * benchtests/slowexp.c: New file.
35242         * benchtests/slowpow-inputs: New file.
35243         * benchtests/slowpow.c: New file.
35245 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35247         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35248         instructions.
35249         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35250         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35251         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35252         * benchtests/Makefile: Add rint benchtest.
35253         * benchtests/rint-inputs: Input for rint benchtest.
35255 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35257         * Versions.def (libm): Add GLIBC_2.18.
35258         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35259         hidden libm prototypes.
35260         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35261         * math/Makefile (libm-calls): Add s_issignaling.
35262         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35263         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35264         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35265         declaration.
35266         * math/math.h [__USE_GNU] (issignaling): New macro.
35267         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35268         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35269         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35270         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35271         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35272         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35273         * manual/arith.texi (issignaling): New section.
35274         * manual/libm-err-tab.pl (@all_functions): Update comment.
35275         * math/gen-libm-test.pl (parse_args): Apply special handling for
35276         issignaling.
35277         * math/libm-test.inc (print_float, issignaling_test): New
35278         functions.
35279         (check_float_internal): Add issignaling checks.
35280         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35281         default definition.
35282         * sysdeps/powerpc/math-tests.h: New file.
35283         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35284         tests.
35285         * math/test-snan.c (TEST_FUNC): Likewise.
35287 2013-03-30  David S. Miller  <davem@davemloft.net>
35289         * po/de.po: Update from translation team.
35291 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35293         [BZ #10357]
35294         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35295         imaginary part less than 1.0 and real part less than 0.5
35296         specially.
35297         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35298         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35299         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35300         (cacos_test): Add more tests.
35301         (casin_test): Likewise.
35302         (casinh_test): Likewise.
35303         * sysdeps/i386/fpu/libm-test-ulps: Update.
35304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35306 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35308         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35309         ONE with its value.
35311         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35312         (__pow_mp): Replace ONE and MONE with their values.
35313         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35314         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35315         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35316         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35318         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35320         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35322         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35323         (__pow_mp): Replace ZERO and MZERO with their values.
35324         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35326         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35328         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35329         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35330         (__sqr): Likewise.
35332         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35334         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35336 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35338         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35339         Declare with __attribute__ ((weak)).
35340         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35341         Call __call_tls_dtors only if it's not NULL.
35343 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35345         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35346         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35347         magic __ehdr_start linker symbol if it's defined.
35348         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35349         them up here if it was already done.
35351         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35352         (_dl_aux_init): Use const in cast when setting it.
35353         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35354         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35355         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35357         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35358         Declare them here.
35359         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35360         * csu/libc-tls.c: Nor here.
35361         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35363         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35364         (__libc_message): Never call vsyslog.
35366 2013-03-28  Alan Modra  <amodra@gmail.com>
35368         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35369         Define as empty.
35370         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35371         Likewise.
35373 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35375         [BZ #15214]
35376         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35377         underflow.
35378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35380 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35382         [BZ #15304]
35383         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35384         Don't add gid passed as argument.
35386         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35388 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35390         [BZ #15307]
35391         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35392         imaginary part between 1.0 and 1.5 and real part less than 0.5
35393         specially.
35394         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35395         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35396         * math/libm-test.inc (cacos_test): Add more tests.
35397         (casin_test): Likewise.
35398         (casinh_test): Likewise.
35399         * sysdeps/i386/fpu/libm-test-ulps: Update.
35400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35402 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35404         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35405         constants.
35406         (norm): Likewise.
35407         (denorm): Likewise.
35408         (__dbl_mp): Likewise.
35409         (add_magnitudes): Likewise.
35410         (sub_magnitudes): Likewise.
35411         (__add): Likewise.
35412         (__sub): Likewise.
35413         (__mul): Likewise.
35414         (__sqr): Likewise.
35415         (__inv): Likewise.
35416         (__dvd): Likewise.
35418         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35419         commented code.
35420         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35421         (__dubcos): Likewise.
35422         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35423         (__ieee754_acos): Likewise.
35424         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35425         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35426         (__exp1): Likewise.
35427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35428         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35429         (log1): Likewise.
35430         (my_log2): Likewise.
35431         (checkint): Likewise.
35432         * sysdeps/ieee754/dbl-64/e_remainder.c
35433         (__ieee754_remainder): Likewise.
35434         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35436         (bsloww): Likewise.
35437         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35439         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35440         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35441         MANTISSA_STORE_T to store computations on mantissa.  Use
35442         macros for rounding and division.
35443         (denorm): Likewise.
35444         (__dbl_mp): Likewise.
35445         (add_magnitudes): Likewise.
35446         (sub_magnitudes): Likewise.
35447         (__mul): Likewise.
35448         (__sqr): Likewise.
35449         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35450         powers of two in terms of TWOPOW macro.
35451         (mp_no): Make type of mantissa as MANTISSA_T.
35452         [!RADIXI]: Define RADIXI.
35453         [!TWO52]: Define TWO52.
35454         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35456 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35458         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35459         llroundl symbol when building for PPC32.
35461 2013-03-24  Mark H Weaver  <mhw@netris.org>
35463         * manual/arith.texi (Normalization Functions): Fix prototypes for
35464         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35466 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35468         [BZ #13889]
35469         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35470         high value to check if expl overflow.
35471         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35472         to check for underflow and overflow.
35473         * math/libm-test.inc: Add exp test.
35475 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35477         [BZ #11120]
35478         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35479         with NOT_IN_libc.
35481 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35483         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35484         symbol.
35486 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35488         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35489         wrap blocks consisting of several statements.
35491         * sysdeps/generic/math-tests.h: New file.
35492         * sysdeps/i386/fpu/math-tests.h: Likewise.
35493         * math/test-snan.c: Include it.
35494         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35496 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35498         [BZ #15285]
35499         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35500         (__ieee754_j0l): Do not improve calculations using cos of twice
35501         input for inputs above LDBL_MAX / 2.0L.
35502         (__ieee754_y0l): Likewise.
35503         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35504         (__ieee754_j1l): Do not improve calculations using cos of twice
35505         input for inputs above LDBL_MAX / 2.0L.
35506         (__ieee754_y1l): Likewise.
35507         * math/libm-test.inc (j0_test): Add another test.
35508         (j1_test): Likewise.
35509         (y0_test): Likewise.
35510         (y1_test): Likewise.
35511         * sysdeps/i386/fpu/libm-test-ulps: Update.
35513 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35515         * Rules ($(objpfx)bench-%.c): Include code from a C source
35516         file.
35518 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #15287]
35521         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35522         imaginary part 1.0 and real part less than 0.5 specially.
35523         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35524         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35525         * math/libm-test.inc (cacos_test): Add more tests.
35526         (casin_test): Likewise.
35527         (casinh_test): Likewise.
35528         * sysdeps/i386/fpu/libm-test-ulps: Update.
35529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35531 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35533         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35534         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35536 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35538         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35539         * config.make.in (config-cflags-sse4): Remove variable.
35540         (config-cflags-avx): Likewise.
35541         (config-cflags-sse2avx): Likewise.
35542         (config-cflags-novzeroupper): Likewise.
35543         (config-asflags-i686): Likewise.
35544         (have-mfma4): Likewise.
35545         (have-as-vis3): Likewise.
35546         (MIG): Likewise.
35547         * configure.in (MIG): Do not AC_SUBST.
35548         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35549         (libc_cv_cc_sse4): Do not AC_SUBST.
35550         (libc_cv_cc_avx): Likewise.
35551         (libc_cv_cc_sse2avx): Likewise.
35552         (libc_cv_cc_novzeroupper): Likewise.
35553         (libc_cv_cc_fma4): Likewise.
35554         (libc_cv_as_i686): Likewise.
35555         (libc_cv_sparc_as_vis3): Likewise.
35556         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35557         LIBC_CONFIG_VAR.
35558         (config-asflags-i686): Likewise.
35559         (config-cflags-avx): Likewise.
35560         (config-cflags-sse2avx): Likewise.
35561         (have-mfma4): Likewise.
35562         (config-cflags-novzeroupper): Likewise.
35563         * sysdeps/mach/configure.in (MIG): Likewise.
35564         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35565         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35566         LIBC_CONFIG_VAR.
35567         (config-cflags-avx): Likewise.
35568         (config-cflags-sse2avx): Likewise.
35569         (have-mfma4): Likewise.
35570         (config-cflags-novzeroupper): Likewise.
35571         * configure: Regenerated.
35572         * sysdeps/i386/configure: Likewise.
35573         * sysdeps/mach/configure: Likewise.
35574         * sysdeps/sparc/configure: Likewise.
35575         * sysdeps/x86_64/configure: Likewise.
35577 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35579         [BZ #14812]
35580         * locale/programs/localedef.c (options): Put N_ translation marker
35581         on argument names, not just descriptions.
35583 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35585         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35587 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35589         [BZ #14176]
35590         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35592 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35594         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35595         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35596         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35597         [!BEFORE_ABORT] (before_abort): New function.
35598         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35599         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35600         (writev_for_fatal): New function.
35601         (WRITEV_FOR_FATAL): New macro; call that.
35602         (backtrace_and_maps): New function.
35603         (BEFORE_ABORT): New macro; call that.
35604         (struct str_list): Type removed.
35605         (__libc_message, __libc_fatal): Functions removed.
35606         Include <sysdeps/posix/libc_fatal.c> instead.
35608 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35610         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35611         constants.
35612         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35613         double constants.
35615 2013-03-19  Andreas Schwab  <schwab@suse.de>
35617         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35618         * sysdeps/gnu/configure: Regenerate.
35620         * configure.in: Substitute libc_cv_rtlddir.
35621         * configure: Regenerate.
35622         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35623         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35624         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35625         * elf/Makefile (install-others, CFLAGS-interp.c)
35626         (ldso_install, common-ldd-rewrite): Likewise.
35627         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35628         $(inst_slibdir)/$(rtld-installed-name).
35629         * scripts/rellns-sh: Add -p option.
35630         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35631         for source.
35633 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35635         * manual/nptl.texi: Renamed to ...
35636         * manual/threads.texi: ... this.
35637         * manual/Makefile (chapters): Update.
35639 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35641         [BZ #14812]
35642         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35643         on argument names, not just descriptions.
35644         * malloc/memusagestat.c (options): Likewise.
35645         * nss/getent.c (options): Likewise.
35647 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35649         [BZ #14812]
35650         * iconv/iconv_prog.c (options): Put N_ translation marker
35651         on argument names, not just descriptions.
35652         * iconv/iconvconfig.c (options): Likewise.
35654 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35656         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35657         implementation which is faster on all x86_64 architectures.
35658         Tested on AMD, Intel Nehalem, SNB, IVB.
35659         * sysdeps/x86_64/strnlen.S: Likewise.
35661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35662         Remove all multiarch strlen and strnlen versions.
35663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35664         Remove strlen and strnlen related parts.
35666         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35667         Inline strlen part.
35668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35670         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35671         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35672         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35673         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35674         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35675         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35677 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35679         * manual/memory.texi (Malloc Tunable Parameters):
35680         Sort parameters alphabetically. Add comments for missing entries.
35682 2013-03-17  David S. Miller  <davem@davemloft.net>
35684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35686 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #15283]
35689         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35690         for arguments at most half maximum finite value.
35691         * math/libm-test.inc (j0_test): Add more tests.
35692         (j1_test): Likewise.
35693         (y0_test): Likewise.
35694         (y1_test): Likewise.
35695         * sysdeps/i386/fpu/libm-test-ulps: Update.
35696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35698         [BZ #14155]
35699         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35700         1 / x and functions P and Q for arguments above 0x1p256L.
35701         (__ieee754_y0l): Likewise.
35702         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35703         (__ieee754_y1l): Likewise.
35704         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35705         (j1_test): Likewise.
35706         (y0_test): Likewise.
35707         (y1_test): Likewise.
35709 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35711         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35712         variable.
35714 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35716         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35717         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35718         zero since it's initialized to EXEC_PAGESIZE.
35720         * sysdeps/unix/sysv/linux/ldsodefs.h
35721         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35722         * sysdeps/generic/ldsodefs.h: ... here.
35724 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35726         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35728         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35729         math/test-snan.c.
35730         * math/test-snan.c: Renamed from
35731         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35732         * math/Makefile (tests): Add test-snan.
35733         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35734         test-powerpc-snan.
35736         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35737         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35738         functions.
35739         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35740         __builtin_nan family of functions.
35741         * math/libm-test.inc (initialize): Initialize qnan_value with
35742         __builtin_nan family of functions.
35743         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35744         Remove variables.
35745         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35746         Remove functions.
35747         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35748         storage class.  Initialize qNaN_var and sNaN_var with
35749         __builtin_nan and __builtin_nans families of functions,
35750         respectively.
35752         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35753         (sqrt_test): Remove duplicate test with qNaN input.
35754         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35755         (round_test, signbit_test, significand_test): Note missing +/-Inf
35756         as well as qNaN tests.
35758         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35759         qNaN_var.  Fix a few strings, too.
35760         * math/libm-test.inc (nan_value): Rename to qnan_value.
35761         * math/gen-libm-test.pl (%beautify): Adjust to that.
35762         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35763         * math/test-misc.c (main): Likewise.
35764         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35765         to __qnan_bytes, and __qnan_union, respectively.
35766         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35767         Likewise.
35768         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35769         and lqnanval, respectively.
35770         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35771         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35772         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35773         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35775         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35776         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35777         doubles.
35779         * math/test-misc.c (main): Fix copy'n'pastos.
35780         * misc/tst-efgcvt.c (special): Likewise.
35782         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35783         Remove declarations.
35785 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35787         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35788         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35789         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35790         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35792 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35795         macro to return vdso values correctly in IFUNC implementations.
35796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35797         Optimization by using IFUNC.
35799 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800             Richard Henderson  <rth@redhat.com>
35801             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35803         * Makefile.in (bench): New target.
35804         * NEWS: Mention the benchmark framework.
35805         * Rules (bench): Likewise.
35806         (binaries-bench): Generate binaries for functions to
35807         benchmark.
35808         * benchtests/Makefile: New makefile for benchmark tests.
35809         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35810         programs.
35811         * benchtests/exp-inputs: New input file for EXP function.
35812         * benchtests/pow-inputs: New input file for POW function.
35813         * scripts/bench.pl: New script to generate source files for
35814         benchmark programs.
35816 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35818         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35819         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35820         computations on mantissa.  Use macros for rounding and
35821         division.
35822         (denorm): Likewise.
35823         (__dbl_mp): Likewise.
35824         (add_magnitudes): Likewise.
35825         (sub_magnitudes): Likewise.
35826         (__mul): Likewise.
35827         (__sqr): Likewise.
35828         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35829         powers of two in terms of TWOPOW macro.
35830         (mp_no): Make type of mantissa as MANTISSA_T.
35831         [!RADIXI]: Define RADIXI.
35832         [!TWO52]: Define TWO52.
35833         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35835         * manual/nptl.texi (cindex): Modify threads to pthreads.
35837 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35839         * sysdeps/x86_64/preconfigure: Regenerated.
35841 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35843         [BZ #14155]
35844         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35845         0x1p28 and above.
35846         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35847         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35848         0x1p28 and above.
35849         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35850         * math/libm-test.inc (j0_test): Do not allow one spurious
35851         underflow exception.
35852         (y1_test): Likewise.
35854 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35856         * manual/Makefile (chapters): Add nptl.
35857         * manual/debug.texi (Debugging Support): Add link to Threads
35858         chapter.
35859         * manual/nptl.texi: New file.
35861         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35863 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35865         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35866         for non-NULL pointer before the memory validity test. Pointed
35867         out by Holger Brunck <holger.brunck@keymile.com>.
35869 2013-03-13  Andreas Schwab  <schwab@suse.de>
35871         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35872         instead of .os.
35874 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35876         * timezone/zic.c: Update from tzcode 2013b.
35878 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35880         * manual/install.texi (Configuring and compiling):
35881         Mention i686 and i586.
35882         * INSTALL: Regenerate.
35884 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35886         * sysdeps/init_array/elf-init.c: New file.
35887         * csu/elf-init.c
35888         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35889         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35891         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35892         __gmon_start__ as global, but as static with a .preinit_array pointer.
35893         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35894         * sysdeps/init_array/crti.S: New file, empty except for comments.
35895         * sysdeps/init_array/crtn.S: Likewise.
35897 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35899         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35900         definining bcopy.
35901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35902         Remove Prefer_SSE_for_memop.
35903         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35904         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35905         HAS_PREFER_SSE_FOR_MEMOP.
35906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35907         memset-x86-64.
35908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35909         Remove bzero, memset ifunc support.
35910         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35911         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35912         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35913         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35915 2013-03-11  Andreas Schwab  <schwab@suse.de>
35917         [BZ #15234]
35918         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35919         by SHLIB_COMPAT.
35920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35921         (GLIBC_2.16): Remove pthread_atfork.
35923 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35925         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35926         (ptestcases.h): Likewise.
35928 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35930         * Makeconfig ($(common-objpfx)config.status): Depend on
35931         sysdeps/*/preconfigure{,.in} too.
35933 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35935         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35936         (__free_hook): Use void * instead of __malloc_ptr_t.
35937         (__malloc_hook): Likewise.
35938         (__realloc_hook): Likewise.
35939         (__memalign_hook): Likewise.
35940         (__after_morecore_hook): Likewise.
35941         * malloc/arena.c (save_malloc_hook): Likewise.
35942         (save_free_hook): Likewise.
35943         * malloc/hooks.c (malloc_hook_ini): Likewise.
35944         (realloc_hook_ini): Likewise.
35945         (memalign_hook_ini): Likewise.
35946         * malloc/malloc.c (malloc_hook_ini): Likewise.
35947         (realloc_hook_ini): Likewise.
35948         (memalign_hook_ini): Likewise.
35949         (__free_hook): Likewise.
35950         (__malloc_hook): Likewise.
35951         (__realloc_hook): Likewise.
35952         (__memalign_hook): Likewise.
35953         (__libc_malloc): Likewise.
35954         (__libc_free): Likewise.
35955         (__libc_realloc): Likewise.
35956         (__libc_memalign): Likewise.
35957         (__libc_valloc): Likewise.
35958         (__libc_pvalloc): Likewise.
35959         (__libc_calloc): Likewise.
35960         (__posix_memalign): Likewise.
35961         * malloc/morecore.c (__sbrk): Likewise.
35962         (__default_morecore): Likewise.
35964         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35966         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35967         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35968         __malloc_ptrdiff_t.
35970         * malloc/malloc.h (__malloc_size_t): Remove macro.
35971         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35972         __malloc_size_t.
35973         (old_memalign_hook): Likewise.
35974         (old_realloc_hook): Likewise.
35975         (struct hdr): Likewise.
35976         (flood): Likewise.
35977         (mallochook): Likewise.
35978         (memalignhook): Likewise.
35979         (reallochook): Likewise.
35980         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35981         (tr_old_realloc_hook): Likewise.
35982         (tr_old_memalign_hook): Likewise.
35983         (tr_mallochook): Likewise.
35984         (tr_reallochook): Likewise.
35985         (tr_memalignhook): Likewise.
35987 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35990         default_ldbl_pack and using as default implementation.
35991         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35992         implementation.
35993         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35994         redundant definition.
35995         (ldbl_insert_mantissa): Likewise.
35996         (ldbl_canonicalize): Likewise.
35997         (ldbl_nearbyint): Likewise.
35998         (ldbl_pack): Rename to ldbl_pack_ppc.
35999         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36000         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36001         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36003 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36006         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36007         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36008         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36011         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36012         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36014 2013-03-07  Andreas Jaeger  <aj@suse.de>
36016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36017         bits/mman-linux.h.
36019 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36022         Include mpa.h and declare __MPEXP.
36023         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36024         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36025         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36026         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36027         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36028         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36029         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36031         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36032         (__slowpow): Use long double EXPL and LOGL functions to
36033         compute POW.
36034         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36035         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36036         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36037         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36038         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36039         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36042         intermediate variable to calculate exponent.
36043         (__sqr): Likewise.
36044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36045         Likewise.
36046         (__sqr): Likewise.
36048         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36049         [!NO__SQR]: Define __sqr.
36050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36051         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36052         sysdeps/ieee754/dbl-64/mpa.c.
36053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36055         [BZ #12723]
36056         * posix/Makefile (tests): Add tst-pathconf.
36057         * posix/tst-pathconf.c: New test case.
36058         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36059         _PC_PIPE_BUF.
36060         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36062 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36064         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36066 2013-03-06  Andreas Jaeger  <aj@suse.de>
36068         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36069         definition via __MAP_ANONYMOUS.
36071         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36072         it's not part of Linux headers.
36074         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36075         (MAP_HUGE_MASK): Define.
36077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36078         Define.
36079         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36080         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36081         Define.
36082         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36083         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36084         Define.
36085         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36086         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36087         Define.
36088         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36090         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36091         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36092         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36093         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36094         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36095         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36097         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36098         Handle f2fs.
36100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36101         Handle f2fs and efivarfs.
36103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36104         f2fs.
36106         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36107         (EFIVARFS_MAGIC): Add.
36108         (F2FS_LINK_MAX): Add.
36110 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36112         * stdio-common/vfprintf.c: Replace __builtin_expect with
36113         __glibc_unlikely.
36115 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36117         [BZ #13550]
36118         * sysdeps/generic/bp-sym.h: Remove file.
36119         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36120         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36121         <bp-sym.h> and <bp-asm.h>.
36122         (__longjmp): Don't use BP_SYM.
36123         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36124         and <bp-asm.h>.
36125         (memcpy): Don't use BP_SYM.
36126         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36127         <bp-sym.h> and <bp-asm.h>.
36128         (memcpy): Don't use BP_SYM.
36129         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36130         <bp-asm.h>.
36131         (memcpy): Don't use BP_SYM.
36132         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36133         <bp-asm.h>.
36134         (memset): Don't use BP_SYM.
36135         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36136         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36137         (__bzero): Don't use BP_SYM.
36138         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36139         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36140         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36141         <bp-sym.h> and <bp-asm.h>.
36142         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36143         pointers.
36144         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36145         <bp-sym.h> and <bp-asm.h>.
36146         (memcpy): Don't use BP_SYM.
36147         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36148         <bp-sym.h> and <bp-asm.h>.
36149         (memset): Don't use BP_SYM.
36150         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36151         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36152         (__bzero): Don't use BP_SYM.
36153         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36154         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36155         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36156         <bp-sym.h> and <bp-asm.h>.
36157         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36158         pointers.
36159         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36160         <bp-sym.h> and <bp-asm.h>.
36161         (memcpy): Don't use BP_SYM.
36162         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36163         <bp-sym.h> and <bp-asm.h>.
36164         (memset): Don't use BP_SYM.
36165         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36166         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36167         (__bzero): Don't use BP_SYM.
36168         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36169         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36170         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36171         <bp-sym.h> and <bp-asm.h>.
36172         (__memchr): Don't use BP_SYM.
36173         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36174         <bp-sym.h> and <bp-asm.h>.
36175         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36176         pointers.
36177         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36178         <bp-sym.h> and <bp-asm.h>.
36179         (memcpy): Don't use BP_SYM.
36180         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36181         <bp-sym.h> and <bp-asm.h>.
36182         (__mempcpy): Don't use BP_SYM.
36183         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36184         <bp-sym.h> and <bp-asm.h>.
36185         (__memrchr): Don't use BP_SYM.
36186         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36187         <bp-sym.h> and <bp-asm.h>.
36188         (memset): Don't use BP_SYM.
36189         (__bzero): Likewise.
36190         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36191         <bp-sym.h> and <bp-asm.h>.
36192         (__rawmemchr): Don't use BP_SYM.
36193         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36194         <bp-sym.h> and <bp-asm.h>.
36195         (__STRCMP): Don't use BP_SYM.
36196         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36197         <bp-sym.h> and <bp-asm.h>.
36198         (strchr): Don't use BP_SYM.
36199         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36200         <bp-sym.h> and <bp-asm.h>.
36201         (__strchrnul): Don't use BP_SYM.
36202         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36203         <bp-sym.h> and <bp-asm.h>.
36204         (strlen): Don't use BP_SYM.
36205         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36206         <bp-sym.h> and <bp-asm.h>.
36207         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36208         pointers.
36209         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36210         <bp-sym.h> and <bp-asm.h>.
36211         (__strnlen): Don't use BP_SYM.
36212         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36213         <bp-sym.h> and <bp-asm.h>.
36214         (__GI__setjmp): Don't use BP_SYM.
36215         (_setjmp): Likewise.
36216         (__sigsetjmp): Likewise.
36217         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36218         (L(start_addresses)): Don't use BP_SYM.
36219         (_start): Likewise.
36220         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36221         <bp-asm.h>.
36222         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36223         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36224         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36225         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36226         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36227         <bp-asm.h>.
36228         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36229         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36230         about bounded pointers.
36231         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36232         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36233         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36234         <bp-asm.h>.
36235         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36236         about bounded pointers.  Remove GKM FIXME comments.
36237         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36238         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36239         <bp-asm.h>.
36240         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36241         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36242         Remove GKM FIXME comments.
36243         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36244         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36245         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36246         <bp-asm.h>.
36247         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36248         about bounded pointers.  Remove GKM FIXME comment.
36249         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36250         and <bp-asm.h>.
36251         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36252         pointers.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36254         <bp-sym.h> and <bp-asm.h>.
36255         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36257         <bp-sym.h> and <bp-asm.h>.
36258         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36259         comment.
36261 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36263         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36264         call free(NULL).
36266 2013-03-05  David S. Miller  <davem@davemloft.net>
36268         * po/es.po: Update from translation team.
36270 2013-03-05  Andreas Jaeger  <aj@suse.de>
36272         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36273         <bits/mman-linux.h>.
36274         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36275         is fine.
36276         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36277         <bits/mman-linux.h> to end of file.
36278         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36279         is fine.
36280         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36281         <bits/mman-linux.h> to end of file.
36282         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36283         is fine.
36284         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36285         <bits/mman-linux.h> to end of file.
36287         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36288         (MCL_CURRENT, MCL_FUTURE): Define here.
36290 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36292         [BZ #15232]
36293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36294         attribute_hidden.
36295         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36297 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36299         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36300         fourth parameter needed for rt_sigprocmask syscall.
36301         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36302         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36303         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36304         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36305         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36306         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36308 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36310         [BZ #13550]
36311         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36312         comment about bounded pointers.
36313         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36314         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36316 2013-03-04  Andreas Jaeger  <aj@suse.de>
36318         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36319         common definitions.
36321         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36322         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36323         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36324         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36325         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36326         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36328 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36330         [BZ #15055]
36331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36332         __ieee754_sqrl instead of __sqrl.
36334 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36336         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36337         * sysdeps/powerpc/fpu_control.h: ... here.
36338         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36339         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36340         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36341         * sysdeps/powerpc/bits/mathinline.h: ... here.
36343 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36345         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36346         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36347         to just [NEED_DL_SYSINFO_DSO].
36348         * elf/dl-support.c: Likewise.
36349         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36350         * elf/rtld.c (dl_main): Likewise.
36351         * elf/setup-vdso.h (setup_vdso): Likewise.
36352         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36353         * sysdeps/unix/sysv/linux/dl-sysdep.c
36354         (_dl_discover_osversion): Likewise.
36356 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36358         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36359         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36361 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36363         * NEWS: Mention libm performance improvements and non-x86 PI
36364         futex support.
36366         * csu/libc-start.c (__pthread_initialize_minimal): Change
36367         function arguments.
36368         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36370 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36372         [BZ #13550]
36373         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36374         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36375         <bp-sym.h> and <bp-asm.h>.
36376         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36377         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36378         and <bp-asm.h>.
36379         (memcpy): Don't use BP_SYM.
36380         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36381         <bp-asm.h>.
36382         (__mpn_add_n): Don't use BP_SYM.
36383         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36384         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36385         and <bp-asm.h>.
36386         (__mpn_addmul_1): Don't use BP_SYM.
36387         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36388         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36389         <bp-sym.h>.
36390         (_setjmp): Don't use BP_SYM.
36391         (__novmx_setjmp): Likewise.
36392         (__GI__setjmp): Likewise.
36393         (__vmx_setjmp): Likewise.
36394         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36395         <bp-sym.h>.
36396         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36397         (__bzero): Don't use BP_SYM.
36398         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36399         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36400         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36401         <bp-sym.h> and <bp-asm.h>.
36402         (memcpy): Don't use BP_SYM.
36403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36404         <bp-sym.h> and <bp-asm.h>.
36405         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36406         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36407         <bp-sym.h> and <bp-asm.h>.
36408         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36409         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36410         <bp-asm.h>.
36411         (__mpn_lshift): Don't use BP_SYM.
36412         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36413         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36414         <bp-asm.h>.
36415         (memset): Don't use BP_SYM.
36416         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36417         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36418         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36419         <bp-asm.h>.
36420         (__mpn_mul_1): Don't use BP_SYM.
36421         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36422         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36423         <bp-sym.h> and <bp-asm.h>.
36424         (memcmp): Don't use BP_SYM.
36425         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36426         <bp-sym.h> and <bp-asm.h>.
36427         (memcpy): Don't use BP_SYM.
36428         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36429         <bp-sym.h> and <bp-asm.h>.
36430         (memset): Don't use BP_SYM.
36431         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36432         <bp-sym.h> and <bp-asm.h>.
36433         (strncmp): Don't use BP_SYM.
36434         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36435         <bp-sym.h> and <bp-asm.h>.
36436         (memcpy): Don't use BP_SYM.
36437         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36438         <bp-sym.h> and <bp-asm.h>.
36439         (memset): Don't use BP_SYM.
36440         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36441         <bp-sym.h> and <bp-asm.h>.
36442         (__memchr): Don't use BP_SYM.
36443         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36444         <bp-sym.h> and <bp-asm.h>.
36445         (memcmp): Don't use BP_SYM.
36446         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36447         <bp-sym.h> and <bp-asm.h>.
36448         (memcpy): Don't use BP_SYM.
36449         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36450         <bp-sym.h> and <bp-asm.h>.
36451         (__mempcpy): Don't use BP_SYM.
36452         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36453         <bp-sym.h> and <bp-asm.h>.
36454         (__memrchr): Don't use BP_SYM.
36455         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36456         <bp-sym.h> and <bp-asm.h>.
36457         (memset): Don't use BP_SYM.
36458         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36459         <bp-sym.h> and <bp-asm.h>.
36460         (__rawmemchr): Don't use BP_SYM.
36461         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36462         <bp-sym.h> and <bp-asm.h>.
36463         (__STRCMP): Don't use BP_SYM.
36464         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36465         <bp-sym.h> and <bp-asm.h>.
36466         (strchr): Don't use BP_SYM.
36467         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36468         <bp-sym.h> and <bp-asm.h>.
36469         (__strchrnul): Don't use BP_SYM.
36470         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36471         <bp-sym.h> and <bp-asm.h>.
36472         (strlen): Don't use BP_SYM.
36473         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36474         <bp-sym.h> and <bp-asm.h>.
36475         (strncmp): Don't use BP_SYM.
36476         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36477         <bp-sym.h> and <bp-asm.h>.
36478         (__strnlen): Don't use BP_SYM.
36479         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36480         <bp-asm.h>.
36481         (__mpn_rshift): Don't use BP_SYM.
36482         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36483         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36484         <bp-sym.h> and <bp-asm.h>.
36485         (__sigsetjmp): Don't use BP_SYM.
36486         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36487         (L(start_addresses)): Don't use BP_SYM.
36488         (_start): Likewise.
36489         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36490         <bp-asm.h>.
36491         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36492         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36493         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36494         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36495         <bp-asm.h>.
36496         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36497         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36498         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36499         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36500         <bp-asm.h>.
36501         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36502         comments.
36503         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36504         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36505         <bp-asm.h>.
36506         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36507         FIXME comments.
36508         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36509         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36510         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36511         <bp-asm.h>.
36512         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36513         comment.
36514         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36515         and <bp-asm.h>.
36516         (strncmp): Don't use BP_SYM,
36517         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36518         <bp-asm.h>.
36519         (__mpn_sub_n): Don't use BP_SYM.
36520         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36521         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36522         and <bp-asm.h>.
36523         (__mpn_submul_1): Don't use BP_SYM.
36524         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36526         <bp-sym.h> and <bp-asm.h>.
36527         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36529         <bp-sym.h> and <bp-asm.h>.
36530         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36531         comment.
36533 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36536         Use ZK to minimize writes to Z.
36537         (sub_magnitudes): Simplify code a bit.
36538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36539         Use ZK to minimize writes to Z.
36540         (sub_magnitudes): Simplify code a bit.
36542 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36544         * csu/gmon-start.c: Add special exception to license text.
36546 2013-02-27  Richard Henderson  <rth@redhat.com>
36548         * scripts/config.guess: Update from config.git.
36549         * scripts/config.sub: Likewise.
36551 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36553         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36555         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36557         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36559         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36561         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36563 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36565         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36566         [$(build-shared = yes].
36568 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36570         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36571         (__mul): Reduce iterations for calculating mantissa.
36573         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36574         MPTWO.
36575         (__mpranred): Likewise.
36577         [BZ #15160]
36578         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36579         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36581 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36583         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36584         Define __attribute__.
36586 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36588         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36589         unused.
36590         * posix/regex_internal.h (__attribute): Remove.
36591         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36592         (re_string_context_at): Likewise.
36593         (bitset_not): Use __attribute__ and mark function as possibly
36594         unused.
36595         (bitset_merge): Likewise.
36596         (bitset_mask): Likewise.
36597         (re_string_char_size_at): Likewise.
36598         (re_string_wchar_at): Likewise.
36599         (re_string_elem_size_at): Likewise.
36601 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36603         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36604         code.
36605         (cc32): Likewise.
36607         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36608         (__acr): Likewise.
36609         (__cpy): Likewise.
36610         (norm): Likewise.
36611         (denorm): Likewise.
36612         (__dbl_mp): Likewise.
36613         (add_magnitudes): Likewise.
36614         (sub_magnitudes): Likewise.
36615         (__mul): Likewise.
36616         (__inv): Likewise.
36618         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36619         style.
36621         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36622         style.
36624         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36625         code.
36627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36628         up changes with default code.
36629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36630         Likewise.
36632 2013-02-24  Allan McRae  <allan@archlinux.org>
36634         * manual/socket.texi (The Internet Namespace): Order menu items
36635         to match that in the file.
36637         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36638         node listing of the info page menu.
36640 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36642         [BZ #13550]
36643         * sysdeps/i386/bp-asm.h: Remove file.
36644         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36645         (PARMS): Do not use macros from bp-asm.h.
36646         (S1): Likewise.
36647         (S2): Likewise.
36648         (SIZE): Likewise.
36649         (__mpn_add_n): Do not use BP_SYM
36650         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36651         "bp-asm.h".
36652         (PARMS): Do not use macros from bp-asm.h.
36653         (S1): Likewise.
36654         (SIZE): Likewise.
36655         (__mpn_addmul_1): Do not use BP_SYM
36656         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36657         "bp-asm.h".
36658         (PARMS): Do not use macros from bp-asm.h.
36659         (SIGMSK): Likewise.
36660         (_setjmp): Likewise.  Do not use BP_SYM.
36661         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36662         "bp-asm.h".
36663         (PARMS): Do not use macros from bp-asm.h.
36664         (SIGMSK): Likewise.
36665         (setjmp): Likewise.  Do not use BP_SYM.
36666         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36667         "bp-asm.h".
36668         (PARMS): Do not use macros from bp-asm.h.
36669         (__frexp): Do not use BP_SYM.
36670         (frexp): Likewise.
36671         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36672         "bp-asm.h".
36673         (PARMS): Do not use macros from bp-asm.h.
36674         (__frexpf): Do not use BP_SYM.
36675         (frexpf): Likewise.
36676         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36677         "bp-asm.h".
36678         (PARMS): Do not use macros from bp-asm.h.
36679         (__frexpl): Do not use BP_SYM.
36680         (frexpl): Likewise.
36681         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36682         "bp-asm.h".
36683         (PARMS): Do not use macros from bp-asm.h.
36684         (__remquo): Do not use BP_SYM.
36685         (remquo): Likewise.
36686         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36687         "bp-asm.h".
36688         (PARMS): Do not use macros from bp-asm.h.
36689         (__remquof): Do not use BP_SYM.
36690         (remquof): Likewise.
36691         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36692         "bp-asm.h".
36693         (PARMS): Do not use macros from bp-asm.h.
36694         (__remquol): Do not use BP_SYM.
36695         (remquol): Likewise.
36696         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36697         "bp-asm.h".
36698         (PARMS): Do not use macros from bp-asm.h.
36699         (DEST): Likewise.
36700         (SRC): Likewise.
36701         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36702         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36703         "bp-asm.h".
36704         (PARMS): Do not use macros from bp-asm.h.
36705         (strlen): Do not use BP_SYM.
36706         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36707         "bp-asm.h".
36708         (PARMS): Do not use macros from bp-asm.h.
36709         (S1): Likewise.
36710         (S2): Likewise.
36711         (SIZE): Likewise.
36712         (__mpn_add_n): Do not use BP_SYM.
36713         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36714         "bp-asm.h".
36715         (PARMS): Do not use macros from bp-asm.h.
36716         (S1): Likewise.
36717         (SIZE): Likewise.
36718         (__mpn_addmul_1): Do not use BP_SYM.
36719         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36720         weak_alias.
36721         (bzero): Likewise.
36722         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36723         "bp-asm.h".
36724         (PARMS): Do not use macros from bp-asm.h.
36725         (S): Likewise.
36726         (SIZE): Likewise.
36727         (__mpn_lshift): Do not use BP_SYM.
36728         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36729         "bp-asm.h".
36730         (PARMS): Do not use macros from bp-asm.h.
36731         (DEST): Likewise.
36732         (SRC): Likewise.
36733         (LEN): Likewise.
36734         (memcpy): Likewise.  Do not use BP_SYM.
36735         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36736         libc_hidden_def and weak_alias.
36737         (mempcpy): Do not use BP_SYM in weak_alias.
36738         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36739         "bp-asm.h".
36740         (PARMS): Do not use macros from bp-asm.h.
36741         (DEST): Likewise.
36742         (LEN): Likewise.
36743         [!BZERO_P] (CHR): Likewise.
36744         (memset): Likewise.  Do not use BP_SYM.
36745         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36746         "bp-asm.h".
36747         (PARMS): Do not use macros from bp-asm.h.
36748         (S1): Likewise.
36749         (SIZE): Likewise.
36750         (__mpn_mul_1): Do not use BP_SYM.
36751         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36752         "bp-asm.h".
36753         (PARMS): Do not use macros from bp-asm.h.
36754         (S): Likewise.
36755         (SIZE): Likewise.
36756         (__mpn_rshift): Do not use BP_SYM.
36757         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36758         "bp-asm.h".
36759         (PARMS): Do not use macros from bp-asm.h.
36760         (STR): Likewise.
36761         (CHR): Likewise.
36762         (strchr): Likewise.  Do not use BP_SYM.
36763         (index): Do not use BP_SYM in weak_alias.
36764         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36765         "bp-asm.h".
36766         (PARMS): Do not use macros from bp-asm.h.
36767         (DEST): Likewise.
36768         (SRC): Likewise.
36769         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36770         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36771         "bp-asm.h".
36772         (PARMS): Do not use macros from bp-asm.h.
36773         (strlen): Do not use BP_SYM.
36774         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36775         "bp-asm.h".
36776         (PARMS): Do not use macros from bp-asm.h.
36777         (S1): Likewise.
36778         (S2): Likewise.
36779         (SIZE): Likewise.
36780         (__mpn_sub_n): Do not use BP_SYM.
36781         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36782         "bp-asm.h".
36783         (PARMS): Do not use macros from bp-asm.h.
36784         (S1): Likewise.
36785         (SIZE): Likewise.
36786         (__mpn_submul_1): Do not use BP_SYM.
36787         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36788         "bp-asm.h".
36789         (PARMS): Do not use macros from bp-asm.h.
36790         (S1): Likewise.
36791         (S2): Likewise.
36792         (SIZE): Likewise.
36793         (__mpn_add_n): Do not use BP_SYM.
36794         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36795         weak_alias.
36796         (bzero): Likewise.
36797         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36798         "bp-asm.h".
36799         (PARMS): Do not use macros from bp-asm.h.
36800         (BLK2): Likewise.
36801         (LEN): Likewise.
36802         (memcmp): Do not use BP_SYM.
36803         (bcmp): Do not use BP_SYM in weak_alias.
36804         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36805         "bp-asm.h".
36806         (PARMS): Do not use macros from bp-asm.h.
36807         (DEST): Likewise.
36808         (SRC): Likewise.
36809         (LEN): Likewise.
36810         (memcpy): Likewise.  Do not use BP_SYM.
36811         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36812         "bp-asm.h".
36813         (PARMS): Do not use macros from bp-asm.h.
36814         (DEST): Likewise.
36815         (SRC): Likewise.
36816         (LEN): Likewise.
36817         (memmove): Likewise.  Do not use BP_SYM.
36818         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36819         "bp-asm.h".
36820         (PARMS): Do not use macros from bp-asm.h.
36821         (DEST): Likewise.
36822         (SRC): Likewise.
36823         (LEN): Likewise.
36824         (__mempcpy): Likewise.  Do not use BP_SYM.
36825         (mempcpy): Do not use BP_SYM in weak_alias.
36826         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36827         "bp-asm.h".
36828         (PARMS): Do not use macros from bp-asm.h.
36829         (DEST): Likewise.
36830         (LEN): Likewise.
36831         [!BZERO_P] (CHR): Likewise.
36832         (memset): Likewise.  Do not use BP_SYM.
36833         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36834         "bp-asm.h".
36835         (PARMS): Do not use macros from bp-asm.h.
36836         (STR2): Likewise.
36837         (strcmp): Do not use BP_SYM.
36838         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36839         "bp-asm.h".
36840         (PARMS): Do not use macros from bp-asm.h.
36841         (STR): Likewise.
36842         (DELIM): Likewise.
36843         [USE_AS_STRTOK_R] (SAVE): Likewise.
36844         (FUNCTION): Likewise.  Do not use BP_SYM.
36845         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36846         aliases.
36847         (strtok_r): Likewise.
36848         (__GI___strtok_r): Likewise.
36849         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36850         (PARMS): Do not use macros from bp-asm.h.
36851         (S): Likewise.
36852         (SIZE): Likewise.
36853         (__mpn_lshift): Do not use BP_SYM.
36854         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36855         (PARMS): Do not use macros from bp-asm.h.
36856         (STR): Likewise.
36857         (CHR): Likewise.
36858         (__memchr): Do not use BP_SYM.
36859         (memchr): Do not use BP_SYM in weak_alias.
36860         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36861         (PARMS): Do not use macros from bp-asm.h.
36862         (BLK2): Likewise.
36863         (LEN): Likewise.
36864         (memcmp): Do not use BP_SYM.
36865         (bcmp): Do not use BP_SYM in weak_alias.
36866         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36867         (PARMS): Do not use macros from bp-asm.h.
36868         (S1): Likewise.
36869         (SIZE): Likewise.
36870         (__mpn_mul_1): Do not use BP_SYM.
36871         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36872         "bp-asm.h".
36873         (PARMS): Do not use macros from bp-asm.h.
36874         (STR): Likewise.
36875         (CHR): Likewise.
36876         (__rawmemchr): Do not use BP_SYM.
36877         (rawmemchr): Do not use BP_SYM in weak_alias.
36878         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36879         (PARMS): Do not use macros from bp-asm.h.
36880         (S): Likewise.
36881         (SIZE): Likewise.
36882         (__mpn_rshift): Do not use BP_SYM.
36883         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36884         (PARMS): Do not use macros from bp-asm.h.
36885         (SIGMSK): Likewise.
36886         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36887         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36888         (_start): Do not use BP_SYM.
36889         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36890         (PARMS): Do not use macros from bp-asm.h.
36891         (DEST): Likewise.
36892         (SRC): Likewise.
36893         (__stpcpy): Likewise.  Do not use BP_SYM.
36894         (stpcpy): Do not use BP_SYM in weak_alias.
36895         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36896         "bp-asm.h".
36897         (PARMS): Do not use macros from bp-asm.h.
36898         (DEST): Likewise.
36899         (SRC): Likewise.
36900         (LEN): Likewise.
36901         (__stpncpy): Likewise.  Do not use BP_SYM.
36902         (stpncpy): Do not use BP_SYM in weak_alias.
36903         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36904         (PARMS): Do not use macros from bp-asm.h.
36905         (STR): Likewise.
36906         (CHR): Likewise.
36907         (strchr): Likewise.  Do not use BP_SYM.
36908         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36909         "bp-asm.h".
36910         (PARMS): Do not use macros from bp-asm.h.
36911         (STR): Likewise.
36912         (CHR): Likewise.
36913         (__strchrnul): Likewise.  Do not use BP_SYM.
36914         (strchrnul): Do not use BP_SYM in weak_alias.
36915         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36916         "bp-asm.h".
36917         (PARMS): Do not use macros from bp-asm.h.
36918         (STOP): Likewise.
36919         (strcspn): Do not use BP_SYM.
36920         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36921         "bp-asm.h".
36922         (PARMS): Do not use macros from bp-asm.h.
36923         (STR): Likewise.
36924         (STOP): Likewise.
36925         (strpbrk): Likewise.  Do not use BP_SYM.
36926         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36927         "bp-asm.h".
36928         (PARMS): Do not use macros from bp-asm.h.
36929         (STR): Likewise.
36930         (CHR): Likewise.
36931         (strrchr): Likewise.  Do not use BP_SYM.
36932         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36933         (PARMS): Do not use macros from bp-asm.h.
36934         (SKIP): Likewise.
36935         (strspn): Do not use BP_SYM.
36936         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36937         (PARMS): Do not use macros from bp-asm.h.
36938         (STR): Likewise.
36939         (DELIM): Likewise.
36940         (SAVE): Likewise.
36941         (FUNCTION): Likewise.  Do not use BP_SYM.
36942         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36943         aliases.
36944         (strtok_r): Likewise.
36945         (__GI___strtok_r): Likewise.
36946         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36947         (PARMS): Do not use macros from bp-asm.h.
36948         (S1): Likewise.
36949         (S2): Likewise.
36950         (SIZE): Likewise.
36951         (__mpn_sub_n): Do not use BP_SYM.
36952         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36953         "bp-asm.h".
36954         (PARMS): Do not use macros from bp-asm.h.
36955         (S1): Likewise.
36956         (SIZE): Likewise.
36957         (__mpn_submul_1): Do not use BP_SYM.
36958         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36959         <bp-sym.h>.
36960         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36961         and <bp-asm.h>.
36962         (PARMS): Do not use macros from bp-asm.h.
36963         (FLAGS): Likewise.
36964         (PTID): Likewise.
36965         (TLS): Likewise.
36966         (CTID): Likewise.
36967         (__clone): Do not use BP_SYM.
36968         (clone): Do not use BP_SYM in weak_alias.
36969         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36970         and <bp-asm.h>.
36971         (PARMS): Do not use macros from bp-asm.h.
36972         (LEN): Likewise.
36973         (__mmap64): Do not use BP_SYM.
36974         (mmap64): Do not use BP_SYM in weak_alias.
36975         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36976         <bp-sym.h> and <bp-asm.h>.
36977         (PARMS): Do not use macros from bp-asm.h.
36978         (__posix_fadvise64_l64): Do not use BP_SYM.
36979         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36980         (PARMS): Do not use macros from bp-asm.h.
36981         (NSOPS): Likewise.
36982         (semtimedop): Do not use BP_SYM.
36983         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36984         and <bp-asm.h>.
36986 2013-02-21  Allan McRae  <allan@archlinux.org>
36988         * manual/message.texi (Charset conversion in gettext):
36989         Move @end statement to beginning of line.
36991 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36994         static.
36995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36996         Likewise.
36998         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36999         (denorm): Likewise.
37000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37003 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37005         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37006         tail-call to the resolved function if pltexit isn't needed.
37008 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37011         or Y being zero as being unlikely.
37012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37013         Likewise.
37015 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37017         * manual/nss.texi (System Databases and Name Service Switch):
37018         Remove frobnicate @pxref.
37020 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37022         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37023         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37025 2013-02-20  Petr Machata  <pmachata@redhat.com>
37027         * elf/elf.h (R_ARM_TARGET1): New macro.
37028         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37029         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37030         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37031         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37032         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37033         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37034         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37035         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37036         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37037         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37038         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37039         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37040         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37041         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37042         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37043         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37044         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37045         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37046         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37047         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37048         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37049         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37050         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37051         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37052         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37053         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37054         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37055         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37056         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37057         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37058         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37059         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37060         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37061         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37062         (R_ARM_THM_GOT_BREL12): Likewise.
37063         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37064         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37065         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37066         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37067         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37068         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37069         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37070         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37071         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37073 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37075         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37076         __attribute_used__ to __attribute__ ((unused)).
37078 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37080         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37081         powerpc mpa.c.
37082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37083         comment formatting.
37084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37086 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37088         [BZ #13550]
37089         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37090         Remove macro.
37091         (ENTER): Remove both macro definitions.
37092         (LEAVE): Likewise.
37093         (CHECK_BOUNDS_LOW): Likewise.
37094         (CHECK_BOUNDS_HIGH): Likewise.
37095         (CHECK_BOUNDS_BOTH): Likewise.
37096         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37097         (RETURN_BOUNDED_POINTER): Likewise.
37098         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37099         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37100         (POP_ERRNO_LOCATION_RETURN): Likewise.
37101         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37102         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37103         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37104         macros.
37105         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37106         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37107         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37108         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37109         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37110         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37111         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37112         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37113         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37114         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37115         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37116         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37117         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37118         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37119         removed macros.
37120         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37121         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37122         macros.
37123         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37124         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37125         * sysdeps/i386/i586/memset.S (memset): Likewise.
37126         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37127         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37128         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37129         macros.
37130         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37131         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37132         Change uses of L(2) to L(out).
37133         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37134         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37135         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37136         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37137         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37138         removed macros.
37139         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37140         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37141         macros.
37142         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37143         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37144         (RETURN): Do not use macro LEAVE.
37145         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37146         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37147         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37148         * sysdeps/i386/i686/memset.S (memset): Likewise.
37149         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37150         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37151         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37152         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37153         Likewise.
37154         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37155         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37156         L(1_2) and L(1_3) into L(1).
37157         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37158         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37159         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37160         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37161         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37162         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37163         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37164         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37165         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37166         macros.
37167         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37168         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37169         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37170         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37171         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37172         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37173         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37174         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37175         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37176         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37177         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37178         * sysdeps/i386/strspn.S (strspn): Likewise.
37179         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37180         conditional code.
37181         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37182         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37183         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37184         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37185         L(1_3) into L(1_1).
37186         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37187         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37188         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37189         macros.
37190         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37192 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37194         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37195         macro.
37197 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37199         * math/atest-exp.c (exp_mpn): Remove ROUND.
37200         * math/atest-exp2.c (exp_mpn): Likewise.
37201         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37203         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37204         * stdlib/tst-tls-atexit-lib.c: Likewise.
37205         * stdlib/tst-tls-atexit.c: Likewise.
37207 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37209         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37210         and __attribute_alloc_size__.
37212 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37214         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37215         __attribute_alloc_size__.
37216         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37217         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37219 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37221         * include/programs/xmalloc.h: New file.
37222         * catgets/gencat.c: Include it.
37223         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37224         * elf/pldd.c: Likewise.
37225         * iconv/iconv_charmap.c: Likewise.
37226         * iconv/iconvconfig.c: Likewise.
37227         * iconv/strtab.c: Likewise.
37228         * locale/programs/locale.c: Likewise.
37229         * locale/programs/localedef.h: Likewise.
37230         * locale/programs/simple-hash.c: Likewise.
37231         * nscd/nscd.h: Likewise.
37232         * nss/makedb.c: Likewise.
37233         * sysdeps/generic/ldconfig.h: Likewise.
37235 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37237         * Versions.def: Add GLIBC_2.18.
37238         * include/link.h (struct link_map): New member l_tls_dtor_count.
37239         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37240         (__call_tls_dtors): Likewise.
37241         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37242         __cxa_thread_atexit_impl.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37244         Likewise.
37245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37246         Likewise.
37247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37248         Likewise.
37249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37250         Likewise.
37251         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37253         Likewise.
37254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37255         Likewise.
37256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37258         Likewise.
37259         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37260         (tests): Add test case tst-tls-atexit.
37261         (modules-names): Add shared library for tst-tls-atexit.
37262         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37263         (GLIBC_PRIVATE): Add __call_tls_dtors.
37264         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37265         for libstdc++.
37266         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37267         * stdlib/tst-tls-atexit.c: New test case.
37268         * stdlib/tst-tls-atexit-lib.c: New test case.
37270         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37272         * elf/Versions (ld): Add _dl_find_dso_for_object.
37273         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37274         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37275         (dl_open_worker): Use _dl_find_dso_for_object.
37276         * elf/dl-sym.c (do_sym): Likewise.
37277         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37279 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37281         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37282         Syntactic changes only.
37283         (_dl_runtime_profile): Do a tail-call to the resolved function.
37285 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37287         [BZ #13550]
37288         * sysdeps/x86_64/bp-asm.h: Remove file.
37289         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37290         <bp-sym.h> and <bp-asm.h>.
37291         (__clone): Do not use BP_SYM.
37292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37293         <bp-sym.h> and <bp-asm.h>.
37294         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37295         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37296         "bp-asm.h".
37297         (_setjmp): Do not use BP_SYM.
37298         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37299         "bp-asm.h".
37300         (setjmp): Do not use BP_SYM.
37301         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37302         libc_hidden_def.
37303         (mempcpy): Do not use BP_SYM in weak_alias.
37304         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37305         "bp-asm.h".
37306         (strchr): Do not use BP_SYM.
37307         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37308         "bp-asm.h".
37309         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37310         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37311         (_start): Do not use BP_SYM.
37312         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37313         "bp-asm.h".
37314         (strcat): Do not use BP_SYM.
37315         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37316         "bp-asm.h".
37317         (STRCMP): Do not use BP_SYM.
37318         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37319         "bp-asm.h".
37320         (STRCPY): Do not use BP_SYM.
37321         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37322         "bp-asm.h".
37323         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37324         "bp-asm.h".
37325         (FUNCTION): Do not use BP_SYM.
37326         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37327         weak_alias.
37328         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37330 2013-02-17  Andreas Jaeger  <aj@suse.de>
37332         * time/Versions: Sort entries.
37333         * string/Versions: Likewise.
37334         * resolv/Versions: Likewise.
37335         * posix/Versions: Likewise.
37336         * iconv/Versions: Likewise.
37337         * elf/Versions: Likewise.
37338         * wcsmbs/Versions: Likewise.
37340 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37342         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37343         loop termination condition.
37345         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37346         variable to calculate EZ.
37347         (__sqr): Likewise.
37349         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37350         the lower precision input.
37352 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37354         [BZ #13550]
37355         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37356         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37357         (run-via-rtld-prefix): Do not handle %-bp tests.
37358         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37359         (all-object-suffixes): Remove .ob.
37360         (bppfx): Remove variable.
37361         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37362         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37363         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37364         [$(build-bounded) = yes] (libtype.ob): Likewise.
37365         * Makerules (elide-routines.ob): Remove variable.
37366         (do-tests-clean): Do not handle *-bp.out.
37367         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37368         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37369         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37370         (tests): Do not include $(tests-bp.out).
37371         (xtests): Do not include $(xtests-bp.out).
37372         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37373         [$(build-bounded) = yes] ($(addprefix
37374         $(objpfx),$(binaries-bounded))): Remove rule.
37375         ($(objpfx)%-bp.out): Remove rule.
37376         * config.make.in (build-bounded): Remove variable.
37377         * crypt/Makefile [$(build-bounded) = yes]
37378         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37379         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37380         append to variable.
37381         [$(build-bounded) = yes] (install-lib): Likewise.
37382         [$(build-bounded) = yes] (generated): Likewise.
37383         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37384         Remove rule.
37385         * intl/Makefile [$(build-bounded) = yes]
37386         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37387         * math/Makefile [$(build-bounded) = yes]
37388         ($(tests:%=$(objpfx)%-bp): Likewise.
37389         * misc/Makefile [$(build-bounded) = yes]
37390         ($(objpfx)tst-tsearch-bp): Likewise.
37391         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37392         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37393         Remove dependency.
37394         * string/Makefile (o-objects.ob): Remove variable.
37395         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37396         (CFLAGS-.ob): Remove variable.
37397         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37398         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37399         both definitions of variable.
37400         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37401         (ASFLAGS-.ob): Remove variable.
37403 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37405         [BZ #13550]
37406         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37407         Remove __BOUNDED_POINTERS__ from condition.
37408         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37409         * string/bits/string2.h [!__NO_STRING_INLINES &&
37410         !__BOUNDED_POINTERS__]: Likewise.
37411         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37412         Likewise.
37413         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37414         Remove conditional code.
37415         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37416         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37417         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37418         condition.
37420         [BZ #13550]
37421         * csu/libc-start.c: Do not include <bp-sym.h>.
37422         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37423         * elf/dl-open.c: Do not include <bp-sym.h>.
37424         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37425         * math/fegetenv.c: Do not include <bp-sym.h>.
37426         (fegetenv): Do not use BP_SYM in versioned symbols.
37427         * nptl/sysdeps/pthread/bits/libc-lockP.h
37428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37429         <bp-sym.h>.
37430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37431         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37433         (__pthread_mutex_destroy): Likewise.
37434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37435         (__pthread_mutex_lock): Likewise.
37436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37437         (__pthread_mutex_trylock): Likewise.
37438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37439         (__pthread_mutex_unlock): Likewise.
37440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37441         (__pthread_mutexattr_init): Likewise.
37442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37443         (__pthread_mutexattr_destroy): Likewise.
37444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37445         (__pthread_mutexattr_settype): Likewise.
37446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37447         (__pthread_rwlock_init): Likewise.
37448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37449         (__pthread_rwlock_destroy): Likewise.
37450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37451         (__pthread_rwlock_rdlock): Likewise.
37452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37453         (__pthread_rwlock_tryrdlock): Likewise.
37454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37455         (__pthread_rwlock_wrlock): Likewise.
37456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37457         (__pthread_rwlock_trywrlock): Likewise.
37458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37459         (__pthread_rwlock_unlock): Likewise.
37460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37461         (__pthread_key_create): Likewise.
37462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37463         (__pthread_setspecific): Likewise.
37464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37465         (__pthread_getspecific): Likewise.
37466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37467         Likewise.
37468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37469         (_pthread_cleanup_push_defer): Likewise.
37470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37471         (_pthread_cleanup_pop_restore): Likewise.
37472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37473         (pthread_setcancelstate): Likewise.
37474         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37475         <bp-sym.h>.
37476         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37477         (memchr): Do not use BP_SYM in weak_alias.
37478         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37479         (fegetenv): Do not use BP_SYM in versioned symbols.
37480         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37481         (fesetenv): Do not use BP_SYM in versioned symbols.
37482         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37483         (feupdateenv): Do not use BP_SYM in versioned symbols.
37484         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37485         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37486         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37487         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37488         (open64): Do not use BP_SYM in weak_alias.
37489         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37490         (fegetenv): Do not use BP_SYM in versioned symbols.
37491         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37492         (fesetenv): Do not use BP_SYM in versioned symbols.
37493         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37494         (feupdateenv): Do not use BP_SYM in versioned symbols.
37495         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37496         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37497         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37498         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37499         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37500         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37501         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37502         <bp-sym.h>.
37503         (__libc_start_main): Do not use BP_SYM.
37505 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37508         redundant return line.
37509         (norm): Likewise.
37510         (denorm): Likewise.
37511         (dbl_mp): Likewise.
37512         (sub_magnitudes): Likewise.
37513         (__add): Likewise.
37514         (__sub): Likewise.
37515         (__mul): Likewise.
37516         (__inv): Likewise.
37517         (__dvd): Likewise.
37518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37519         (norm): Likewise.
37520         (denorm): Likewise.
37521         (dbl_mp): Likewise.
37522         (sub_magnitudes): Likewise.
37523         (__add): Likewise.
37524         (__sub): Likewise.
37525         (__mul): Likewise.
37526         (__inv): Likewise.
37527         (__dvd): Likewise.
37529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37530         instead of __mul.
37531         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37532         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37533         (cc32): Likewise.
37535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37536         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37538         of __mul for squares.
37539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37540         function
37541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37542         Likewise.
37543         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37546 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37548         [BZ #13550]
37549         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37550         code.
37551         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37552         prototype or function definition.  Rename ubp_* variables and
37553         parameters.  Remove argv definitions conditional on
37554         [__BOUNDED_POINTERS__].
37555         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37556         * elf/dl-runtime.c (_dl_fixup): Likewise.
37557         * include/set-hooks.h (RUN_HOOK): Likewise.
37558         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37559         definition.
37560         * string/strcpy.c (strcpy): Do not use __unbounded.
37561         * sysdeps/generic/frame.h (struct layout): Likewise.
37562         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37563         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37564         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37565         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37566         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37567         (__backtrace): Likewise.
37568         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37569         use __ptrvalue.
37570         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37571         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37572         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37573         Likewise.
37574         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37575         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37576         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37577         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37578         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37579         Do not use __unbounded.
37580         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37581         Rename __unboundedrlimits parameter to rlimits in prototype.
37582         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37583         Do not use __unbounded.
37584         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37585         not use __ptrvalue.
37586         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37587         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37588         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37589         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37590         __ptrvalue or __unbounded.
37591         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37592         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37593         use __unbounded.
37594         (__new_msgctl): Do not use __ptrvalue.
37595         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37596         __unbounded.
37597         (__libc_msgrcv): Do not use __ptrvalue.
37598         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37599         startup_info): Do not use __unbounded.
37600         (__libc_start_main): Likewise.  Rename ubp_* variables and
37601         parameters.  Remove argv definitions conditional on
37602         [__BOUNDED_POINTERS__].
37603         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37604         __ptrvalue.
37605         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37606         use __unbounded.
37607         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37608         or __ptrvalue.
37609         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37610         use __unbounded.
37611         (__new_shmctl): Do not use __ptrvalue.
37612         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37613         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37614         Likewise.
37615         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37616         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37617         (__libc_sigaction): Likewise.
37618         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37619         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37620         Likewise.
37621         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37623 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37625         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37627         * string/mempcpy.c: Implement by calling memcpy.
37629 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37634         evaluation.
37636         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37637         values in the mantissa.
37639         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37640         minimize writes to Z.
37641         (sub_magnitudes): Simplify code a bit.
37643 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37645         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37646         from the message.  The linker prefixes all warnings with that already.
37648 2013-02-12  Andreas Schwab  <schwab@suse.de>
37650         [BZ #15078]
37651         * posix/regexec.c (extend_buffers): Add parameter min_len.
37652         (check_matching): Pass minimum needed length.
37653         (clean_state_log_if_needed): Likewise.
37654         (get_subexp): Likewise.
37655         * posix/Makefile (tests): Add bug-regex34.
37656         (bug-regex34-ENV): Define.
37657         * posix/bug-regex34.c: New file.
37659         [BZ #11561]
37660         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37661         elements compare against the byte sequence of it, not its name.
37662         * posix/Makefile (tests): Add bug-regex35.
37663         (bug-regex35-ENV): Define.
37664         * posix/bug-regex35.c: New file.
37666 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37668         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37669         comment.
37670         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37671         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37672         (CHECK_EOL): Add undef.
37674 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37676         * bits/stdlib-bsearch.h: New file.
37677         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37678         * stdlib/stdlib.h: Likewise.
37680 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37682         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37683         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37684         declaration.
37685         * manual/search.texi (Array Search Function): Add missing const in
37686         lfind prototype.
37687         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37688         declaration to use rlim_t.
37689         (Basic Scheduling Functions): Remove erroneous const from
37690         sched_getparam prototype.  Remove erroneous * from
37691         sched_get_priority_max and sched_get_priority_min prototypes.
37692         (Resource Usage): Fix summary @comment on vtimes to refer to
37693         sys/vtimes.h rather than vtimes.h.
37694         Add missing *s in vtimes prototype.
37695         (Limits on Resources): Fix ulimit prototype to return long int.
37696         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37697         prototypes to use long int rather than double.
37698         (BSD Random): Fix initstate and setstate to use char *, not void *.
37699         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37700         prototype to make second argument 'struct aiocb64 *const[]'.
37701         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37702         (Status of AIO Operations): Remove erroneous const in aio_return and
37703         aio_return64 prototypes.
37704         (Synchronizing I/O): Fix sync prototype to return void.
37705         * manual/startup.texi (Suboptions): Remove an erroneous const in
37706         getsubopt prototype.
37707         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37708         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37709         use size_t rather than int.
37710         (Scanning All Users): Likewise for getpwent_r.
37711         (Setting Groups): Add missing const to setgroups prototype.
37712         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37713         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37714         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37715         'const void *' rather than 'const char *'.
37716         (Host Address Functions): Likewise for inet_ntop.
37717         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37718         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37719         ssize_t for return value.
37720         (Sending Data): Likewise for send, sendto, sendmsg.
37721         (Socket Option Functions): Add a missing const in setsockopt prototype.
37722         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37723         use wchar_t for the argument.
37724         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37725         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37726         take no arguments.
37727         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37728         double/float/long double for second argument.
37729         Fix return types of significand, significandf, significandl.
37730         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37731         argument in fchmod prototype.
37732         (File Owner): Use uid_t and gid_t in fchown prototype.
37733         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37734         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37735         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37736         use 'const struct dirent **' as argument types to CMP function pointer
37737         argument.
37738         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37739         (File Times): Fix summary magic @comment for struct utimbuf and utime
37740         to refer to utime.h, not time.h.
37741         * manual/string.texi (Argz Functions): Add missing const in
37742         argz_extract and argz_next prototypes.
37743         (Finding Tokens in a String): Likewise for basename.
37744         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37745         (Copying and Concatenation): Fix typo in wmemmove prototype.
37746         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37747         (Signal Stack): Remove erroneous const in sigstack prototype.
37748         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37749         prototype.
37750         (Simple Calendar Time): Likewise for stime.
37751         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37752         prototype.
37753         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37754         say sys/sysctl.h instead.
37755         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37756         and vsyslog prototypes.
37758 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37760         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37761         Remove.
37763 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37765         * misc/sys/mman.h: Fix typo in mremap comment.
37767 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37769         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37770         the '\0' terminator.
37772 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37774         [BZ #13550]
37775         * debug/segfault.c: Don't include <bp-checks.h>.
37776         * sysdeps/generic/bp-checks.h: Remove file.
37777         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37778         (__GETDENTS): Don't use CHECK_N.
37779         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37780         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37781         (__getgroups): Don't use CHECK_N.
37782         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37783         (setgroups): Don't use CHECK_N.
37784         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37785         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37786         (__libc_msgrcv): Don't use CHECK_N.
37787         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37788         (__libc_msgsnd): Don't use CHECK_N.
37789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37790         <bp-checks.h>.
37791         (__libc_pread): Don't use CHECK_N.
37792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37793         include <bp-checks.h>.
37794         (__libc_pread64): Don't use CHECK_N.
37795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37796         include <bp-checks.h>.
37797         (__libc_pwrite): Don't use CHECK_N.
37798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37799         include <bp-checks.h>.
37800         (__libc_pwrite64): Don't use CHECK_N.
37801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37802         <bp-checks.h>.
37803         (__libc_pread): Don't use CHECK_N.
37804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37805         include <bp-checks.h>.
37806         (__libc_pread64): Don't use CHECK_N.
37807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37808         include <bp-checks.h>.
37809         (__libc_pwrite): Don't use CHECK_N.
37810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37811         include <bp-checks.h>.
37812         (__libc_pwrite64): Don't use CHECK_N.
37813         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37814         (do_pread): Don't use CHECK_N.
37815         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37816         (do_pread64): Don't use CHECK_N.
37817         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37818         (do_pwrite): Don't use CHECK_N.
37819         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37820         (do_pwrite64): Don't use CHECK_N.
37821         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37822         (__libc_readv): Don't use CHECK_N.
37823         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37824         (semop): Don't use CHECK_N.
37825         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37826         <bp-checks.h>.
37827         (semtimedop): Don't use CHECK_N.
37828         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37829         (__libc_pread): Don't use CHECK_N.
37830         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37831         <bp-checks.h>.
37832         (__libc_pread64): Don't use CHECK_N.
37833         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37834         <bp-checks.h>.
37835         (__libc_pwrite): Don't use CHECK_N.
37836         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37837         <bp-checks.h>.
37838         (__libc_pwrite64): Don't use CHECK_N.
37839         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37840         <bp-checks.h>.
37841         (__libc_msgrcv): Don't use CHECK_N.
37842         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37843         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37844         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37845         (__libc_writev): Don't use CHECK_N.
37847 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37849         * string/strcpy.c: Removed unused variable.
37851         * Makeconfig (+sysdep-includes): Define with := rather than =.
37852         Use an existing include/ subdir of each sysdeps dir before it.
37854 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37856         * nscd/connection.c (register_traced_file): Comment function.
37857         [HAVE_INOTIFY] (union __inev): Define.
37858         [HAVE_INOTIFY] (inotify_check_files): New function.
37859         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37860         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37861         clear_db_cache.
37862         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37864 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37866         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37867         loaded if not already and that a failure is permanent.
37869 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37871         [BZ #15006]
37872         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37873         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37875 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37877         [BZ #13550]
37878         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37879         (CHECK_1_NULL_OK): Likewise.
37880         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37881         (__fxstat): Do not use CHECK_1.
37882         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37883         <bp-checks.h>.
37884         (___fxstat64): Do not use CHECK_1.
37885         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37886         <bp-checks.h>.
37887         (__fxstatat): Do not use CHECK_1.
37888         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37889         <bp-checks.h>.
37890         (__fxstatat64): Do not use CHECK_1.
37891         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37892         <bp-checks.h>.
37893         (__fxstat): Do not use CHECK_1.
37894         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37895         <bp-checks.h>.
37896         (__fxstatat): Do not use CHECK_1.
37897         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37898         <bp-checks.h>.
37899         (__getresgid): Do not use CHECK_1.
37900         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37901         <bp-checks.h>.
37902         (__getresuid): Do not use CHECK_1.
37903         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37904         <bp-checks.h>.
37905         (__lxstat): Do not use CHECK_1.
37906         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37907         <bp-checks.h>.
37908         (__old_msgctl): Do not use CHECK_1.
37909         (__new_msgctl): Likewise.
37910         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37911         <bp-checks.h>.
37912         (__new_setrlimit): Do not use CHECK_1.
37913         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37914         <bp-checks.h>.
37915         (__old_shmctl): Do not use CHECK_1.
37916         (__new_shmctl): Likewise.
37917         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37918         <bp-checks.h>.
37919         (__xstat): Do not use CHECK_1.
37920         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37921         (__lxstat): Do not use CHECK_1.
37922         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37923         <bp-checks.h>.
37924         (___lxstat64): Do not use CHECK_1.
37925         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37926         (__old_msgctl): Do not use CHECK_1.
37927         (__new_msgctl): Likewise.
37928         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37929         <bp-checks.h>.
37930         (__gettimeofday): Do not use CHECK_1.
37931         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37932         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37933         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37934         <bp-checks.h>.
37935         (__gettimeofday): Do not use CHECK_1.
37936         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37937         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37938         (__new_shmctl): Do not use CHECK_1.
37939         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37940         <bp-checks.h>.
37941         (do_sigtimedwait): Do not use CHECK_1.
37942         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37943         <bp-checks.h>.
37944         (do_sigwaitinfo): Do not use CHECK_1.
37945         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37946         <bp-checks.h>.
37947         (msgctl): Do not use CHECK_1.
37948         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37949         <bp-checks.h>.
37950         (shmctl): Do not use CHECK_1.
37951         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37952         (ustat): Do not use CHECK_1.
37953         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37954         <bp-checks.h>.
37955         (__fxstat): Do not use CHECK_1.
37956         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37957         <bp-checks.h>.
37958         (__fxstatat): Do not use CHECK_1.
37959         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37960         <bp-checks.h>.
37961         (__lxstat): Do not use CHECK_1.
37962         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37963         <bp-checks.h>.
37964         (__xstat): Do not use CHECK_1.
37965         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37966         (__xstat): Do not use CHECK_1.
37967         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37968         (___xstat64): Do not use CHECK_1.
37970         [BZ #13550]
37971         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37972         definitions.
37973         (CHECK_BOUNDS_HIGH): Likewise.
37974         * string/strcpy.c: Do not include <bp-checks.h>.
37975         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37977 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37979         * nscd/nscd-client.h (__nscd_drop_map_ref):
37980         Add __attribute__ ((unused)).
37981         * nis/nss-nisplus.h (niserr2nss): Likewise.
37983         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37984         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37986         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37987         Remove inline keyword.
37988         * include/rounding-mode.h (round_away): Likewise.
37989         * libio/wfileops.c (adjust_wide_data): Likewise.
37990         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37991         (__m128i_strloadu_tolower): Likewise.
37992         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37993         (__m128i_strloadu_tolower): Likewise.
37994         * time/mktime.c (ydhms_diff): Likewise.
37995         * locale/elem-hash.h (elem_hash): Likewise.
37996         * locale/setlocale.c (setdata): Likewise.
37997         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37998         (re_string_wchar_at): Likewise.
37999         (bitset_not, bitset_merge, bitset_mask): Likewise.
38000         [!(__GNUC__ > 3)] (inline): Remove macro.
38001         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38002         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38003         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38004         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38005         * string/memcmp.c (memcmp_bytes): Likewise.
38006         * locale/programs/locarchive.c (compute_hashval): Likewise.
38007         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38008         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38009         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38010         * nss/getent.c (print_rpc, print_protocols): Likewise.
38011         (print_passwd, print_group, print_aliases): Likewise.
38012         * nis/nss-nisplus.h (niserr2nss): Likewise.
38013         * nscd/connections.c (restart_p): Likewise.
38014         Change return type to bool.
38016 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38018         * Makeconfig (all-Depend-files): Add existing
38019         $(sorted-subdirs:=/Depend) files.
38020         (all-subdirs): Remove nss.
38021         * sysdeps/unix/inet/Subdirs: Add it here instead.
38022         * hesiod/Depend: New file.
38024         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38025         instead of calling alloca.
38027         * io/lseek.c (__lseek): Rename to __libc_lseek.
38028         Define __lseek as an alias.
38030         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38032 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38034         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38035         else clause and remove check for non-standard endianness.
38037 2013-02-04  David S. Miller  <davem@davemloft.net>
38039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38041 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38043         [BZ #13550]
38044         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38045         (__ubp_memchr): Remove prototype.
38046         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38047         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38048         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38049         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38050         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38051         Remove alias.
38052         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38053         (__ubp_memchr): Likewise.
38054         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38055         (__ubp_memchr): Likewise.
38056         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38057         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38058         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38059         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38060         CHECK_STRING.
38061         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38062         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38063         (__getcwd): Do not use CHECK_STRING.
38064         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38065         <bp-checks.h>.
38066         (__real_chown): Do not use CHECK_STRING.
38067         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38068         <bp-checks.h>.
38069         (fchownat): Do not use CHECK_STRING.
38070         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38071         CHECK_STRING.
38072         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38073         <bp-checks.h>.
38074         (__lchown): Do not use CHECK_STRING.
38075         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38076         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38077         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38078         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38080         include <bp-checks.h>.
38081         (truncate64): Do not use CHECK_STRING.
38082         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38083         <bp-checks.h>.
38084         (__real_chown): Do not use CHECK_STRING.
38085         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38086         <bp-checks.h>.
38087         (__lchown): Do not use CHECK_STRING.
38088         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38089         <bp-checks.h>.
38090         (__chown): Do not use CHECK_STRING.
38091         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38092         <bp-checks.h>.
38093         (truncate64): Do not use CHECK_STRING.
38094         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38095         Likewise.
38096         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38097         (__xmknod): Do not use CHECK_STRING.
38098         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38099         <bp-checks.h>.
38100         (__xmknodat): Do not use CHECK_STRING.
38101         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38102         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38104 2013-02-04  Andreas Schwab  <schwab@suse.de>
38106         [BZ #14142]
38107         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38108         * include/netdb.h: Likewise for h_errno.
38109         * elf/tst-stackguard1.c: Include <tls.h>.
38111 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38113         * elf/link.h (struct link_map): Extend the l_addr comment.
38114         * include/link.h (struct link_map): Likewise.
38116 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38118         [BZ #13550]
38119         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38120         (BOUNDED_1): Remove macro.
38121         * debug/backtrace.c: Don't include <bp-checks.h>.
38122         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38123         (__backtrace): Likewise.
38124         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38125         <bp-checks.h>.
38126         (__backtrace): Don't use BOUNDED_1.
38127         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38128         <bp-checks.h>.
38129         (__backtrace): Don't use BOUNDED_1.
38130         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38131         (__backtrace): Don't use BOUNDED_1.
38132         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38133         (shmat): Don't use BOUNDED_N.
38135 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38137         [BZ #13550]
38138         * sysdeps/generic/bp-start.h: Remove file.
38139         * csu/libc-start.c: Don't include <bp-start.h>.
38140         (LIBC_START_MAIN): Set up __environ directly instead of using
38141         INIT_ARGV_and_ENVIRON.
38142         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38143         <bp-start.h>.
38145         [BZ #13550]
38146         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38147         definitions.
38148         (CHECK_FCNTL): Likewise.
38149         (CHECK_N_PAGES): Likewise.
38151         [BZ #13550]
38152         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38153         definitions.
38154         (CHECK_SIGSET_NULL_OK): Likewise.
38155         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38156         <bp-checks.h>.
38157         (sigpending): Don't use CHECK_SIGSET.
38158         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38159         <bp-checks.h>.
38160         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38161         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38162         <bp-checks.h>.
38163         (do_sigsuspend): Don't use CHECK_SIGSET.
38164         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38165         use CHECK_SIGSET.
38166         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38167         (do_sigwait): Don't use CHECK_SIGSET.
38168         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38169         use CHECK_SIGSET.
38170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38171         include <bp-checks.h>.
38172         (sigpending): Don't use CHECK_SIGSET.
38173         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38174         include <bp-checks.h>.
38175         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38176         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38177         <bp-checks.h>.
38178         (sigpending): Don't use CHECK_SIGSET.
38179         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38180         <bp-checks.h>.
38181         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38183         [BZ #13550]
38184         * sysdeps/generic/bp-semctl.h: Remove file.
38185         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38186         <bp-checks.h> and <bp-semctl.h>.
38187         (__old_semctl): Don't use CHECK_SEMCTL.
38188         (__new_semctl): Likewise.
38189         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38190         and <bp-semctl.h>.
38191         (__old_semctl): Don't use CHECK_SEMCTL.
38192         (__new_semctl): Likewise.
38193         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38194         <bp-checks.h> and <bp-semctl.h>.
38195         (__old_semctl): Don't use CHECK_SEMCTL.
38196         (__new_semctl): Likewise.
38197         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38198         <bp-checks.h> and <bp-semctl.h>.
38199         (semctl): Don't use CHECK_SEMCTL.
38201         [BZ #13550]
38202         * Makerules (elide-bp-thunks): Remove variable.
38203         (elide-routines.oS): Don't use $(elide-bp-thunks).
38204         (elide-routines.os): Likewise.
38205         (elide-routines.o): Likewise.
38206         (elide-routines.op): Likewise.
38207         (elide-routines.og): Likewise.
38208         (objects): Don't use $(bp-thunks).
38209         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38210         include.
38211         (common-generated): Do not add s-proto-bp.d.
38212         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38213         (int): Likewise.
38214         (typ): Likewise.
38215         Do not generate makefile rules for bounded-pointer thunks.
38216         * sysdeps/generic/bp-thunks.h: Remove file.
38217         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38218         * sysdeps/unix/s-proto-bp.S: Likewise.
38220         [BZ #15062]
38221         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38222         parts of result separately when argument is not close to line from
38223         -i to i and one part of argument is small.
38224         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38225         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38226         * math/libm-test.inc (cacos_test): Add more tests.
38227         (casin_test): Likewise.
38228         (casinh_test): Likewise.
38229         * sysdeps/i386/fpu/libm-test-ulps: Update.
38230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38232 2013-01-31  David S. Miller  <davem@davemloft.net>
38234         * po/de.po: Update from translation team.
38236 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38238         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38240 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38242         * configure.in (_AC_PROG_CC_C89): New definition.
38243         * configure: Regenerate.
38245         * configure.in (AC_PROG_CPP): New definition.
38246         * configure: Regenerate.
38248 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38250         * debug/tst-backtrace.h: New file.
38251         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38252         (ret): Remove variable.
38253         (x): Likewise.
38254         (FAIL): Remove macro.
38255         (NO_INLINE): Likewise.
38256         (fn1): Use match function instead of strstr.
38257         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38258         (ret): Remove variable.
38259         (x): Likewise.
38260         (FAIL): Remove macro.
38261         (NO_INLINE): Likewise.
38262         (fn): Use match function instead of strstr.
38263         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38264         (ret): Remove variable.
38265         (x): Likewise.
38266         (FAIL): Remove macro.
38267         (NO_INLINE): Likewise.
38268         (handle_signal): Use match function instead of strstr.
38269         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38270         (ret): Remove variable.
38271         (x): Likewise.
38272         (FAIL): Remove macro.
38273         (NO_INLINE): Likewise.
38274         (handle_signal): Use match function instead of strstr.
38276 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38278         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38280 2013-01-23  David S. Miller  <davem@davemloft.net>
38282         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38283         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38284         argument of CAS if possible.
38285         * sysdeps/sparc/sparc64/bits/atomic.h
38286         (__arch_compare_and_exchange_val_32_acq): Likewise.
38287         (__arch_compare_and_exchange_val_64_acq): Likewise.
38289 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38291         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38292         * sysdeps/posix/ulimit.c: ... this.
38293         Include <limits.h>.
38294         * sysdeps/unix/bsd/ulimit.c: Remove file.
38296 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38298         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38299         (LDFLAGS-tst-array5): Likewise.
38301 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38303         [BZ #15036]
38304         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38305         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38306         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38307         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38309 2013-01-21  David S. Miller  <davem@davemloft.net>
38311         * sysdeps/sparc/backtrace.c: New file.
38312         * sysdeps/sparc/sparc32/backtrace.h: New file.
38313         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38314         * sysdeps/sparc/sparc64/backtrace.h: New file.
38315         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38316         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38317         -funwind-tables.
38319 2013-01-21  Andreas Schwab  <schwab@suse.de>
38321         [BZ #15020]
38322         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38323         closed its stdout.
38325 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38328         "mpa2.h".
38329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38331 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38332             Mark Mitchell  <mark@codesourcery.com>
38333             Tom de Vries  <tom@codesourcery.com>
38334             Paul Pluzhnikov  <ppluzhnikov@google.com>
38336         * debug/tst-backtrace2.c: New file.
38337         * debug/tst-backtrace3.c: Likewise.
38338         * debug/tst-backtrace4.c: Likewise.
38339         * debug/tst-backtrace5.c: Likewise.
38340         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38341         (CFLAGS-tst-backtrace3.c): Likewise.
38342         (CFLAGS-tst-backtrace4.c): Likewise.
38343         (CFLAGS-tst-backtrace5.c): Likewise.
38344         (LDFLAGS-tst-backtrace2): Likewise.
38345         (LDFLAGS-tst-backtrace3): Likewise.
38346         (LDFLAGS-tst-backtrace4): Likewise.
38347         (LDFLAGS-tst-backtrace5): Likewise.
38348         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38349         tst-backtrace4 and tst-backtrace5.
38351 2013-01-18  Anton Blanchard  <anton@samba.org>
38352             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38354         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38355         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38357         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38359         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38360         "+r" and remove output regs list as redundant.  Add explicit inline
38361         asm to specify register of return val to work around compiler codegen
38362         bug.  Remove (int) cast on return value.  Add return type parameter to
38363         use in macro so that this macro does not truncate return value for
38364         64-bit values.
38365         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38366         pass to INTERNAL_VSYSCALL_NCS.
38367         (INLINE_VSYSCALL): Add 'long int' as return type to
38368         INTERNAL_VSYSCALL_NCS macro invocation.
38369         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38370         INTERNAL_VSYSCALL_NCS macro invocation.
38371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38373 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38375         [BZ #14496]
38376         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38377         Fix application of SIMD FP exception mask.
38379         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38380         mp_no from a power of two.
38381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38382         __mpexp_twomm1.  Use __pow_mp.
38384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38385         multiplication.
38387 2013-01-17  David S. Miller  <davem@davemloft.net>
38389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38391 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38393         [BZ #15023]
38394         * include/complex.h: Condition contents on [!_COMPLEX_H].
38395         (__kernel_casinhf): New prototype.
38396         (__kernel_casinh): Likewise.
38397         (__kernel_casinhl): Likewise.
38398         * math/Makefile (libm_calls): Add k_casinh.
38399         * math/k_casinh.c: New file.
38400         * math/k_casinhf.c: Likewise.
38401         * math/k_casinhl.c: Likewise.
38402         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38403         finite nonzero arguments.
38404         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38405         finite nonzero arguments.
38406         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38407         finite nonzero arguments.
38408         * math/s_casinh.c: Do not include <float.h>.
38409         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38410         * math/s_casinhf.c: Do not include <float.h>.
38411         (__casinhf): Move code for finite nonzero arguments to
38412         k_casinhf.c.
38413         * math/s_casinhl.c: Do not include <float.h>.
38414         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38415         redefine.
38416         (__casinhl): Move code for finite nonzero arguments to
38417         k_casinhl.c.
38418         * math/libm-test.inc (cacos_test): Add more tests.
38419         * sysdeps/i386/fpu/libm-test-ulps: Update.
38420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38422 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38424         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38425         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38426         [!HAVE_MREMAP]: Remove [defined linux] case.
38427         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38429 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38431         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38433 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38435         * elf/elf.h (R_386_SIZE32): New relocation.
38436         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38437         R_386_SIZE32.
38438         (elf_machine_rela): Likewise.
38439         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38440         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38442 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38444         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38445         (FP_FAST_FMA): Do not define.
38446         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38447         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38448         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38449         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38450         !_SOFT_FLOAT]: Likewise.
38451         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38452         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38453         value.
38454         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38455         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38456         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38457         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38458         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38459         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38460         file.
38462 2013-01-16  Andreas Schwab  <schwab@suse.de>
38464         [BZ #14327]
38465         * include/stdlib.h (__mktemp): Add declaration.
38466         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38467         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38469 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38471         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38472         definitions.
38473         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38474         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38475         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38476         definitions here.
38477         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38478         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38479         definitions.
38480         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38481         and ONE.
38482         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38483         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38484         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38485         definitions.
38486         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38487         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38488         definitions.
38489         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38491         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38493 2013-01-15  David S. Miller  <davem@davemloft.net>
38495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38496         trunc{,f} to libm-sysdep_routes.
38497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38499         file.
38500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38502         file.
38503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38504         file.
38505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38507         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38508         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38509         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38510         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38511         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38512         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38515         nearbyint{,f} to libm-sysdep_routes.
38516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38518         New file.
38519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38520         file.
38521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38522         New file.
38523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38524         file.
38525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38527         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38528         file.
38529         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38530         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38531         file.
38532         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38533         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38534         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38536         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38537         libc_feholdexcept and libc_fesetenv.
38539 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38541         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38543 2013-01-14  David S. Miller  <davem@davemloft.net>
38545         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38546         (SPARC_ASM_VIS2_IFUNC): Likewise.
38547         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38549         use of 'siam' instruction.
38550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38551         Likewise.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38553         Likewise.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38555         Likewise.
38556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38561         file.
38562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38563         file.
38564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38565         file.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38567         file.
38568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38573         new VIS2 routines.
38574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38577         Likewise.
38578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38583         routines to libm-sysdep_routines.
38584         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38587         fdim/fdimf to libm-sysdep_routines.
38588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38589         file.
38590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38592         file.
38593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38596         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38597         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38598         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38599         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38601 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38603         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38604         to optimize copies.
38606         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38611         local variable MPTWO.
38612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38613         Likewise.
38615 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38617         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38618         GLOB_NOESCAPE.
38620 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38622         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38624 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38626         * manual/pattern.texi (glob_t): Document gl_flags.
38627         (glob64_t): Likewise.
38629 2013-01-11  David S. Miller  <davem@davemloft.net>
38631         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38632         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38633         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38634         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38635         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38636         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38637         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38638         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38639         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38640         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38641         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38642         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38643         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38645         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38646         sparc V9 rather than using V8 code.
38647         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38648         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38650         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38651         Move to...
38652         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38653         Here.
38655 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38657         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38658         not in the main loop.
38659         * configure: Regenerated.
38661 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38663         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38664         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38665         to just #else.
38666         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38667         [!__GLIBC_HAVE_LONG_LONG] case.
38668         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38669         condition to just #else.
38670         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38671         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38672         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38673         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38674         unconditional.
38675         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38676         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38677         #elif condition to just #else.
38678         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38679         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38680         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38681         #elif condition to just #else.
38683 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38685         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38686         (EF_MIPS_ARCH_64): Fix value.
38687         (EF_MIPS_ARCH_32R2): New.
38688         (EF_MIPS_ARCH_64R2): New.
38690 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38692         * Makeconfig (+link-pie-before-libc): New.
38693         (+link-pie-after-libc): Likewise.
38694         (+link-pie-tests): Likewise.
38695         (+link-pie): Rewritten.
38696         (link-before-libc): Remove $(config-LDFLAGS).
38697         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38698         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38699         (config-LDFLAGS): Renamed to ...
38700         (rtld-LDFLAGS): This.
38701         (rtld-tests-LDFLAGS): New macro.
38702         (link-libc-rpath-link): Likewise.
38703         (link-libc-tests-rpath-link): Likewise.
38704         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38705         (link-libc): Prepand $(link-libc-rpath-link).
38706         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38707         (test-program-prefix): New macro.
38708         (test-via-rtld-prefix): Likewise.
38709         (test-program-cmd): Likewise.
38710         (host-test-program-cmd): Likewise.
38711         * Makefile ($(common-objpfx)testrun.sh): Replace
38712         $(run-program-prefix) with $(test-program-prefix).
38713         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38714         $(rtld-LDFLAGS).
38715         ($(common-objpfx)shlib.lds): Likewise.
38716         (build-module-helper): Likewise.
38717         ($(common-objpfx)format.lds): Likewise.
38718         * Rules (binaries-pie-tests): New.
38719         (binaries-pie-notests): Likewise.
38720         (binaries-pie): Rewritten.
38721         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38722         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38723         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38724         (make-test-out): Replace $(host-built-program-cmd) with
38725         $(host-test-program-cmd).
38726         * config.make.in (build-hardcoded-path-in-tests): New variable.
38727         * configure.in (--enable-hardcoded-path-in-tests): New configure
38728         option.
38729         (hardcoded_path_in_tests): New AC_SUBST.
38730         * configure: Regenerated.
38731         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38732         $(built-program-cmd) with $(test-program-cmd).
38733         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38734         (test_program_cmd): This.
38735         * elf/Makefile ($(objpfx)order.out): Run test with
38736         $(test-program-prefix).
38737         ($(objpfx)order2.out): Likewise.
38738         ($(objpfx)tst-initorder.out): Likewise.
38739         ($(objpfx)tst-initorder2.out): Likewise.
38740         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38741         $(test-program-cmd).
38742         ($(objpfx)tst-array1-static.out): Likewise.
38743         ($(objpfx)tst-array2.out): Likewise.
38744         ($(objpfx)tst-array3.out): Likewise.
38745         ($(objpfx)tst-array4.out): Likewise.
38746         ($(objpfx)tst-array5.out): Likewise.
38747         ($(objpfx)tst-array5-static.out): Likewise.
38748         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38749         $(test-program-cmd).
38750         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38751         $(run-program-prefix) with $(test-program-prefix).
38752         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38753         (test_program_prefix): This.
38754         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38755         $(run-program-prefix) with $(test-program-prefix).
38756         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38757         (test_program_prefix): This.
38758         * iconvdata/tst-tables.sh: Likewise.
38759         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38760         $(run-program-prefix) with $(test-program-prefix).
38761         ($(objpfx)tst-translit.out): Likewise.
38762         ($(objpfx)tst-gettext2.out): Likewise.
38763         ($(objpfx)tst-gettext4.out): Likewise.
38764         ($(objpfx)tst-gettext6.out): Likewise.
38765         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38766         (test_program_prefix): This.
38767         * intl/tst-gettext2.sh: Likewise.
38768         * intl/tst-gettext4.sh  Likewise.
38769         * intl/tst-gettext6.sh: Likewise.
38770         * intl/tst-translit.sh: Likewise.
38771         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38772         with $(test-program-cmd).
38773         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38774         $(run-program-prefix) with $(test-program-prefix).
38775         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38776         (test_program_prefix): This.
38777         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38778         $(run-program-prefix) with $(test-program-prefix).
38779         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38780         (test_program_prefix): This.
38781         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38782         * posix/Makefile ($(objpfx)globtest.out): Replace
38783         $(run-via-rtld-prefix) and $(test-wrapper) with
38784         $(test-program-prefix) and $(test-via-rtld-prefix).
38785         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38786         $(test-program-prefix).
38787         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38788         $(host-test-program-cmd).
38789         (tst-spawn-ARGS): Likewise.
38790         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38791         $(test-program-prefix).
38792         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38793         (test_via_rtld_prefix): This.
38794         (test_wrapper): Renamed to ...
38795         (test_program_prefix): This.
38796         (run_program_prefix): Replaced by test_program_prefix.
38797         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38798         (test_program_prefix): This.
38799         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38800         with $(host-test-program-cmd).
38801         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38802         $(run-program-prefix) with $(test-program-prefix).
38803         ($(objpfx)tst-printf.out): Likewise.
38804         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38805         $(test-program-cmd).
38806         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38807         (test_program_prefix): This.
38808         * stdio-common/tst-unbputc.sh: Likewise.
38809         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38810         $(run-program-prefix) with $(test-program-prefix).
38811         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38812         (test_program_prefix): This.
38813         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38814         $(built-program-cmd) with $(test-program-cmd).
38816 2013-01-11  Andreas Jaeger  <aj@suse.de>
38818         [BZ #15003]
38819         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38820         value. Sync with Linux 3.7.
38822 2013-01-10  David S. Miller  <davem@davemloft.net>
38824         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38825         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38826         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38828 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38830         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38831         never set.
38832         * configure: Regenerated.
38834 2013-01-10  David S. Miller  <davem@davemloft.net>
38836         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38837         sparc V9 rather than using V8 code.
38838         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38839         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38841 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38843         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38844         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38845         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38846         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38847         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38848         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38849         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38850         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38851         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38852         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38853         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38854         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38855         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38856         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38857         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38858         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38859         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38860         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38861         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38862         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38863         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38864         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38865         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38866         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38867         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38868         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38869         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38871 2013-01-10  David S. Miller  <davem@davemloft.net>
38873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38875 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38877         * posix/Makefile (tests-static): New variable.
38878         (tests): Add $(tests-static).
38879         (tst-exec-static-ARGS): New variable.
38880         (tst-spawn-static-ARGS): Likewise.
38881         * posix/tst-exec-static.c: New file.
38882         * posix/tst-spawn-static.c: Likewise.
38883         * posix/tst-exec.c: Support run directly.
38884         * posix/tst-spawn.c: Likewise.
38886 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38888         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38889         long.
38890         * math/bits/mathcalls.h (llrint): Likewise.
38891         (llround): Likewise.
38892         * stdlib/stdlib.h (struct drand48_data): Likewise.
38893         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38894         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38895         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38896         Likewise.
38897         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38898         Likewise.
38899         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38900         (elf_greg_t): Likewise.
38901         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38902         (__jmp_buf): Likewise.
38903         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38904         definitions.
38905         (llrint): Likewise, for all definitions.
38906         (llrintl): Likewise.
38908         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38909         Remove [__GNUC__] condition.
38910         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38911         condition to just [__USE_ISOC99].
38912         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38914 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38916         [BZ #14200]
38917         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38918         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38919         defined.
38920         (_POSIX_V6_ILP32_OFF32): Likewise.
38921         (_XBS5_ILP32_OFF32): Likewise.
38922         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38923         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38925 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38927         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38930         doubles __mpexp_twomm1.  Adjust usage.
38931         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38932         Remove.
38934 2013-01-10  Andreas Schwab  <schwab@suse.de>
38936         [BZ #14964]
38937         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38938         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38940 2013-01-09  David S. Miller  <davem@davemloft.net>
38942         [BZ #15003]
38943         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38944         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38945         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38946         (TCP_FASTOPEN): Define.
38947         (tcp_repair_opt): New structure.
38948         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38949         enum values.
38950         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38951         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38952         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38953         (tcp_cookie_transactions): New structure.
38955 2013-01-09  Anton Blanchard  <anton@samba.org>
38957         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38958         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38959         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38960         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38962 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38964         * include/features.h (__USE_ANSI): Remove.
38966 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38968         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38970         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38972 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38974         * sysdeps/s390/fpu/libm-test-ulps: Update.
38976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38978         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38979         (__acr): Likewise.
38980         (__cpy): Likewise.
38981         (norm): Likewise.
38982         (denorm): Likewise.
38983         (__mp_dbl): Likewise.
38984         (__dbl_mp): Likewise.
38985         (add_magnitudes): Likewise.
38986         (sub_magnitudes): Likewise.
38987         (__add): Likewise.
38988         (__sub): Likewise.
38989         (__mul): Likewise.
38990         (__inv): Likewise.
38991         (__dvd): Likewise.
38992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38993         (__acr): Likewise.
38994         (__cpy): Likewise.
38995         (norm): Likewise.
38996         (denorm): Likewise.
38997         (__mp_dbl): Likewise.
38998         (__dbl_mp): Likewise.
38999         (add_magnitudes): Likewise.
39000         (sub_magnitudes): Likewise.
39001         (__add): Likewise.
39002         (__sub): Likewise.
39003         (__mul): Likewise.
39004         (__inv): Likewise.
39005         (__dvd): Likewise.
39006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39007         (__acr): Likewise.
39008         (__cpy): Likewise.
39009         (norm): Likewise.
39010         (denorm): Likewise.
39011         (__mp_dbl): Likewise.
39012         (__dbl_mp): Likewise.
39013         (add_magnitudes): Likewise.
39014         (sub_magnitudes): Likewise.
39015         (__add): Likewise.
39016         (__sub): Likewise.
39017         (__mul): Likewise.
39018         (__inv): Likewise.
39019         (__dvd): Likewise.
39021 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39023         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39024         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39025         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39026         2 && __USE_EXTERN_INLINES]: Likewise.
39028 2013-01-08  Andreas Jaeger  <aj@suse.de>
39030         [BZ# 14985]
39031         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39032         Remove.
39033         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39034         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39036 2013-01-07  Anton Blanchard  <anton@samba.org>
39038         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39039         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39040         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39041         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39042         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39043         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39044         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39045         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39047         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39048         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39049         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39051         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39053         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39054         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39056         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39057         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39058         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39059         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39060         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39061         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39062         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39063         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39064         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39065         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39066         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39067         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39068         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39070         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39071         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39072         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39073         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39074         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39075         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39076         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39077         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39078         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39080         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39082 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39084         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39085         (__MALLOC_PMT): Likewise.
39086         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39087         [__GNUC__], only on [_LIBC].
39088         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39089         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39090         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39091         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39092         forward declaration.
39093         (realloc_hook_ini): Likewise.
39094         (memalign_hook_ini): Likewise.
39095         (__libc_memalign): Do not use __MALLOC_PMT in variable
39096         declaration.
39097         (__libc_valloc): Likewise.
39098         (__libc_pvalloc): Likewise.
39099         (__libc_calloc): Likewise.
39100         (__posix_memalign): Likewise.
39102         [BZ #14996]
39103         * math/s_casinh.c: Include <float.h>.
39104         (__casinh): Do not do computation with squaring and square root
39105         for large arguments.
39106         * math/s_casinhf.c: Include <float.h>.
39107         (__casinhf): Do not do computation with squaring and square root
39108         for large arguments.
39109         * math/s_casinhl.c: Include <float.h>.
39110         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39111         (__casinhl): Do not do computation with squaring and square root
39112         for large arguments.
39113         * math/libm-test.inc (casin_test): Add more tests.
39114         (casinh_test): Likewise.
39115         * sysdeps/i386/fpu/libm-test-ulps: Update.
39116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39118 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39120         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39121         (__x86_64_raw_data_cache_size): Likewise.
39122         (__x86_64_data_cache_size_half): Likewise.
39123         (__x86_64_raw_data_cache_size_half): Likewise.
39124         (__x86_64_shared_cache_size): Likewise.
39125         (__x86_64_raw_shared_cache_size): Likewise.
39126         (__x86_64_shared_cache_size_half): Likewise.
39127         (__x86_64_raw_shared_cache_size_half): Likewise.
39128         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39129         to ...
39130         (__x86_data_cache_size): This.
39131         (__x86_64_raw_data_cache_size): Renamed to ...
39132         (__x86_raw_data_cache_size): This.
39133         (__x86_64_data_cache_size_half): Renamed to ...
39134         (__x86_data_cache_size_half): This.
39135         (__x86_64_raw_data_cache_size_half): Renamed to ...
39136         (__x86_raw_data_cache_size_half): This.
39137         (__x86_64_shared_cache_size): Renamed to ...
39138         (__x86_shared_cache_size): This.
39139         (__x86_64_raw_shared_cache_size): Renamed to ...
39140         (__x86_raw_shared_cache_size): This.
39141         (__x86_64_shared_cache_size_half): Renamed to ...
39142         (__x86_shared_cache_size_half): This.
39143         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39144         (__x86_raw_shared_cache_size_half): This.
39145         * sysdeps/x86_64/memcpy.S: Updated.
39146         * sysdeps/x86_64/memset.S: Likewise.
39147         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39148         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39149         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39151 2013-01-04  David S. Miller  <davem@davemloft.net>
39153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39155 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39157         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39158         1 to avoid redefinition warning.
39159         (__USE_GNU): Don't define.
39160         (init_signaling_nan): Protoize.
39162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39164 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39166         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39168         (__cpymn): Likewise.
39169         (norm): Remove commented code.
39170         (denorm): Likewise.
39171         (__mp_dbl): Likewise.
39172         (__inv): Likewise.
39173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39174         (__cpymn): Likewise.
39175         (norm): Remove commented code.
39176         (denorm): Likewise.
39177         (__mp_dbl): Likewise.
39178         (__inv): Likewise.
39180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39181         mp_no value for 1.0 and 2.0.
39182         (norm): Use RADIXI instead of radixi.d.
39183         (denorm): Likewise.
39184         (__mul): Use 0.0 instead of zero.d.
39185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39186         mp_no value for 1.0 and 2.0.
39187         (norm): Use RADIXI instead of radixi.d.
39188         (denorm): Likewise.
39189         (__mul): Use 0.0 instead of zero.d.
39191 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39193         [BZ #14994]
39194         * math/s_casinh.c (__casinh): Reduce finite argument to first
39195         quadrant then set signs of results at the end.
39196         * math/s_casinhf.c (__casinhf): Likewise.
39197         * math/s_casinhl.c (__casinhl): Likewise.
39198         * math/libm-test.inc (casin_test): Add more tests.
39199         (casinh_test): Likewise.
39200         * sysdeps/i386/fpu/libm-test-ulps: Update.
39201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39203 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39205         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39207         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39209         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39210         declarations.
39211         (denorm): Likewise.
39212         (__mp_dbl): Likewise.
39213         (__inv): Likewise.
39215         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39216         and adjust the header comment.
39218         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39219         variable name from declaration.
39221 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39224         Initialize COMMON_CPUID_INDEX_7 element.
39225         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39226         (CPUID_RTM): Likewise.
39227         (HAS_RTM): Likewise.
39228         (COMMON_CPUID_INDEX_7): New enum.
39230 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39232         [BZ #14981]
39233         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39234         size is zero, record memory as freed.
39236 2013-01-03  Andreas Jaeger  <aj@suse.de>
39238         * po/ia.po: Add new Interlingua translation.
39240 2012-01-03  Allan McRae  <allan@archlinux.org>
39242         * locale/programs/localedef.c: Fix description of '--posix' flag.
39244 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39246         * NEWS: Update dates in second copyright notice.
39247         * README: Update copyright dates in example.
39248         * manual/libc.texinfo: Update copyright dates.
39249         * scripts/test-installation.pl: Update copyright date in --version
39250         output.
39252         * hurd/ctty-input.c: Fix copyright notice formatting.
39253         * hurd/ctty-output.c: Likewise.
39254         * hurd/dtable.c: Likewise.
39255         * hurd/hurd-raise.c: Likewise.
39256         * hurd/hurdprio.c: Likewise.
39257         * hurd/msgportdemux.c: Likewise.
39258         * misc/sys/file.h: Likewise.
39259         * misc/sys/ioctl.h: Likewise.
39260         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39261         * sysdeps/mach/hurd/chdir.c: Likewise.
39262         * sysdeps/mach/hurd/fchdir.c: Likewise.
39263         * sysdeps/mach/hurd/rename.c: Likewise.
39264         * sysdeps/mach/hurd/rmdir.c: Likewise.
39265         * sysdeps/mach/hurd/seekdir.c: Likewise.
39266         * sysdeps/mach/hurd/setsid.c: Likewise.
39267         * sysdeps/posix/wait3.c: Likewise.
39269         * All files with FSF copyright notices: Update copyright dates
39270         using scripts/update-copyrights.
39271         * intl/plural.c: Regenerated.
39272         * locale/programs/charmap-kw.h: Likewise.
39273         * locale/programs/locfile-kw.h: Likewise.
39275 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39277         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39278         four values.
39280         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39281         calculation loop and add branch prediction.
39283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39284         check access beyond bounds of m1np.
39286         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39287         MPTWO.
39288         (__inv): Remove local variable MPTWO to use the global
39289         constant.
39290         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39291         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39292         variable MPTWO.
39293         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39294         MP3HALFS static const.
39296 2013-01-01  David S. Miller  <davem@davemloft.net>
39298         * po/ca.po: Update from translation team.
39300 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39302         * scripts/update-copyrights: New file.
39303         * Makeconfig: Reformat copyright notice.
39304         * ctype/ctype.h: Likewise.
39305         * debug/swprintf_chk.c: Likewise.
39306         * elf/dl-cache.c: Likewise.
39307         * elf/dl-debug.c: Likewise.
39308         * elf/dl-object.c: Likewise.
39309         * grp/initgroups.c: Likewise.
39310         * hurd/Makefile: Likewise.
39311         * hurd/hurd/signal.h: Likewise.
39312         * hurd/hurdfault.c: Likewise.
39313         * hurd/hurdioctl.c: Likewise.
39314         * hurd/hurdlookup.c: Likewise.
39315         * hurd/intr-msg.c: Likewise.
39316         * iconv/gconv_open.c: Likewise.
39317         * libio/swprintf.c: Likewise.
39318         * locale/lc-ctype.c: Likewise.
39319         * locale/nl_langinfo.c: Likewise.
39320         * mach/Machrules: Likewise.
39321         * mach/Makefile: Likewise.
39322         * malloc/obstack.h: Likewise.
39323         * manual/Makefile: Likewise.
39324         * manual/tsort.awk: Likewise.
39325         * misc/bits/stab.def: Likewise.
39326         * nis/nis_print_group_entry.c: Likewise.
39327         * nis/nis_table.c: Likewise.
39328         * nis/nss_compat/compat-pwd.c: Likewise.
39329         * nis/nss_compat/compat-spwd.c: Likewise.
39330         * po/Makefile: Likewise.
39331         * posix/fnmatch.c: Likewise.
39332         * posix/regex.h: Likewise.
39333         * resolv/Makefile: Likewise.
39334         * resolv/nss_dns/dns-network.c: Likewise.
39335         * resolv/res_hconf.c: Likewise.
39336         * scripts/gen-sorted.awk: Likewise.
39337         * soft-fp/soft-fp.h: Likewise.
39338         * stdio-common/printf.h: Likewise.
39339         * stdlib/monetary.h: Likewise.
39340         * stdlib/random.c: Likewise.
39341         * stdlib/random_r.c: Likewise.
39342         * sysdeps/generic/Makefile: Likewise.
39343         * sysdeps/gnu/Makefile: Likewise.
39344         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39351         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39354         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39356         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39357         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39358         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39360         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39362         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39363         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39364         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39365         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39366         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39367         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39368         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39370         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39371         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39372         * sysdeps/mach/hurd/errnos.awk: Likewise.
39373         * sysdeps/mach/hurd/fork.c: Likewise.
39374         * sysdeps/mach/hurd/getcwd.c: Likewise.
39375         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39376         * sysdeps/mach/hurd/mmap.c: Likewise.
39377         * sysdeps/mach/hurd/utimes.c: Likewise.
39378         * sysdeps/mach/hurd/xmknod.c: Likewise.
39379         * sysdeps/posix/profil.c: Likewise.
39380         * sysdeps/posix/readdir_r.c: Likewise.
39381         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39382         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39383         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39384         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39386         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39387         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39388         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39390         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39391         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39392         * sysdeps/pthread/lio_listio.c: Likewise.
39393         * sysdeps/sparc/dl-procinfo.h: Likewise.
39394         * sysdeps/unix/i386/sysdep.S: Likewise.
39395         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39396         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39397         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39398         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39400         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39401         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39402         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39403         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39404         * sysdeps/wordsize-32/divdi3.c: Likewise.
39405         * time/sys/time.h: Likewise.
39406         * wcsmbs/Makefile: Likewise.
39408 2013-01-01  David S. Miller  <davem@davemloft.net>
39410         * po/fr.po: Update from translation team.
39412         * catgets/gencat.c: Update copyright year.
39413         * csu/version.c: Likewise.
39414         * debug/catchsegv.sh: Likewise.
39415         * debug/pcprofiledump.c: Likewise.
39416         * debug/xtrace.sh: Likewise.
39417         * elf/ldconfig.c: Likewise.
39418         * elf/ldd.bash.in: Likewise.
39419         * elf/pldd.c: Likewise.
39420         * elf/sotruss.ksh: Likewise.
39421         * elf/sprof.c: Likewise.
39422         * iconv/iconv_prog.c: Likewise.
39423         * iconv/iconvconfig.c: Likewise.
39424         * locale/programs/locale.c: Likewise.
39425         * locale/programs/localedef.c: Likewise.
39426         * login/programs/pt_chown.c: Likewise.
39427         * malloc/memusage.sh: Likewise.
39428         * malloc/memusagestat.c: Likewise.
39429         * malloc/mtrace.pl: Likewise.
39430         * nscd/nscd.c: Likewise.
39431         * nss/getent.c: Likewise.
39432         * nss/makedb.c: Likewise.
39433         * posix/getconf.c: Likewise.
39435 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39437         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39438         numbers.
39440 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39442         * math/bits/mathcalls.h (modf): Use __nonnull.
39444 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39446         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39447         (split): Use macro CN instead of the bare value.
39448         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39449         could be used.
39450         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39451         instead of the bare value.
39452         (power1): Likewise.
39454 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39456         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39457         __ATAN_TWOM.
39458         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39460         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39461         their values.
39462         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39463         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39464         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39465         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39467 2012-12-28  Andreas Jaeger  <aj@suse.de>
39469         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39470         values are from Linux 3.7.
39472         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39473         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39475 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39477         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39478         TRUE case.
39480         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39481         (norm): Likewise.
39482         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39483         variables with preprocessor constants.
39484         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39485         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39486         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39488 2012-12-27  Bruno Haible  <bruno@clisp.org>
39490         [BZ #14317]
39491         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39492         only if needed.
39494 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39497         and use variable directly.
39498         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39500         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39501         MPONE.
39502         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39503         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39504         variable MPONE.
39505         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39507         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39508         include directive.  Remove local variable MPONE.
39509         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39510         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39511         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39513 2012-12-25  David S. Miller  <davem@davemloft.net>
39515         * version.h (RELEASE): Set to "development".
39516         (VERSION): Set to "2.17.90".
39517         * NEWS: Add 2.18 section.
39519 2012-12-21  David S. Miller  <davem@davemloft.net>
39521         * po/hr.po: Update from translation team.
39523 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39525         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39527 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39529         * NEWS:  Mention new memcpy for MIPS.
39531 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39533         * manual/contrib.texi (Contributors): Spelling correction.
39535 2012-12-15  David S. Miller  <davem@davemloft.net>
39537         * po/ru.po: Update from translation team.
39539 2012-12-13  David S. Miller  <davem@davemloft.net>
39541         * NEWS: Mention IFUNC testsuite enhancements.
39543         * po/pl.po: Update from translation team.
39544         * po/bg.po: Likewise.
39546         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39547         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39549 2012-12-11  David S. Miller  <davem@davemloft.net>
39551         * po/sv.po: Update from translation team.
39553         * po/vi.po: Update from translation team.
39555         * po/cs.po: Update from translation team.
39557         * po/de.po: Update from translation team.
39558         * po/eo.po: Likewise.
39559         * po/nl.po: Likewise.
39561 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39563         [BZ #14246]
39564         * manual/argp.texi (Argp Helper Functions): Move node to follow
39565         Argp Parsing State.
39567         [BZ #14872]
39568         * manual/conf.texi (Limits on File System Capacity): Mention if
39569         terminating null is included in the max size.
39571 2012-12-10  Andreas Jaeger  <aj@suse.de>
39573         * po/cs.po: Update from translation team.
39575 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39577         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39578         void pointer and cast to uintptr_t.
39579         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39580         path.
39581         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39582         * sysdeps/s390/s390-64/memset.S: Likewise.
39584 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39586         [BZ #14833]
39587         * menual/message.texi (Message Translation): Fix typos.
39588         (Helper programs for gettext): Likewise.
39590 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39592         [BZ #14898]
39593         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39594         Change to -1.
39596 2012-12-07  David S. Miller  <davem@davemloft.net>
39598         * po/libc.pot: Update.
39600 2012-12-07  Richard Henderson  <rth@redhat.com>
39602         [BZ #10114]
39603         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39604         normal/normal case to before the switch.
39605         (_FP_DIV): Likewise.
39607 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39608             Mike Frysinger  <vapier@gentoo.org>
39610         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39611         check for __NR_fadvise64_64.
39613 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39615         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39616         0, not just to plain "0" as a statement.
39617         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39618         with cw.
39620 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39622         * NEWS: Use sourceware.org in Bugzilla URL.
39624 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39627         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39629         * stdio-common/tst-put-error.c (do_test): Add newline to the
39630         padded test to ensure flush.
39632 2012-12-05  Jeff Law  <law@redhat.com>
39634         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39636 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39638         * README: Don't refer to ports add-on as distributed separately.
39639         Mention AArch64 in list of systems supported in the ports add-on.
39641         * LICENSES: Add more non-FSF copyright and license notices.
39643         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39644         ((unused)).
39646         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39648         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39649         10000 as width of padded output.
39651 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39653         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39655         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39656         variable LX with __attribute__ ((unused)).
39657         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39658         Likewise.
39659         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39662         with __attribute__ ((unused)).
39664 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39666         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39668 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39670         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39671         (CFLAGS-nldbl-acos.c): New variable.
39672         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39673         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39674         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39675         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39676         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39677         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39678         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39679         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39680         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39681         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39682         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39683         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39684         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39685         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39686         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39687         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39688         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39689         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39690         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39691         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39692         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39693         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39694         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39695         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39696         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39697         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39698         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39699         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39700         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39701         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39702         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39703         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39704         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39705         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39706         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39707         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39708         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39709         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39710         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39711         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39712         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39713         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39714         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39715         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39716         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39717         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39718         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39719         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39720         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39721         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39722         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39723         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39724         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39725         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39726         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39727         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39728         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39729         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39730         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39731         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39732         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39733         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39734         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39735         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39736         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39737         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39738         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39739         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39740         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39741         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39742         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39743         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39744         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39745         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39746         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39747         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39748         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39749         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39750         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39751         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39752         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39753         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39754         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39755         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39756         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39757         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39758         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39759         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39760         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39761         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39762         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39763         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39764         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39765         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39766         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39767         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39768         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39771         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39773         [BZ #14914]
39774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39775         whole low double instead of just low 47 bits when splitting values
39776         into two parts.
39778 2012-12-03  Allan McRae  <allan@archlinux.org>
39780         * manual/stdio.texi (Predefined Printf Handlers): Remove
39781         @hsep and @vsep usage.
39783 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39785         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39786         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39788 2012-12-03  Jeff Law  <law@redhat.com>
39790         * time/sys/time.h (settimeofday): Do not mark TV argument
39791         as __nonnull.
39793 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39795         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39796         when currently writing and seek to current position when not.
39797         * libio/Makefile (tests): Remove bug-fclose1.
39798         * libio/bug-fclose1.c: Delete.
39800 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39802         * manual/arith.texi (feenableexcept): Fix typo.
39803         (fedisableexcept): Likewise.
39805 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39807         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39808         second, differently-typed declaration, rather than a cast.
39810 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39812         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39813         * include/rpc/svc.h: ... here.
39815 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39817         [BZ #13013]
39818         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39819         depending n and resplen2 to catch cases where answer
39820         equals answerp2.
39822 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39824         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39825         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39827 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39829         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39831 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39833         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39835 2012-11-28  Jeff Law  <law@redhat.com>
39837         [BZ #13761]
39838         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39839         dataset_temporary.  Track alloca usage into alloca_used.
39840         If dataset is large allocate and release it via malloc/free.
39842 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39844         [BZ #14197]
39845         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39847 2012-11-28  David S. Miller  <davem@davemloft.net>
39849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39851 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39853         [BZ #14803]
39854         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39855         of pi/2 rounded to nearest to 64 bits.
39856         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39857         nearest to 64 bits.
39858         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39859         bits.
39861 2012-11-28  Jeff Law <law@redhat.com>
39862             Martin Osvald <mosvald@redhat.com>
39864         [BZ #14889]
39865         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39866         * sunrpc/svc.c: Include time.h.
39867         (__svc_accept_failed): New function.
39868         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39869         any reason other than EINTR, call __svc_accept_failed.
39870         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39871         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39873 2012-11-28  Andreas Schwab  <schwab@suse.de>
39875         * scripts/abilist.awk: Also handle indirect functions in .opd
39876         section.
39878 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39880         [BZ #13881]
39881         * sysdeps/x86/fpu/powl_helper.c: New file.
39882         * sysdeps/x86/fpu/Makefile: Likewise.
39883         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39884         (p3): New object.
39885         (__ieee754_powl): Use __powl_helper for finite arguments except
39886         integer exponents below 8.
39887         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39888         (p3): New object.
39889         (__ieee754_powl): Use __powl_helper for finite arguments except
39890         integer exponents below 8.
39891         * math/libm-test.inc (pow_test): Add more tests and enable some
39892         previously disabled tests.
39893         * sysdeps/i386/fpu/libm-test-ulps: Update.
39894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39896 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39897             Carlos O'Donell  <carlos_odonell@mentor.com>
39899         * nss/makedb.c (is_prime): Assert that input is odd and greater
39900         than 4.  Note that fact in a comment too.
39901         (next_prime): Add 4 to input.
39903 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39905         [BZ #11741]
39906         * libio/Makefile (tests): Add test case tst-fwrite-error.
39907         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39908         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39909         * libio/tst-fwrite-error.c: New test case.
39911 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39913         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39914         before casting to void *.
39915         * include/libc-internal.h (__pointer_type): New macro.
39916         (__integer_if_pointer_type_sub): Likewise.
39917         (__integer_if_pointer_type): Likewise.
39918         (cast_to_integer): Likewise.
39919         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39920         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39921         before casting to atomic64_t.
39922         (atomic_exchange_acq): Likewise.
39923         (__arch_exchange_and_add_body): Likewise.
39924         (__arch_add_body): Likewise.
39925         (atomic_add_negative): Likewise.
39926         (atomic_add_zero): Likewise.
39928 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39930         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39931         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39932         (add_fdes): Likewise.
39933         (linear_search_fdes): Likewise.
39934         (binary_search_unencoded_fdes): Likewise.
39936 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39938         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39940 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39942         * configure.in: Autodetect C++ header directories.
39943         * configure: Regenerated.
39945 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39947         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39949 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39953 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39955         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39956         LDBL_MANT_DIG == 106]: Disable some tests.
39957         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39958         Likewise.
39959         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39960         Likewise.
39962         [BZ #14871]
39963         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39964         input for small inputs.  Return +/- pi/2 for large inputs.
39965         * math/libm-test.inc (atan_test): Add more tests.
39967         * sysdeps/generic/unwind-dw2-fde-glibc.c
39968         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39969         __attribute__ ((unused)).
39971         [BZ #14645]
39972         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39973         x * y if x and y are nonzero and z is zero.
39975         [BZ #14811]
39976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39977         nonzero exponents with absolute value below 0x1p-117 to +/-
39978         0x1p-117.
39980         [BZ #14869]
39981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39982         up arguments below 2**-450, not just those below 2**-500.
39983         * math/libm-test.inc (hypot_test): Add another test.
39985         [BZ #14868]
39986         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39987         Return a+b for ratio over 2**120, not 2**60.
39988         * math/libm-test.inc (hypot_test): Add another test.
39990         * math/libm-test.inc (clog_test): Use
39991         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39992         (clog10_test): Likewise.
39994         [BZ #6778]
39995         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39997 2012-11-22  Andreas Schwab  <schwab@suse.de>
39999         * sysdeps/i386/fpu/libm-test-ulps: Update.
40001 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40003         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40004         printf output with newline.
40006 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40008         [BZ #14865]
40009         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40010         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40011         -z nodlopen, -z initfirst and -z execstack support.
40012         * configure: Regenerated.
40014         * elf/elf.h (DF_1_NODIRECT): New macro.
40015         (DF_1_IGNMULDEF): Likewise.
40016         (DF_1_NOKSYMS): Likewise.
40017         (DF_1_NOHDR): Likewise.
40018         (DF_1_EDITED): Likewise.
40019         (DF_1_NORELOC): Likewise.
40020         (DF_1_SYMINTPOSE): Likewise.
40021         (DF_1_GLOBAUDIT): Likewise.
40022         (DF_1_SINGLETON): Likewise.
40023         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40024         DT_1_SUPPORTED_MASK bits.
40025         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40027 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40029         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40031 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40033         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40034         macro.
40036         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40037         (sendmmsg): Move declarations...
40038         * socket/sys/socket.h: ... here.
40039         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40040         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40041         include it from...
40042         * socket/recvmmsg.c: ... this new file.
40043         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40044         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40045         definition of __sendmmsg hidden.
40046         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40047         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40048         Move ENOSYS stub into and include it from...
40049         * socket/sendmmsg.c: ... this new file.
40050         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40051         (sysdep_routines): Move recvmmsg and sendmmsg...
40052         * socket/Makefile (routines): ... here.
40053         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40054         (GLIBC_PRIVATE): Add __sendmmsg.
40055         * include/sys/socket.h (__sendmmsg): Add declarations.
40056         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40057         sendmmsg.
40059 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40061         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40062         variable I1 with __attribute__ ((unused)).
40063         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40065 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40067         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40068         DUMMY variables with __attribute__ ((unused)).
40070         * bits/byteswap.h: Include <bits/types.h>.
40071         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40073 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40075         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40076         string_t.  Do not manually set errno.
40077         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40078         length with __strnlen.  Make sure to both set errno and return it on
40079         failure.
40081 2012-11-19  David S. Miller  <davem@davemloft.net>
40083         With help from Joseph Myers.
40084         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40085         very large arguments properly.
40086         * math/libm-test.inc (atan_test): New tests.
40087         (atan2_test): New tests.
40088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40091 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40093         [BZ #14856]
40094         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40095         Define to 3.
40097         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40098         [POSIX] (EADDRNOTAVAIL): Likewise.
40099         [POSIX] (EAFNOSUPPORT): Likewise.
40100         [POSIX] (EALREADY): Likewise.
40101         [POSIX] (ECONNABORTED): Likewise.
40102         [POSIX] (ECONNREFUSED): Likewise.
40103         [POSIX] (ECONNRESET): Likewise.
40104         [POSIX] (EDESTADDRREQ): Likewise.
40105         [POSIX] (EDQUOT): Likewise.
40106         [POSIX] (EHOSTUNREACH): Likewise.
40107         [POSIX] (EIDRM): Likewise.
40108         [POSIX] (EISCONN): Likewise.
40109         [POSIX] (ELOOP): Likewise.
40110         [POSIX] (EMULTIHOP): Likewise.
40111         [POSIX] (ENETDOWN): Likewise.
40112         [POSIX] (ENETUNREACH): Likewise.
40113         [POSIX] (ENOBUFS): Likewise.
40114         [POSIX] (ENODATA): Likewise.
40115         [POSIX] (ENOLINK): Likewise.
40116         [POSIX] (ENOMSG): Likewise.
40117         [POSIX] (ENOPROTOOPT): Likewise.
40118         [POSIX] (ENOSR): Likewise.
40119         [POSIX] (ENOSTR): Likewise.
40120         [POSIX] (ENOTCONN): Likewise.
40121         [POSIX] (ENOTSOCK): Likewise.
40122         [POSIX] (EOPNOTSUPP): Likewise.
40123         [POSIX] (EOVERFLOW): Likewise.
40124         [POSIX] (EPROTO): Likewise.
40125         [POSIX] (EPROTONOSUPPORT): Likewise.
40126         [POSIX] (EPROTOTYPE): Likewise.
40127         [POSIX] (ESTALE): Likewise.
40128         [POSIX] (ETIME): Likewise.
40129         [POSIX] (ETXTBSY): Likewise.
40130         [POSIX] (EWOULDBLOCK): Likewise.
40131         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40132         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40133         [POSIX] (SEEK_CUR): Likewise.
40134         [POSIX] (SEEK_END): Likewise.
40135         [POSIX || UNIX98] (mode_t): Do not require.
40136         [POSIX] (off_t): Likewise.
40137         [POSIX] (pid_t): Likewise.
40138         [POSIX] (sys/stat.h): Do not allow header.
40139         [POSIX] (unistd.h): Likewise.
40140         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40141         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40142         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40143         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40144         require.
40145         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40146         sigevent): Specify elements.
40147         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40148         entry.
40149         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40150         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40152         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40153         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40154         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40155         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40156         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40157         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40158         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40159         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40160         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40161         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40162         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40163         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40164         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40165         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40166         Likewise.
40167         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40168         Likewise.
40169         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40170         Likewise.
40171         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40172         Likewise.
40173         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40174         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40175         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40176         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40177         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40178         Specify lower bound on value.
40179         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40180         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40181         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40182         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40183         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40184         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40185         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40186         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40187         value.
40188         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40189         as optional.
40190         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40191         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40192         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40193         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40194         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40195         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40196         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40197         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40198         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40199         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40200         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40201         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40202         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40203         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40204         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40205         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40206         entry.
40207         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40208         optional.
40209         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40210         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40211         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40212         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40213         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40214         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40215         Likewise.
40216         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40217         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40218         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40219         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40220         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40221         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40222         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40223         as optional.
40224         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40225         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40226         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40227         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40228         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40229         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40230         specify as optional.
40231         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40232         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40233         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40234         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40235         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40236         [XPG3] (NL_LANGMAX): Likewise.
40237         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40238         [POSIX || XPG3] (NL_NMAX): Likewise.
40239         [POSIX || XPG3] (NL_SETMAX): Likewise.
40240         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40241         [XPG3] (NZERO): Likewise.
40242         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40243         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40244         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40245         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40246         (REG_ERANGE): Expect.
40247         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40248         optional-constant.
40249         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40250         Use (void) in prototype.
40251         [POSIX] (*_t): Allow.
40252         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40253         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40254         (WRDE_BADVAL): Expect.
40256         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40257         expect.
40258         [XPG3 || XPG4] (O_RSYNC): Likewise.
40259         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40260         Likewise.
40261         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40262         [XPG3 || XPG4] (sigqueue): Likewise.
40263         [XPG3 || XPG4] (sigtimedwait): Likewise.
40264         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40265         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40266         [XPG3 || XPG4] (vsnprintf): Likewise.
40267         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40268         Likewise.
40269         [XPG3 || XPG4] (blksize_t): Likewise.
40270         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40271         Likewise.
40272         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40273         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40274         [XPG3 || XPG4] (struct itimerspec): Likewise.
40275         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40276         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40277         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40278         [XPG3 || XPG4] (clockid_t): Likewise.
40279         [XPG3 || XPG4] (timer_t): Likewise.
40280         [XPG3 || XPG4] (clock_getres): Likewise.
40281         [XPG3 || XPG4] (clock_gettime): Likewise.
40282         [XPG3 || XPG4] (clock_settime): Likewise.
40283         [XPG3 || XPG4] (nanosleep): Likewise.
40284         [XPG3 || XPG4] (timer_create): Likewise.
40285         [XPG3 || XPG4] (timer_delete): Likewise.
40286         [XPG3 || XPG4] (timer_gettime): Likewise.
40287         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40288         [XPG3 || XPG4] (timer_settime): Likewise.
40289         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40290         [XPG3 || XPG4] (getlogin_r): Likewise.
40291         [XPG3 || XPG4] (pread): Likewise.
40292         [XPG3 || XPG4] (pthread_atfork): Likewise.
40293         [XPG3 || XPG4] (pwrite): Likewise.
40295         [BZ #14835]
40296         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40297         <bits/siginfo.h>.
40299 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40301         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40302         finalizing MALLSTREAM.
40304         * sysdeps/mach/hurd/syncfs.c: New file.
40306 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40308         [BZ #14719]
40309         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40310         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40312         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40313         (_nss_dns_gethostbyname4_r): Likewise.
40314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40315         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40317 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40319         [BZ #13763]
40320         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40322 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40324         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40325         * elf/cache.c (print_entry): Print ",AArch64" for
40326         FLAG_AARCH64_LIB64
40328         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40329         * elf/cache.c (print_entry): Print ",hard-float" for
40330         FLAG_ARM_LIBHF.
40332 2012-11-18  David S. Miller  <davem@davemloft.net>
40334         With help from Joseph Myers.
40335         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40336         cutoff to 2**-13.
40337         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40338         cutoff to 2**-25.
40339         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40340         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40341         small.
40342         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40343         * math/libm-test.inc (y0_test): New tests.
40344         (y1_test): New tests.
40345         * sysdeps/i386/fpu/libm-test-ulps: Update.
40346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40349 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40351         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40352         64-bit targets.
40353         * configure: Regenerated.
40355 2012-11-17  David S. Miller  <davem@davemloft.net>
40357         [BZ #14811]
40358         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40359         nonzero exponents with absolute value below 0x1p-128 to +/-
40360         0x1p-128.
40362 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40364         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40366         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40368         * posix/getconf-speclist.c: New file.
40369         * posix/posix-envs.def: Likewise.
40370         * posix/confstr.c (START_ENV_GROUP): New macro.
40371         (END_ENV_GROUP): Likewise.
40372         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40373         (KNOWN_PRESENT_ENV_STRING): Likewise.
40374         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40375         (UNKNOWN_ENVIRONMENT): Likewise.
40376         (confstr): Include posix-envs.def instead of handling
40377         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40378         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40379         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40380         (END_ENV_GROUP): Likewise.
40381         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40382         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40383         (UNKNOWN_ENVIRONMENT): Likewise.
40384         (__sysconf): Include posix-envs.def instead of handling associated
40385         cases directly here.
40386         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40387         preprocessing getconf-speclist.c rather than running getconf or
40388         generating empty file.
40390 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40392         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40394 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40396         [BZ #14672]
40397         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40399 2012-11-16  David S. Miller  <davem@davemloft.net>
40401         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40402         smaller than LDBL_EPSILON/2.0L, just return xm1.
40404 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40406         * elf/tst-array1.c (init): Set constructor priority to 1000.
40407         (fini): Set destructor priority to 1000.
40408         * elf/tst-array2dep.c: Likewise.
40410 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40412         [BZ #11741]
40413         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40414         (_IO_new_file_xsputn): Also return EOF if none of the input
40415         data was written when overflow failed.
40416         * libio/iopadn.c (_IO_padn): Likewise.
40417         * libio/iowpadn.c (_IO_wpadn): Likewise.
40418         * stdio-common/tst-put-error.c: Add copyright notice.
40419         (do_test): Add case for printing padded string.
40420         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40421         _IO_padn returned error.
40422         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40423         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40424         return EOF.
40426 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40428         * libio/libioP.h: Add comment note that the references to C++
40429         bits are now obsolete.
40431 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40433         * math/libm-test.inc (check_complex): Use asprintf.
40435 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40437         * debug/pcprofiledump.c (print_version): Update copyright year.
40438         * malloc/memusagestat.c (print_version): Likewise.
40440 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40442         [BZ #14831]
40443         * elf/Makefile (tests): Add tst-audit8.
40444         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40445         ($(objpfx)tst-audit8.out): New target.
40446         (tst-audit8-ENV): New variable.
40447         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40448         audit if l_reloc_result is NULL.
40449         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40450         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40451         * elf/tst-audit8.c: New file.
40453 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40455         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40456         * misc/Makefile (CFLAGS-select.c): Define.
40457         * posix/Makefile (CFLAGS-pause.c): Define.
40459 2012-11-13  David S. Miller  <davem@davemloft.net>
40461         * crypt/Makefile: Move test targets after toplevel Rules
40462         inclusion.  Grab any necessary sysdep routines when linking.
40463         * crypt/md5.c (md5_process_block): Remove define, we will always
40464         name it __md5_process_block.
40465         (md5_finish_ctx): Update md5_process_block call.
40466         (md5_stream): Likewise.
40467         (md5_process_bytes): Likewise.
40468         (md5_process_block): Rename to __md5_process_block and move to ...
40469         * crypt/md5-block.c: ... here.
40470         * crypt/sha256.c (sha256_process_block): Move to ...
40471         * crypt/sha256-block.c: ... here.
40472         * crypt/sha512.c (sha512_process_block): Move to ...
40473         * crypt/sha512-block.c: ... here.
40474         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40475         path.
40476         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40477         * sysdeps/sparc/sparc64/multiarch/Makefile
40478         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40479         crypt subdir.
40480         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40481         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40482         multiarch changes.
40483         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40484         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40485         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40486         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40487         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40488         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40489         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40490         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40491         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40492         file.
40493         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40494         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40495         file.
40496         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40498 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40500         * timezone/tzselect.ksh: Update from tzcode git revision
40501         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40502         * timezone/zdump.c: Likewise.
40503         * timezone/zic.c: Likewise.
40504         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40505         in TZVERSION setting, not $(PKGVERSION).
40506         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40507         REPORT_BUGS_TO settings.
40509         [BZ #14838]
40510         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40511         macro.
40513 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40515         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40516         detection to immediately after _FP_ROUND().
40517         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40518         bits are 0.
40520 2012-11-11  David S. Miller  <davem@davemloft.net>
40522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40523         inttypes.h
40524         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40525         __close rather than their public counterparts.
40527 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40529         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40530         file.
40531         [UNIX98] (sem_timedwait): Do not expect.
40532         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40533         [XPG4 || UNIX98] (sockatmark): Do not expect.
40534         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40535         (clock_getcpuclockid): Do not expect.
40536         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40537         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40538         Do not expect.
40539         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40540         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40541         [UNIX98] (vwscanf): Likewise.
40542         [UNIX98] (vswscanf): Likewise.
40544 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40546         * timezone/version.h: Remove file.
40547         * timezone/README: Do not refer to version.h.
40548         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40549         $(objpfx)version.h.
40550         ($(objpfx)zdump.o): Likewise.
40551         ($(objpfx)version.h): New target.
40553         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40554         2012i.
40555         * timezone/README: Don't mention modification to tzselect.ksh.
40556         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40557         work on unmodified tzselect.ksh.  Substitute version numbers in
40558         tzselect.ksh.
40560         * Makefile (format-me): Remove.
40561         (INSTALL): Adjust indentation.  Use commands directly instead of
40562         using $(format-me).
40564         * aclocal.m4 (ACX_PKGVERSION): New macro.
40565         (ACX_BUGURL): Likewise.
40566         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40567         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40568         (REPORT_BUGS_TO): Likewise.
40569         * configure: Regenerated.
40570         * config.h.in (PKGVERSION): New macro.
40571         (REPORT_BUGS_TO): Likewise.
40572         * config.make.in (PKGVERSION): New variable.
40573         (PKGVERSION_TEXI): Likewise.
40574         (REPORT_BUGS_TO): Likewise.
40575         (REPORT_BUGS_TEXI): Likewise.
40576         * Makefile (format-me): Use -I$(common-objpfx)manual.
40577         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40578         ($(common-objpfx)manual/%): New target.
40579         (manual/%): Remove target.
40580         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40581         (print_version): Use PKGVERSION.
40582         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40583         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40584         and REPORT_BUGS_TO.
40585         ($(objpfx)xtrace): Likewise.
40586         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40587         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40588         (print_version): Use PKGVERSION.
40589         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40590         (do_version): Use PKGVERSION.
40591         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40592         REPORT_BUGS_TO.
40593         (common-ldd-rewrite): Likewise.
40594         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40595         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40596         (print_version): Use PKGVERSION.
40597         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40598         * elf/pldd.c (argp_program_bug_address): Remove variable.
40599         (more_help): New function.
40600         (argp): Use more_help.
40601         (print_version): Use PKGVERSION.
40602         * elf/sln.c (main): Use PKGVERSION.
40603         (usage): Use REPORT_BUGS_TO.
40604         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40605         (top level): Use PKGVERSION.
40606         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40607         (print_version): Use PKGVERSION.
40608         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40609         (print_version): Use PKGVERSION.
40610         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40611         (print_version): Use PKGVERSION.
40612         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40613         (print_version): Use PKGVERSION.
40614         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40615         (print_version): Use PKGVERSION.
40616         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40617         (print_version): Use PKGVERSION.
40618         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40619         and BUGURL.
40620         ($(objpfx)memusage): Likewise.
40621         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40622         (do_version): Use PKGVERSION.
40623         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40624         (print_version): Use PKGVERSION.
40625         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40626         ($PKGVERSION): New variable.
40627         ($REPORT_BUGS_TO): Likewise.
40628         (usage): Use $REPORT_BUGS_TO.
40629         (top level): Use $PKGVERSION.
40630         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40631         ($(objpfx)pkgvers.texi): New rule.
40632         ($(objpfx)stamp-pkgvers): Likewise.
40633         * manual/install.texi: Include pkgvers.texi.
40634         (--with-pkgversion): Document new configure option.
40635         (--with-bugurl): Likewise.
40636         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40637         than necessarily for this particular distribution.  Use
40638         REPORT_BUGS_TO for where to report bugs.
40639         * INSTALL: Regenerated.
40640         * manual/libc.texinfo: Include pkgvers.texi.
40641         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40642         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40643         (print_version): Use PKGVERSION.
40644         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40645         (print_version): Use PKGVERSION.
40646         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40647         (print_version): Use PKGVERSION.
40648         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40649         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40650         macro.
40651         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40652         (print_version): Use PKGVERSION.
40653         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40654         (print_version): Use PKGVERSION.
40655         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40656         and PKGVERSION.
40658         * timezone/checktab.awk: Update from tzcode 2012i.
40659         * timezone/ialloc.c: Likewise.
40660         * timezone/private.h: Likewise.
40661         * timezone/scheck.c: Likewise.
40662         * timezone/tzfile.h: Likewise.
40663         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40664         (TZVERSION): Hardcode tzcode version number.
40665         * timezone/zdump.c: Update from tzcode 2012i.
40666         * timezone/zic.c: Likewise.
40667         * timezone/version.h: New file.
40668         * timezone/README: Describe version.h.  Update upstream location.
40670         [BZ #14824]
40671         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40672         (mktemp): Enable declaration.
40673         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40674         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40675         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40676         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40677         Likewise.
40678         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40679         Likewise.
40680         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40681         Likewise.
40682         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40683         Likewise.
40684         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40685         Likewise.
40686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40687         Likewise.
40689         [BZ #14821]
40690         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40691         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40692         for copies of such integer values.
40693         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40694         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40696 2012-11-09  Andreas Jaeger  <aj@suse.de>
40698         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40699         definitions and declarations that are provided by
40700         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40702 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40704         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40705         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40706         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40707         definition.
40709 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40711         * elf/elf.h: Update comment before AArch64 relocations.
40713 2012-11-07  David S. Miller  <davem@davemloft.net>
40715         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40716         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40717         (__start_context): Declare.
40718         (__makecontext_ret): Delete.
40719         (__makecontext): Hook up __start_context instead of
40720         __makecontext_ret.
40721         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40722         (sysdep_routines): Add __start_context when in stdlib.
40724 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40726         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40727         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40728         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40729         hardcoded "nm".
40730         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40731         (READELF): New variable.  Use it instead of hardcoded "readelf".
40733 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40735         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40736         * sysdeps/x86/Makefile: Here.
40737         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40738         * sysdeps/x86/tst-xmmymm.sh: This.
40740 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40742         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40743         expectations.
40744         [UNIX98] (pthread_barrier_t): Do not expect.
40745         [UNIX98] (pthread_barrierattr_t): Likewise.
40746         [UNIX98] (pthread_spinlock_t): Likewise.
40747         [UNIX98] (pthread_barrier_destroy): Likewise.
40748         [UNIX98] (pthread_barrier_init): Likewise.
40749         [UNIX98] (pthread_barrier_wait): Likewise.
40750         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40751         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40752         [UNIX98] (pthread_barrierattr_init): Likewise.
40753         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40754         [UNIX98] (pthread_getcpuclockid): Likewise.
40755         [UNIX98] (pthread_mutex_timedlock): Likewise.
40756         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40757         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40758         [UNIX98] (pthread_sigmask): Likewise.
40759         [UNIX98] (pthread_spin_destroy): Likewise.
40760         [UNIX98] (pthread_spin_init): Likewise.
40761         [UNIX98] (pthread_spin_lock): Likewise.
40762         [UNIX98] (pthread_spin_trylock): Likewise.
40763         [UNIX98] (pthread_spin_unlock): Likewise.
40764         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40765         Do not expect.
40766         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40768         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40769         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40770         [XPG3 || XPG4] (pthread_key_t): Likewise.
40771         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40772         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40773         [XPG3 || XPG4] (pthread_once_t): Likewise.
40774         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40775         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40777         [XPG3 || XPG4] (pthread_t): Likewise.
40779         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40780         not expect.
40781         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40783         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40784         Change function return type to int.
40786         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40787         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40788         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40789         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40790         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40791         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40792         [!POSIX] (posix_madvise): Likewise.
40793         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40794         && !UNIX98].
40795         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40796         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40797         (mode_t): Likewise.
40798         (posix_mem_offset): Likewise.
40799         (posix_typed_mem_get_info): Likewise.
40800         (posix_typed_mem_open): Likewise.
40802         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40803         Change condition to [XOPEN2K8].
40805         * conform/conformtest.pl: Preprocess allow-header data with -x c
40806         instead of from stdin.
40807         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40808         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40809         [C99-based standards] (cerfc): Likewise.
40810         [C99-based standards] (cexp2): Likewise.
40811         [C99-based standards] (cexpm1): Likewise.
40812         [C99-based standards] (clog10): Likewise.
40813         [C99-based standards] (clog1p): Likewise.
40814         [C99-based standards] (clog2): Likewise.
40815         [C99-based standards] (clgamma): Likewise.
40816         [C99-based standards] (ctgamma): Likewise.
40817         [C99-based standards] (cerff): Likewise.
40818         [C99-based standards] (cerfcf): Likewise.
40819         [C99-based standards] (cexp2f): Likewise.
40820         [C99-based standards] (cexpm1f): Likewise.
40821         [C99-based standards] (clog10f): Likewise.
40822         [C99-based standards] (clog1pf): Likewise.
40823         [C99-based standards] (clog2f): Likewise.
40824         [C99-based standards] (clgammaf): Likewise.
40825         [C99-based standards] (ctgammaf): Likewise.
40826         [C99-based standards] (cerfl): Likewise.
40827         [C99-based standards] (cerfcl): Likewise.
40828         [C99-based standards] (cexp2l): Likewise.
40829         [C99-based standards] (cexpm1l): Likewise.
40830         [C99-based standards] (clog10l): Likewise.
40831         [C99-based standards] (clog1pl): Likewise.
40832         [C99-based standards] (clog2l): Likewise.
40833         [C99-based standards] (clgammal): Likewise.
40834         [C99-based standards] (ctgammal): Likewise.
40835         * conform/data/inttypes.h-data [C99-based standards]: Include
40836         stdint.h-data.  Remove all expectations for stdint.h contents.
40837         [C99-based standards] (PRI*): Do not allow.
40838         [C99-based standards] (SCN*): Likewise.
40839         [C99-based standards] (*_t): Likewise.
40840         [C99-based-standards] (PRId8): Expect macro.
40841         [C99-based-standards] (PRIi8): Likewise.
40842         [C99-based-standards] (PRIo8): Likewise.
40843         [C99-based-standards] (PRIu8): Likewise.
40844         [C99-based-standards] (PRIx8): Likewise.
40845         [C99-based-standards] (PRIX8): Likewise.
40846         [C99-based-standards] (SCNd8): Likewise.
40847         [C99-based-standards] (SCNi8): Likewise.
40848         [C99-based-standards] (SCNo8): Likewise.
40849         [C99-based-standards] (SCNu8): Likewise.
40850         [C99-based-standards] (SCNx8): Likewise.
40851         [C99-based-standards] (PRIdLEAST8): Likewise.
40852         [C99-based-standards] (PRIiLEAST8): Likewise.
40853         [C99-based-standards] (PRIoLEAST8): Likewise.
40854         [C99-based-standards] (PRIuLEAST8): Likewise.
40855         [C99-based-standards] (PRIxLEAST8): Likewise.
40856         [C99-based-standards] (PRIXLEAST8): Likewise.
40857         [C99-based-standards] (SCNdLEAST8): Likewise.
40858         [C99-based-standards] (SCNiLEAST8): Likewise.
40859         [C99-based-standards] (SCNoLEAST8): Likewise.
40860         [C99-based-standards] (SCNuLEAST8): Likewise.
40861         [C99-based-standards] (SCNxLEAST8): Likewise.
40862         [C99-based-standards] (PRIdFAST8): Likewise.
40863         [C99-based-standards] (PRIiFAST8): Likewise.
40864         [C99-based-standards] (PRIoFAST8): Likewise.
40865         [C99-based-standards] (PRIuFAST8): Likewise.
40866         [C99-based-standards] (PRIxFAST8): Likewise.
40867         [C99-based-standards] (PRIXFAST8): Likewise.
40868         [C99-based-standards] (SCNdFAST8): Likewise.
40869         [C99-based-standards] (SCNiFAST8): Likewise.
40870         [C99-based-standards] (SCNoFAST8): Likewise.
40871         [C99-based-standards] (SCNuFAST8): Likewise.
40872         [C99-based-standards] (SCNxFAST8): Likewise.
40873         [C99-based-standards] (PRId16): Likewise.
40874         [C99-based-standards] (PRIi16): Likewise.
40875         [C99-based-standards] (PRIo16): Likewise.
40876         [C99-based-standards] (PRIu16): Likewise.
40877         [C99-based-standards] (PRIx16): Likewise.
40878         [C99-based-standards] (PRIX16): Likewise.
40879         [C99-based-standards] (SCNd16): Likewise.
40880         [C99-based-standards] (SCNi16): Likewise.
40881         [C99-based-standards] (SCNo16): Likewise.
40882         [C99-based-standards] (SCNu16): Likewise.
40883         [C99-based-standards] (SCNx16): Likewise.
40884         [C99-based-standards] (PRIdLEAST16): Likewise.
40885         [C99-based-standards] (PRIiLEAST16): Likewise.
40886         [C99-based-standards] (PRIoLEAST16): Likewise.
40887         [C99-based-standards] (PRIuLEAST16): Likewise.
40888         [C99-based-standards] (PRIxLEAST16): Likewise.
40889         [C99-based-standards] (PRIXLEAST16): Likewise.
40890         [C99-based-standards] (SCNdLEAST16): Likewise.
40891         [C99-based-standards] (SCNiLEAST16): Likewise.
40892         [C99-based-standards] (SCNoLEAST16): Likewise.
40893         [C99-based-standards] (SCNuLEAST16): Likewise.
40894         [C99-based-standards] (SCNxLEAST16): Likewise.
40895         [C99-based-standards] (PRIdFAST16): Likewise.
40896         [C99-based-standards] (PRIiFAST16): Likewise.
40897         [C99-based-standards] (PRIoFAST16): Likewise.
40898         [C99-based-standards] (PRIuFAST16): Likewise.
40899         [C99-based-standards] (PRIxFAST16): Likewise.
40900         [C99-based-standards] (PRIXFAST16): Likewise.
40901         [C99-based-standards] (SCNdFAST16): Likewise.
40902         [C99-based-standards] (SCNiFAST16): Likewise.
40903         [C99-based-standards] (SCNoFAST16): Likewise.
40904         [C99-based-standards] (SCNuFAST16): Likewise.
40905         [C99-based-standards] (SCNxFAST16): Likewise.
40906         [C99-based-standards] (PRId32): Likewise.
40907         [C99-based-standards] (PRIi32): Likewise.
40908         [C99-based-standards] (PRIo32): Likewise.
40909         [C99-based-standards] (PRIu32): Likewise.
40910         [C99-based-standards] (PRIx32): Likewise.
40911         [C99-based-standards] (PRIX32): Likewise.
40912         [C99-based-standards] (SCNd32): Likewise.
40913         [C99-based-standards] (SCNi32): Likewise.
40914         [C99-based-standards] (SCNo32): Likewise.
40915         [C99-based-standards] (SCNu32): Likewise.
40916         [C99-based-standards] (SCNx32): Likewise.
40917         [C99-based-standards] (PRIdLEAST32): Likewise.
40918         [C99-based-standards] (PRIiLEAST32): Likewise.
40919         [C99-based-standards] (PRIoLEAST32): Likewise.
40920         [C99-based-standards] (PRIuLEAST32): Likewise.
40921         [C99-based-standards] (PRIxLEAST32): Likewise.
40922         [C99-based-standards] (PRIXLEAST32): Likewise.
40923         [C99-based-standards] (SCNdLEAST32): Likewise.
40924         [C99-based-standards] (SCNiLEAST32): Likewise.
40925         [C99-based-standards] (SCNoLEAST32): Likewise.
40926         [C99-based-standards] (SCNuLEAST32): Likewise.
40927         [C99-based-standards] (SCNxLEAST32): Likewise.
40928         [C99-based-standards] (PRIdFAST32): Likewise.
40929         [C99-based-standards] (PRIiFAST32): Likewise.
40930         [C99-based-standards] (PRIoFAST32): Likewise.
40931         [C99-based-standards] (PRIuFAST32): Likewise.
40932         [C99-based-standards] (PRIxFAST32): Likewise.
40933         [C99-based-standards] (PRIXFAST32): Likewise.
40934         [C99-based-standards] (SCNdFAST32): Likewise.
40935         [C99-based-standards] (SCNiFAST32): Likewise.
40936         [C99-based-standards] (SCNoFAST32): Likewise.
40937         [C99-based-standards] (SCNuFAST32): Likewise.
40938         [C99-based-standards] (SCNxFAST32): Likewise.
40939         [C99-based-standards] (PRId64): Likewise.
40940         [C99-based-standards] (PRIi64): Likewise.
40941         [C99-based-standards] (PRIo64): Likewise.
40942         [C99-based-standards] (PRIu64): Likewise.
40943         [C99-based-standards] (PRIx64): Likewise.
40944         [C99-based-standards] (PRIX64): Likewise.
40945         [C99-based-standards] (SCNd64): Likewise.
40946         [C99-based-standards] (SCNi64): Likewise.
40947         [C99-based-standards] (SCNo64): Likewise.
40948         [C99-based-standards] (SCNu64): Likewise.
40949         [C99-based-standards] (SCNx64): Likewise.
40950         [C99-based-standards] (PRIdLEAST64): Likewise.
40951         [C99-based-standards] (PRIiLEAST64): Likewise.
40952         [C99-based-standards] (PRIoLEAST64): Likewise.
40953         [C99-based-standards] (PRIuLEAST64): Likewise.
40954         [C99-based-standards] (PRIxLEAST64): Likewise.
40955         [C99-based-standards] (PRIXLEAST64): Likewise.
40956         [C99-based-standards] (SCNdLEAST64): Likewise.
40957         [C99-based-standards] (SCNiLEAST64): Likewise.
40958         [C99-based-standards] (SCNoLEAST64): Likewise.
40959         [C99-based-standards] (SCNuLEAST64): Likewise.
40960         [C99-based-standards] (SCNxLEAST64): Likewise.
40961         [C99-based-standards] (PRIdFAST64): Likewise.
40962         [C99-based-standards] (PRIiFAST64): Likewise.
40963         [C99-based-standards] (PRIoFAST64): Likewise.
40964         [C99-based-standards] (PRIuFAST64): Likewise.
40965         [C99-based-standards] (PRIxFAST64): Likewise.
40966         [C99-based-standards] (PRIXFAST64): Likewise.
40967         [C99-based-standards] (SCNdFAST64): Likewise.
40968         [C99-based-standards] (SCNiFAST64): Likewise.
40969         [C99-based-standards] (SCNoFAST64): Likewise.
40970         [C99-based-standards] (SCNuFAST64): Likewise.
40971         [C99-based-standards] (SCNxFAST64): Likewise.
40972         [C99-based-standards] (PRIdMAX): Likewise.
40973         [C99-based-standards] (PRIiMAX): Likewise.
40974         [C99-based-standards] (PRIoMAX): Likewise.
40975         [C99-based-standards] (PRIuMAX): Likewise.
40976         [C99-based-standards] (PRIxMAX): Likewise.
40977         [C99-based-standards] (PRIXMAX): Likewise.
40978         [C99-based-standards] (SCNdMAX): Likewise.
40979         [C99-based-standards] (SCNiMAX): Likewise.
40980         [C99-based-standards] (SCNoMAX): Likewise.
40981         [C99-based-standards] (SCNuMAX): Likewise.
40982         [C99-based-standards] (SCNxMAX): Likewise.
40983         [C99-based-standards] (PRIdPTR): Likewise.
40984         [C99-based-standards] (PRIiPTR): Likewise.
40985         [C99-based-standards] (PRIoPTR): Likewise.
40986         [C99-based-standards] (PRIuPTR): Likewise.
40987         [C99-based-standards] (PRIxPTR): Likewise.
40988         [C99-based-standards] (PRIXPTR): Likewise.
40989         [C99-based-standards] (SCNdPTR): Likewise.
40990         [C99-based-standards] (SCNiPTR): Likewise.
40991         [C99-based-standards] (SCNoPTR): Likewise.
40992         [C99-based-standards] (SCNuPTR): Likewise.
40993         [C99-based-standards] (SCNxPTR): Likewise.
40994         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40995         allow.
40996         * conform/data/stdint.h-data: Update comments to clarify
40997         requirements.
40998         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40999         type.
41000         [C99-based standards] (INT8_MAX): Likewise.
41001         [C99-based standards] (INT16_MIN): Likewise.
41002         [C99-based standards] (INT16_MAX): Likewise.
41003         [C99-based standards] (INT32_MIN): Likewise.
41004         [C99-based standards] (INT32_MAX): Likewise.
41005         [C99-based standards] (INT64_MIN): Likewise.
41006         [C99-based standards] (INT64_MAX): Likewise.
41007         [C99-based standards] (UINT8_MAX): Likewise.
41008         [C99-based standards] (UINT16_MAX): Likewise.
41009         [C99-based standards] (UINT32_MAX): Likewise.
41010         [C99-based standards] (UINT64_MAX): Likewise.
41011         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41012         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41013         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41014         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41015         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41016         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41017         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41018         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41019         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41020         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41021         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41022         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41023         [C99-based standards] (INT_FAST8_MIN): Likewise.
41024         [C99-based standards] (INT_FAST8_MAX): Likewise.
41025         [C99-based standards] (INT_FAST16_MIN): Likewise.
41026         [C99-based standards] (INT_FAST16_MAX): Likewise.
41027         [C99-based standards] (INT_FAST32_MIN): Likewise.
41028         [C99-based standards] (INT_FAST32_MAX): Likewise.
41029         [C99-based standards] (INT_FAST64_MIN): Likewise.
41030         [C99-based standards] (INT_FAST64_MAX): Likewise.
41031         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41032         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41033         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41034         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41035         [C99-based standards] (INTPTR_MIN): Likewise.
41036         [C99-based standards] (INTPTR_MAX): Likewise.
41037         [C99-based standards] (UINTPTR_MAX): Likewise.
41038         [C99-based standards] (INTMAX_MIN): Likewise.
41039         [C99-based standards] (INTMAX_MAX): Likewise.
41040         [C99-based standards] (UINTMAX_MAX): Likewise.
41041         [C99-based standards] (PTRDIFF_MIN): Likewise.
41042         [C99-based standards] (PTRDIFF_MAX): Likewise.
41043         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41044         [C99-based standards] (SIZE_MAX): Likewise.
41045         [C99-based standards] (WCHAR_MAX): Likewise.
41046         [C99-based standards] (WINT_MAX): Likewise.
41047         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41048         constraint on value.
41049         [C99-based standards] (WCHAR_MIN): Likewise.
41050         [C99-based standards] (WINT_MIN): Likewise.
41051         [C99-based standards] (*_t): Allow.
41052         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41053         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41054         Include math.h-data and complex.h-data.  Remove all expectations
41055         of math.h and complex.h contents.
41056         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41057         at end of line.
41058         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41059         (struct tm): Expect tag.
41060         [C99-based-standards] (wcstof): Expect function.
41061         [C99-based-standards] (wcstold): Likewise.
41062         [C99-based-standards] (wcstoll): Likewise.
41063         [C99-based-standards] (wcstoull): Likewise.
41064         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41065         macro-int-constant.  Specify type.
41066         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41067         constraint on value.
41068         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41069         Specify type.
41070         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41071         Specify value.
41072         [ISO C standards]: Do not allow headers.
41073         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41074         wcs[abcdefghijklmnopqrstuvwxyz]*.
41075         [ISO C standards] (*_t): Do not allow.
41076         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41077         Expect function.
41078         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41079         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41080         Specify type.
41081         [ISO C standards]: Do not allow headers.
41082         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41083         is[abcdefghijklmnopqrstuvwxyz]*.
41084         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41085         to[abcdefghijklmnopqrstuvwxyz]*.
41086         [ISO C standards] (*_t): Do not allow.
41087         * conform/data/stdalign.h-data: New file.
41088         * conform/data/stdbool.h-data: Likewise.
41089         * conform/data/stdnoreturn.h-data: Likewise.
41091 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41093         [BZ #14815]
41094         * manual/filesys.texi (Directory Entries): Typo fix.
41095         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41097 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41099         * elf/elf.h (EM_AARCH64): New macro.
41100         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41101         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41102         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41103         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41104         (R_AARCH64_TLSDESC): Likewise.
41105         (NT_ARM_TLS): Likewise.
41106         (NT_ARM_HW_BREAK): Likewise.
41107         (NT_ARM_HW_WATCH): Likewise.
41109 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41111         [BZ #14811]
41112         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41113         (__ieee754_powl): Saturate nonzero exponents with absolute value
41114         below 0x1p-79 to +/- 0x1p-79.
41115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41116         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41117         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41118         nonzero exponents with absolute value below 0x1p-32 to +/-
41119         0x1p-32.
41120         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41121         (__ieee754_powl): Saturate nonzero exponents with absolute value
41122         below 0x1p-79 to +/- 0x1p-79.
41123         * math/libm-test.inc (pow_test): Add more tests.
41125 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41127         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41128         _dl_s390_cap_flags with kernel. Increase string length.
41129         (_dl_s390_platforms): Add z196 and zEC12.
41131 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41133         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41134         Change XOPEN21K to XOPEN2K.
41136 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41138         * string/memmove.c: Use memcpy when possible.
41140 2012-11-06  Andreas Jaeger  <aj@suse.de>
41142         * po/eo.po: Update from translation team.
41144 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41146         [BZ #14793]
41147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41148         exponent and small x and y exponents, scale x or y up.  Increase
41149         by 2 the exponent used in scaling up.
41150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41152         * math/libm-test.inc (fma_test): Add more tests.
41153         (fma_test_towardzero): Likewise.
41154         (fma_test_downward): Likewise.
41155         (fma_test_upward): Likewise.
41157 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41159         [BZ #14805]
41160         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41161         fenv_t *.
41163         [BZ #14801]
41164         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41165         namespace for names of struct fields.
41166         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41167         fenv_t fields.
41168         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41169         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41171 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41173         [BZ #3665]
41174         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41176 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41178         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41179         PTR_DEMANGLE.
41181         [BZ #5246]
41182         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41183         PTR_DEMANGLE.
41185 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41187         [BZ #14797]
41188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41189         definitely overflow as x * y not x * y + z.
41190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41191         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41192         * math/libm-test.inc (fma_test): Add more tests.
41193         (fma_test_towardzero): Likewise.
41194         (fma_test_downward): Likewise.
41195         (fma_test_upward): Likewise.
41197 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41199         [BZ #157]
41201         * include/stub-tag.h: Remove file.
41202         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41203         '#include' of it.
41204         * manual/maint.texi (Porting): Don't reference it.
41205         * Makerules ($(objpfx)stubs): Likewise.
41206         * dirent/closedir.c: Don't include <stub-tag.h>.
41207         * dirent/dirfd.c: Likewise.
41208         * dirent/fdopendir.c: Likewise.
41209         * dirent/getdents.c: Likewise.
41210         * dirent/getdents64.c: Likewise.
41211         * dirent/opendir.c: Likewise.
41212         * dirent/readdir.c: Likewise.
41213         * dirent/readdir64.c: Likewise.
41214         * dirent/readdir64_r.c: Likewise.
41215         * dirent/readdir_r.c: Likewise.
41216         * dirent/rewinddir.c: Likewise.
41217         * dirent/seekdir.c: Likewise.
41218         * dirent/telldir.c: Likewise.
41219         * gmon/profil.c: Likewise.
41220         * grp/setgroups.c: Likewise.
41221         * inet/if_index.c: Likewise.
41222         * io/access.c: Likewise.
41223         * io/chdir.c: Likewise.
41224         * io/chmod.c: Likewise.
41225         * io/chown.c: Likewise.
41226         * io/close.c: Likewise.
41227         * io/dup.c: Likewise.
41228         * io/dup2.c: Likewise.
41229         * io/dup3.c: Likewise.
41230         * io/euidaccess.c: Likewise.
41231         * io/faccessat.c: Likewise.
41232         * io/fchdir.c: Likewise.
41233         * io/fchmod.c: Likewise.
41234         * io/fchmodat.c: Likewise.
41235         * io/fchown.c: Likewise.
41236         * io/fchownat.c: Likewise.
41237         * io/fcntl.c: Likewise.
41238         * io/flock.c: Likewise.
41239         * io/fstatfs.c: Likewise.
41240         * io/fstatfs64.c: Likewise.
41241         * io/fstatvfs.c: Likewise.
41242         * io/fstatvfs64.c: Likewise.
41243         * io/futimens.c: Likewise.
41244         * io/fxstat.c: Likewise.
41245         * io/fxstat64.c: Likewise.
41246         * io/fxstatat.c: Likewise.
41247         * io/fxstatat64.c: Likewise.
41248         * io/getcwd.c: Likewise.
41249         * io/isatty.c: Likewise.
41250         * io/lchmod.c: Likewise.
41251         * io/lchown.c: Likewise.
41252         * io/link.c: Likewise.
41253         * io/linkat.c: Likewise.
41254         * io/lseek.c: Likewise.
41255         * io/lseek64.c: Likewise.
41256         * io/lxstat64.c: Likewise.
41257         * io/mkdir.c: Likewise.
41258         * io/mkdirat.c: Likewise.
41259         * io/mkfifo.c: Likewise.
41260         * io/mkfifoat.c: Likewise.
41261         * io/open.c: Likewise.
41262         * io/open64.c: Likewise.
41263         * io/openat.c: Likewise.
41264         * io/openat64.c: Likewise.
41265         * io/pipe.c: Likewise.
41266         * io/pipe2.c: Likewise.
41267         * io/poll.c: Likewise.
41268         * io/posix_fadvise.c: Likewise.
41269         * io/posix_fadvise64.c: Likewise.
41270         * io/posix_fallocate.c: Likewise.
41271         * io/posix_fallocate64.c: Likewise.
41272         * io/read.c: Likewise.
41273         * io/readlink.c: Likewise.
41274         * io/readlinkat.c: Likewise.
41275         * io/rmdir.c: Likewise.
41276         * io/sendfile.c: Likewise.
41277         * io/sendfile64.c: Likewise.
41278         * io/statfs.c: Likewise.
41279         * io/statfs64.c: Likewise.
41280         * io/statvfs.c: Likewise.
41281         * io/statvfs64.c: Likewise.
41282         * io/symlink.c: Likewise.
41283         * io/symlinkat.c: Likewise.
41284         * io/ttyname.c: Likewise.
41285         * io/ttyname_r.c: Likewise.
41286         * io/umask.c: Likewise.
41287         * io/unlink.c: Likewise.
41288         * io/unlinkat.c: Likewise.
41289         * io/utime.c: Likewise.
41290         * io/utimensat.c: Likewise.
41291         * io/write.c: Likewise.
41292         * io/xmknod.c: Likewise.
41293         * io/xmknodat.c: Likewise.
41294         * io/xstat.c: Likewise.
41295         * io/xstat64.c: Likewise.
41296         * login/getpt.c: Likewise.
41297         * login/grantpt.c: Likewise.
41298         * login/unlockpt.c: Likewise.
41299         * math/e_acoshl.c: Likewise.
41300         * math/e_acosl.c: Likewise.
41301         * math/e_asinl.c: Likewise.
41302         * math/e_atan2l.c: Likewise.
41303         * math/e_atanhl.c: Likewise.
41304         * math/e_coshl.c: Likewise.
41305         * math/e_expl.c: Likewise.
41306         * math/e_fmodl.c: Likewise.
41307         * math/e_gammal_r.c: Likewise.
41308         * math/e_hypotl.c: Likewise.
41309         * math/e_j0l.c: Likewise.
41310         * math/e_j1l.c: Likewise.
41311         * math/e_jnl.c: Likewise.
41312         * math/e_lgammal_r.c: Likewise.
41313         * math/e_log10l.c: Likewise.
41314         * math/e_log2l.c: Likewise.
41315         * math/e_logl.c: Likewise.
41316         * math/e_powl.c: Likewise.
41317         * math/e_rem_pio2l.c: Likewise.
41318         * math/e_sinhl.c: Likewise.
41319         * math/e_sqrtl.c: Likewise.
41320         * math/fclrexcpt.c: Likewise.
41321         * math/fedisblxcpt.c: Likewise.
41322         * math/feenablxcpt.c: Likewise.
41323         * math/fegetenv.c: Likewise.
41324         * math/fegetexcept.c: Likewise.
41325         * math/fegetround.c: Likewise.
41326         * math/feholdexcpt.c: Likewise.
41327         * math/fesetenv.c: Likewise.
41328         * math/fesetround.c: Likewise.
41329         * math/feupdateenv.c: Likewise.
41330         * math/fgetexcptflg.c: Likewise.
41331         * math/fraiseexcpt.c: Likewise.
41332         * math/fsetexcptflg.c: Likewise.
41333         * math/ftestexcept.c: Likewise.
41334         * math/k_cosl.c: Likewise.
41335         * math/k_rem_pio2l.c: Likewise.
41336         * math/k_sinl.c: Likewise.
41337         * math/k_tanl.c: Likewise.
41338         * math/s_asinhl.c: Likewise.
41339         * math/s_atanl.c: Likewise.
41340         * math/s_cbrtl.c: Likewise.
41341         * math/s_erfl.c: Likewise.
41342         * math/s_expm1l.c: Likewise.
41343         * math/s_log1pl.c: Likewise.
41344         * math/s_tanhl.c: Likewise.
41345         * misc/acct.c: Likewise.
41346         * misc/brk.c: Likewise.
41347         * misc/chflags.c: Likewise.
41348         * misc/chroot.c: Likewise.
41349         * misc/fchflags.c: Likewise.
41350         * misc/fgetxattr.c: Likewise.
41351         * misc/flistxattr.c: Likewise.
41352         * misc/fremovexattr.c: Likewise.
41353         * misc/fsetxattr.c: Likewise.
41354         * misc/fsync.c: Likewise.
41355         * misc/ftruncate.c: Likewise.
41356         * misc/futimes.c: Likewise.
41357         * misc/futimesat.c: Likewise.
41358         * misc/getdomain.c: Likewise.
41359         * misc/getdtsz.c: Likewise.
41360         * misc/gethostid.c: Likewise.
41361         * misc/gethostname.c: Likewise.
41362         * misc/getloadavg.c: Likewise.
41363         * misc/getpagesize.c: Likewise.
41364         * misc/getsysstats.c: Likewise.
41365         * misc/getxattr.c: Likewise.
41366         * misc/gtty.c: Likewise.
41367         * misc/ioctl.c: Likewise.
41368         * misc/lgetxattr.c: Likewise.
41369         * misc/listxattr.c: Likewise.
41370         * misc/llistxattr.c: Likewise.
41371         * misc/lremovexattr.c: Likewise.
41372         * misc/lsetxattr.c: Likewise.
41373         * misc/lutimes.c: Likewise.
41374         * misc/madvise.c: Likewise.
41375         * misc/mincore.c: Likewise.
41376         * misc/mlock.c: Likewise.
41377         * misc/mlockall.c: Likewise.
41378         * misc/mmap.c: Likewise.
41379         * misc/mprotect.c: Likewise.
41380         * misc/msync.c: Likewise.
41381         * misc/munlock.c: Likewise.
41382         * misc/munlockall.c: Likewise.
41383         * misc/munmap.c: Likewise.
41384         * misc/preadv.c: Likewise.
41385         * misc/preadv64.c: Likewise.
41386         * misc/ptrace.c: Likewise.
41387         * misc/pwritev.c: Likewise.
41388         * misc/pwritev64.c: Likewise.
41389         * misc/readv.c: Likewise.
41390         * misc/reboot.c: Likewise.
41391         * misc/remap_file_pages.c: Likewise.
41392         * misc/removexattr.c: Likewise.
41393         * misc/revoke.c: Likewise.
41394         * misc/select.c: Likewise.
41395         * misc/setdomain.c: Likewise.
41396         * misc/setegid.c: Likewise.
41397         * misc/seteuid.c: Likewise.
41398         * misc/sethostid.c: Likewise.
41399         * misc/sethostname.c: Likewise.
41400         * misc/setregid.c: Likewise.
41401         * misc/setreuid.c: Likewise.
41402         * misc/setxattr.c: Likewise.
41403         * misc/sstk.c: Likewise.
41404         * misc/stty.c: Likewise.
41405         * misc/swapoff.c: Likewise.
41406         * misc/swapon.c: Likewise.
41407         * misc/sync.c: Likewise.
41408         * misc/syncfs.c: Likewise.
41409         * misc/syscall.c: Likewise.
41410         * misc/truncate.c: Likewise.
41411         * misc/ualarm.c: Likewise.
41412         * misc/usleep.c: Likewise.
41413         * misc/ustat.c: Likewise.
41414         * misc/utimes.c: Likewise.
41415         * misc/vhangup.c: Likewise.
41416         * misc/writev.c: Likewise.
41417         * posix/_exit.c: Likewise.
41418         * posix/alarm.c: Likewise.
41419         * posix/execve.c: Likewise.
41420         * posix/fexecve.c: Likewise.
41421         * posix/fork.c: Likewise.
41422         * posix/fpathconf.c: Likewise.
41423         * posix/getaddrinfo.c: Likewise.
41424         * posix/getegid.c: Likewise.
41425         * posix/geteuid.c: Likewise.
41426         * posix/getgid.c: Likewise.
41427         * posix/getgroups.c: Likewise.
41428         * posix/getlogin.c: Likewise.
41429         * posix/getlogin_r.c: Likewise.
41430         * posix/getpgid.c: Likewise.
41431         * posix/getpid.c: Likewise.
41432         * posix/getppid.c: Likewise.
41433         * posix/getresgid.c: Likewise.
41434         * posix/getresuid.c: Likewise.
41435         * posix/getsid.c: Likewise.
41436         * posix/getuid.c: Likewise.
41437         * posix/glob64.c: Likewise.
41438         * posix/nanosleep.c: Likewise.
41439         * posix/pathconf.c: Likewise.
41440         * posix/pause.c: Likewise.
41441         * posix/posix_madvise.c: Likewise.
41442         * posix/pread.c: Likewise.
41443         * posix/pread64.c: Likewise.
41444         * posix/pwrite.c: Likewise.
41445         * posix/pwrite64.c: Likewise.
41446         * posix/sched_getaffinity.c: Likewise.
41447         * posix/sched_getp.c: Likewise.
41448         * posix/sched_gets.c: Likewise.
41449         * posix/sched_primax.c: Likewise.
41450         * posix/sched_primin.c: Likewise.
41451         * posix/sched_rr_gi.c: Likewise.
41452         * posix/sched_setaffinity.c: Likewise.
41453         * posix/sched_setp.c: Likewise.
41454         * posix/sched_sets.c: Likewise.
41455         * posix/sched_yield.c: Likewise.
41456         * posix/setgid.c: Likewise.
41457         * posix/setlogin.c: Likewise.
41458         * posix/setpgid.c: Likewise.
41459         * posix/setresgid.c: Likewise.
41460         * posix/setresuid.c: Likewise.
41461         * posix/setsid.c: Likewise.
41462         * posix/setuid.c: Likewise.
41463         * posix/sleep.c: Likewise.
41464         * posix/spawni.c: Likewise.
41465         * posix/sysconf.c: Likewise.
41466         * posix/times.c: Likewise.
41467         * posix/wait.c: Likewise.
41468         * posix/wait3.c: Likewise.
41469         * posix/wait4.c: Likewise.
41470         * posix/waitpid.c: Likewise.
41471         * resolv/gai_sigqueue.c: Likewise.
41472         * resource/getpriority.c: Likewise.
41473         * resource/getrlimit.c: Likewise.
41474         * resource/getrusage.c: Likewise.
41475         * resource/nice.c: Likewise.
41476         * resource/setpriority.c: Likewise.
41477         * resource/setrlimit.c: Likewise.
41478         * resource/ulimit.c: Likewise.
41479         * rt/aio_cancel.c: Likewise.
41480         * rt/aio_fsync.c: Likewise.
41481         * rt/aio_read.c: Likewise.
41482         * rt/aio_sigqueue.c: Likewise.
41483         * rt/aio_suspend.c: Likewise.
41484         * rt/aio_write.c: Likewise.
41485         * rt/clock_getres.c: Likewise.
41486         * rt/clock_gettime.c: Likewise.
41487         * rt/clock_nanosleep.c: Likewise.
41488         * rt/clock_settime.c: Likewise.
41489         * rt/lio_listio.c: Likewise.
41490         * rt/mq_close.c: Likewise.
41491         * rt/mq_getattr.c: Likewise.
41492         * rt/mq_notify.c: Likewise.
41493         * rt/mq_open.c: Likewise.
41494         * rt/mq_receive.c: Likewise.
41495         * rt/mq_send.c: Likewise.
41496         * rt/mq_setattr.c: Likewise.
41497         * rt/mq_timedreceive.c: Likewise.
41498         * rt/mq_timedsend.c: Likewise.
41499         * rt/mq_unlink.c: Likewise.
41500         * rt/shm_open.c: Likewise.
41501         * rt/shm_unlink.c: Likewise.
41502         * rt/timer_create.c: Likewise.
41503         * rt/timer_delete.c: Likewise.
41504         * rt/timer_getoverr.c: Likewise.
41505         * rt/timer_gettime.c: Likewise.
41506         * rt/timer_settime.c: Likewise.
41507         * setjmp/__longjmp.c: Likewise.
41508         * setjmp/setjmp.c: Likewise.
41509         * signal/kill.c: Likewise.
41510         * signal/killpg.c: Likewise.
41511         * signal/raise.c: Likewise.
41512         * signal/sigaction.c: Likewise.
41513         * signal/sigaltstack.c: Likewise.
41514         * signal/sigblock.c: Likewise.
41515         * signal/sigignore.c: Likewise.
41516         * signal/sigintr.c: Likewise.
41517         * signal/signal.c: Likewise.
41518         * signal/sigpause.c: Likewise.
41519         * signal/sigpending.c: Likewise.
41520         * signal/sigqueue.c: Likewise.
41521         * signal/sigreturn.c: Likewise.
41522         * signal/sigset.c: Likewise.
41523         * signal/sigsetmask.c: Likewise.
41524         * signal/sigstack.c: Likewise.
41525         * signal/sigsuspend.c: Likewise.
41526         * signal/sigtimedwait.c: Likewise.
41527         * signal/sigvec.c: Likewise.
41528         * signal/sigwait.c: Likewise.
41529         * signal/sigwaitinfo.c: Likewise.
41530         * signal/sysv_signal.c: Likewise.
41531         * socket/accept.c: Likewise.
41532         * socket/accept4.c: Likewise.
41533         * socket/bind.c: Likewise.
41534         * socket/connect.c: Likewise.
41535         * socket/getpeername.c: Likewise.
41536         * socket/getsockname.c: Likewise.
41537         * socket/getsockopt.c: Likewise.
41538         * socket/isfdtype.c: Likewise.
41539         * socket/listen.c: Likewise.
41540         * socket/recv.c: Likewise.
41541         * socket/recvfrom.c: Likewise.
41542         * socket/recvmsg.c: Likewise.
41543         * socket/send.c: Likewise.
41544         * socket/sendmsg.c: Likewise.
41545         * socket/sendto.c: Likewise.
41546         * socket/setsockopt.c: Likewise.
41547         * socket/shutdown.c: Likewise.
41548         * socket/sockatmark.c: Likewise.
41549         * socket/socket.c: Likewise.
41550         * socket/socketpair.c: Likewise.
41551         * stdio-common/ctermid.c: Likewise.
41552         * stdio-common/cuserid.c: Likewise.
41553         * stdio-common/remove.c: Likewise.
41554         * stdio-common/rename.c: Likewise.
41555         * stdio-common/renameat.c: Likewise.
41556         * stdio-common/tempname.c: Likewise.
41557         * stdlib/getcontext.c: Likewise.
41558         * stdlib/makecontext.c: Likewise.
41559         * stdlib/setcontext.c: Likewise.
41560         * stdlib/swapcontext.c: Likewise.
41561         * stdlib/system.c: Likewise.
41562         * streams/fattach.c: Likewise.
41563         * streams/fdetach.c: Likewise.
41564         * streams/getmsg.c: Likewise.
41565         * streams/getpmsg.c: Likewise.
41566         * streams/putmsg.c: Likewise.
41567         * streams/putpmsg.c: Likewise.
41568         * sysdeps/unix/bsd/getpt.c: Likewise.
41569         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41570         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41571         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41573         Likewise.
41574         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41575         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41576         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41577         * sysvipc/msgctl.c: Likewise.
41578         * sysvipc/msgget.c: Likewise.
41579         * sysvipc/msgrcv.c: Likewise.
41580         * sysvipc/msgsnd.c: Likewise.
41581         * sysvipc/semctl.c: Likewise.
41582         * sysvipc/semget.c: Likewise.
41583         * sysvipc/semop.c: Likewise.
41584         * sysvipc/semtimedop.c: Likewise.
41585         * sysvipc/shmat.c: Likewise.
41586         * sysvipc/shmctl.c: Likewise.
41587         * sysvipc/shmdt.c: Likewise.
41588         * sysvipc/shmget.c: Likewise.
41589         * termios/tcdrain.c: Likewise.
41590         * termios/tcflow.c: Likewise.
41591         * termios/tcflush.c: Likewise.
41592         * termios/tcgetattr.c: Likewise.
41593         * termios/tcgetpgrp.c: Likewise.
41594         * termios/tcsendbrk.c: Likewise.
41595         * termios/tcsetattr.c: Likewise.
41596         * termios/tcsetpgrp.c: Likewise.
41597         * time/adjtime.c: Likewise.
41598         * time/clock.c: Likewise.
41599         * time/getitimer.c: Likewise.
41600         * time/gettimeofday.c: Likewise.
41601         * time/setitimer.c: Likewise.
41602         * time/settimeofday.c: Likewise.
41603         * time/stime.c: Likewise.
41604         * time/time.c: Likewise.
41606 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41608         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41609         /usr/old/bin.
41611         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41612         instead of spaces.
41613         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41615 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41617         [BZ #14796]
41618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41619         FE_TONEAREST before applying Dekker multiplication and Knuth
41620         addition.  Clear inexact exceptions and check for exact zero
41621         results afterwards.
41622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41623         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41625         * math/libm-test.inc (fma_test): Add more tests.
41626         (fma_test_towardzero): Likewise.
41627         (fma_test_downward): Likewise.
41628         (fma_test_upward): Likewise.
41629         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41630         function.
41631         (libc_fesetround): New macro.
41632         (libc_fesetroundf): Likewise.
41633         (libc_fesetroundl): Likewise.
41634         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41635         function.
41636         (libc_fesetround_387): Likewise.
41637         (libc_fesetroundf): New macro.
41638         (libc_fesetround): Likewise.
41639         (libc_fesetroundl): Likewise.
41640         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41641         function.
41642         (libc_fesetroundf): New macro.
41643         (libc_fesetround): Likewise.
41644         (libc_fesetroundl): Likewise.
41645         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41646         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41647         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41648         libm_hidden_ver.
41649         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41650         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41651         libm_hidden_def.
41652         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41653         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41654         libm_hidden_ver.
41655         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41656         libm_hidden_def.
41658         [BZ #3439]
41659         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41660         integer constant usable in #if and use that to give value to enum
41661         constant.
41662         (FE_DIVBYZERO): Likewise.
41663         (FE_UNDERFLOW): Likewise.
41664         (FE_OVERFLOW): Likewise.
41665         (FE_INVALID): Likewise.
41666         (FE_INVALID_SNAN): Likewise.
41667         (FE_INVALID_ISI): Likewise.
41668         (FE_INVALID_IDI): Likewise.
41669         (FE_INVALID_ZDZ): Likewise.
41670         (FE_INVALID_IMZ): Likewise.
41671         (FE_INVALID_COMPARE): Likewise.
41672         (FE_INVALID_SOFTWARE): Likewise.
41673         (FE_INVALID_SQRT): Likewise.
41674         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41675         (FE_TONEAREST): Likewise.
41676         (FE_TOWARDZERO): Likewise.
41677         (FE_UPWARD): Likewise.
41678         (FE_DOWNWARD): Likewise.
41679         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41680         (FE_DIVBYZERO): Likewise.
41681         (FE_OVERFLOW): Likewise.
41682         (FE_UNDERFLOW): Likewise.
41683         (FE_INEXACT): Likewise.
41684         (FE_TONEAREST): Likewise.
41685         (FE_DOWNWARD): Likewise.
41686         (FE_UPWARD): Likewise.
41687         (FE_TOWARDZERO): Likewise.
41688         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41689         (FE_UNDERFLOW): Likewise.
41690         (FE_OVERFLOW): Likewise.
41691         (FE_DIVBYZERO): Likewise.
41692         (FE_INVALID): Likewise.
41693         (FE_TONEAREST): Likewise.
41694         (FE_TOWARDZERO): Likewise.
41695         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41696         (FE_OVERFLOW): Likewise.
41697         (FE_UNDERFLOW): Likewise.
41698         (FE_DIVBYZERO): Likewise.
41699         (FE_INEXACT): Likewise.
41700         (FE_TONEAREST): Likewise.
41701         (FE_TOWARDZERO): Likewise.
41702         (FE_UPWARD): Likewise.
41703         (FE_DOWNWARD): Likewise.
41704         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41705         (FE_DIVBYZERO): Likewise.
41706         (FE_OVERFLOW): Likewise.
41707         (FE_UNDERFLOW): Likewise.
41708         (FE_INEXACT): Likewise.
41709         (FE_TONEAREST): Likewise.
41710         (FE_DOWNWARD): Likewise.
41711         (FE_UPWARD): Likewise.
41712         (FE_TOWARDZERO): Likewise.
41714 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41716         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41718 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41720         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41721         commands.  Quote $PWD.
41722         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41723         -x" by "export".
41724         (remove_newlines): Remove.
41726 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41728         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41729         * stdlib/stdlib.h (atof): Moved to ...
41730         * include/bits/stdlib-float.h: Here.  New file.
41731         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41732         * stdlib/bits/stdlib-float.h: New file.
41733         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41734         -mno-sse -mno-mmx.
41735         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41736         <xmmintrin.h>.
41738 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41740         * conform/conformtest.pl (@headers): Add fenv.h.
41741         * conform/data/fenv.h-data: New file.
41742         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41743         include of <math/fenv.h>.
41745         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41746         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41747         && !UNIX98].  Enables tests for XOPEN2K8.
41748         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41749         POSIX2008]: Likewise.
41751         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41752         (struct rusage): Do not expect type or its members.
41754         [BZ #3439]
41755         * math/math.h (FP_NAN): Define macro to integer constant usable in
41756         #if and use that to give value to enum constant.
41757         (FP_INFINITE): Likewise.
41758         (FP_ZERO): Likewise.
41759         (FP_SUBNORMAL): Likewise.
41760         (FP_NORMAL): Likewise.
41762 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41764         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41765         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41766         arguments.
41768 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41770         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41771         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41772         autoconf-time if not.
41773         * configure.in: Remove AC_PREREQ.
41775 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41777         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41778         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41779         of the internal implementation.
41781 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41783         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41784         except include of <misc/sys/syslog.h>.
41786 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41789         function returns with a NULL context exit with zero.
41791 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41793         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41795 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41797         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41798         (run_program_cmd): This.
41799         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41800         (tst_langinfo): New variable.  Use it.
41802 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41804         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41805         floating point opcodes.
41807 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41809         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41810         variable.
41812         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41814         * sysdeps/mach/hurd/powerpc: Remove directory.
41815         * sysdeps/mach/powerpc: Likewise.
41817 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41819         * scripts/check-local-headers.sh: Ignore c++ headers.
41821 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41823         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41824         __libc_cleanup_region_start argument.
41826 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41828         [BZ #14784]
41829         [BZ #14785]
41830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41831         x * y using scaling, not as x * y + z.
41832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41833         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41834         * math/libm-test.inc (fma_test): Add more tests.
41835         (fma_test_towardzero): Likewise.
41836         (fma_test_downward): Likewise.
41837         (fma_test_upward): Likewise.
41839 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41841         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41843 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41845         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41846         New variable.
41848 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41850         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41852 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41855         Fix sort order.
41856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41857         Likewise.
41859 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41862         Fix the order of the list for glibc 2.17.
41863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41864         Likewise.
41866 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41870 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41872         [BZ #14610]
41873         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41874         for low part of x being zero before using __atanl (y).
41875         * math/libm-test.inc (atan2_test): Add another test.
41877         * manual/install.texi (Configuring and compiling): Document
41878         general use of test-wrapper and test-wrapper-env.
41879         * INSTALL: Regenerated.
41881         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41882         (__fma): Do not extract and scale down low bits on after-rounding
41883         systems when result rounded to normal precision would have normal
41884         exponent.
41885         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41886         (__fmal): Do not extract and scale down low bits on after-rounding
41887         systems when result rounded to normal precision would have normal
41888         exponent.
41889         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41890         (__fmal): Do not extract and scale down low bits on after-rounding
41891         systems when result rounded to normal precision would have normal
41892         exponent.
41893         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41894         macro.
41895         (fma_test): Add more tests.
41896         (fma_test_towardzero): Likewise.
41897         (fma_test_downward): Likewise.
41898         (fma_test_upward): Likewise.
41900 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41902         * sysdeps/i386/tininess.h: Renamed to ...
41903         * sysdeps/x86/tininess.h: This.
41904         * sysdeps/x86_64/tininess.h: Removed.
41906 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41908         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41909         input.  Use $(build-program-cmd).
41910         ($(objpfx)tst-array1-static.out): Likewise.
41911         ($(objpfx)tst-array2.out): Likewise.
41912         ($(objpfx)tst-array3.out): Likewise.
41913         ($(objpfx)tst-array4.out): Likewise.
41914         ($(objpfx)tst-array5.out): Likewise.
41915         ($(objpfx)tst-array5-static.out): Likewise.
41917 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41919         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41920         if defined.
41922         * nss/nsswitch.h (nss_interface_function): Provide new
41923         macro for use with NSS functions.
41924         * grp/initgroups.c: Use new macro.
41925         * nss/getXXbyYY.c: Likewise.
41926         * nss/getXXbyYY_r.c: Likewise.
41927         * nss/getXXent.c: Likewise.
41928         * nss/getXXent_r.c: Likewise.
41929         * sysdeps/posix/getaddrinfo.c: Likewise.
41931 2012-10-30  Andreas Jaeger  <aj@suse.de>
41933         * po/ru.po: Update Russion translation from translation project.
41935 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41937         [BZ #14152]
41938         [BZ #14783]
41939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41940         result and shift together with sticky bit instead of replicating
41941         round-to-nearest rounding.
41942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41944         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41945         missing underflow exceptions.
41946         (fma_test_towardzero): Add more tests.
41947         (fma_test_downward): Likewise.
41948         (fma_test_upward): Likewise.
41950         [BZ #14047]
41951         * sysdeps/generic/tininess.h: New file.
41952         * sysdeps/i386/tininess.h: Likewise.
41953         * sysdeps/sh/tininess.h: Likewise.
41954         * sysdeps/x86_64/tininess.h: Likewise.
41955         * stdlib/tst-strtod-underflow.c: Likewise.
41956         * stdlib/tst-tininess.c: Likewise.
41957         * stdlib/strtod_l.c: Include <tininess.h>.
41958         (round_and_return): Do not set errno for exact underflow cases.
41959         Force an underflow exception when setting errno for underflow.
41960         Determine underflow based on rounding to normal precision if
41961         TININESS_AFTER_ROUNDING.
41962         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41963         ERANGE for exact underflow cases.
41964         * stdlib/Makefile (tests): Add tst-tininess and
41965         tst-strtod-underflow.
41966         ($(objpfx)tst-tininess): Use $(link-libm).
41967         ($(objpfx)tst-strtod-underflow): Likewise.
41969 2012-10-30  Andreas Jaeger  <aj@suse.de>
41971         [BZ#14767]
41972         * elf/Makefile (tests): Remove conditional for have-initfini-array
41973         since this is now always required and the variable does not exist
41974         anymore.
41975         (tests-static): Likewise.
41976         (modules-names): Likewise.
41978         * po/eo.po: Add Esperanto translation from translation project.
41980         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41981         merged with constructor/destructor.
41982         (init_array): Likewise.
41983         * elf/tst-array2dep.c (fini_array): Likewise.
41984         (init_array): Likewise.
41986 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41988         * manual/message.texi: Delete @cartouche tags.
41990 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41992         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41993         EOPNOTSUPP.
41994         * sysdeps/mach/hurd/fsync.c: Likewise.
41996         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41997         [_POSIX_REALTIME_SIGNALS]: Change condition to
41998         [_POSIX_REALTIME_SIGNALS > 0].
42000 2012-10-27  Andreas Jaeger  <aj@suse.de>
42002         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42003         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42005         [__WORDSIZE != 64]: Likewise.
42007 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42009         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42010         *  iconvdata/tst-tables.sh: Likewise.
42012 2012-10-25  David S. Miller  <davem@davemloft.net>
42014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42015         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42016         of strtoull.
42018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42019         ifunc-impl-list.c
42020         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42021         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42022         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42023         file.
42025 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42027         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42028         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42029         __getdirentries.
42031 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42032             Jim Blandy  <jimb@codesourcery.com>
42034         * scripts/cross-test-ssh.sh: New file.
42035         * manual/install.texi (Configuring and compiling): Document use of
42036         cross-test-ssh.sh.
42037         * INSTALL: Regenerated.
42039 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42041         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42042         EOPNOTSUPP.
42044 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42046         * Makeconfig (run-program-prefix): Fix comment.
42048 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42049             Jim Blandy  <jimb@codesourcery.com>
42051         * Makeconfig (test-wrapper): New variable,
42052         (test-wrapper-env): Likewise.
42053         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42054         (run-built-tests): Define to yes.
42055         (run-program-prefix): Use $(test-wrapper).
42056         (built-program-cmd): Likewise.
42057         * Rules (make-test-out): Use $(test-wrapper-env) and
42058         $(host-built-program-cmd).
42059         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42060         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42061         tst-pathopt.sh.
42062         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42063         $(test-wrapper-env) to tst-rtld-load-self.sh.
42064         ($(objpfx)order2.out): Use $(test-wrapper).
42065         ($(objpfx)tst-initorder.out): Likewise.
42066         ($(objpfx)tst-initorder2.out): Likewise.
42067         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42068         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42069         (test_wrapper_env): New variable.  Use it to run ld.so.
42070         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42071         Use it to run ld.so.
42072         (test_wrapper_env): Likewise.
42073         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42074         $(test-wrapper) to run-iconv-test.sh.
42075         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42076         (ICONV): Use $test_wrapper.
42077         * posix/Makefile ($(objpfx)globtest.out): Pass
42078         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42079         globtest.sh, not $(run-program-prefix).
42080         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42081         (test_wrapper): Likewise.
42082         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42083         set together with run_via_rtld_prefix.
42084         (run_program_prefix): Define in terms of test_wrapper and
42085         run_via_rtld_prefix.
42087 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42089         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42090         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42091         Targets removed.
42093         [BZ #14743]
42094         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42095         Declare __clock_getres, __clock_gettime, __clock_settime,
42096         __clock_nanosleep, and __clock_getcpuclockid.
42097         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42098         Remove librt_hidden_def (clock_gettime).
42099         * sysdeps/unix/clock_gettime.c: Likewise.
42100         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42101         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42102         * rt/clock_getres.c: Define __clock_getres as an alias.
42103         * sysdeps/posix/clock_getres.c: Likewise.
42104         * rt/clock_settime.c: Define __clock_settime as an alias.
42105         * sysdeps/unix/clock_settime.c: Likewise.
42106         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42107         * sysdeps/unix/clock_nanosleep.c: Likewise.
42108         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42109         * rt/clock-compat.c: New file.
42110         * rt/Makefile (librt-routines): Add clock-compat and move
42111         $(clock-routines) to ...
42112         (routines): ... here, new variable.
42113         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42114         Don't add get_clockfreq here.
42115         * rt/Versions (libc: GLIBC_2.17): New version set.
42116         Add clock_* symbols here.
42117         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42118         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42119         (GLIBC_2.17): Add clock_* symbols.
42120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42122         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42124         Likewise.
42125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42126         Likewise.
42127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42131         * NEWS: Mention the move.
42133         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42134         Use __open, __read, __close rather than their public counterparts.
42135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42136         (__get_clockfreq_via_cpuinfo): Likewise.
42137         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42138         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42140         * config.h.in (HAVE_IFUNC): New #undef.
42141         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42142         was successful.
42143         * configure: Regenerated.
42145 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42147         * configure.in: Move READELF check to start of file.
42148         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42149         libc_cv_asm_gnu_indirect_function in the process.
42150         * configure: Regenerated.
42152 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42154         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42155         send the output to /dev/null.
42156         (libc_cv_cc_with_libunwind): Likewise.
42157         (libc_cv_as_noexecstack): Likewise.
42158         * configure: Regenerate.
42160 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42162         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42164         * posix/globtest.sh (TMPDIR): Do not set.
42165         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42166         (testout): Likewise.
42168 2012-10-24  Andreas Jaeger  <aj@suse.de>
42170         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42171         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42172         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42173         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42174         posix_fadvise64, posix_fallocate64.
42176         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42177         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42178         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42179         Likewise.
42180         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42181         Likewise.
42182         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42185         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42186         <bits/fcntl-linux.h>.
42187         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42190         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42191         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42192         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42193         [__WORDSIZE != 64]: Likewise.
42195 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42197         * Makeconfig (run-built-tests): New variable.
42198         * Rules [$(cross-compiling) = yes]: Change condition to
42199         [$(run-built-tests) = no].
42200         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42201         to [$(run-built-tests) = yes].
42202         * elf/Makefile [$(cross-compiling) = no]: Likewise
42203         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42204         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42205         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42206         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42207         * io/Makefile [$(cross-compiling) = no]: Likewise.
42208         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42209         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42210         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42211         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42212         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42213         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42214         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42215         * string/Makefile [$(cross-compiling) = no]: Likewise.
42217         * posix/Makefile ($(objpfx)globtest.out): Pass
42218         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42219         $(rtld-installed-name).
42220         * posix/globtest.sh (elf_objpfx): Remove variable.
42221         (rtld_installed_name): Likewise.
42222         (library_path): Likewise.
42223         (run_program_prefix): New variable.  Use for running globtest
42224         binary.
42226 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42227             Joseph Myers  <joseph@codesourcery.com>
42229         * Makeconfig (host-built-program-cmd): New variable.
42230         * elf/Makefile (tst-stackguard1-ARGS): Use
42231         $(host-built-program-cmd).
42232         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42233         (tst-spawn-ARGS): Likewise.
42234         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42236 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42237             Jim Blandy  <jimb@codesourcery.com>
42239         * Makeconfig (run-via-rtld-prefix): New variable.
42240         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42241         (built-program-cmd): Likewise.
42243 2012-10-22  Andreas Jaeger  <aj@suse.de>
42245         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42246         __O_RSYNC if it exists, otherwise to O_SYNC.
42248 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42249             Joseph Myers  <joseph@codesourcery.com>
42251         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42252         /dev/null.
42253         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42254         from /dev/null
42255         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42256         /dev/null.
42258 2012-10-22  Andreas Jaeger  <aj@suse.de>
42260         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42261         Define always.
42262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42265         bits/fcntl-linux.h.
42267         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42268         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42271         to __O_LARGEFILE.
42272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42273         to __O_LARGEFILE.
42275 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42276             Joseph Myers  <joseph@codesourcery.com>
42278         * config.make.in (NM): New variable.
42280 2012-10-21  Andreas Jaeger  <aj@suse.de>
42282         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42283         definitions and declarations that are provided by
42284         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42286 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42288         [BZ #14683]
42289         * elf/Makefile (tests-static): Add tst-leaks1-static.
42290         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42291         ($(objpfx)tst-leaks1-static): New rule.
42292         ($(objpfx)tst-leaks1-static-mem): Likewise.
42293         (tst-leaks1-static-ENV): New macro.
42294         * elf/dl-open.c (dl_open_worker): Check the main application
42295         only if SHARED is defined.
42296         * elf/tst-leaks1-static.c: New file.
42298 2012-10-20  Andreas Jaeger  <aj@suse.de>
42300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42301         generic values for Linux.
42302         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42303         and declarations that are provided by <bits/fcntl-linux.h> and
42304         include <bits/fcntl-linux.h>.
42305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42308 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42310         * io/fcntl.h: Move include of <bits/types.h> to the top and
42311         include it unconditionally.
42313 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42315         * wcsmbs/Makefile (tests-ifunc): New variable.
42316         (tests): Add $(tests-ifunc).
42317         * wcsmbs/test-wcschr-ifunc.c: New file.
42318         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42319         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42320         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42321         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42322         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42324         * string/Makefile (tests-ifunc): New variable.
42325         (tests): Add $(tests-ifunc).
42326         * string/test-memccpy.c (TEST_NAME): New macro.
42327         * string/test-memchr.c (TEST_NAME): Likewise.
42328         * string/test-memcmp.c (TEST_NAME): Likewise.
42329         * string/test-memcpy.c (TEST_NAME): Likewise.
42330         * string/test-memmem.c (TEST_NAME): Likewise.
42331         * string/test-memmove.c (TEST_NAME): Likewise.
42332         * string/test-memset.c (TEST_NAME): Likewise.
42333         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42334         * string/test-stpcpy.c (TEST_NAME): Likewise.
42335         * string/test-stpncpy.c (TEST_NAME): Likewise.
42336         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42337         * string/test-strcasestr.c (TEST_NAME): Likewise.
42338         * string/test-strcat.c (TEST_NAME): Likewise.
42339         * string/test-strchr.c (TEST_NAME): Likewise.
42340         * string/test-strcmp.c(TEST_NAME): Likewise.
42341         * string/test-strcpy.c (TEST_NAME): Likewise.
42342         * string/test-strcspn.c (TEST_NAME): Likewise.
42343         * string/test-strlen.c (TEST_NAME): Likewise.
42344         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42345         * string/test-strncmp.c (TEST_NAME): Likewise.
42346         * string/test-strncpy.c (TEST_NAME): Likewise.
42347         * string/test-strnlen.c (TEST_NAME): Likewise.
42348         * string/test-strpbrk.c (TEST_NAME): Likewise.
42349         * string/test-strrchr.c (TEST_NAME): Likewise.
42350         * string/test-strspn.c (TEST_NAME): Likewise.
42351         * string/test-strstr.c (TEST_NAME): Likewise.
42352         * string/test-bcopy-ifunc.c: New file.
42353         * string/test-bzero-ifunc.c: Likewise.
42354         * string/test-memccpy-ifunc.c: Likewise.
42355         * string/test-memchr-ifunc.c: Likewise.
42356         * string/test-memcmp-ifunc.c: Likewise.
42357         * string/test-memcpy-ifunc.c: Likewise.
42358         * string/test-memmem-ifunc.c: Likewise.
42359         * string/test-memmove-ifunc.c: Likewise.
42360         * string/test-mempcpy-ifunc.c: Likewise.
42361         * string/test-memset-ifunc.c: Likewise.
42362         * string/test-rawmemchr-ifunc.c: Likewise.
42363         * string/test-stpcpy-ifunc.c: Likewise.
42364         * string/test-stpncpy-ifunc.c: Likewise.
42365         * string/test-strcasecmp-ifunc.c: Likewise.
42366         * string/test-strcasestr-ifunc.c: Likewise.
42367         * string/test-strcat-ifunc.c: Likewise.
42368         * string/test-strchr-ifunc.c: Likewise.
42369         * string/test-strchrnul-ifunc.c: Likewise.
42370         * string/test-strcmp-ifunc.c: Likewise.
42371         * string/test-strcpy-ifunc.c: Likewise.
42372         * string/test-strcspn-ifunc.c: Likewise.
42373         * string/test-strlen-ifunc.c: Likewise.
42374         * string/test-strncasecmp-ifunc.c: Likewise.
42375         * string/test-strncat-ifunc.c: Likewise.
42376         * string/test-strncmp-ifunc.c: Likewise.
42377         * string/test-strncpy-ifunc.c: Likewise.
42378         * string/test-strnlen-ifunc.c: Likewise.
42379         * string/test-strpbrk-ifunc.c: Likewise.
42380         * string/test-strrchr-ifunc.c: Likewise.
42381         * string/test-strspn-ifunc.c: Likewise.
42382         * string/test-strstr-ifunc.c: Likewise.
42384         * debug/Makefile (tests-ifunc): New variable.
42385         (tests): Add $(tests-ifunc).
42386         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42387         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42388         * debug/test-stpcpy_chk-ifunc.c: New file.
42389         * debug/test-strcpy_chk-ifunc.c: Likewise.
42391 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42393         [BZ #13601]
42394         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42395         header is not read in.
42397 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42399         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42400         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42401         directly.  Pass built executable to script as
42402         $(built-program-cmd).
42403         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42404         $testprogram without using LD_LIBRARY_PATH and $ldso.
42406         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42407         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42408         $(rtld-installed-name).
42409         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42410         (rtld_installed_name): Likewise.
42411         (library_path): Likewise.
42412         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42413         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42414         $(run-program-prefix) to tst-tables.sh.
42415         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42416         it to run tst-table-from and tst-table-to.
42417         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42418         Pass it to tst-table.sh.
42419         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42420         $(run-program-prefix) to tst-gettext.sh.
42421         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42422         tst-translit.sh.
42423         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42424         tst-gettext2.sh.
42425         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42426         to run tst-gettext.
42427         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42428         to run tst-gettext2.
42429         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42430         to run tst-translit.
42431         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42432         $(run-program-prefix) to tst-mtrace.sh.
42433         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42434         to run tst-mtrace.
42435         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42436         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42437         $(rtld-installed-name).
42438         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42439         (rtld_installed_name): Likewise.
42440         (run_program_prefix): New variable.  Use it to run wordexp-test.
42442         * Makeconfig (ARCH): Remove all definitions.
42443         (machine): Likewise.
42444         [ARCH]: Remove conditional code.
42445         [!objdir]: Give error.
42446         [!objdir] (objpfx): Remove.
42447         [!objdir] (common-objpfx): Likewise.
42448         [!objdir] (common-objdir): Likewise.
42449         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42450         AC_CONFIG_FILES call.
42451         * configure: Regenerated.
42453         [BZ #13888]
42454         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42455         or TMPDIR.
42456         (testout): Likewise.
42458         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42459         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42460         $(rtld-installed-name).
42461         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42462         (rtld_installed_name): Likwise.
42463         (runit): Remove function.
42464         (run_getconf): New variable,  Use it for running getconf binary.
42466 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42468         [BZ #14716]
42469         * string/test-memmem.c (check_result): New function.
42470         (do_one_test): Use it.
42471         (check1): New function.
42472         (test_main): Use it.
42474 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42476         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42478 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42480         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42481         (_G_LSEEK64): Likewise.
42482         (_G_MMAP64): Likewise.
42483         (_G_FSTAT64): Likewise.
42484         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42485         (_G_LSEEK64): Likewise.
42486         (_G_MMAP64): Likewise.
42487         (_G_FSTAT64): Likewise.
42488         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42489         unconditional.  Call __mmap64 directly.
42490         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42491         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42492         __lseek64 directly.
42493         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42494         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42495         __mmap64 directly.
42496         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42497         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42498         __lseek64 directly.
42499         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42500         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42501         __lseek64 directly.
42502         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42503         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42504         __lseek64 directly.
42505         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42506         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42507         __fxstat64 directly.
42508         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42509         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42510         unconditional.
42511         (freopen64) [!_G_OPEN64]: Remove conditional code.
42512         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42513         unconditional.
42514         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42515         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42516         unconditional.
42517         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42518         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42519         unconditional.
42520         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42521         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42522         unconditional.
42523         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42524         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42525         unconditional.
42526         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42527         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42528         unconditional.
42529         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42530         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42531         unconditional.
42532         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42534 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42536         [BZ #12140]
42537         * manual/memory.texi (Malloc Tunable Parameters): Add note
42538         about free list pointers overwriting some perturb bytes.
42539         Wording suggested by Roland McGrath.
42541 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42543         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42544         (lgamma_test): Likewise.
42545         (tgamma_test): Likewise.
42547 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42549         [BZ #14700]
42550         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42551         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42553 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42555         * NEWS: Mention BZ #14716.
42556         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42557         when removing AVAILABLE1_USES_J macro.
42559 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42561         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42562         (__bswap_64): __uint64_t for unsigned 64-bit int.
42564 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42566         * include/string.h (memmem): Declare libc hidden alias.
42567         * string/memmem.c (memmem): Define libc hidden alias.
42568         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42569         __read, __close instead of open, read, close.
42571 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42574         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42575         global and hidden.
42576         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42577         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42578         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42579         Likewise.
42580         (__rawmemchr_sse2): Likewise.
42581         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42582         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42583         (__strchr_sse2): Likewise.
42584         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42585         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42586         (__strcasecmp_sse2): Likewise.
42587         (__strncasecmp_sse2): Likewise.
42588         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42589         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42590         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42591         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42592         (__strrchr_sse2): Likewise.
42593         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42594         ifunc-impl-list.c.
42595         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42596         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42597         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42598         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42599         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42600         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42601         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42602         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42603         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42604         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42605         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42606         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42607         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42608         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42609         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42610         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42611         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42612         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42613         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42614         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42615         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42616         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42617         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42618         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42619         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42620         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42621         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42622         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42623         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42624         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42626         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42627         global and hidden.
42628         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42629         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42630         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42631         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42632         Likewise.
42633         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42634         Likewise.
42635         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42636         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42637         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42638         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42639         ifunc-impl-list.c.
42640         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42641         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42642         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42643         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42644         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42645         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42646         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42647         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42648         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42649         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42650         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42651         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42652         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42653         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42654         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42655         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42656         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42657         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42658         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42659         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42660         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42661         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42662         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42663         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42664         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42665         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42666         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42667         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42668         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42669         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42670         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42671         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42672         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42673         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42674         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42676         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42677         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42678         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42679         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42680         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42682         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42683         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42684         * include/ifunc-impl-list.h: New file.
42685         * misc/ifunc-impl-list.c: Likewise.
42686         * misc/Makefile (routines): Add ifunc-impl-list.
42687         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42688         * string/test-string.h: Include <ifunc-impl-list.h>.
42689         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42690         TEST_NAME]: New variables.
42691         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42692         are defined.
42693         (test_init): Call __libc_ifunc_impl_list to initialize
42694         func_list if TEST_IFUNC and TEST_NAME are defined.
42696         * string/Makefile (strop-tests): Add bcopy and bzero.
42697         * string/test-bcopy.c: New file.
42698         * string/test-bzero.c: Likewise.
42699         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42700         defined.
42701         * string/test-memset.c: Support bzero test if TEST_BZERO is
42702         defined.
42703         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42704         __libc_memmove.
42705         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42706         __libc_memset.
42707         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42708         of memset.
42710 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42712         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42713         * configure: Regenerated.
42715         * Makeconfig (+link-static-before-libc): Don't include
42716         $(link-static-libc).
42718         * libio/libio.h (_IO_pos_t): Remove.
42720 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42722         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42723         McGrath.
42725 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42727         * crypt/crypt-entry.c: Include fips-private.h.
42728         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42729         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42730         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42731         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42733 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42735         * crypt/crypt-private.h: Include stdbool.h.
42736         (_ufc_setup_salt_r): Return bool.
42737         * crypt/crypt-entry.c: Include errno.h.
42738         (__crypt_r): Return NULL with EINVAL for bad salt.
42739         * crypt/crypt_util.c (bad_for_salt): New.
42740         (_ufc_setup_salt_r): Check that salt is long enough and within
42741         the specified alphabet.
42742         * crypt/badsalttest.c: New file.
42743         * crypt/Makefile (tests): Add it.
42744         ($(objpfx)badsalttest): New.
42746 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42748         * NEWS: Add entry for BZ #14602.
42750 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42752         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42753         type-generic.
42754         * math/libm-test.inc: Update comment listing what functions and
42755         macros are tested.
42756         (isgreater_test): New function.
42757         (isgreaterequal_test): Likewise.
42758         (isless_test): Likewise.
42759         (islessequal_test): Likewise.
42760         (islessgreater_test): Likewise.
42761         (isunordered_test): Likewise.
42762         (main): Call the new functions.
42764 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42766         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42767         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42768         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42769         * sysdeps/i386/configure: Regenerated.
42770         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42771         * sysdeps/mach/configure: Regenerated.
42772         * sysdeps/mach/hurd/configure: Regenerated.
42773         * sysdeps/powerpc/configure: Regenerated.
42774         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42775         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42776         * sysdeps/s390/s390-32/configure: Regenerated.
42777         * sysdeps/s390/s390-64/configure: Regenerated.
42778         * sysdeps/sh/configure: Regenerated.
42779         * sysdeps/sparc/configure: Regenerated.
42780         * sysdeps/unix/sysv/linux/configure: Regenerated.
42781         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42782         * sysdeps/x86_64/configure: Regenerated.
42784         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42785         defined.  Don't check if MAP is NULL.
42787 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42789         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42790         (_G_stat64): Likewise.
42791         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42792         (_G_stat64): Likewise.
42793         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42794         instead of struct _G_stat64.
42795         * libio/fileops.c (mmap_remap_check): Likewise.
42796         (decide_maybe_mmap): Likewise.
42797         (_IO_new_file_seekoff): Likewise.
42798         (_IO_file_stat): Likewise.
42799         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42800         _G_off64_t.
42801         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42802         instead of struct _G_stat64.
42803         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42805 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42807         [BZ #14602]
42808         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42809         Replace with ...
42810         (CHECK_EOL): New macro.
42811         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42812         CHECK_EOL.
42813         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42814         Replace with CHECK_EOL.
42815         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42816         Replace with CHECK_EOL.
42818 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42820         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42821         type-generic.
42822         * math/libm-test.inc: Update comment listing what functions and
42823         macros are tested.
42824         (finite_test): New function.
42825         (isinf_test): Likewise.
42826         (isnan_test): Likewise.
42827         (fpclassify_test): Test subnormal input.
42828         (isfinite_test): Likewise.
42829         (isnormal_test): Likewise.
42830         (main): Call the new functions.
42832 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42834         [BZ #14660]
42835         * Makerules (%.dynsym): Force C locale when running
42836         $(OBJDUMP) --dynamic-syms.
42838 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42840         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42841         <stdint.h>.
42843 2012-10-06  David S. Miller  <davem@davemloft.net>
42845         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42846         upper 32-bits of the length value in %o2 since we use branch-on-register
42847         tests which consider the entire 64-bit register.
42849 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42851         * string/test-strstr.c (check2): Add a test for page boundary.
42853 2012-10-05  David S. Miller  <davem@davemloft.net>
42855         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42856         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42857         file.
42858         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42859         sysdep_routines.
42860         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42861         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42862         and bzero when HWCAP_SPARC_CRYPTO is present.
42864 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42866         [BZ #14602]
42867         * string/test-strstr.c (check2): New function.
42868         (test_main): Call check2.
42870         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42871         and bug-strchr1.
42872         * string/bug-strcasestr1.c (do_test): Moved to ...
42873         * string/test-strcasestr.c (check1): Here.  New function.
42874         (do_one_test): Break out result checking code into ...
42875         (check_result): This.  New function.
42876         (do_one_test): Call check_result.
42877         (test_main): Call check1.
42878         * string/bug-strchr1.c (do_test): Moved to ...
42879         * string/test-strchr.c (check1): Here.  New function.
42880         (do_one_test): Break out result checking code into ...
42881         (check_result): This.  New function.
42882         (do_one_test): Call check_result.
42883         (test_main): Call check1.
42884         * string/bug-strstr1.c (main): Moved to ...
42885         * string/test-strstr.c (check1): Here.  New function.
42886         (do_one_test): Break out result checking code into ...
42887         (check_result): This.  New function.
42888         (do_one_test): Call check_result.
42889         (test_main): Call check1.
42890         * string/bug-strcasestr1.c: Removed.
42891         * string/bug-strchr1.c: Likewise.
42892         * string/bug-strstr1.c: Likewise.
42894         * elf/Makefile (dl-routines): Add hwcaps.
42895         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42896         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42897         (_dl_important_hwcaps): Moved to ...
42898         * elf/dl-hwcaps.c: Here.  New file.
42899         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42901         [BZ #14557]
42902         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42903         if IS_IN_rtld isn't defined.
42905         * elf/dl-support.c (_dl_sysinfo_map): New.
42906         Include "get-dynamic-info.h" and "setup-vdso.h".
42907         (_dl_non_dynamic_init): Call setup_vdso.
42908         * elf/dynamic-link.h: Don't include <assert.h>.
42909         (elf_get_dynamic_info): Moved to ...
42910         * elf/get-dynamic-info.h: Here.  New file.
42911         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42912         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42913         * elf/setup-vdso.h: Here.  New file.
42914         * elf/rtld.c: Include "setup-vdso.h".
42915         (dl_main): Call setup_vdso.
42917 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42919         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42920         creal in comment listing functions tested.  List finite, isinf,
42921         isnan, isless, islessequal, isgreater, isgreaterequal,
42922         islessgreater, isunordered, lgamma_r and pow10 as functions and
42923         macros not tested.  Mention which functions not tested are aliases
42924         for other functions.  Fix typo.  Note that signs of NaNs are not
42925         tested.
42927         * scripts/config.guess: Update from config.git.
42928         * scripts/config.sub: Likewise.
42930 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42932         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42933         * misc/madvise.c (madvise): Renamed to __madvise.
42934         Make madvise a weak alias.
42935         * include/sys/mman.h: Declare __madvise.
42936         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42937         * sysdeps/unix/syscalls.list
42938         (madvise): Make __madvise the strong name, and madvise a weak alias.
42939         * sysdeps/unix/sysv/linux/syscalls.list
42940         (madvise, mmap): Remove redundant entries.
42941         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42942         * malloc/malloc.c (mtrim): Likewise.
42943         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42945 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42947         * sysdeps/mach/hurd/dl-cache.c: File removed.
42948         * config.h.in (USE_LDCONFIG): New #undef.
42949         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42950         * configure: Regenerated.
42951         * elf/Makefile (dl-routines): Add dl-cache only under
42952         [$(use-ldconfig) = yes].
42953         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42954         cache on [USE_LDCONFIG].
42955         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42956         [USE_LDCONFIG].
42957         * elf/rtld.c (dl_main): Likewise.
42959 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42961         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42962         _SC_LEVEL4_CACHE_LINESIZE.
42964 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42966         * sysdeps/unix/bsd/confstr.h: File removed.
42968 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42970         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42971         sys/sdt-config.h.
42973 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42975         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42976         Make 'mapoff' field ElfW(Off) rather than off_t.
42978 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42980         * nscd/Makefile: Remove nscd-cflags and all its users.
42981         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42982         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42984         [BZ #10631]
42985         * malloc.c (malloc_printerr): Clarify error message.
42987 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42989         [BZ #14648]
42990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42991         Set bit_FMA_Usable if FMA is supported.
42992         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42993         macro.
42994         (bit_FMA4_Usable): Updated.
42995         (index_FMA_Usable): New macro.
42996         (CPUID_FMA): Likewise
42997         (HAS_FMA): Defined with bit_FMA_Usable.
42999 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43001         * bits/types.h (__swblk_t): Type removed.
43002         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43003         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43005         (__SWBLK_T_TYPE): Likewise.
43006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43007         (__SWBLK_T_TYPE): Likewise.
43008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43009         (__SWBLK_T_TYPE): Likewise.
43010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43011         (__SWBLK_T_TYPE): Likewise.
43013 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43014             Honza Horak <hhorak@redhat.com>
43016         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43017         (xdr_mapname): Use YPMAXMAP as maxsize.
43018         (xdr_peername): Use YPMAXPEER as maxsize.
43019         (xdr_keydat): Use YPAXRECORD as maxsize.
43020         (xdr_valdat): Use YPMAXRECORD as maxsize.
43022 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43024         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43026         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43027         * csu/init-first.c: ... here.
43028         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43029         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43030         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43031         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43032         * sysdeps/i386/init-first.c: File removed.
43033         * sysdeps/sh/init-first.c: File removed.
43035 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43037         [BZ #14645]
43038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43039         if x * y might underflow to zero and z is zero.
43040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43042         * math/libm-test.inc (min_subnorm_value): New variable.
43043         (fma_test): Add more tests.
43044         (fma_test_towardzero): Likewise.
43045         (fma_test_downward): Likewise
43046         (fma_test_upward): Likewise.
43047         (initialize): Set min_subnorm_value.
43049 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43051         [BZ #14638]
43052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43053         0 + 0.
43054         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43055         mode for addition resulting in exact zero.
43056         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43058         exact 0 + 0.
43059         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43061         * math/libm-test.inc (fma_test): Add more tests.
43062         (fma_test_towardzero): New function.
43063         (fma_test_downward): Likewise.
43064         (fma_test_upward): Likewise.
43065         (main): Call the new functions.
43067 2012-09-28  David S. Miller  <davem@davemloft.net>
43069         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43071 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43073         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43074         instead of SIGALRM.
43076         * sysdeps/gnu/_G_config.h: Moved to ...
43077         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43078         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43079         * sysdeps/generic/_G_config.h: ... here.
43081         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43083         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43085         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43086         Conditionalize target on [libnss_test1.so-version].
43088         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43090         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43091         (elfobjdir): Move out of conditionals.
43093         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43094         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43095         (__nss_lookup_function): Conditionalize label remove_from_tree on
43096         [!DO_STATIC_NSS || SHARED], matching its only use.
43098 2012-09-28  David S. Miller  <davem@davemloft.net>
43100         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43101         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43102         file.
43103         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43104         sysdep_routines.
43105         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43107         when HWCAP_SPARC_CRYPTO is present.
43109 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43111         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43113 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43115         [BZ #6530]
43116         * stdio-common/vfprintf.c (process_string_arg): Revert
43117         2000-07-22 change.
43119 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43121         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43122         for testcase.
43123         * stdio-common/tst-sprintf.c: Include <locale.h>
43124         (main): Test sprintf's handling of incomplete multibyte
43125         characters.
43127 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43129         * elf/dl-runtime.c (VERSYMIDX): Removed.
43130         * elf/dl-version.c (VERSYMIDX): Likewise.
43131         * elf/do-rel.h (VERSYMIDX): Likewise.
43132         (VALIDX): Likewise.
43133         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43134         * elf/rtld.c (VALIDX): Likewise.
43135         (ADDRIDX): Likewise.
43136         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43137         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43138         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43139         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43140         (VALIDX): Likewise.
43141         (ADDRIDX): Likewise.
43143 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43145         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43147 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43149         [BZ #11438]
43150         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43151         to global scope.
43152         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43153         addresses are in the same scope as 192.0.2/24.
43154         * posix/gai.conf: Document new scope table defaults.
43156 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43158         [BZ #5298]
43159         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43160         for ftell.  Compute offsets from write pointers instead.
43161         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43163 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43165         [BZ #14543]
43166         * libio/Makefile (tests): New test case tst-fseek.
43167         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43168         combination works in wide mode.
43169         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43170         state when the external buffer state changes.
43172 2012-09-27  David S. Miller  <davem@davemloft.net>
43174         [BZ #14376]
43175         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43176         pass reloc->r_addend in as the 'high' argument to
43177         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43181 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43183         * rt/tst-aio2.c: Include <pthread.h>.
43184         * rt/tst-aio3.c: Likewise.
43186 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43188         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43190 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43192         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43193         contents on [SHARED].
43195 2012-09-26  Marek Polacek  <polacek@redhat.com>
43197         [BZ #14530]
43198         [BZ #13741]
43199         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43200         for C++ and GCC <4.3 as well as for non GCC compilers.
43202 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43206 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43208         * Makefile.in (all, install): Declare with .PHONY.
43209         Reported by Michael Hope <michael.hope@linaro.org>.
43211 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43213         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43214         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43215         system header.
43216         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43217         Likewise.
43218         (sydep_routines): Add the new and the internal functions.
43219         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43220         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43222         (GLIBC_2.17): Add the new function.
43223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43224         (GLIBC_2.17): Likewise.
43225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43226         (GLIBC_2.17): Likewise.
43227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43228         (GLIBC_2.17): Likewise.
43229         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43231 2012-09-25  Alan Modra  <amodra@gmail.com>
43233         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43234         Add release barrier before setting once_control to say
43235         initialisation is done.  Add hints on lwarx.  Use macro in
43236         place of isync.
43237         (clear_once_control): Add release barrier.
43239 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43241         [BZ #13629]
43242         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43243         specially.
43244         * math/s_clog10.c (__clog10): Likewise.
43245         * math/s_clog10f.c (__clog10f): Likewise.
43246         * math/s_clog10l.c (__clog10l): Likewise.
43247         * math/s_clogf.c (__clogf): Likewise.
43248         * math/s_clogl.c (__clogl): Likewise.
43249         * math/Makefile (libm-calls): Add x2y2m1.
43250         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43251         (__x2y2m1): Likewise.
43252         (__x2y2m1l): Likewise.
43253         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43254         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43255         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43256         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43257         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43258         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43259         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43260         * sysdeps/i386/fpu/libm-test-ulps: Update.
43261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43263         [BZ #14621]
43264         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43265         int as type of variable DEPTH.
43266         (glob): Use size_t instead of int as type of variables NEWCOUNT
43267         and OLD_PATHC.
43269 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43271         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43272         Add s_sincosf-sse2.
43273         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43274         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43275         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43276         macros for using routine as __sincosf_ia32.
43277         Use macro for function declaration and weak_alias.
43278         * sysdeps/i386/fpu/libm-test-ulps: Update.
43280         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43283         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43284         subnormal argument.
43285         * math/s_cexpf.c (__cexpf): Likewise.
43286         * math/s_csinf.c (__csinf): Likewise.
43287         * math/s_csinhf.c (__csinhf): Likewise.
43288         * math/s_ctanf.c (__ctanf): Likewise.
43289         * math/s_ctanhf.c (__ctanhf): Likewise.
43290         * math/s_ccosh.c (__ccoshf): Likewise.
43291         * math/s_cexp.c (__cexpl): Likewise.
43292         * math/s_csin.c (__csin): Likewise.
43293         * math/s_csinh.c (__csinh): Likewise.
43294         * math/s_ctan.c (__ctan): Likewise.
43295         * math/s_ctanh.c (ctanh): Likewise.
43296         * math/s_ccoshl.c (__ccoshl): Likewise.
43297         * math/s_cexpl.c (__cexpl): Likewise.
43298         * math/s_csinl.c (__csinl): Likewise.
43299         * math/s_csinhl.c (__csinhl): Likewise.
43300         * math/s_ctanl.c (__ctanl): Likewise.
43301         * math/s_ctanhl.c (__ctanhl): Likewise.
43303 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43305         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43306         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43307         (_IO_off_t): Define to __off_t, not _G_off_t.
43308         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43309         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43310         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43311         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43312         type of __dummy and __dummy2 fields.
43313         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43314         (_G_ssize_t): Likewise.
43315         (_G_off_t): Likewise.
43316         (_G_pid_t): Likewise.
43317         (_G_uid_t): Likewise.
43318         (_G_wchar_t): Likewise.
43319         (_G_wint_t): Likewise.
43320         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43321         (_G_ssize_t): Likewise.
43322         (_G_off_t): Likewise.
43323         (_G_pid_t): Likewise.
43324         (_G_uid_t): Likewise.
43325         (_G_wchar_t): Likewise.
43326         (_G_wint_t): Likewise.
43327         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43328         (_G_ssize_t): Likewise.
43329         (_G_off_t): Likewise.
43330         (_G_pid_t): Likewise.
43331         (_G_uid_t): Likewise.
43332         (_G_wchar_t): Likewise.
43333         (_G_wint_t): Likewise.
43335 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43337         * malloc/arena.c: Include malloc-sysdep.h.
43338         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43339         is sufficient to shrink the heap or an unmap is needed.
43340         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43341         new function check_may_shrink_heap.
43342         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43343         new function check_may_shrink_heap.
43345 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43347         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43348         comments.
43350 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43352         * catgets/test-gencat.sh: Add "set -e".
43353         * elf/tst-pathopt.sh: Likewise.
43354         * grp/tst_fgetgrent.sh: Likewise.
43355         * iconvdata/run-iconv-test.sh: Likewise.
43356         * intl/tst-gettext.sh: Likewise.
43357         * intl/tst-gettext2.sh: Likewise.
43358         * intl/tst-gettext4.sh: Likewise.
43359         * intl/tst-gettext6.sh: Likewise.
43360         * intl/tst-translit.sh: Likewise.
43361         * io/ftwtest-sh: Likewise.
43362         * libio/test-freopen.sh: Likewise.
43363         * malloc/tst-mtrace.sh: Likewise.
43364         * posix/globtest.sh: Likewise.
43365         * posix/tst-getconf.sh: Likewise.
43366         * posix/wordexp-tst.sh: Likewise.
43367         * stdio-common/tst-printf.sh: Likewise.
43368         * stdio-common/tst-unbputc.sh: Likewise.
43369         * stdlib/tst-fmtmsg.sh: Likewise.
43370         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43371         * catgets/Makefile: Do not specify -e option when running
43372         testsuite shell scripts.
43373         * elf/Makefile: Likewise.
43374         * grp/Makefile: Likewise.
43375         * iconvdata/Makefile: Likewise.
43376         * intl/Makefile: Likewise.
43377         * io/Makefile: Likewise.
43378         * libio/Makefile: Likewise.
43379         * malloc/Makefile: Likewise.
43380         * posix/Makefile: Likewise.
43381         * stdio-common/Makefile: Likewise.
43382         * stdlib/Makefile: Likewise.
43383         * sysdeps/x86_64/Makefile: Likewise.
43385         * io/ftwtest-sh: Add copyright header.
43386         * posix/globtest.sh: Likewise.
43387         * posix/tst-getconf.sh: Likewise.
43388         * posix/wordexp-tst.sh: Likewise.
43389         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43391 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43393         [BZ #13679]
43394         * Makeconfig (+link): Defined as $(+link-static) if
43395         $(build-shared) isn't yes.
43396         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43397         isn't yes.
43398         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43400         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43402         [BZ #14562]
43403         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43404         new chunk size with MALLOC_ALIGN_MASK.
43406 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43408         [BZ #5044]
43409         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43410         <rounding-mode.h>.
43411         (__printf_fphex): Determine rounding using get_rounding_mode and
43412         round_away.
43413         * stdio-common/tst-printf-round.c (struct hex_test): New
43414         structure.
43415         (hex_tests): New variable.
43416         (test_hex_in_one_mode): New function.
43417         (do_test): Also run tests for hex float output.
43419 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43421         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43422         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43423         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43424         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43425         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43426         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43427         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43428         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43430 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43432         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43433         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43434         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43435         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43437 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43439         [BZ #14579]
43440         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43441         mode only.
43442         * elf/tst-rtld-load-self.sh: New test.
43443         * elf/Makefile: Run it.
43445 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43447         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43448         (tst-writev-ENV): Remove.
43449         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43451 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43453         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43455 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43457         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43458         unconditional.
43459         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43460         Likewise.
43461         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43462         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43463         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43464         Likewise.
43466 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43468         [BZ #14587]
43469         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43470         * config.make.in (have-cpp-asm-debuginfo): Removed.
43471         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43472         * configure: Regenerated.
43474 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43476         [BZ #5044]
43477         * stdio-common/printf_fp.c: Include <stdbool.h> and
43478         <rounding-mode.h>.
43479         (___printf_fp): Determine rounding using get_rounding_mode and
43480         round_away.
43481         * stdio-common/tst-printf-round.c: New file.
43482         * stdio-common/Makefile (tests): Add tst-printf-round.
43483         (link-libm): New variable.
43484         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43486 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43488         [BZ #14576]
43489         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43490         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43491         Likewise.
43492         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43493         Likewise.
43495 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43497         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43498         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43499         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43500         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43502 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43504         [BZ #14518]
43505         * include/rounding-mode.h: New file.
43506         * sysdeps/generic/get-rounding-mode.h: Likewise.
43507         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43508         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43509         (MAX_VALUE): New macro.
43510         (MIN_VALUE): Likewise.
43511         (overflow_value): New function.
43512         (underflow_value): Likewise.
43513         (round_and_return): Use overflow_value and underflow_value to
43514         determine return values in overflow and underflow cases.  Use
43515         round_away to determine rounding depending on rounding mode.
43516         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43517         determine return values in overflow and underflow cases.
43518         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43519         (struct test_results): New structure.
43520         (struct test): Use struct test_results to store expected results
43521         for all rounding modes.
43522         (TEST): Include expected results for all rounding modes.
43523         (test_in_one_mode): New function.
43524         (do_test): Use test_in_one_mode to compute and check results.
43525         Check results for all rounding modes.
43526         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43527         $(link-libm).
43529 2012-12-09  Allan McRae  <allan@archlinux.org>
43531         * sysdeps/i386/fpu/libm-test-ulps: Update
43533 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43535         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43536         (_G_int32_t): Likewise.
43537         (_G_uint16_t): Likewise.
43538         (_G_uint32_t): Likewise.
43539         (_G_HAVE_BOOL): Likewise.
43540         (_G_HAVE_ATEXIT): Likewise.
43541         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43542         (_G_HAVE_IO_FILE_OPEN): Likewise.
43543         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43544         (_G_int32_t): Likewise.
43545         (_G_uint16_t): Likewise.
43546         (_G_uint32_t): Likewise.
43547         (_G_HAVE_BOOL): Likewise.
43548         (_G_HAVE_ATEXIT): Likewise.
43549         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43550         (_G_HAVE_IO_FILE_OPEN): Likewise.
43551         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43552         (_G_int32_t): Likewise.
43553         (_G_uint16_t): Likewise.
43554         (_G_uint32_t): Likewise.
43555         (_G_HAVE_BOOL): Likewise.
43556         (_G_HAVE_ATEXIT): Likewise.
43557         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43558         (_G_HAVE_IO_FILE_OPEN): Likewise.
43560 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43562         * csu/libc-tls.c: Update copyright years.
43564 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43566         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43567         [!_G_USING_THUNKS]: Remove conditional code.
43568         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43569         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43571         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43572         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43573         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43574         (_G_VTABLE_LABEL_PREFIX): Likewise.
43575         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43576         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43577         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43578         (_G_VTABLE_LABEL_PREFIX): Likewise.
43579         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43580         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43581         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43582         (_G_VTABLE_LABEL_PREFIX): Likewise.
43583         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43585 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43587         * libio/Makefile: Include ../Makeconfig before tests.
43588         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43589         only if $(build-shared) is yes.
43591         * iconv/gconv_db.c: Update copyright years.
43593 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43595         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43596         unwind info if defined PIC. Fix special cases description.
43597         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43599         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43600         DP_HI_MASK entry.
43601         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43603 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43605         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43607         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43608         is NULL.
43610         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43611         (LDLIBS-tst-chk4): This.
43612         (LDFLAGS-tst-chk5): Renamed to ...
43613         (LDLIBS-tst-chk5): This.
43614         (LDFLAGS-tst-chk6): Renamed to ...
43615         (LDLIBS-tst-chk6): This.
43616         (LDFLAGS-tst-lfschk4): Renamed to ...
43617         (LDLIBS-tst-lfschk4): This.
43618         (LDFLAGS-tst-lfschk5): Renamed to ...
43619         (LDLIBS-tst-lfschk5): This.
43620         (LDFLAGS-tst-lfschk6): Renamed to ...
43621         (LDLIBS-tst-lfschk6): This.
43623         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43624         on $(common-objpfx)soversions.mk.
43626 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43628         [BZ #10014]
43629         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43630         example host name.
43632 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43634         * malloc/arena.c (arena_get_retry): New function that gets
43635         another arena for the caller to try its request on.
43636         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43637         current arena cannot fulfill the request.
43638         (__libc_memalign): Likewise.
43639         (__libc_memalign): Likewise.
43640         (__libc_pvalloc): Likewise.
43641         (__libc_calloc): Likewise.
43643 2012-09-05  John Tobey  <john.tobey@gmail.com>
43645         [BZ #13542]
43646         * manual/arith.texi (Operations on Complex): Fix description
43647         of carg branch cut.
43649 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43651         [BZ #10014]
43652         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43653         host name.
43655         [BZ #10038]
43656         * manual/memory.texi (Memory): Make order of menu items match
43657         order of sections.
43659 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43661         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43662         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43663         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43665 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43667         * csu/libc-tls.c (static_dtv): Renamed to ...
43668         (_dl_static_dtv): This.  Make it global.
43669         (_dl_initial_dtv): Removed.
43670         (__libc_setup_tls): Updated.
43671         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43672         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43673         DL_INITIAL_DTV.
43675 2012-09-06  Petr Machata  <pmachata@redhat.com>
43677         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43678         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43679         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43680         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43682 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43684         [BZ #14545]
43685         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43686         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43687         freeing dtv[-1].
43689 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43691         [BZ #14544]
43692         * Makeconfig (link-static-before-libc): Replace $(+prector)
43693         with $(+prectorT).
43694         (link-static-after-libc): Replace $(+postctor) with
43695         $(+postctorT).
43696         (link-bounded): Replace $(+prector)/$(+postctor) with
43697         $(+prectorT)/$(+postctorT).
43698         (+prectorT): New macro.
43699         (+postctorT): Likewise.
43701 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43703         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43704         (round_str): Handle values above the maximum for IBM long double
43705         as inexact.
43706         * stdlib/tst-strtod-round.c (tests): Regenerated.
43708 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43710         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43711         assembler flag.
43712         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43713         zarch_nohighgprs around the zarch optimized routines.
43714         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43715         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43716         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43717         for zarch.
43719 2012-09-05  David S. Miller  <davem@davemloft.net>
43721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43723         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43724         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43725         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43726         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43727         entries.
43729 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43731         * malloc/arena.c: Fold copyright years.
43732         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43734 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43736         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43738 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43740         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43742 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43744         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43745         change internal state upon failure.
43747 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43749         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43750         * malloc/memusage.c (mmap): Likewise.
43751         (mmap64, mremap): Likewise.  Adjust name in comment.
43753 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43755         * libio/fileops.c: Fix typos in comments.
43756         * libio/oldfileops.c: Likewise.
43757         * libio/wfileops.c: Likewise.
43759 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43761         [BZ #1349]
43762         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43763         (tst-malloc-usable-ENV): Set environment for test case.
43764         * malloc/hooks.c (malloc_check_get_size): New function to get
43765         requested size.
43766         * malloc/malloc.c (musable): Use malloc_check_get_size.
43767         * malloc/tst-malloc-usable.c: New test case.
43769 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43771         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43773 2012-09-05  Allan McRae  <allan@archlinux.org>
43775         [BZ #13966]
43776         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43777         determine header location.
43778         * configure: Regenerated.
43780 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43782         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43783         float format.
43784         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43785         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43786         format.
43787         (test): Regenerate.
43789 2012-09-04  David S. Miller  <davem@davemloft.net>
43791         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43792         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43793         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43795 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43797         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43798         failures.
43800         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43802 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43804         [BZ #9914]
43805         * libio/iogetdelim.c: Include <limits.h>.
43806         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43807         + len + 1 would overflow.
43809 2012-09-03  Andreas Jaeger  <aj@suse.de>
43811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43812         * sysdeps/i386/fpu/libm-test-ulps: Update.
43814 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43816         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43817         Add s_sinf-sse2, s_conf-sse2.
43819         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43820         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43821         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43822         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43824         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43825         for using routine as __sinf_ia32.
43826         Use macro for function declaration and weak_alias.
43827         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43828         for using routine as __cosf_ia32.
43829         Use macro for function declaration and weak_alias.
43831         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43832         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43834         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43835         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43838         * math/libm-test.inc (cos_test): Add more test cases.
43839         (sin_test): Likewise.
43840         (sincos_test): Likewise.
43842 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43844         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43845         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43846         hidden.
43847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43849 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43851         [BZ #14538]
43852         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43853         first element of the GOT.
43854         (elf_machine_load_address): Return the difference between
43855         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43857 2012-09-01  Allan McRae  <allan@archlinux.org>
43859         [BZ #13412]
43860         * configure.in (AWK): Require gawk version 3.0 or later.
43861         * configure: Regenerated.
43863 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43865         * sysdeps/unix/sysv/linux/kernel-features.h
43866         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43868         [__NR_clock_getres]: Make code unconditional.
43869         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43870         (clock_getcpuclockid): Remove code left unreachable by removal of
43871         conditionals.
43872         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43873         code unconditional.
43874         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43875         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43876         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43877         Make code unconditional.
43878         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43879         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43880         * sysdeps/unix/sysv/linux/clock_settime.c
43881         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43882         conditional code.
43883         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43884         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43886 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43888         [BZ #14476]
43889         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43890         scripts/test-installation.pl.
43892         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43893         and $ld_so_version if it is set.
43895 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43897         [BZ #14516]
43898         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43899         failure if reading from procfs failed.
43900         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43902 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43904         * sysdeps/unix/sysv/linux/kernel-features.h
43905         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43906         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43907         Remove conditional code.
43908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43909         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43910         Remove conditional code.
43911         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43912         * sysdeps/unix/sysv/linux/i386/fxstat.c
43913         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43915         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43916         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43917         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43918         * sysdeps/unix/sysv/linux/i386/lxstat.c
43919         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43921         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43922         Remove conditional code.
43923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43924         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43925         Remove conditional code.
43926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43927         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43928         <kernel-features.h>.
43929         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43930         Remove.
43931         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43932         Remove conditional code.
43933         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43934         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43935         Remove conditional.
43937 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43939         [BZ #5400]
43940         * NEWS: Add fixed bug number.
43942 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43944         [BZ #14519]
43945         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43946         underflowing exponent in case of negative sign.
43947         * stdlib/tst-strtod-round-data: Add more tests.
43948         * stdlib/tst-strtod-round.c (tests): Regenerated.
43950         [BZ #3479]
43951         * stdlib/strtod_l.c (NDIG): Remove.
43952         (HEXNDIG): Likewise.
43953         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43954         smallest representable value.
43955         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43956         lie within an exact representation of 1/2 ulp of the result.
43957         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43958         unconditionally.
43959         (TENS_P9_IDX): Define unconditionally.
43960         (TENS_P9_SIZE): Likewise.
43961         (TENS_P10_IDX): Likewise.
43962         (TENS_P10_SIZE): Likewise.
43963         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43964         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43965         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43966         entries for 10^2^13 and 10^2^14.
43967         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43968         (TENS_P13_IDX): Define.
43969         (TENS_P13_SIZE): Likewise.
43970         (TENS_P14_IDX): Likewise.
43971         (TENS_P14_SIZE): Likewise.
43972         (_fpioconst_pow10): Change array size to
43973         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43974         unconditional.
43975         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43976         1024]: Add entries for 10^2^13 and 10^2^14.
43977         [LAST_POW10 > _LAST_POW10]: Remove #error.
43978         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43979         (_fpioconst_pow10): Change array size to
43980         FPIOCONST_POW10_ARRAY_SIZE.
43981         * stdlib/gen-fpioconst.c: New file.
43982         * stdlib/gen-tst-strtod-round.c: Likewise.
43983         * stdlib/tst-strtod-round-data: Likewise.
43984         * stdlib/tst-strtod-round.c: Likewise.
43985         * stdlib/Makefile (tests): Add tst-strtod-round.
43987         [BZ #14459]
43988         * stdlib/strtod_l.c: Include <stdint.h>.
43989         (NDEBUG): Do not define.
43990         (round_and_return): Change EXPONENT parameter to type intmax_t.
43991         Rearrange calculations to avoid internal overflow possibilities.
43992         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43993         Rearrange calculations to avoid internal overflow possibilities.
43994         Assert that number fits inside MPNSIZE limbs.
43995         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43996         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43997         calculations and add assertions to avoid internal overflow
43998         possibilities.  Add casts to avoid signed/unsigned operations.
43999         * stdlib/tst-strtod-overflow.c: New file.
44000         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44002 2012-08-25  Marek Polacek  <polacek@redhat.com>
44004         * time/time.h: Fix some typos in comments.
44006 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44008         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44009         * posix/tst-rfc3484-2.c: Likewise.
44010         * posix/tst-rfc3484-3.c: Likewise.
44012 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44014         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44015         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44017 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44019         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44020         #include of fxstatat64.c.
44022 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44024         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44025         * shadow/getspent_r.c: Likewise.
44026         * shadow/getspnam.c: Likewise.
44027         * shadow/getspnam_r.c: Likewise.
44028         * gshadow/getsgent.c: Likewise.
44029         * gshadow/getsgent_r.c: Likewise.
44030         * gshadow/getsgnam.c: Likewise.
44031         * gshadow/getsgnam_r.c: Likewise.
44032         * inet/getnetbyad.c: Likewise.
44033         * inet/getnetbyad_r.c: Likewise.
44034         * inet/getnetbynm.c: Likewise.
44035         * inet/getnetbynm_r.c: Likewise.
44036         * inet/getnetent.c: Likewise.
44037         * inet/getnetent_r.c: Likewise.
44038         * inet/getproto.c: Likewise.
44039         * inet/getproto_r.c: Likewise.
44040         * inet/getprtent.c: Likewise.
44041         * inet/getprtent_r.c: Likewise.
44042         * inet/getprtname.c: Likewise.
44043         * inet/getprtname_r.c: Likewise.
44044         * inet/getrpcbyname.c: Likewise.
44045         * inet/getrpcbyname_r.c: Likewise.
44046         * inet/getrpcbynumber.c: Likewise.
44047         * inet/getrpcbynumber_r.c: Likewise.
44048         * inet/getrpcent.c: Likewise.
44049         * inet/getrpcent_r.c: Likewise.
44050         * inet/getaliasent.c: Likewise.
44051         * inet/getaliasent_r.c: Likewise.
44052         * inet/getaliasname.c: Likewise.
44053         * inet/getaliasname_r.c: Likewise.
44054         * nscd/getgrgid_r.c: Likewise.
44055         * nscd/getgrnam_r.c: Likewise.
44056         * nscd/gethstbyad_r.c: Likewise.
44057         * nscd/gethstbynm3_r.c: Likewise.
44058         * nscd/getpwnam_r.c: Likewise.
44059         * nscd/getpwuid_r.c: Likewise.
44060         * nscd/getsrvbynm_r.c: Likewise.
44061         * nscd/getsrvbypt_r.c: Likewise.
44062         * nscd/gai.c: Likewise.
44064         * configure.in (build_nscd): New substituted variable, set
44065         by --disable-build-nscd and defaults to $use_nscd.
44066         * configure: Regenerated.
44067         * config.make.in (build-nscd): New substituted variable.
44068         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44069         Change conditional to require [$(build-nscd) = yes] as well.
44070         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44072         [BZ# 13696]
44073         * configure.in (use_nscd): New substituted variable, set by
44074         --disable-nscd.  If enabled, define USE_NSCD.
44075         * configure: Regenerated.
44076         * config.h.in: Add USE_NSCD.
44077         * config.make.in (use-nscd): New substituted variable.
44078         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44079         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44080         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44081         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44082         (CFLAGS-getgrnam_r.c): Likewise.
44083         (CFLAGS-initgroups.c): Likewise.
44084         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44085         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44086         Variables removed.
44087         * inet/getnetgrent_r.c
44088         (nscd_setnetgrent): New function, broken out of ...
44089         (setnetgrent): ... here.  Call it.
44090         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44091         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44092         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44093         * nscd/Makefile (routines, aux): Move definitions after include of
44094         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44095         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44096         Conditionalize on [USE_NSCD].
44097         (is_nscd, nscd_init_cb): Likewise.
44098         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44099         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44100         * nss/nss_db/db-init.c: Likewise.
44101         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44102         [USE_NSCD].
44103         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44104         (make_request): Use it.
44105         (cache_valid_p): New function.
44106         (__check_pf): Use it.
44107         * NEWS: Add item for --disable-nscd.
44109 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44111         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44112         to support sed >= 4.2.1-20-ga9bf076.
44113         * configure: Regenerated.
44115 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44117         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44118         Conditionalize whole body on [IREL].
44120 2012-08-22  Jeff Law <law@redhat.com>
44122         [BZ #14505]
44123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44124         if the family is PF_UNSPEC.
44126 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44128         * Makerules (lib-version): Rename from V.
44129         (install-lib-nosubdir): Change V to lib-version.
44131 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44133         [BZ #14252]
44134         * powerpc32/power6/wcschr.c: New file.
44135         * powerpc32/power6/wcscpy.c: New file.
44136         * powerpc32/power6/wcsrchr.c: New file.
44137         * powerpc64/power6/wcschr.c: New file.
44138         * powerpc64/power6/wcscpy.c: New file.
44139         * powerpc64/power6/wcsrchr.c: New file.
44141 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44143         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44144         (two_way_short_needle): Use it.
44145         * string/strstr.c (AVAILABLE1_USES_J): Define.
44146         * string/strcasestr.c: Likewise.
44148         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44149         array references.
44150         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44152         [BZ #11607]
44153         * NEWS: Add an entry.
44154         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44155         define their defaults.
44156         (two_way_short_needle): Detect end-of-string on-the-fly.
44157         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44158         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44159         * string/bug-strcasestr1.c: New test.
44160         * string/Makefile: Run it.
44162 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44164         [BZ #11607]
44165         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44166         the first character.
44168 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44170         * csu/elf-init.c (__libc_csu_irel): Function removed.
44171         * csu/libc-start.c (apply_irel): New function.
44172         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44174 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44176         * sysdeps/unix/sysv/linux/kernel-features.h
44177         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44178         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44179         <kernel-features.h>.
44180         [__NR_fadvise64_64]: Make code unconditional.
44181         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44182         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44183         !__NR_fadvise64_64)]: Likewise.
44184         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44185         !__NR_fadvise64_64))]: Likewise.
44186         [__NR_fadvise64]: Make code unconditional.
44187         [!__NR_fadvise64]: Remove conditional code.
44188         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44189         <kernel-features.h>.
44190         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44191         unconditional.
44192         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44193         conditional code.
44194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44195         not include <kernel-features.h>.
44196         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44197         unconditional.
44198         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44199         conditional code.
44200         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44201         include <kernel-features.h>.
44202         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44203         unconditional.
44204         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44205         conditional code.
44207 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44209         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44210         slight instruction rearrangements per scrollpipe analysis.
44211         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44213 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44215         * manual/syslog.texi (syslog; vsyslog, closelog):
44216         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44217         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44219         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44220         DSOCAPS to match condition on defining it.
44222 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44224         * sysdeps/unix/sysv/linux/kernel-features.h
44225         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44227         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44228         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44230         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44231         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44233         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44234         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44236         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44237         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44239         * sysdeps/unix/sysv/linux/kernel-features.h
44240         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44241         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44242         unconditional.
44243         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44244         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44245         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44246         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44247         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44248         Make code unconditional.
44249         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44250         (__mmap64) [!__NR_mmap2]: Likewise.
44251         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44252         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44253         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44254         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44255         [__NR_mmap2]: Make code unconditional.
44256         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44257         (__mmap64) [!__NR_mmap2]: Likewise.
44259 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44261         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44263 2012-08-18  Andreas Jaeger  <aj@suse.de>
44265         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44267 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44269         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44270         * include/unistd.h (__have_sock_cloexec): Likewise.
44271         (__have_pipe2): Likewise.
44272         (__have_dup3): Likewise.
44274 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44276         [BZ #9685]
44277         * include/unistd.h (__have_pipe2): Change define into an extern int.
44278         (__have_dup3): Likewise.
44279         * socket/have_sock_cloexec.c: Include fcntl.h.
44280         (__have_pipe2): New variable.
44281         (__have_dup3): Likewise.
44283 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44285         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44287 2012-08-17  Marek Polacek  <polacek@redhat.com>
44289         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44290         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44292 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44294         * configure.in: Add AC_SUBST for sysheaders.
44295         * configure: Regenerated.
44296         * config.make.in (sysheaders): New substituted variable.
44298         * sysdeps/unix/mkfifo.c: Moved ...
44299         * sysdeps/posix/mkfifo.c: ... here.
44300         * sysdeps/unix/mkfifoat.c: Moved ...
44301         * sysdeps/posix/mkfifoat.c: ... here.
44303         * sysdeps/unix/utime.c: Moved ...
44304         * sysdeps/posix/utime.c: ... here.
44306         * sysdeps/unix/time.c: Moved ...
44307         * sysdeps/posix/time.c: ... here.
44308         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44309         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44311         * sysdeps/unix/nice.c: Moved ...
44312         * sysdeps/posix/nice.c: ... here.
44314         * sysdeps/unix/alarm.c: Moved ...
44315         * sysdeps/posix/alarm.c: ... here.
44317         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44319 2012-08-17  Jeff Law <law@redhat.com>
44321         * intl/Makefile (codeset_mo): New variable.
44322         ($(codeset_mo)): New target.
44323         (tst-codeset.out): Depend on that.  Remove explicit rule.
44324         (tst-gettext3.out, tst-gettext5.out): Likewise.
44325         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44326         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44327         * intl/tst-codeset.sh: Remove.
44328         * intl/tst-gettext3.sh: Likewise.
44329         * intl/tst-gettext5.sh: Likewise.
44331 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44333         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44334         * sysdeps/unix/syscalls.list: ... here.
44336         * sysdeps/posix/getaddrinfo.c
44337         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44338         (gaiconf_init, gaiconf_reload): Use them.
44339         [!_STATBUF_ST_NSEC]
44340         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44341         Define using time_t rather than struct timespec.
44343         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44344         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44345         Macros removed.
44346         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44347         [!NO_THREADS].
44348         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44349         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44350         Likewise.
44352         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44353         __libc_cleanup_push argument.
44355         * bits/param.h: New file.
44356         * misc/sys/param.h: New file.
44357         * include/sys/param.h: New file.
44358         * misc/Makefile (headers): Add bits/param.h.
44359         * sysdeps/generic/sys/param.h: File removed.
44360         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44361         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44362         * sysdeps/mach/hurd/bits/param.h: New file.
44363         * sysdeps/mach/hurd/sys/param.h: File removed.
44365         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44366         last change.
44368         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44369         [_IO_MTSAFE_IO].
44370         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44371         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44372         New macros.
44374         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44375         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44376         rather than -D_IO_MTSAFE_IO conditionally.
44377         * stdio-common/Makefile (CPPFLAGS): Likewise.
44378         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44379         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44380         Use $(libio-mtsafe).
44381         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44382         of -D_IO_MTSAFE_IO.
44383         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44384         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44385         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44386         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44387         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44388         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44389         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44390         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44391         (CFLAGS-fread_u_chk.c): Likewise.
44392         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44393         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44394         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44395         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44396         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44397         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44398         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44399         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44400         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44402         * libio/Makefile: Test [$(libc-reentrant) = yes]
44403         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44405         * Makeconfig
44406         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44407         * sysdeps/pthread/configure: File removed.
44408         * sysdeps/pthread/Makeconfig: New file.
44409         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44410         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44412 2012-08-16  Gary Benson  <gbenson@redhat.com>
44414         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44415         unmapping the first object in a namespace.
44417 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44419         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44420         (__internal_setnetgrent): ... this.  Add internal_function to
44421         definition.  Add libc_hidden_def.
44422         (setnetgrent): Update caller.
44423         (internal_endnetgrent): Renamed to ...
44424         (__internal_endnetgrent): ... this.  Add internal_function to
44425         definition.  Add libc_hidden_def.
44426         (endnetgrent): Update caller.
44427         (internal_getnetgrent_r): Renamed to ...
44428         (__internal_getnetgrent_r): ... this.  Add internal_function to
44429         definition.  Add libc_hidden_def.
44430         (__getnetgrent_r): Update caller.
44431         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44433 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44435         * stdlib/longlong.h: Update from GCC.
44437 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44439         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44440         on _QL, which is set by umul_ppmm but never used.
44441         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44442         variables, which are set by GMP macros but never used.
44443         * stdio-common/_itowa.c (_itowa): Likewise.
44444         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44445         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44447 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44449         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44450         struct La_sh_regs is not constant.
44451         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44452         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44453         and struct La_sparc64_regs are not constant.
44455 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44457         * sysdeps/unix/sysv/linux/kernel-features.h
44458         (__ASSUME_POSIX_TIMERS): Remove.
44459         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44460         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44461         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44462         Make code unconditional.
44463         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44464         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44465         Make code unconditional.
44466         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44467         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44468         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44469         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44470         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44471         Make code unconditional.
44472         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44473         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44474         (__libc_missing_posix_timers): Remove.
44476 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44478         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44479         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44481         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44483         * elf/dl-sym.c: Include <stdlib.h>.
44485         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44486         constants, which avoids warnings in 32-bit builds.
44488         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44489         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44491         * misc/lseek.c: File moved to ...
44492         * io/lseek.c: ... here.
44494         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44496         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44497         shifting LEN more than 31 bits at once.
44499 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44501         [BZ #14195]
44502         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44503         segmentation fault for a case of two empty input strings.
44504         * string/test-strncasecmp.c (check1): Renamed to...
44505         (bz12205): ...this.
44506         (bz14195): Add new testcase for two empty input strings and N > 0.
44507         (test_main): Call new testcase, adapt for renamed function.
44509 2012-08-15  Andreas Jaeger  <aj@suse.de>
44511         [BZ #14090]
44512         * crypt/md5test2.c: New test, based on test supplied by Serge
44513         Belyshev <belyshev@depni.sinp.msu.ru>.
44514         * crypt/Makefile (xtests): Add md5test-giant..
44515         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44517 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44519         [BZ #14090]
44520         * crypt/md5.c (md5_process_block): Don't assume the buffer
44521         length is less than 2**32.
44522         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44523         length is less than 2**64.
44525 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44527         * string/str-two-way.h: Include <sys/param.h>.
44528         (MAX): Macro removed.
44530         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44531         Move #define and #undef of memmove to just before and after
44532         including <string.h>.
44534         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44535         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44536         and after including <string.h>.  Move declarations of
44537         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44538         to before #include "string/memmove.c".
44540         * include/dirent.h: Declare __getdirentries.
44542         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44543         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44545 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44547         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44548         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44549         * sysdeps/i386/configure: Regenerated.
44550         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44551         STABS_CURRENT_FILE, and STABS_FUN.
44552         (END): Remove call to STABS_FUN_END.
44553         (STABS_CURRENT_FILE1): Delete.
44554         (STABS_CURRENT_FILE): Likewise.
44555         (STABS_FUN): Likewise.
44556         (STABS_FUN_END): Likewise.
44557         (STABS_FUN2): Likewise.
44558         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44559         * sysdeps/x86_64/configure: Regenerated.
44561 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44563         * elf/dl-open.c: Include <atomic.h>.
44564         * elf/dl-lookup.c: Likewise.
44566 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44568         * sysdeps/unix/sysv/linux/kernel-features.h
44569         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44570         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44571         unconditionally.
44572         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44573         unconditionally.
44574         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44575         condition on __ASSUME_CLONE_THREAD_FLAGS.
44577 2012-08-14  Andreas Jaeger  <aj@suse.de>
44579         * sysdeps/i386/fpu/libm-test-ulps: Update.
44581 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44583         * include/atomic.h (atomic_exchange_and_add): Split into ...
44584         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44585         New atomic macros.
44587 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44591 2012-08-13  Jeff Law <law@redhat.com>
44593         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44594         null byte in the output string.
44596 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44598         * sysdeps/unix/sysv/linux/kernel-features.h
44599         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44600         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44601         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44602         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44603         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44604         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44605         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44607 2012-08-09  Jeff Law <law@redhat.com>
44609         [BZ #13939]
44610         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44611         When avoid_arena is set, don't retry in the that arena.  Pick the
44612         next one, whatever it might be.
44613         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44614         (arena_lock): Pass in new parameter to arena_get2.
44615         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44616         arena_get2.
44617         (__libc_malloc): Unify retrying after main arena failure with
44618         __libc_memalign version.
44619         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44621 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44623         [BZ #14166]
44624         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44625         to __redirect_strstr.
44626         (__strstr_sse42): Use typeof __redirect_strstr.
44627         (__strstr_ia32): Likewise.
44628         (__libc_strstr): New prototype.
44629         (strstr): Renamed to ...
44630         (__libc_strstr): This.
44631         (strstr): New strong alias of __libc_strstr.
44632         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44633         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44634         __redirect_time.
44635         Include <time.h>.
44636         (__libc_time): New prototype.
44637         (time_ifunc): Replace time with __libc_time.
44638         (time): New strong alias and hidden definition of __libc_time.
44639         (__GI_time): Remove strong alias.
44640         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44641         Include <stddef.h>.
44642         (memmove): Redefined to __redirect_memmove.
44643         (__memmove_sse2): Use typeof __redirect_memmove.
44644         (__memmove_ssse3): Likewise.
44645         (__memmove_ssse3_back): Likewise.
44646         (__libc_memmove): New prototype.
44647         (memmove): Renamed to ...
44648         (__libc_memmove): This.
44649         (memmove): New strong alias of __libc_memmove.
44651 2012-08-08  Mark Salter  <msalter@redhat.com>
44653         * elf/elf.h
44654         (R_MN10300_TLS_GD): Define.
44655         (R_MN10300_TLS_LD): Likewise.
44656         (R_MN10300_TLS_LDO): Likewise.
44657         (R_MN10300_TLS_GOTIE): Likewise.
44658         (R_MN10300_TLS_IE): Likewise.
44659         (R_MN10300_TLS_LE): Likewise.
44660         (R_MN10300_TLS_DTPMOD): Likewise.
44661         (R_MN10300_TLS_DTPOFF): Likewise.
44662         (R_MN10300_TLS_TPOFF): Likewise.
44663         (R_MN10300_SYM_DIFF): Likewise.
44664         (R_MN10300_ALIGN): Likewise.
44665         (R_MN10300_NUM): Update.
44667 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44670         Remove.
44672 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44674         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44676         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44677         sysdeps/unix -> sysdeps/posix move.
44678         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44680 2012-08-07      Allan McRae     <allan@archlinux.org>
44682         [BZ #14303]
44683         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44684         (SUNOS_CPP): Likewise.
44685         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44686         not found.
44687         (open_input): Call CPP using execvp.
44689 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44691         * sysdeps/unix/sysv/linux/kernel-features.h
44692         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44693         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44694         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44695         (__ASSUME_WAITID_SYSCALL): Likewise.
44696         * sysdeps/unix/sysv/linux/dl-execstack.c
44697         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44698         code unconditional.
44699         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44700         conditional code.
44701         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44702         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44703         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44704         code.
44705         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44706         unconditional.
44707         [__ASSUME_WAITID_SYSCALL]: Likewise.
44708         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44710 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44712         * sysdeps/unix/closedir.c: Renamed to ...
44713         * sysdeps/posix/closedir.c: ... here.
44714         * sysdeps/unix/dirfd.c: Renamed to ...
44715         * sysdeps/posix/dirfd.c: ... here.
44716         * sysdeps/unix/dirstream.h: Renamed to ...
44717         * sysdeps/posix/dirstream.h: ... here.
44718         * sysdeps/unix/fdopendir.c: Renamed to ...
44719         * sysdeps/posix/fdopendir.c: ... here.
44720         * sysdeps/unix/opendir.c: Renamed to ...
44721         * sysdeps/posix/opendir.c: ... here.
44722         * sysdeps/unix/readdir.c: Renamed to ...
44723         * sysdeps/posix/readdir.c: ... here.
44724         * sysdeps/unix/readdir_r.c: Renamed to ...
44725         * sysdeps/posix/readdir_r.c: ... here.
44726         * sysdeps/unix/rewinddir.c: Renamed to ...
44727         * sysdeps/posix/rewinddir.c: ... here.
44728         * sysdeps/unix/seekdir.c: Renamed to ...
44729         * sysdeps/posix/seekdir.c: ... here.
44730         * sysdeps/unix/telldir.c: Renamed to ...
44731         * sysdeps/posix/telldir.c: ... here.
44732         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44733         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44734         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44735         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44737         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44738         * bits/fcntl.h: ... here.
44740         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44741         not 0.
44742         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44743         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44744         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44745         (struct flock): Move l_start, l_len to the beginning.
44746         Use __pid_t for l_pid.
44747         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44748         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44749         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44750         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44751         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44752         [__USE_LARGEFILE64] (struct flock64): New type.
44753         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44755         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44756         * bits/dirent.h: ... here.
44758         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44759         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44761 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44763         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44764         Change from 2.6.0 to 2.6.16.
44765         * sysdeps/unix/sysv/linux/configure: Regenerated.
44766         * sysdeps/unix/sysv/linux/kernel-features.h
44767         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44768         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44769         version.
44770         (__ASSUME_UTIMES): Likewise.
44771         (__ASSUME_CLONE_STOPPED): Remove.
44772         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44773         architectures, not kernel version.
44774         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44775         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44776         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44777         (__ASSUME_WAITID_SYSCALL): Likewise.
44778         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44779         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44780         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44781         refer to older versions.
44783 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44785         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44786         Define alphasort64 as an alias.
44787         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44788         Define versionsort64 as an alias.
44789         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44790         Define scandir64 as an alias.
44791         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44792         Define scandirat64 as an alias.
44793         * dirent/alphasort64.c (alphasort64):
44794         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44795         * dirent/versionsort64.c: Likewise.
44796         * dirent/scandir64.c: Likewise.
44797         * dirent/scandirat64.c: Likewise.
44798         * sysdeps/wordsize-64/alphasort.c: File removed.
44799         * sysdeps/wordsize-64/alphasort64.c: File removed.
44800         * sysdeps/wordsize-64/scandir.c: File removed.
44801         * sysdeps/wordsize-64/scandir64.c: File removed.
44802         * sysdeps/wordsize-64/scandirat.c: File removed.
44803         * sysdeps/wordsize-64/scandirat64.c: File removed.
44804         * sysdeps/wordsize-64/versionsort.c: File removed.
44805         * sysdeps/wordsize-64/versionsort64.c: File removed.
44806         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44807         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44808         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44809         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44810         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44811         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44812         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44813         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44815         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44816         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44817         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44818         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44819         [defined __arch64__ || defined __sparcv9]
44820         (__INO_T_MATCHES_INO64_T): New macro.
44821         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44822         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44823         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44824         * sysdeps/unix/sysv/linux/bits/dirent.h
44825         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44826         (_DIRENT_MATCHES_DIRENT64): New macro.
44828         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44829         Define lockf64 as an alias.
44830         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44831         Define fseeko64 as an alias.
44832         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44833         Define ftello64 as an alias.
44834         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44835         Define _IO_fgetpos64 and fgetpos64 as aliases.
44836         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44837         Define _IO_fsetpos64 and fsetpos64 as aliases.
44838         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44839         Conditionalize body on this.
44840         * libio/fseeko64.c: Likewise.
44841         * libio/ftello64.c: Likewise.
44842         * libio/iofgetpos64.c: Likewise.
44843         * libio/iofsetpos64.c: Likewise.
44844         * sysdeps/wordsize-64/lockf.c: File removed.
44845         * sysdeps/wordsize-64/lockf64.c: File removed.
44846         * sysdeps/wordsize-64/fseeko.c: File removed.
44847         * sysdeps/wordsize-64/fseeko64.c: File removed.
44848         * sysdeps/wordsize-64/ftello.c: File removed.
44849         * sysdeps/wordsize-64/ftello64.c: File removed.
44850         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44851         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44852         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44853         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44854         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44855         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44856         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44857         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44858         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44859         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44860         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44861         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44862         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44863         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44865         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44867         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44869         [defined __arch64__ || defined __sparcv9]
44870         (__OFF_T_MATCHES_OFF64_T): New macro.
44871         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44872         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44873         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44874         (__OFF_T_MATCHES_OFF64_T): New macro.
44876 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44878         * stdlib/secure-getenv.c (__secure_getenv): Replace
44879         GLIBC_2_16 with GLIBC_2_17.
44881 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44883         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44884         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44886 2012-08-03  David S. Miller  <davem@davemloft.net>
44888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44890 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44892         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44893         Remove.
44894         (__ASSUME_CORRECT_SI_PID): Likewise.
44895         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44896         (__ASSUME_TMPFS_NAME): Likewise.
44897         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44898         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44899         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44900         (HAVE_AUX_SECURE): Make definition unconditional.
44901         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44902         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44904 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44906         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44907         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44908         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44909         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44910         __eloop_threshold instead of SYMLOOP_MAX.
44912         * sysdeps/generic/eloop-threshold.h: New file.
44913         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44914         of MAXSYMLINKS.
44915         * elf/chroot_canon.c (chroot_canon): Likewise.
44917 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44919         [BZ #13717]
44920         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44921         Change to 2.6.0 everywhere.
44922         * sysdeps/unix/sysv/linux/configure: Regenerated.
44923         * sysdeps/unix/sysv/linux/kernel-features.h
44924         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44925         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44926         kernel versions.
44927         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44928         (__ASSUME_FUTEX_REQUEUE): Remove.
44929         (__ASSUME_STATFS64): Define unconditionally.
44930         (__ASSUME_AT_SECURE): Likewise.
44931         (__ASSUME_CORRECT_SI_PID): Likewise.
44932         (__ASSUME_TGKILL): Define without depending on kernel version for
44933         i386.
44934         (__ASSUME_UTIMES): Likewise.
44935         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44936         kernel version.
44937         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44938         (__ASSUME_TMPFS_NAME): Likewise.
44939         * README: Update reference to Linux kernel versions.
44941 2012-08-02  Marek Polacek  <polacek@redhat.com>
44943         [BZ# 14150]
44944         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44945         libc_cv_asm_type_prefix with %.
44946         * configure: Regenerated.
44947         * include/libc-symbols.h: Remove comment about
44948         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44949         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44950         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44951         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44952         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44953         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44954         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44955         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44956         * elf/tst-unique2mod1.c: Likewise.
44957         * elf/tst-unique1mod2.c: Likewise.
44958         * elf/tst-unique1mod1.c: Likewise.
44959         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44960         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44961         Replace ASM_TYPE_DIRECTIVE with .type.
44962         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44963         * sysdeps/i386/sysdep.h: Likewise.
44964         * sysdeps/x86_64/sysdep.h: Likewise.
44965         * sysdeps/sh/sysdep.h: Likewise.
44966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44967         Do not define ASM_TYPE_DIRECTIVE.
44968         * sysdeps/powerpc/sysdep.h: Likewise.
44969         * sysdeps/powerpc/powerpc32/sysdep.h:
44970         Replace ASM_TYPE_DIRECTIVE with .type.
44971         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44972         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44973         * sysdeps/i386/fpu/e_powf.S: Likewise.
44974         * sysdeps/i386/fpu/e_expl.S: Likewise.
44975         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44976         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44977         * sysdeps/i386/fpu/e_pow.S: Likewise.
44978         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44979         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44980         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44981         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44982         * sysdeps/i386/fpu/e_log2.S: Likewise.
44983         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44984         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44985         * sysdeps/i386/fpu/e_powl.S: Likewise.
44986         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44987         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44988         * sysdeps/i386/fpu/e_logl.S: Likewise.
44989         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44990         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44991         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44992         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44993         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44994         * sysdeps/i386/fpu/e_log.S: Likewise.
44995         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44996         * sysdeps/i386/fpu/e_logf.S: Likewise.
44997         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44998         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44999         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45000         * sysdeps/i386/fpu/e_log10.S: Likewise.
45001         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45002         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45003         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45004         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45005         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45006         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45007         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45008         * sysdeps/i386/i686/strtok.S: Likewise.
45009         * sysdeps/i386/i386-mcount.S: Likewise.
45010         * sysdeps/i386/strtok.S: Likewise.
45011         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45012         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45013         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45014         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45015         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45016         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45017         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45018         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45019         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45020         * sysdeps/x86_64/_mcount.S: Likewise.
45021         * sysdeps/x86_64/strtok.S: Likewise.
45022         * sysdeps/sh/_mcount.S: Likewise.
45024 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45026         * libio/iofopen.c: Include <fcntl.h>.
45027         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45028         (_IO_fopen64, fopen64): Define as aliases.
45029         * libio/iofopen64.c: Include <fcntl.h>.
45030         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45031         Conditionalize body on this.
45032         * sysdeps/wordsize-64/iofopen.c: File removed.
45033         * sysdeps/wordsize-64/iofopen64.c: File removed.
45035 2012-08-01  Marek Polacek  <polacek@redhat.com>
45037         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45038         Use dlfcn directly instead of a variable.
45039         (binfmt-subdir): Do not define.
45040         (dlfcn): Likewise.
45042 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45045         Remove all definitions.
45046         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45047         <kernel-features.h>.
45048         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45049         (miss_F_GETOWN_EX): Remove all definitions.
45050         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45051         macro definition.
45052         [!__ASSUME_FCNTL64]: Remove conditional code.
45053         [__ASSUME_FCNTL64]: Make code unconditional.
45054         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45055         <kernel-features.h>.
45056         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45057         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45058         (lockf64) [__NR_fcntl64]: Make code unconditional.
45059         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45061         * sysdeps/unix/sysv/linux/kernel-features.h
45062         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45063         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45064         Make code unconditional.
45065         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45066         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45068         [__NR_vfork]: Make code unconditional.
45069         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45070         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45072         [__NR_vfork]: Make code unconditional.
45073         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45074         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45076 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45078         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45079         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45081         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45082         Define mkstemp64 as an alias.
45083         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45084         Define mkstemps64 as an alias.
45085         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45086         Define mkostemp64 as an alias.
45087         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45088         Define mkostemps64 as an alias.
45089         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45090         Conditionalize body on this.
45091         * misc/mkostemp64.c: Likewise.
45092         * misc/mkostemps64.c: Likewise.
45093         * misc/mkstemps64.c: Likewise.
45094         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45095         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45096         * sysdeps/wordsize-64/mkostemp.c: File removed.
45097         * sysdeps/wordsize-64/mkstemp.c: File removed.
45098         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45099         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45100         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45101         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45103         [BZ #14138]
45104         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45105         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45106         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45107         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45109         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45110         compat_symbol macros from <shlib-compat.h> rather than the underlying
45111         default_symbol_version and symbol_version macros, so that DEFAULT
45112         lines in shlib-versions are respected.
45113         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45115 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45117         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45118         Declare with warn_unused_result.
45119         (setgid, setregid, setegid, setresgid): Likewise.
45120         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45121         Likewise.
45122         * WUR-REPORT: Remove set*id functions.
45124 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45126         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45128 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45130         [BZ #10191]
45131         * include/sys/socket.h (__libc_accept, __libc_accept4):
45132         Add attribute_hidden.
45133         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45135         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45136         use of PTR_MANGLE.
45137         * inet/getnetgrent_r.c (setup): Likewise.
45139         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45141 2012-07-31  David S. Miller  <davem@davemloft.net>
45143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45145 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45147         [BZ #13629]
45148         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45149         value between 1.0 and 2.0 and smaller part has absolute value less
45150         than 1.0.
45151         * math/s_clog10.c (__clog10): Likewise.
45152         * math/s_clog10f.c (__clog10f): Likewise.
45153         * math/s_clog10l.c (__clog10l): Likewise.
45154         * math/s_clogf.c (__clogf): Likewise.
45155         * math/s_clogl.c (__clogl): Likewise.
45156         * math/libm-test.inc (clog_test): Add more tests.
45157         (clog10_test): Likewise.
45158         * sysdeps/i386/fpu/libm-test-ulps: Update.
45159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45161 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45163         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45164         Exit with zero in case no suitable GID is found, and write a
45165         message to standard error.
45167 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45169         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45170         rather than to 1.
45171         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45172         (MAXPATHLEN): Removed.
45173         (NOGROUP, NODEV): New macros.
45174         (setbit, clrbit, isset, isclr): New macros.
45175         (howmany, roundup, powerof2): New macros.
45176         (DEV_BSIZE): New macro.
45178         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45179         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45181         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45182         definition on [!__NO_LONG_DOUBLE_MATH].
45184         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45185         PTR_MANGLE and PTR_DEMANGLE.
45187         * socket/accept4.c (accept4): Rename to __libc_accept4.
45188         Define accept4 as a weak alias.
45190         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45191         on [_DIRENT_HAVE_D_TYPE].
45192         * io/ftw.c (ftw_dir): Likewise.
45194         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45196         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45198         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45199         Use the BSD numbers rather than the arbitrary ones we had.
45200         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45201         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45202         (SIGXCPU, SIGXFSZ): New macros.
45203         (_NSIG): Now 32.
45205         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45206         initializer on [_LIBC_REENTRANT].
45208         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45209         definitions inside [_POSIX_MAPPED_FILES].
45211         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45213         * dirent/opendir.c: Include <fcntl.h>.
45215         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45216         (__libc_getspecific): Likewise.
45217         (__libc_key_create): Likewise.
45219         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45220         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45221         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45222         (tmpfile64): Define as alias.
45223         * sysdeps/wordsize-64/tmpfile.c: File removed.
45224         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45225         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45226         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45228         * stdio-common/vfscanf.c: Include <stdbool.h>.
45229         * nss/makedb.c: Likewise.
45230         * stdio-common/_i18n_number.h: Likewise.
45231         * argp/argp-help.c: Likewise.
45232         * posix/wordexp.c: Likewise.
45233         * sysdeps/posix/spawni.c: Likewise.
45234         * nss/nss_files/files-initgroups.c: Likewise.
45235         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45236         * nss/nss_files/files-initgroups.c: Likewise.
45237         * nss/nss_db/db-netgrp.c: Likewise.
45238         * nss/nss_db/db-initgroups.c: Likewise.
45239         * io/fchmodat.c: Include <sys/stat.h>.
45241         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45242         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45244         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45245         [HAVE_MMAP].
45247         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45248         Add multiple inclusion protection.
45250 2012-07-27  David S. Miller  <davem@davemloft.net>
45252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45254 2012-07-27  Gary Benson  <gbenson@redhat.com>
45256         [BZ #14298]
45257         * elf/rtld.c: Include <stap-probe.h>.
45258         (dl_main): Added static probes "init_start" and "init_complete".
45259         * elf/dl-load.c: Include <stap-probe.h>.
45260         (lose): Take new parameter "nsid".
45261         Added static probe "map_failed".
45262         (_dl_map_object_from_fd): Pass namespace id to lose.
45263         Added static probe "map_start".
45264         (open_verify): Pass namespace id to lose.
45265         * elf/dl-open.c: Include <stap-probe.h>.
45266         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45267         and "reloc_complete".
45268         * elf/dl-close.c: Include <stap-probe.h>.
45269         (_dl_close_worker): Added static probes "unmap_start" and
45270         "unmap_complete".
45271         * elf/rtld-debugger-interface.txt: New file documenting the above.
45273 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45275         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45276         rather than a string variable.
45277         * sunrpc/rpc_main.c (h_output): Likewise.
45278         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45280 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45282         * inet/check_native.c: New file.
45284 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45286         [BZ #13629]
45287         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45288         if larger part has absolute value 1.0.
45289         * math/s_clog10.c (__clog10): Likewise.
45290         * math/s_clog10f.c (__clog10f): Likewise.
45291         * math/s_clog10l.c (__clog10l): Likewise.
45292         * math/s_clogf.c (__clogf): Likewise.
45293         * math/s_clogl.c (__clogl): Likewise.
45294         * math/libm-test.inc (clog_test): Add more tests.
45295         (clog10_test): Likewise.
45296         * sysdeps/i386/fpu/libm-test-ulps: Update.
45297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45299         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45300         (pltexit): Likewise.
45301         (La_regs): Likewise.
45302         (La_retval): Likewise.
45303         (int_retval): Likewise.
45304         Update #error for removed macros to refer only to definitions in
45305         tst-audit.h.
45306         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45307         macro.
45308         (pltexit): Likewise.
45309         (La_regs): Likewise.
45310         (La_retval): Likewise.
45311         (int_retval): Likewise.
45312         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45313         macro.
45314         (pltexit): Likewise.
45315         (La_regs): Likewise.
45316         (La_retval): Likewise.
45317         (int_retval): Likewise.
45318         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45319         macro.
45320         (pltexit): Likewise.
45321         (La_regs): Likewise.
45322         (La_retval): Likewise.
45323         (int_retval): Likewise.
45324         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45325         macro.
45326         (pltexit): Likewise.
45327         (La_regs): Likewise.
45328         (La_retval): Likewise.
45329         (int_retval): Likewise.
45330         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45331         macro.
45332         (pltexit): Likewise.
45333         (La_regs): Likewise.
45334         (La_retval): Likewise.
45335         (int_retval): Likewise.
45336         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45337         macro.
45338         (pltexit): Likewise.
45339         (La_regs): Likewise.
45340         (La_retval): Likewise.
45341         (int_retval): Likewise.
45342         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45343         macro definitions in tst-audit.h.
45344         * sysdeps/i386/tst-audit.h: New file.
45345         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45346         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45347         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45348         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45349         * sysdeps/sh/tst-audit.h: Likewise.
45350         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45351         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45352         * sysdeps/x86_64/tst-audit.h: Likewise.
45354 2012-07-26  Andreas Jaeger  <aj@suse.de>
45356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45357         ptrace.
45359         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45360         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45361         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45362         PTRACE_O_MASK.
45363         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45364         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45365         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45367         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45368         value.
45370         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45371         _sigsys.
45372         (si_call_addr, si_syscall, si_arch): Define new macro.
45373         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45374         _sigsys.
45375         (si_call_addr, si_syscall, si_arch): Define new marcro.
45376         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45377         _sigsys.
45378         (si_call_addr, si_syscall, si_arch): Define new macro.
45379         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45380         _sigsys.
45381         (si_call_addr, si_syscall, si_arch): Define new macro.
45383 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45385         [BZ #13717]
45386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45387         Change to 2.4.21 where previously 2.4.1.
45388         * sysdeps/unix/sysv/linux/configure: Regenerated.
45389         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45390         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45391         Linux kernel version.
45392         (__ASSUME_STD_AUXV): Remove.
45393         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45394         kernel version.
45395         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45396         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45397         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45398         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45399         (__ASSUME_NETLINK_SUPPORT): Likewise.
45400         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45401         (__no_netlink_support): Remove conditional definition.
45402         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45403         Remove.
45404         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45405         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45406         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45407         (if_nameindex_ioctl): Remove.
45408         (if_nameindex_netlink): Do not handle __no_netlink_support.
45409         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45410         code.
45411         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45412         Remove conditional code.
45413         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45414         code.
45415         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45416         unconditional.
45417         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45418         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45419         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45420         Remove.
45421         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45422         [!__ASSUME_STD_AUXV]: Remove conditional code.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45424         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45425         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45427         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45428         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45429         code.
45430         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45432         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45433         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45434         conditional code.
45435         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45437         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45438         code.
45439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45440         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45441         conditional code.
45442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45443         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45444         code unconditional.
45445         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45446         conditional code.
45447         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45448         unconditional.
45449         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45450         conditional code.
45451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45452         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45453         unconditional.
45454         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45455         conditional code.
45456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45457         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45458         code unconditional.
45459         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45460         conditional code.
45461         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45462         unconditional.
45463         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45464         conditional code.
45465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45466         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45467         code unconditional.
45468         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45469         conditional code.
45470         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45471         unconditional.
45472         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45473         conditional code.
45475 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45477         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45478         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45479         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45480         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45481         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45482         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45483         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45484         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45485         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45486         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45487         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45488         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45489         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45490         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45491         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45492         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45493         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45494         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45495         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45497         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45498         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45499         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45501 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45503         * Versions.def: Add GLIBC_2.17.
45504         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45505         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45506         Introduce __libc_secure_getenv.
45507         * stdlib/Versions (2.17): Add secure_getenv
45508         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45509         * stdlib/secure-getenv.c: Rename __secure_getenv to
45510         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45511         symbol __secure_getenv for GLIBC_2.0.
45512         * stdlib/tst-secure-getenv.c: New.
45513         * stdlib/Makefile (tests): Add testcase.
45514         * manual/startup.texi (Environment Access): Document
45515         secure_getenv.
45516         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45517         __libc_secure_getenv.
45518         * inet/ruserpass.c (ruserpass): Likewise.
45519         * malloc/mtrace.c (mtrace): Likewise.
45520         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45521         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45522         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45523         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45524         HAVE_SECURE_GETENV.
45525         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45526         __secure_getenv to __libc_secure_getenv.
45527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45529         Likewise.
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45531         Likewise.
45532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45540 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45542         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45543         (struct La_i86_retval): Likewise.
45544         (struct La_x86_64_regs): Likewise.
45545         (struct La_x86_64_retval): Likewise.
45546         (struct La_x32_regs): Likewise.
45547         (struct La_x32_retval): Likewise.
45548         (struct La_ppc32_regs): Likewise.
45549         (struct La_ppc32_retval): Likewise.
45550         (struct La_ppc64_regs): Likewise.
45551         (struct La_ppc64_retval): Likewise.
45552         (struct La_sh_regs): Likewise.
45553         (struct La_sh_retval): Likewise.
45554         (struct La_s390_32_regs): Likewise.
45555         (struct La_s390_32_retval): Likewise.
45556         (struct La_s390_64_regs): Likewise.
45557         (struct La_s390_64_retval): Likewise.
45558         (struct La_sparc32_regs): Likewise.
45559         (struct La_sparc32_retval): Likewise.
45560         (struct La_sparc64_regs): Likewise.
45561         (struct La_sparc64_retval): Likewise.
45562         (struct audit_ifaces): Remove architecture-specific pltenter and
45563         pltexit members.
45564         * sysdeps/i386/ldsodefs.h: New file.
45565         * sysdeps/powerpc/ldsodefs.h: Likewise.
45566         * sysdeps/s390/ldsodefs.h: Likewise.
45567         * sysdeps/sh/ldsodefs.h: Likewise.
45568         * sysdeps/sparc/ldsodefs.h: Likewise.
45569         * sysdeps/x86_64/ldsodefs.h: Likewise.
45571 2012-07-25  Marek Polacek  <polacek@redhat.com>
45573         [BZ #6808]
45574         * math/libm-test.inc (yn_test): Add another test.
45575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45576         to ERANGE when the result is +-Inf.
45577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45578         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45579         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45580         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45582 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45584         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45585         equal to 0.
45586         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45587         clock_t.
45588         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45590 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45592         * configure.in <sysdeps resolving>: Correct printing
45593         Implies_before.
45594         * configure: Regenerate.
45596 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45598         * math/w_ilogb.c: Include <limits.h>.
45599         * math/w_ilogbl.c: Likewise.
45601 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45603         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45604         va_copy.  Document allowing for unavailable va_copy only as
45605         pre-C99 compatibility.
45606         * manual/string.texi (Copying and Concatenation): Use va_copy
45607         instead of __va_copy in concat example.
45609 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45611         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45612         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45613         it if not null.
45615         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45616         with O_NOLINK passed to __file_name_lookup.
45618         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45619         with O_NOLINK passed to __file_name_lookup.
45621         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45622         negative N or less than NGIDS.
45624         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45625         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45626         enough.  Use memcpy instead of strncpy.
45628 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45630         * elf/Makefile (check-data): Remove.
45631         (localplt.data): New vpath directive.
45632         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45633         instead of $(check-data).
45634         * scripts/data/localplt-generic.data: Move to ...
45635         * sysdeps/generic/localplt.data: ... here.
45636         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45637         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45638         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45640         ... here.
45641         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45643         ... here.
45644         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45646         ... here.
45647         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45649         ... here.
45650         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45652         ... here.
45653         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45655         ... here.
45657 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45659         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45660         PPC32 and PPC64 files.
45661         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45662         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45664 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45666         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45667         __makecontext_ret to ...
45668         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45669         ... here and call exit if uc_link is NULL.  New file.
45670         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45671         __makecontext_ret.S.
45672         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45673         __makecontext_ret to ...
45674         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45675         ... here and call exit if uc_link is NULL.  New file.
45676         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45677         __makecontext_ret.S.
45679 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45681         * elf/elf.h (R_390_IRELATIVE): New definition.
45682         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45683         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45684         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45685         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45686         (elf_machine_lazy_rel): Likewise.
45687         * sysdeps/s390/dl-irel.h: New file.
45688         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45689         * sysdeps/s390/s390-64/memset.S: New asm code.
45690         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45691         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45692         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45693         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45694         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45695         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45696         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45697         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45698         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45699         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45700         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45701         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45702         * sysdeps/s390/s390-32/memset.S: New asm code.
45703         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45705 2012-07-17  Marek Polacek  <polacek@redhat.com>
45707         [BZ #14349]
45708         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45709         * sysdeps/s390/s390-64/configure.in: Likewise.
45710         * sysdeps/sparc/configure.in: Likewise.
45711         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45712         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45713         * sysdeps/i386/configure.in: Likewise.
45714         * sysdeps/x86_64/configure.in: Likewise.
45715         * sysdeps/sh/configure.in: Likewise.
45716         * sysdeps/s390/s390-32/configure: Regenerated.
45717         * sysdeps/s390/s390-64/configure: Likewise.
45718         * sysdeps/x86_64/configure: Likewise.
45719         * sysdeps/sh/configure: Likewise.
45720         * sysdeps/powerpc/powerpc64/configure: Likewise.
45721         * sysdeps/powerpc/powerpc32/configure: Likewise.
45722         * sysdeps/sparc/configure: Likwise.
45723         * sysdeps/i386/configure: Likewise.
45725         * elf/dl-open.c: Comment fixes.
45727 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45729         * Makefile [CXX] (check-data): Remove.
45730         [CXX] (c++-types.data): New vpath directive.
45731         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45732         vpath.  Do not allow for C++ type data being missing.
45733         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45734         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45735         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45736         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45737         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45738         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45739         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45741         ... here.
45742         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45744         ... here.
45745         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45747         ... here.
45748         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45750         ... here.
45751         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45753         ... here.
45754         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45756         ... here.
45757         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45759         ... here.
45760         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45763         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45764         definitions to architecture-specific files.
45765         (TLS_IE): Likewise.
45766         (TLS_LD): Likewise.
45767         (TLS_GD): Likewise.
45768         * sysdeps/i386/tls-macros.h: New file.
45769         * sysdeps/powerpc/tls-macros.h: Likewise.
45770         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45771         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45772         * sysdeps/sh/tls-macros.h: Likewise.
45773         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45774         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45775         * sysdeps/x86_64/tls-macros.h: Likewise.
45777 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45779         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45780         zero value for regular exit case.
45782         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45783         (__start_context): Preserve zero value for regular exit case.
45785 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45786             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45788         * manual/setjmp.texi (setcontext): Clarify normal process
45789         termination when uc_link is the null pointer.
45790         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45791         exit call.
45793 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45795         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45796         preprocessor.  Test for each exception mask separately.
45798 2012-07-16  Andreas Jaeger  <aj@suse.de>
45800         * po/ru.po: Update from translation team.
45802 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45804         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45805         equal to 0.
45806         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45807         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45808         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45809         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45810         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45812 2012-07-13  Andreas Jaeger  <aj@suse.de>
45814         * po/fr.po: Update from translation team.
45816 2012-07-12  Marek Polacek  <polacek@redhat.com>
45818         [BZ #14173]
45819         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45820         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45821         loop condition.
45823 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45825         [BZ #13717]
45826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45827         Change to 2.4.1 where previously 2.4.0.
45828         * sysdeps/unix/sysv/linux/configure: Regenerated.
45829         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45830         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45831         version.
45832         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45833         (__ASSUME_AT_CLKTCK): Remove.
45834         (__ASSUME_AT_PAGESIZE): Likewise.
45835         (__ASSUME_AT_XID): Likewise.
45836         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45837         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45838         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45839         unconditionally.
45840         (HAVE_AUX_PAGESIZE): Likewise.
45841         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45842         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45843         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45845 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45847         [BZ #14307]
45848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45849         the temporary buffer used to invoke __gethostbyname2_r,
45850         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45851         host_data / struct gaih_addrtuple.
45852         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45853         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45854         header file nss/nsswitch.h.
45855         * nss/nsswitch.h (global scope): Add definition of implementation
45856         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45857         resolv/nss_dns/dns-host.c).
45859 2012-07-11  Andreas Jaeger  <aj@suse.de>
45861         * po/fr.po: Update from translation team.
45863         * po/sv.po: Update from translation team
45864         * po/fr.po: Another update from translation team.
45866 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45868         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45869         for subnormals or multiply small sinh result by itself.
45870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45873 2012-07-11  David S. Miller  <davem@davemloft.net>
45875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45877 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45879         [BZ #14347]
45880         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45881         (INTERNAL_MARK): Shift it here.
45883 2012-07-10  Marek Polacek  <polacek@redhat.com>
45885         [BZ #14151]
45886         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45887         libc_cv_asm_global_directive with .globl.
45888         * configure: Regenerated.
45889         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45890         with .globl.
45891         * sysdeps/i386/configure: Regenerated.
45892         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45893         with .globl.
45894         * sysdeps/x86_64/configure: Regenerated.
45895         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45896         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45897         * elf/tst-unique2mod2.c: Likewise.
45898         * elf/tst-unique2mod1.c: Likewise.
45899         * elf/tst-unique1mod2.c: Likewise.
45900         * elf/tst-unique1mod1.c: Likewise.
45901         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45902         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45904         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45905         * sysdeps/mach/sysdep.h: Likewise.
45906         * sysdeps/i386/sysdep.h: Likewise.
45907         * sysdeps/i386/i386-mcount.S: Likewise.
45908         * sysdeps/x86_64/_mcount.S: Likewise.
45909         * sysdeps/x86_64/sysdep.h: Likewise.
45910         * sysdeps/sh/_mcount.S: Likewise.
45911         * sysdeps/sh/sysdep.h: Likewise.
45912         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45913         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45914         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45915         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45916         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45917         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45918         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45919         * locale/localeinfo.h: Likewise.
45920         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45921         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45923 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45925         [BZ #14336]
45926         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45927         system".
45928         * manual/message.texi (The Uniforum approach): Likewise.
45929         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45930         (glibc iconv Implementation): Likewise.
45932 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45934         [BZ #14337]
45935         * math/s_clog.c (__clog): Avoid scaling a value down where that
45936         could result in underflow.
45937         * math/s_clog10.c (__clog10): Likewise.
45938         * math/s_clog10f.c (__clog10f): Likewise.
45939         * math/s_clog10l.c (__clog10l): Likewise.
45940         * math/s_clogf.c (__clogf): Likewise.
45941         * math/s_clogl.c (__clogl): Likewise.
45942         * math/libm-test.inc (clog_test): Add more tests.
45943         (clog10_test): Likewise.
45944         * sysdeps/i386/fpu/libm-test-ulps: Update.
45945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45947 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45949         [BZ #14283]
45950         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45951         by 7 not 8 to examine high bit of fractional part.
45953         [BZ #14042]
45954         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45955         for call to __mcount_internal.
45956         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45957         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45958         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45960 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45962         [BZ #14154]
45963         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45964         approximation for values within 0x1p-13f of an odd multiple of
45965         pi/4.
45966         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45967         exception.  Add more tests.
45968         * sysdeps/i386/fpu/libm-test-ulps: Update.
45970         [BZ #6778]
45971         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45972         inputs and return -1 for them.  Do not check for +Inf in case not
45973         reachable for +Inf.
45974         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45975         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45976         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45977         and return -1 for them.  Do not check for +Inf in case not
45978         reachable for +Inf.
45979         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45980         define.
45981         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45982         and return -1 for them.  Do not check for +Inf in case not
45983         reachable for +Inf.
45984         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45985         spurious underflow.
45986         * sysdeps/i386/fpu/libm-test-ulps: Update.
45987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45989 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45991         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45993 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45995         [BZ #14157]
45996         [BZ #14331]
45997         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45998         could result in spurious underflow.  Scale down values above
45999         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46000         * math/s_csqrtf.c (__csqrtf): Likewise.
46001         * math/s_csqrtl.c (__csqrtl): Likewise.
46002         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46003         spurious underflow.
46004         * sysdeps/i386/fpu/libm-test-ulps: Update.
46005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46007 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46009         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46010         xopen-msg.sed.
46011         * catgets/xopen-msg.awk: New file.
46012         * catgets/xopen-msg.sed: Removed.
46014         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46015         po2text.sed.
46016         * intl/po2test.awk: New file.
46017         * intl/po2test.sed: Removed.
46019 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46021         [BZ #14328]
46022         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46023         or multiply small sinh result by itself.
46024         * math/s_ctanf.c (__ctanf): Likewise.
46025         * math/s_ctanh.c (__ctanh): Likewise.
46026         * math/s_ctanhf.c (__ctanhf): Likewise.
46027         * math/s_ctanhl.c (__ctanhl): Likewise.
46028         * math/s_ctanl.c (__ctanl): Likewise.
46029         * math/libm-test.inc (ctan_test_tonearest): New function.
46030         (ctan_test_towardzero): Likewise.
46031         (ctan_test_downward): Likewise.
46032         (ctan_test_upward): Likewise.
46033         (ctanh_test_tonearest): Likewise.
46034         (ctanh_test_towardzero): Likewise.
46035         (ctanh_test_downward): Likewise.
46036         (ctanh_test_upward): Likewise.
46037         (main): Call these new functions.
46038         * sysdeps/i386/fpu/libm-test-ulps: Update.
46039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46041 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46043         * .gitignore: Delete /ports entry.
46045 2012-07-03  Andreas Jaeger  <aj@suse.de>
46047         * po/bg.po: Update from translation team.
46048         * po/cs.po: Likewise.
46049         * po/de.po: Likewise.
46050         * po/hr.po: Likewise.
46051         * po/nl.pl: Likewise.
46052         * po/pl.po: Likewise.
46053         * po/vi.po: Likewise.
46055 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46057         * Makeconfig [!+link] (+link-before-libc): New variable.
46058         [!+link] (+link-after-libc): Likewise.
46059         [!+link] (+link-tests): Likewise.
46060         [!+link] (+link): Define in terms of $(+link-before-libc) and
46061         $(+link-after-libc).
46062         [!+link-static] (+link-static-before-libc): New variable.
46063         [!+link-static] (+link-static-after-libc): Likewise.
46064         [!+link-static] (+link-static-tests): Likewise.
46065         [!+link-static] (+link-static): Define in terms of
46066         $(+link-static-before-libc) and $(+link-static-after-libc).
46067         [build-shared] (link-libc-before-gnulib): New variable.
46068         [build-shared] (link-libc-tests): Likewise.
46069         [build-shared] (link-libc): Define in terms of
46070         $(link-libc-before-gnulib).
46071         [!build-shared] (link-libc-tests): New variable.
46072         (link-libc-static-tests): New variable.
46073         [!gnulib] (gnulib-arch): New variable.
46074         [!gnulib] (gnulib-tests): Likewise.
46075         [!gnulib] (static-gnulib-arch): Likewise.
46076         [!gnulib] (static-gnulib-tests): Likewise.
46077         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46078         Define with "=" instead of ":=".
46079         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46080         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46081         * Rules (binaries-all-notests): New variable.
46082         (binaries-all-tests): Likewise.
46083         (binaries-static-notests): Likewise.
46084         (binaries-static-tests): Likewise.
46085         (binaries-all): Define using $(binaries-all-notests) and
46086         $(binaries-all-tests).
46087         (binaries-static): Define using $(binaries-static-notests) and
46088         $(binaries-static-tests).
46089         (binaries-shared-tests): New variable.
46090         (binaries-shared-notests): Likewise.
46091         (binaries-shared): Remove variable.
46092         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46093         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46094         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46095         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46096         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46097         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46098         * elf/Makefile (sln-modules): New variable.
46099         (extra-objs): Add $(sln-modules:=.o).
46100         (ldconfig-modules): Add static-stubs.
46101         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46102         * elf/static-stubs.c: New file.
46104         [BZ #14283]
46105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46106         by 7 not 8 to examine high bit of fractional part.  Use volatile
46107         variables when splitting into final array of floats if
46108         __FLT_EVAL_METHOD__ != 0.
46109         * math/libm-test.inc (cos_test): Add another test.
46110         (sin_test): Likewise.
46111         * sysdeps/i386/fpu/libm-test-ulps: Update.
46113         [BZ #14273]
46114         * math/libm-test.inc (cosh_test): Add more tests.
46116         * version.h (RELEASE): Set to "development".
46117         (VERSION): Set to "2.16.90".
46119 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46121         * NEWS: Update copyright. Remove last-updated date.
46122         Mention math library bug fixes and timezone data changes.
46123         * README: Mention GNU/Hurd, x32, and HPPA support status.
46125 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46127         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46129 2012-06-27  Andreas Jaeger  <aj@suse.de>
46131         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46133 2012-06-25  Andreas Jaeger  <aj@suse.de>
46135         * sysdeps/s390/fpu/libm-test-ulps: Update.
46137 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46138             Thomas Schwinge  <thomas@codesourcery.com>
46140         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46141         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46142         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46143         fanotify_mark.
46145 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46147         * sysdeps/mach/start.c: Remove file.
46148         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46149         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46150         * sysdeps/sh/init-first.c: Likewise.
46152         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46153         registers for frame unwinding purposes, add CFI directives.
46154         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46155         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46156         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46157         Likewise.
46159         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46160         __fortify_fail returning.
46161         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46163         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46164         sysdeps/sh/____longjmp_chk.S.
46165         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46166         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46167         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46168         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46170         * sysdeps/sh/abort-instr.h: New file.
46171         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46172         process in case exit returns.
46174         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46175         initialize the GOT register before use.
46177         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46178         calculation of ARGC > 4.
46180         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46181         meaningful names to some local labels.
46183 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46184             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46186         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46187         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46188         (__arch_compare_and_exchange_val_16_acq): Likewise.
46189         (__arch_compare_and_exchange_val_32_acq): Likewise.
46190         (atomic_exchange_and_add): Fix gUSA sequence.
46191         (atomic_add): Likewise.
46192         (atomic_add_negative): Likewise.
46193         (atomic_add_zero): Likewise.
46194         (atomic_bit_test_set): Likewise.
46196 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46198         [BZ #13579]
46199         * include/link.h (struct link_map): Add l_free_initfini.
46200         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46201         l_initfini.
46202         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46203         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46204         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46205         set.
46207 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46209         * configure.in: Use AC_LANG_SOURCE.
46210         * configure: Regenerate.
46212 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46214         * configure.in (libc_cv_localstatedir): New substituted variable.
46215         * configure: Regenerated.
46216         * config.make.in (localstatedir): New variable, substituted from
46217         libc_cv_localstatedir.
46218         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46219         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46220         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46221         * sysdeps/gnu/configure: Regenerated.
46223 2012-06-21  Jeff Law  <law@redhat.com>
46225         [BZ #14277]
46226         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46227         free.  Simplify list management for _LIBC case.
46229 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46231         [BZ #14273]
46232         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46233         Clear sign bit of 64-bit integer value before comparing against
46234         overflow value.
46236         * sysdeps/mach/configure: Regenerated.
46238 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46240         [BZ #14278]
46241         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46243 2012-06-21  Jeff Law  <law@redhat.com>
46245         [BZ #13882]
46246         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46247         uint16_t for elements in the "seen" array to avoid char overflows.
46248         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46249         * elf/dl-open.c (dl_open_worker): Likewise.
46251 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46253         * scripts/list-sources.sh: Scan PORTS for translations.
46254         * po/libc.pot: Regenerated.
46256 2012-06-21  Andreas Jaeger  <aj@suse.de>
46258         [BZ #12194]
46259         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46260         warning.
46261         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46262         * bits/byteswap-16.h (__bswap_16): Likewise.
46263         * bits/byteswap.h (__bswap_constant_16): Likewise.
46265 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46267         [BZ #14117]
46268         * sysdeps/i386/fpu_control.h: Removed.
46269         * sysdeps/x86_64/fpu_control.h: Moved to ...
46270         * sysdeps/x86/fpu_control.h: Here.
46272         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46273         (_FPU_SETCW): Likewise.
46275 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46277         [BZ #14117]
46278         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46279         * sysdeps/x86/fpu/bits/mathinline.h: This.
46280         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46282         [BZ #14050]
46283         [BZ #14117]
46284         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46285         functions if __x86_64__ is defined.
46287 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46289         * string/endian.h: Add !__ASSEMBLER__ condition for including
46290         conversion interfaces.
46292 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46294         [BZ #14241]
46295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46296         of ABS(x) in calculating zero to negative powers other than odd
46297         integers.
46298         * math/libm-test.inc (pow_test): Add more tests.
46300 2012-06-15  Andreas Jaeger  <aj@suse.de>
46302         * manual/contrib.texi (Contributors): Update entry of Liubov
46303         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46304         Machado Filho.
46306 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46308         * string/string.h: Add __wur to GNU version of strerror_r.
46310 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46312         [BZ #14229]
46313         * string/Makefile (tests): Add tst-strtok_r.
46314         * string/tst-strtok_r.c: New file.
46315         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46316         RAX_LP/RDX_LP on SAVE_PTR.
46318 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46320         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46322 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46324         * libm_test.inc (csqrt_test): Allow more spurious underflow
46325         exceptions.
46326         (j0_test): Likewise.
46327         (j1_test): Likewise.
46328         (y0_test): Likewise.
46329         (y1_test): Likewise.
46331 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46333         * po/Makefile (libc.pot): Use UTF-8 charset.
46335 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46337         [BZ #14210]
46338         Suppress sign-conversion warning from FD_SET.
46339         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46340         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46341         not unsigned long int.
46342         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46344 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46346         [BZ #14050]
46347         [BZ #14117]
46348         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46349         __extern_always_inline instead of __extern_inline.
46350         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46351         (__signbit): Likewise.
46352         (__signbitl): Support C++ namespace.
46353         (lrintf): New inline function.
46354         (lrint): Likewise.
46355         (llrintf): Likewise.
46356         (llrint): Likewise.
46357         (fmaxf): Likewise.
46358         (fmax): Likewise.
46359         (fminf): Likewise.
46360         (fmin): Likewise.
46361         (rint): Likewise.
46362         (rintf): Likewise.
46363         (ceil): Likewise.
46364         (ceilf): Likewise.
46365         (floor): Likewise.
46366         (floorf): Likewise.
46367         (nearbyint): Likewise.
46368         (nearbyintf): Likewise.
46370 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46372         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46373         non-default versions.
46375 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46377         [BZ #14218]
46378         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46380 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46382         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46383         (FE_UPWARD, FE_DOWNWARD): Don't define.
46384         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46385         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46388         reading it.
46389         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46390         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46392 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46394         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46396         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46397         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46399 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46401         [BZ #14117]
46402         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46403         * sysdeps/i386/fpu/Implies: New file.
46404         * sysdeps/x86_64/fpu/Implies: Likewise.
46405         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46406         * sysdeps/x86/fpu/bits/fenv.h: This.
46408         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46409         __SSE_MATH__.
46411 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46413         [BZ #14134]
46414         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46415         character 0xffff that matches the last element of the
46416         conversion table.
46418 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46421         fmodl commit.
46423 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46425         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46426         values higher than 25.6283.
46428 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46431         subnormal exponent extraction and add some __builtin_expect.
46432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46433         Fix for subnormal mantissa calculation.
46435 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46437         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46438         cpu2 is -1 and errno is not ENOSYS.
46440 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46442         [BZ #14117]
46443         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46444         * sysdeps/x86/bits/string.h: This.
46445         * sysdeps/x86_64/bits/string.h: Removed.
46447         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46448         if not compiling for x86-64, but compiling for >= i486.
46450         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46451         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46453         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46454         New macro from Linux kernel 3.4.0.
46455         (FP_XSTATE_MAGIC2): Likewise.
46456         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46457         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46458         (struct _fpx_sw_bytes): New struct.
46459         (struct _xsave_hdr): Likewise.
46460         (struct _ymmh_state): Likewise.
46461         (struct _xstate): Likewise.
46463         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46464         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46465         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46466         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46467         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46468         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46470         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46471         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46472         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46473         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46474         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46475         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46477 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46479         [BZ #13743]
46480         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46481         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46482         (sysdep_headers): Include sys/platform/ppc.h.
46483         * sysdeps/powerpc/test-gettimebase.c: Test for
46484         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46485         * manual/Makefile (appendices): Include platform.texi.
46486         * manual/contrib.texi (Contributors): Update @node pointers.
46487         * manual/maint.texi (Maintenance): Likewise.
46488         (Platform): New node.
46489         * manual/platform.texi: New file.  Document the new features.
46491 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46492             Jakub Jelinek  <jakub@redhat.com>
46494         [BZ #14188]
46495         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46496         where __builtin_expect is unavailable.
46498 2012-06-03  David S. Miller  <davem@davemloft.net>
46500         * stdlib/longlong.h: Updated from GCC.
46502 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46504         [BZ #14042]
46505         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46506         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46507         __mcount_internal.
46508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46509         (GLIBC_2.16): Likewise.
46511 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46513         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46515 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46518         (default-abi): New variable.
46519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46520         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46521         variable.
46522         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46523         Likewise.
46524         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46525         Likewise.
46526         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46527         Likewise.
46529         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46530         definition.  Document in comment.
46532 2012-06-01  David S. Miller  <davem@davemloft.net>
46534         * stdlib/longlong.h: Updated from GCC.
46536 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46538         [BZ #14117]
46539         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46540         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46541         sys/debugreg.h sys/io.h here.
46542         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46543         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46544         sys/io.h.
46545         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46546         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46547         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46548         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46549         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46550         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46552         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46553         Define only if __x86_64__ is defined.
46555 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46557         [BZ #14048]
46558         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46559         Use int64_t for variable i.
46560         * math/libm-test.inc (fmod_test): Add more tests.
46562         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46563         z computation is not scheduled after fetestexcept.
46564         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46565         Use math_force_eval instead of asm to ensure calculation scheduled
46566         before exception test.
46567         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46568         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46570 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46573         computation is not scheduled after fetestexcept.
46575 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46577         [BZ #14117]
46578         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46579         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46581 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46583         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46584         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46586 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46588         [BZ #14117]
46589         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46590         <bits/wordsize.h>.
46591         (__WCHAR_MIN): Support __WORDSIZE == 64.
46592         (__WCHAR_MAX): Likewise.
46594         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46595         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46597         [BZ #14183]
46598         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46599         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46601         [BZ #14117]
46602         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46603         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46605         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46606         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46608         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46609         Defined to 1 if __x86_64__ isn't defined.
46610         (_STAT_VER_LINUX_OLD): New.
46611         (st_atime): Remove duplicate.
46612         (st_mtime): Likewise.
46613         (st_ctime): Likewise.
46615 2012-05-31  David S. Miller  <davem@davemloft.net>
46617         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46618         entries.
46620 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46622         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46623         gen-libm-test.pl.
46625         [BZ #14132]
46626         * elf/dl-reloc.c: Include <_itoa.h>.
46627         (_dl_reloc_bad_type): Remove use of INTUSE.
46628         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46629         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46630         * stdio-common/psiginfo.c (psiginfo): Likewise.
46631         * stdio-common/psignal.c (psignal): Likewise.
46632         * string/strsignal.c (strsignal): Likewise.
46633         * include/signal.h (_sys_siglist): Declare hidden proto.
46634         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46635         INTVARDEF with libc_hidden_data_def.
46636         * stdio-common/itoa-udigits.c: Likewise.
46637         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46638         (_itoa_lower_digits_internal): Remove declaration.
46639         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46640         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46641         (_sys_sigabbrev_internal): Remove aliases.
46642         (_sys_siglist): Define hidden alias.
46644 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46647         bits/sysctl.h.
46649 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46651         [BZ #14117]
46652         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46653         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46655         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46656         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46657         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46658         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46659         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46660         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46662         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46663         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46664         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46666         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46667         with __addr.
46668         (insw): Likewise.
46669         (insl): Likewise.
46670         (outsb): Likewise.
46671         (outsw): Likewise.
46672         (outsl): Likewise.
46674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46675         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46676         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46678         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46679         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46680         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46681         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46682         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46683         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46685         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46686         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46688         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46689         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46691         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46692         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46693         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46695         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46696         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46697         to ...
46698         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46700         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46701         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46702         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46704         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46705         for x86-64.
46706         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46708 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46710         * math/math.h (M_El): Use two more decimal places.
46711         (M_LOG2El): Likewise.
46712         (M_LOG10El): Likewise.
46713         (M_LN2l): Likewise.
46714         (M_LN10l): Likewise.
46715         (M_PIl): Likewise.
46716         (M_PI_2l): Likewise.
46717         (M_PI_4l): Likewise.
46718         (M_1_PIl): Likewise.
46719         (M_2_PIl): Likewise.
46720         (M_2_SQRTPIl): Likewise.
46721         (M_SQRT2l): Likewise.
46722         (M_SQRT1_2l): Likewise.
46724 2012-05-31  David S. Miller  <davem@davemloft.net>
46726         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46727         values between float registers.
46728         * sysdeps/sparc/sparc64/memset.S: Likewise.
46729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46731 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46733         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46734         -D_FORTIFY_SOURCE=1.
46735         (CPPFLAGS-tst-longjmp_chk.c): Define.
46736         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46737         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46738         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46739         CFLAGS-tst-wchar-h.c.
46741 2012-05-31  Marek Polacek  <polacek@redhat.com>
46743         [BZ #14132]
46744         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46745         __endmntent_internal): Remove declaration.
46746         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46747         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46748         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46750 2012-05-30  David S. Miller  <davem@davemloft.net>
46752         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46753         (___Q_simulate_exceptions): Use real FP ops rather than writing
46754         into the %fsr.
46755         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46756         Likewise.
46758 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46760         [BZ #14117]
46761         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46762         * sysdeps/x86/bits/xtitypes.h: This.
46764         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46765         * sysdeps/x86/bits/wordsize.h: This.
46767         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46768         * sysdeps/x86/bits/huge_vall.h: This.
46770         * sysdeps/i386/bits/select.h: Removed.
46771         * sysdeps/x86_64/bits/select.h: Renamed to ...
46772         * sysdeps/x86/bits/select.h: This.
46774         * sysdeps/i386/bits/setjmp.h: Removed.
46775         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46776         * sysdeps/x86/bits/setjmp.h: This.
46778         * sysdeps/i386/bits/mathdef.h: Removed.
46779         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46780         * sysdeps/x86/bits/mathdef.h: This.
46782 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46784         [BZ #14132]
46785         * include/sys/socket.h (__connect_internal)
46786         (__libc_sa_len_internal): Remove declaration.
46787         (__connect, __libc_sa_len): Declare hidden_proto.
46788         (SA_LEN): Remove use of INTUSE.
46789         * socket/connect.c: Add libc_hidden_def.
46790         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46791         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46792         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46793         alias.
46794         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46795         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46796         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46797         of adding _internal alias.
46799 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46801         [BZ #14117]
46802         * sysdeps/i386/bits/link.h: Removed.
46803         * sysdeps/i386/bits/linkmap.h: Likewise.
46804         * sysdeps/x86_64/bits/link.h: Renamed to ...
46805         * sysdeps/x86/bits/link.h: This.
46806         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46807         * sysdeps/x86/bits/linkmap.h: This.
46809         * sysdeps/i386/bits/endian.h: Removed.
46810         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46811         * sysdeps/x86/bits/endian.h: This.
46813         * sysdeps/i386/bits/byteswap.h: Removed.
46814         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46815         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46816         * sysdeps/x86/bits/byteswap.h: This.
46817         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46818         * sysdeps/x86/bits/byteswap-16.h: This.
46819         * sysdeps/i386/Implies: Add x86.
46820         * sysdeps/x86_64/Implies: Likewise.
46822 2012-05-30  David S. Miller  <davem@davemloft.net>
46824         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46825         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46826         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46827         (FP_TRAPPING_EXCEPTIONS): Define.
46828         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46829         (FP_TRAPPING_EXCEPTIONS): Define.
46830         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46831         subnormals only when inexact has been signalled or underflow
46832         exceptions are enabled.
46833         (_FP_PACK_CANONICAL): Likewise.
46835 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46837         [BZ #14183]
46838         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46839         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46841 2012-05-30  Richard Henderson  <rth@twiddle.net>
46843         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46844         with #ifndef NOT_IN_libc.
46846         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46847         marked to avoid plt entry.
46849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46851         [BZ #14112]
46852         * Makeconfig (default-abi): New macro.
46853         (abi-includes): Likewise.
46854         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46855         $(abi-$(default-abi)-lib-soname) for soname if defined.
46856         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46857         abi-variants.
46858         * Makefile (installed-stubs): Likewise.
46859         * include/stubs-biarch.h: Removed.
46860         * scripts/lib-names.awk: Only handle one library at a time.
46861         * scripts/soversions.awk: Remove WORDSIZE support.
46862         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46863         entries.
46864         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46865         Removed.
46866         (syscall-list-default-condition): Likewise.
46867         (syscall-list-default-condition): Likewise.
46868         (syscall-list-includes): Likewise.
46869         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46870         syscall-list-* with abi-*.  Handle undefined abi-variants.
46871         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46872         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46873         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46874         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46875         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46876         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46877         Removed.
46878         (syscall-list-32-options): Likewise.
46879         (syscall-list-32-condition): Likewise.
46880         (syscall-list-64-options): Likewise.
46881         (syscall-list-64-condition): Likewise.
46882         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46883         macro.
46884         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46885         Renamed to ...
46886         (abi-*): This.
46887         (abi-64-ld-soname): New macro.
46888         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46889         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46890         Renamed to ...
46891         (abi-*): This.
46892         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46893         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46895 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46897         * sysdeps/unix/sysv/linux/kernel-features.h
46898         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46899         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46900         include <kernel-features.h>.
46901         [!__NR_ftruncate64]: Remove conditional code.
46902         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46903         [__NR_ftruncate64]: Make code unconditional.
46904         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46905         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46906         include <kernel-features.h>.
46907         [!__NR_ftruncate64]: Remove conditional code.
46908         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46909         [__NR_ftruncate64]: Make code unconditional.
46910         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46912         include <kernel-features.h>.
46913         [!__NR_ftruncate64]: Remove conditional code.
46914         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46915         [__NR_ftruncate64]: Make code unconditional.
46916         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46918         include <kernel-features.h>.
46919         [!__NR_ftruncate64]: Remove conditional code.
46920         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46921         [__NR_ftruncate64]: Make code unconditional.
46922         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46924         * configure.in (libc_cv_fpie): Weaken to a compile test using
46925         LIBC_TRY_CC_OPTION.
46926         * configure: Regenerated.
46928 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46934         Refreshed.
46935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46941         Refreshed.
46943 2012-05-27  David S. Miller  <davem@davemloft.net>
46945         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46946         (___Q_zero): New.
46947         (__Q_simulate_exceptions): Return void.  Change to simulate
46948         exceptions by writing into the %fsr.
46949         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46950         (__Qp_handle_exceptions): Likewise.
46951         (numbers): Delete.
46952         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46953         __Qp_handle_exceptions.
46954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46955         __Qp_handle_exceptions.
46956         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46957         as unused and give dummy FP_RND_NEAREST initializer.
46958         (FP_INHIBIT_RESULTS): Define.
46959         (___Q_simulate_exceptions): Update declaration.
46960         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46961         formatting.
46962         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46963         as unused and give dummy FP_RND_NEAREST initializer.
46964         (__Qp_handle_exceptions): Update declaration.
46965         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46966         formatting.
46968 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46970         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46971         the temporary FPU control word.
46972         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46973         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46974         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46975         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46976         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46977         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46978         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46979         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46980         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46981         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46982         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46984 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46986         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46987         fields.
46989 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46991         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46992         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46993         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46994         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46995         Likewise.
46996         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46997         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46998         Likewise.
47000 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47002         * po/h.po: Update from translation team.
47004 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47006         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47008         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47009         handling of denormals.
47010         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47011         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47012         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47013         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47014         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47015         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47016         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47017         Likewise.
47019 2012-05-26  Marek Polacek  <polacek@redhat.com>
47021         [BZ #14152]
47022         * math/libm-test.inc (fma_test): Don't always expect underflow
47023         exception.
47025 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47027         [BZ #12416]
47028         * elf/tst-execstack.c: Include stackinfo.h.
47029         (do_test): Adjust test case to ensure that pthread_getattr_np
47030         behaviour remains the same after marking stack executable.
47032 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47034         * sysdeps/unix/sysv/linux/kernel-features.h
47035         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47036         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47037         kernel-features.h.
47038         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47039         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47040         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47041         kernel-features.h.
47042         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47043         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47045 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47047         * configure.in: Define the default includes to being none.
47048         * configure: Regenerated.
47050 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47052         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47053         * sysdeps/x86_64/setjmp.S: Likewise.
47054         * sysdeps/i386/bsd-setjmp.S: Likewise.
47055         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47056         * sysdeps/i386/setjmp.S: Likewise.
47057         * sysdeps/i386/__longjmp.S: Likewise.
47058         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47059         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47061         * include/stap-probe.h: New file.
47062         * configure.in: Handle --enable-systemtap.
47063         * configure: Regenerated.
47064         * config.h.in (USE_STAP_PROBE): New #undef.
47065         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47066         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47067         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47069 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47071         [BZ #13717]
47072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47073         to 2.4.0 where earlier.
47074         * sysdeps/unix/sysv/linux/configure: Regenerated.
47075         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47076         <kernel-features.h>.
47077         [__ASSUME_32BITUIDS]: Make code unconditional.
47078         [!__ASSUME_32BITUIDS]: Remove conditional code.
47079         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47080         <kernel-features.h>.
47081         [__ASSUME_32BITUIDS]: Make code unconditional.
47082         [!__ASSUME_32BITUIDS]: Remove conditional code.
47083         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47084         [__ASSUME_32BITUIDS]: Make code unconditional.
47085         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47086         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47087         <kernel-features.h>.
47088         [__ASSUME_32BITUIDS]: Make code unconditional.
47089         [!__ASSUME_32BITUIDS]: Remove conditional code.
47090         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47091         <kernel-features.h>.
47092         [__ASSUME_32BITUIDS]: Make code unconditional.
47093         [!__ASSUME_32BITUIDS]: Remove conditional code.
47094         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47095         <kernel-features.h>.
47096         [__ASSUME_32BITUIDS]: Make code unconditional.
47097         [!__ASSUME_32BITUIDS]: Remove conditional code.
47098         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47099         <kernel-features.h>.
47100         [__ASSUME_32BITUIDS]: Make code unconditional.
47101         [!__ASSUME_32BITUIDS]: Remove conditional code.
47102         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47103         <kernel-features.h>.
47104         [__ASSUME_32BITUIDS]: Make code unconditional.
47105         [!__ASSUME_32BITUIDS]: Remove conditional code.
47106         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47107         <kernel-features.h>.
47108         [__ASSUME_32BITUIDS]: Make code unconditional.
47109         [!__ASSUME_32BITUIDS]: Remove conditional code.
47110         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47111         <kernel-features.h>.
47112         [__ASSUME_32BITUIDS]: Make code unconditional.
47113         [!__ASSUME_32BITUIDS]: Remove conditional code.
47114         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47115         <kernel-features.h>.
47116         [__ASSUME_32BITUIDS]: Make code unconditional.
47117         [!__ASSUME_32BITUIDS]: Remove conditional code.
47118         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47119         <kernel-features.h>.
47120         [__ASSUME_32BITUIDS]: Make code unconditional.
47121         [!__ASSUME_32BITUIDS]: Remove conditional code.
47122         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47123         <kernel-features.h>.
47124         [__ASSUME_32BITUIDS]: Make code unconditional.
47125         [!__ASSUME_32BITUIDS]: Remove conditional code.
47126         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47127         <kernel-features.h>.
47128         [__NR_setresgid] (__setresgid): Do not declare.
47129         [__ASSUME_32BITUIDS]: Make code unconditional.
47130         [!__ASSUME_32BITUIDS]: Remove conditional code.
47131         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47132         <kernel-features.h>.
47133         [__NR_setresuid] (__setresuid): Do not declare.
47134         [__ASSUME_32BITUIDS]: Make code unconditional.
47135         [!__ASSUME_32BITUIDS]: Remove conditional code.
47136         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47137         <kernel-features.h>.
47138         [__ASSUME_32BITUIDS]: Make code unconditional.
47139         [!__ASSUME_32BITUIDS]: Remove conditional code.
47140         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47141         <kernel-features.h>.
47142         [__ASSUME_32BITUIDS]: Make code unconditional.
47143         [!__ASSUME_32BITUIDS]: Remove conditional code.
47144         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47145         <kernel-features.h>.
47146         [__ASSUME_32BITUIDS]: Make code unconditional.
47147         [!__ASSUME_32BITUIDS]: Remove conditional code.
47148         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47149         <kernel-features.h>.
47150         [__ASSUME_32BITUIDS]: Make code unconditional.
47151         [!__ASSUME_32BITUIDS]: Remove conditional code.
47152         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47153         <kernel-features.h>.
47154         [__ASSUME_32BITUIDS]: Make code unconditional.
47155         [!__ASSUME_32BITUIDS]: Remove conditional code.
47156         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47157         <kernel-features.h>.
47158         [__ASSUME_32BITUIDS]: Make code unconditional.
47159         [!__ASSUME_32BITUIDS]: Remove conditional code.
47160         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47161         <kernel-features.h>.
47162         [__ASSUME_32BITUIDS]: Make code unconditional.
47163         [!__ASSUME_32BITUIDS]: Remove conditional code.
47164         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47165         <kernel-features.h>.
47166         [__ASSUME_32BITUIDS]: Make code unconditional.
47167         [!__ASSUME_32BITUIDS]: Remove conditional code.
47168         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47169         <kernel-features.h>.
47170         [__ASSUME_32BITUIDS]: Make code unconditional.
47171         [!__ASSUME_32BITUIDS]: Remove conditional code.
47172         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47173         <kernel-features.h>.
47174         [__ASSUME_32BITUIDS]: Make code unconditional.
47175         [!__ASSUME_32BITUIDS]: Remove conditional code.
47176         * sysdeps/unix/sysv/linux/kernel-features.h
47177         (__ASSUME_SETRESUID_SYSCALL): Remove.
47178         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47179         (__ASSUME_32BITUIDS): Likewise.
47180         (__ASSUME_LDT_WORKS): Likewise.
47181         (__ASSUME_O_DIRECTORY): Likewise.
47182         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47183         architecture but not kernel version.
47184         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47185         (__ASSUME_MMAP2_SYSCALL): Likewise.
47186         (__ASSUME_STAT64_SYSCALL): Likewise.
47187         (__ASSUME_IPC64): Likewise.
47188         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47189         <kernel-features.h>.
47190         [__ASSUME_32BITUIDS]: Make code unconditional.
47191         [!__ASSUME_32BITUIDS]: Remove conditional code.
47192         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47193         <kernel-features.h>.
47194         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47195         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47196         132096]: Remove conditional code.
47197         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47198         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47199         <kernel-features.h>.
47200         [__ASSUME_32BITUIDS]: Make code unconditional.
47201         [!__ASSUME_32BITUIDS]: Remove conditional code.
47202         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47203         <kernel-features.h>.
47204         [__ASSUME_32BITUIDS]: Make code unconditional.
47205         [!__ASSUME_32BITUIDS]: Remove conditional code.
47206         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47207         <kernel-features.h>.
47208         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47209         unconditional.
47210         (__setresgid): Do not declare.
47211         [__ASSUME_32BITUIDS]: Make code unconditional.
47212         [!__ASSUME_32BITUIDS]: Remove conditional code.
47213         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47214         <kernel-features.h>.
47215         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47216         unconditional.
47217         (__setresuid): Do not declare.
47218         [__ASSUME_32BITUIDS]: Make code unconditional.
47219         [!__ASSUME_32BITUIDS]: Remove conditional code.
47220         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47221         <kernel-features.h>.
47222         [__ASSUME_32BITUIDS]: Make code unconditional.
47223         [!__ASSUME_32BITUIDS]: Remove conditional code.
47224         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47225         <kernel-features.h>.
47226         [__ASSUME_32BITUIDS]: Make code unconditional.
47227         [!__ASSUME_32BITUIDS]: Remove conditional code.
47229 2012-05-25  Richard Henderson  <rth@twiddle.net>
47231         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47232         dl_hwcap to ifunc resolver.
47233         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47234         elf_ifunc_invoke.
47235         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47236         dl_hwcap to ifunc resolver.
47237         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47239 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47241         [BZ #14153]
47242         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47243         for |x| <= 2**-26, not 2**-57.
47244         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47245         exception.
47247 2012-05-24  Jeff Law  <law@redhat.com>
47249         * stdio-common/Makefile (tests): Add bug25.
47250         * stdio-common/bug25.c: New test.
47252 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47254         [BZ #13576]
47255         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47256         multiple of MALLOC_ALIGNMENT in size.
47257         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47259 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47261         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47262         Require >= 256.
47263         (FILENAME_MAX): Use macro-int-constant.
47264         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47265         (_IOFBF): Use macro-int-constant.
47266         (_IOLBF): Likewise.
47267         (_IONBF): Likewise.
47268         (SEEK_CUR): Likewise.
47269         (SEEK_END): Likewise.
47270         (SEEK_SET): Likewise.
47271         (TMP_MAX): Likewise.
47272         (EOF): Use macro-int-constant.  Require < 0.
47273         (NULL): Use macro-constant.  Require == 0.
47274         (stdin): Require type to be FILE *.
47275         (stdout): Likewise.
47276         (stderr): Likewise.
47277         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47278         macro-int-constant.
47279         (EXIT_SUCCESS): Likewise.
47280         (NULL): Use macro-constant.  Require == 0.
47281         (RAND_MAX): Use macro-int-constant.
47282         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47283         [C99-based standards] (strtof): Require function.
47284         [C99-based standards] (strtold): Likewise.
47285         [C99-based standards] (strtoll): Likewise.
47286         [C99-based standards] (strtoull): Likewise.
47287         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47288         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47289         [ISO || ISO99 || ISO11] (math.h): Likewise.
47290         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47291         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47292         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47294 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47296         [BZ #14132]
47297         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47298         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47299         * intl/dgettext.c (DCGETTEXT): Likewise.
47300         * intl/gettext.c (DCGETTEXT): Likewise.
47301         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47302         * posix/regex_internal.h (gettext): Likewise.
47303         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47304         Remove declaration.
47305         * include/argz.h (__argz_count_internal)
47306         (__argz_stringify_internal): Remove declaration.
47307         (__argz_count, __argz_stringify): Declare hidden proto.
47308         * intl/dcgettext.c: Remove use of INTDEF.
47309         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47310         * string/argz-stringify.c: Likewise.
47311         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47312         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47313         Declare hidden proto.
47314         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47315         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47316         Declare hidden proto.
47317         * include/stdio.h (__asprintf_internal): Don't declare.
47318         (__asprintf): Don't define as macro.  Declare hidden proto.
47319         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47320         (__fsetlocking): Declare hidden proto.
47321         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47322         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47323         hidden proto.
47324         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47325         (_IO_setlinebuf): Remove use of INTUSE.
47326         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47327         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47328         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47329         Remove declaration.
47330         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47331         (_IO_do_flush): Remove use of INTUSE.
47332         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47333         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47334         (_IO_adjust_column, _IO_least_wmarker)
47335         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47336         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47337         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47338         (_IO_default_doallocate, _IO_wdefault_doallocate)
47339         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47340         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47341         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47342         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47343         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47344         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47345         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47346         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47347         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47348         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47349         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47350         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47351         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47352         proto.
47353         (_IO_flush_all_internal, _IO_adjust_column_internal)
47354         (_IO_default_uflow_internal, _IO_default_finish_internal)
47355         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47356         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47357         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47358         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47359         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47360         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47361         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47362         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47363         (_IO_file_close_internal, _IO_file_close_it_internal)
47364         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47365         (_IO_file_init_internal, _IO_file_attach_internal)
47366         (_IO_file_fopen_internal, _IO_file_read_internal)
47367         (_IO_file_sync_internal, _IO_file_seek_internal)
47368         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47369         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47370         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47371         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47372         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47373         (_IO_list_all_internal, _IO_link_in_internal)
47374         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47375         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47376         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47377         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47378         (_IO_do_write_internal, _IO_padn_internal)
47379         (_IO_getline_info_internal, _IO_getline_internal)
47380         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47381         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47382         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47383         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47384         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47385         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47386         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47387         with libc_hidden_ver, remove use of INTUSE.
47388         * libio/genops.c: Likewise.
47389         * libio/freopen.c: Likewise.
47390         * libio/freopen64.c: Likewise.
47391         * libio/iofclose.c: Likewise.
47392         * libio/iofdopen.c: Likewise.
47393         * libio/iofflush.c: Likewise.
47394         * libio/iofflush_u.c: Likewise.
47395         * libio/iofgets.c: Likewise.
47396         * libio/iofgets_u.c: Likewise.
47397         * libio/iofopen.c: Likewise.
47398         * libio/iofopncook.c: Likewise.
47399         * libio/iofread.c: Likewise.
47400         * libio/iofread_u.c: Likewise.
47401         * libio/ioftell.c: Likewise.
47402         * libio/iofwrite.c: Likewise.
47403         * libio/iogetline.c: Likewise.
47404         * libio/iogets.c: Likewise.
47405         * libio/iogetwline.c: Likewise.
47406         * libio/iopadn.c: Likewise.
47407         * libio/iopopen.c: Likewise.
47408         * libio/ioseekoff.c: Likewise.
47409         * libio/ioseekpos.c: Likewise.
47410         * libio/iosetbuffer.c: Likewise.
47411         * libio/iosetvbuf.c: Likewise.
47412         * libio/ioungetc.c: Likewise.
47413         * libio/ioungetwc.c: Likewise.
47414         * libio/iovdprintf.c: Likewise.
47415         * libio/iovsprintf.c: Likewise.
47416         * libio/iovsscanf.c: Likewise.
47417         * libio/memstream.c: Likewise.
47418         * libio/obprintf.c: Likewise.
47419         * libio/oldfileops.c: Likewise.
47420         * libio/oldiofclose.c: Likewise.
47421         * libio/oldiofdopen.c: Likewise.
47422         * libio/oldiofopen.c: Likewise.
47423         * libio/oldiopopen.c: Likewise.
47424         * libio/oldstdfiles.c: Likewise.
47425         * libio/putc.c: Likewise.
47426         * libio/setbuf.c: Likewise.
47427         * libio/setlinebuf.c: Likewise.
47428         * libio/stdfiles.c: Likewise.
47429         * libio/strops.c: Likewise.
47430         * libio/vasprintf.c: Likewise.
47431         * libio/vscanf.c: Likewise.
47432         * libio/vsnprintf.c: Likewise.
47433         * libio/vswprintf.c: Likewise.
47434         * libio/wfiledoalloc.c: Likewise.
47435         * libio/wfileops.c: Likewise.
47436         * libio/wgenops.c: Likewise.
47437         * libio/wmemstream.c: Likewise.
47438         * libio/wstrops.c: Likewise.
47439         * libio/__fpurge.c: Likewise.
47440         * libio/__fsetlocking.c: Likewise.
47441         * assert/assert.c: Likewise.
47442         * debug/fgets_chk.c: Likewise.
47443         * debug/fgets_u_chk.c: Likewise.
47444         * debug/fread_chk.c: Likewise.
47445         * debug/fread_u_chk.c: Likewise.
47446         * debug/gets_chk.c: Likewise.
47447         * debug/obprintf_chk.c: Likewise.
47448         * debug/vasprintf_chk.c: Likewise.
47449         * debug/vdprintf_chk.c: Likewise.
47450         * debug/vsnprintf_chk.c: Likewise.
47451         * debug/vsprintf_chk.c: Likewise.
47452         * malloc/mtrace.c: Likewise.
47453         * misc/error.c: Likewise.
47454         * misc/syslog.c: Likewise.
47455         * stdio-common/asprintf.c: Likewise.
47456         * stdio-common/fxprintf.c: Likewise.
47457         * stdio-common/getw.c: Likewise.
47458         * stdio-common/isoc99_fscanf.c: Likewise.
47459         * stdio-common/isoc99_scanf.c: Likewise.
47460         * stdio-common/isoc99_vfscanf.c: Likewise.
47461         * stdio-common/isoc99_vscanf.c: Likewise.
47462         * stdio-common/isoc99_vsscanf.c: Likewise.
47463         * stdio-common/printf-prs.c: Likewise.
47464         * stdio-common/printf_fp.c: Likewise.
47465         * stdio-common/printf_fphex.c: Likewise.
47466         * stdio-common/printf_size.c: Likewise.
47467         * stdio-common/putw.c: Likewise.
47468         * stdio-common/scanf.c: Likewise.
47469         * stdio-common/sprintf.c: Likewise.
47470         * stdio-common/tmpfile.c: Likewise.
47471         * stdio-common/vfprintf.c: Likewise.
47472         * stdio-common/vfscanf.c: Likewise.
47473         * stdlib/strfmon_l.c: Likewise.
47474         * sunrpc/openchild.c: Likewise.
47475         * sunrpc/xdr_stdio.c: Likewise.
47476         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47477         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47479 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47481         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47483         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47484         in the third column, to generate for the shared library an IFUNC
47485         that uses _dl_vdso_vsym.
47486         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47487         * Makeconfig (object-suffixes-noshared): New variable.
47489         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47490         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47491         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47492         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47494         [BZ #14132]
47495         * include/sys/time.h (__gettimeofday): Remove macro.
47496         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47497         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47498         Remove INTDEF.
47499         (__gettimeofday): Add libc_hidden_def.
47500         (gettimeofday): Add libc_hidden_weak.
47501         * sysdeps/mach/gettimeofday.c: Likewise.
47502         * sysdeps/posix/gettimeofday.c: Likewise.
47503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47504         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47505         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47506         (__gettimeofday_internal): Remove strong_alias.
47507         (__gettimeofday): Add libc_hidden_def.
47508         (gettimeofday): Add libc_hidden_weak.
47509         * sysdeps/unix/syscalls.list (gettimeofday):
47510         Remove __gettimeofday_internal alias.
47512 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47513             H.J. Lu  <hongjiu.lu@intel.com>
47515         [BZ #12495]
47516         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47517         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47518         (largebin_index_32_big): New.
47519         (largebin_index): Use it for 16-byte alignment.
47520         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47521         correction with front_misalign.
47523 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47527         Likewise.
47528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47529         Likewise.
47530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47531         Likewise.
47532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47533         Likewise.
47534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47535         Likewise.
47536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47537         Likewise.
47538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47539         Likewise.
47540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47541         Likewise.
47542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47543         Likewise.
47544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47545         Likewise.
47546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47547         Likewise.
47548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47549         Likewise.
47551         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47552         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47554 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47556         [BZ #10846]
47557         [BZ #14036]
47558         * math/libm-test.inc (exp_test): Add test from bug 14036.
47559         (pow_test): Add test from bug 10846.
47561         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47562         and other flags.
47563         (special_function): Do not include flags in test name.
47564         (parse_args): Likewise.
47565         * sysdeps/i386/fpu/libm-test-ulps: Update.
47566         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47567         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47568         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47571         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47572         exceptions.
47573         * math/libm-test.inc ("Philosophy"): Update comment about
47574         exception testing.
47575         (UNDERFLOW_EXCEPTION): New macro.
47576         (UNDERFLOW_EXCEPTION_OK): Likewise.
47577         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47578         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47579         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47580         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47581         (INVALID_EXCEPTION_OK): Update value.
47582         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47583         (OVERFLOW_EXCEPTION_OK): Likewise.
47584         (IGNORE_ZERO_INF_SIGN): Likewise.
47585         (test_exceptions): Handle underflow exceptions.
47586         (acos_test): Update for underflow exception expectations.
47587         (cexp_test): Likewise.
47588         (clog_test): Likewise.
47589         (clog10_test): Likewise.
47590         (csqrt_test): Likewise.
47591         (ctan_test): Likewise.
47592         (ctanh_test): Likewise.
47593         (exp_test): Likewise.
47594         (exp10_test): Likewise.
47595         (exp2_test): Likewise.
47596         (expm1_test): Likewise.
47597         (fma_test): Likewise.
47598         (j0_test): Likewise.
47599         (jn_test): Likewise.
47600         (nexttoward_test): Likewise.
47601         (pow_test): Likewise.
47602         (scalbn_test): Likewise.
47603         (scalbln_test): Likewise.
47604         (tan_test): Likewise.
47605         (y1_test): Likewise.
47606         * sysdeps/i386/fpu/libm-test-ulps: Update.
47607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47609 2012-05-23  David S. Miller  <davem@davemloft.net>
47611         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47612         (__libc_sigaction): Remove unused local variables.
47614 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47616         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47618 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47620         mktime: avoid signed integer overflow
47621         * time/mktime.c (__mktime_internal): Do not mishandle the case
47622         where diff == INT_MIN.
47624         mktime: simplify computation of average
47625         * time/mktime.c (ranged_convert): Use new time_t_avg function
47626         instead of rolling our own (probably-slower) code.
47628         mktime: do not assume signed right shift propagates sign bit
47629         * time/mktime.c (isdst_differ): New static function.
47630         (__mktime_internal): No need to normalize tm_isdst now.
47631         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47632         tm_isdst values.
47634         mktime: merge another wrapv change from gnulib
47635         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47636         from some compilers.
47638         mktime: remove incorrect attempt at unusual arithmetics
47639         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47640         The code didn't really work on such machines anyway.
47641         (TYPE_MINIMUM): Assume two's complement.
47642         (twos_complement_arithmetic): Verify that long_int and time_t
47643         are two's complement (or unsigned, in the latter case).
47645         mktime: check signed shifts on long_int and time_t, too
47646         * time/mktime.c (SHR): Check that shifts work as desired
47647         on the types long_int and time_t too, as SHR is used on
47648         such types.
47650         mktime: do not assume 'long' is wide enough
47651         * time/mktime.c (verify): Move decl up.
47652         (long_int): New type.
47653         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47654         to remove assumption in the code that 'long' is wide enough to
47655         store year values.  This assumption is not true on x32 and on
47656         some non-glibc platforms.
47658         mktime: merge wrapv change from gnulib
47659         * time/mktime.c (WRAPV): New macro.
47660         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47661         (guess_time_tm, __mktime_internal): Do not assume that signed
47662         integer overflow wraps around; modern compilers generate code
47663         where this assumption is no longer valid.
47665 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47667         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47668         Replace "jmp L(pseudo_end)" with "ret".
47669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47670         Likewise.
47672 2012-05-23  Andreas Jaeger  <aj@suse.de>
47674         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47675         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47677 2012-05-23  Andreas Jaeger  <aj@suse.de>
47678             Maximilian Attems  <max@stro.at>
47680         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47681         New macros.
47683 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47685         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47686         code so that pseudo_end is just ret and the stack pointer is
47687         correct also for static library in error case.
47689 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47691         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47692         move to syscalls.list.
47693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47698         * manual/install.texi (Running make install): Do not mention Linux
47699         kernel version for which pt_chown is not needed.
47700         (Linux): Do not mention problems with nscd with 2.0 kernels.
47701         * INSTALL: Regenerated.
47703 2012-05-23  Andreas Jaeger  <aj@suse.de>
47705         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47706         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47707         macro.
47708         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47709         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47710         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47711         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47712         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47713         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47714         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47715         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47717         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47718         * sysdeps/unix/sysv/linux/bits/in.h
47719         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47721 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47723         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47724         (PREPARE_VERSION): Just use assert instead, it will be elided
47725         under [NDEBUG] anyway.
47727 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47729         * sysdeps/unix/sysv/linux/Makefile: Include
47730         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47731         (sysdep_routines): Remove sysctl.
47732         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47733         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47734         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47735         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47736         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47738 2012-05-22  Andreas Jaeger  <aj@suse.de>
47740         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47741         that pseudo_end is just ret and the stack pointer is correct also
47742         for static library in error case.
47744 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47746         [BZ #14122]
47747         * nss/nsswitch.c (defconfig_entries): New variable.
47748         (__nss_database_lookup): Don't leak defconfig entries.
47749         (nss_parse_service_list): Don't leak on error paths.
47750         (free_database_entries): New function.
47751         (free_defconfig): New function.
47752         (free_mem): Move common code to free_database_entries.
47754 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47756         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47757         Add arch_prctl.
47758         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47760         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47761         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47763         New macro.
47764         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47765         (INTERNAL_SYSCALL_TYPES): Likewise.
47766         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47767         (LOAD_REGS_TYPES_[1-6]): Likewise.
47768         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47769         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47771 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47773         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47774         copysignl for GLIBC_2_0.
47775         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47776         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47778         logbl for GLIBC_2_0.
47779         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47780         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47782 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47784         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47785         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47787         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47788         Use "neg %eax".
47790         * time/mktime.c: Update copyright years.
47792 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47794         mktime: merge comment-quoting-style change from gnulib
47795         * time/mktime.c: Quote 'like this' in comments.
47796         The GNU coding standards suggest that we no longer quote `like this',
47797         as "`" and "'" are typically rendered asymmetrically nowadays.
47798         The typical gnulib style is to quote 'like this' when quoting
47799         code, and "like this" when quoting English.
47801         * time/mktime.c (compile-command): Add "-I.".
47803         mktime: merge mktime-internal.h change from gnulib
47804         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47806         mktime: merge time_r change from gnulib
47807         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47809         mktime: merge DEBUG change from gnulib
47810         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47811         case system <time.h> has a #define.
47813         mktime: merge <sys/types.h> change from gnulib
47814         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47815         since <time.t> is now guaranteed to define time_t.
47817         mktime: merge HAVE_CONFIG_H change from gnulib
47818         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47820 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47822         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47823         Use "neg %eax".
47825         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47826         __rlim_t cast.
47827         (struct rusage): Use anonymous union to pad each field to
47828         __syscall_slong_t.
47830 2012-05-21  David S. Miller  <davem@davemloft.net>
47832         * Makefules (o-iterator): Remove .s cases.
47833         (compile-command.s): Delete.
47834         (COMPILE.s): Delete.
47835         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47837 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47839         * configure.in (libc_cv_predef_stack_protector): Only consider
47840         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47841         * configure: Regenerated.
47843 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47846         New macro.  Use R*LP on int and pointer.
47847         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47848         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47849         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47850         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47852         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47853         [__WORDSIZE_TIME64_COMPAT32] instead of
47854         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47855         (struct utmp): Likewise.
47856         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47857         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47858         Renamed to ...
47859         (__WORDSIZE_TIME64_COMPAT32): This.
47860         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47861         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47862         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47863         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47864         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47865         (__WORDSIZE_TIME64_COMPAT32): New macro.
47867 2012-05-21  Andreas Jaeger  <aj@suse.de>
47869         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47870         only if [SHARED]. Add prototype for __wcschr_ia32.
47872 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47874         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47875         of %rbp unmolested in the jmp_buf while mangling the low bits.
47876         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47877         unmolested high bits of %rbp while demangling the low bits.
47878         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47880 2012-05-21  Andreas Jaeger  <aj@suse.de>
47882         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47883         * sunrpc/svc_simple.c: Use it for registerrpc.
47884         * sunrpc/xcrypt.c: Use it for passwd2des.
47886         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47888 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47890         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47891         Don't define if [__SYSCALL_WORDSIZE != 32].
47892         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47893         New macro.
47895 2012-05-21  Bruno Haible  <bruno@clisp.org>
47896             Andreas Jaeger  <aj@suse.de>
47898         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47899         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47900         inptr and inend for must_buffer_ch.
47901         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47902         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47903         * stdio-common/Makefile (tests): Remove bug15.
47904         (bug15-ENV): Remove macro.
47905         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47906         anymore.
47908 2012-05-19  Andreas Jaeger  <aj@suse.de>
47909             Roland McGrath  <roland@hack.frob.com>
47911         * manual/contrib.texi: Completely rewritten. It contains now an
47912         alphabetical list of contributors and their contributions.
47914 2012-05-21  Richard Henderson  <rth@twiddle.net>
47916         * misc/getauxval.c (__getauxval): Use unsigned long int.
47917         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47918         (getauxval): Use unsigned long int.
47920 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47922         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47924 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47926         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47927         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47928         __alignof__ (long double).
47930 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47934 2012-05-20  Richard Henderson  <rth@twiddle.net>
47936         * misc/getauxval.c: New file.
47937         * misc/sys/auxv.h: New file.
47938         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47939         (routines): Add getauxval.
47940         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47941         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47942         * elf/dl-sysdep.c (_dl_auxv): Remove.
47943         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47944         * elf/dl-support.c (_dl_auxv): New variable.
47945         (_dl_aux_init): Initialize it.
47946         * manual/startup.texi (Auxiliary Vector): New node.
47947         * sysdeps/generic/bits/hwcap.h: New file.
47948         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47949         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47950         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47951         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47952         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47953         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47955         Update.
47956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47959         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47965 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47969 2012-05-19  David S. Miller  <davem@davemloft.net>
47971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47973 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47975         [BZ #14123]
47976         * math/s_ccosh.c: Include <float.h>
47977         (__ccosh): Avoid internal overflow calculating sinh and cosh
47978         values before multiplying by sin and cos values.
47979         * math/s_ccoshf.c: Likewise.
47980         * math/s_ccoshl.c: Likewise.
47981         * math/s_csin.c: Likewise.
47982         * math/s_csinf.c: Likewise.
47983         * math/s_csinl.c: Likewise.
47984         * math/s_csinh.c: Likewise.
47985         * math/s_csinhf.c: Likewise.
47986         * math/s_csinhl.c: Likewise.
47987         * math/libm-test.inc (ccos_test): Add more tests.
47988         (ccosh_test): Likewise.
47989         (csin_test): Likewise.
47990         (csinh_test): Likewise.
47991         * sysdeps/i386/fpu/libm-test-ulps: Update.
47992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47994 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47996         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47997         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47999         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48001 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48003         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48004         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48005         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48006         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48007         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48008         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48009         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48010         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48011         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48012         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48013         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48014         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48015         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48016         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48017         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48018         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48019         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48020         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48021         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48022         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48023         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48024         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48025         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48026         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48027         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48028         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48029         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48030         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48031         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48032         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48033         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48035 2012-05-18  Andreas Jaeger  <aj@suse.de>
48037         * csu/.gitignore: Delete.
48039 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48041         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48042         (timex): Use __syscall_slong_t.
48044 2012-05-18  Andreas Jaeger  <aj@suse.de>
48045             Carlos O'Donell  <carlos_odonell@mentor.com>
48047         * manual/install.texi (Configuring and compiling): Update
48048         description about files modified in the source directory.
48049         * INSTALL: Regenerated.
48051 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48053         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48054         value.  Use "or" to set return value to -1.
48055         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48056         negate return value.
48058 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48060         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48061         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48062         failure if the compiler has Graphite support disabled.
48063         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48064         Likewise.
48065         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48066         (CFLAGS-memmove.c): Likewise.
48067         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48068         Likewise.
48070 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48072         * sysdeps/x86_64/x32/_itoa.h: New file.
48074         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48075         getdents system call only if kernel and user dirents have the
48076         same d_ino and d_off.
48078         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48079         LLONG_MAX != LONG_MAX.
48080         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48081         (_fitoa_word): Likewise.
48083         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48084         years.
48085         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48086         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48087         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48089         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48090         include <bits/wordsize.h>.  Check __x86_64__ instead of
48091         __WORDSIZE.
48092         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48093         if __x86_64__ is defined.  Use anonymous union on fpstate.
48095         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48096         anonymous union.
48098 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48100         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48101         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48102         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48103         Refer to _rtld_local_ro instead of _rtld_global_ro.
48104         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48105         Likewise.
48106         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48107         Likewise.
48108         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48109         Likewise.
48110         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48111         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48112         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48114         * sysdeps/powerpc/powerpc32/dl-machine.c
48115         (__elf_machine_runtime_setup) [PROF]: Don't reference
48116         _dl_prof_resolve.
48118 2012-05-18  Andreas Jaeger  <aj@suse.de>
48120         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48121         function only available for GCCs before 3.4 since GCC 3.4
48122         introduced a builtin.
48123         (lrint): Likewise.
48124         (llrintf): Likewise.
48125         (llrint): Likewise.
48126         (fmaxf): Likewise.
48127         (fmax): Likewise.
48128         (fminf): Likewise.
48129         (fmin): Likewise.
48130         (rint): Likewise.
48131         (rintf): Likewise.
48132         (nearbyint): Likewise.
48133         (nearbyintf): Likewise.
48134         (ceil): Likewise.
48135         (ceilf): Likewise.
48136         (floor): Likewise.
48137         (floorf): Likewise.
48139 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48141         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48142         on both fields and cast pointer to __syscall_ulong_t.
48144         * bits/types.h (__fsword_t): New type.
48145         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48146         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48148         (__FSWORD_T_TYPE): Likewise.
48149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48150         (__FSWORD_T_TYPE): Likewise.
48151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48152         (__FSWORD_T_TYPE): Likewise.
48153         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48154         (__FSWORD_T_TYPE): Likewise.
48155         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48156         __SWORD_TYPE with __fsword_t.
48157         (statfs64): Likewise.
48159 2012-05-17  David S. Miller  <davem@davemloft.net>
48161         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48163 2012-05-17  Andreas Jaeger  <aj@suse.de>
48165         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48166         warning.
48168 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48170         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48172 2012-05-17  Andreas Jaeger  <aj@suse.de>
48174         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48175         when it is used.
48177 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48179         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48181 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48183         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48184         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48186 2012-05-17  Andreas Jaeger  <aj@suse.de>
48187             Carlos O'Donell  <carlos_odonell@mentor.com>
48189         [BZ #14059]
48190         * sysdeps/x86_64/multiarch/init-arch.h
48191         (bit_YMM_Usable): Rename to...
48192         (bit_AVX_Usable): ... this.
48193         (bit_FMA4_Usable): New macro.
48194         (bit_XMM_state): New macro.
48195         (bit_YMM_state): New macro.
48196         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48197         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48198         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48199         (CPUID_OSXSAVE): New macro.
48200         (CPUID_AVX): New macro.
48201         (CPUID_FMA4): New macro.
48202         (index_YMM_Usable): Rename to...
48203         (index_AVX_Usable): ... this.
48204         (HAS_AVX): Use HAS_ARCH_FEATURE.
48205         (HAS_FMA4): Likewise.
48206         (HAS_YMM_USABLE): Remove.
48207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48208         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48209         are present.
48210         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48211         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48212         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48213         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48214         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48216 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48218         * math/libm-test.c: Support platforms without multiple rounding modes.
48219         * math/bug-nextafter.c: Support platforms without FP exceptions.
48220         * math/bug-nexttoward.c: Likewise.
48221         * math/test-fenv.c: Likewise.
48222         * math/test-misc.c: Likewise.
48223         * stdlib/bug-getcontext.c: Likewise.
48225 2012-05-17  Andreas Jaeger  <aj@suse.de>
48227         * manual/examples/search.c (critter_cmp): Change signature to
48228         avoid warnings.
48229         * manual/string.texi (Collation Functions): Likewise.
48231 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48233         * bits/types.h: Fold copyright years.
48234         * bits/typesizes.h: Likewise.
48235         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48239         * time/time.h: Likewise.
48241 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48243         [BZ #208]
48244         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48245         in instead of returning them.  Return void.
48246         (__libc_mallinfo): Accumulate over all arenas.
48247         (__malloc_stats): Adjust for change in int_mallinfo interface.
48249 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48251         [BZ #10375]
48252         * configure.in (NM): Add AC_CHECK_TOOL for it.
48253         (libc_extra_cflags): New substituted variable.
48254         Check for -fstack-protector being used implicitly.
48255         * configure: Regenerated.
48256         * config.make.in (config-extra-cflags): New variable,
48257         gets @libc_extra_cflags@.
48258         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48260         [BZ #10375]
48261         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48262         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48263         * configure: Regenerated.
48264         * config.make.in (CPPUNDEFS): New substituted variable.
48265         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48266         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48267         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48271         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48272         (mq_attr): Use __syscall_slong_t.
48274 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48276         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48277         Check __x86_64__ instead of __WORDSIZE.
48278         (_STAT_VER_LINUX): Likewise.
48279         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48280         __syscall_ulong_t and __syscall_slong_t.
48281         (stat64): Likewise.
48283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48287 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48289         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48291 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48293         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48294         __syscall_ulong_t.
48296         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48297         include <bits/wordsize.h>.  Check __x86_64__ instead of
48298         __WORDSIZE.
48299         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48300         defined.
48301         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48303         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48304         include <bits/wordsize.h>.  Check __x86_64__ instead of
48305         __WORDSIZE.
48306         (user_regs_struct): Use "__extension__ unsigned long long"
48307         instead of "unsigned long" if __x86_64__ is defined.
48308         (user): Likewise.  Pad after pointer field if __ILP32__ is
48309         defined.
48311 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48313         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48314         versions 5 to 9.
48315         * configure: Regenerated.
48316         * manual/install.texi (texinfo): Increase version requirement to
48317         4.5 or later.
48318         * INSTALL: Regenerated.
48320         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48322 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48324         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48326         * sysdeps/x86_64/x32/ffs.c: New file.
48328         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48329         __syscall_ulong_t.
48330         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48331         defined.  Use __syscall_ulong_t.
48332         (shminfo): Use __syscall_ulong_t.
48333         (shm_info): Likewise.
48335         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48336         __syscall_ulong_t.
48338         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48339         <bits/wordsize.h>.
48340         (msgqnum_t): Use __syscall_ulong_t.
48341         (msglen_t): Likewise.
48342         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48343         __syscall_ulong_t.
48345         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48346         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48348         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48350         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48351         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48353         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48354         __syscall_slong_t.
48356         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48357         include <bits/wordsize.h>.  Check __x86_64__ instead of
48358         __WORDSIZE.
48360         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48361         "unsigned long long int" if __x86_64__ is defined.
48362         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48365         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48366         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48368         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48369         <stdint.h>.
48370         (GET_PC): Cast to uintptr_t first.
48371         (GET_FRAME): Likewise.
48372         (GET_STACK): Likewise.
48374         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48375         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48376         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48377         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48378         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48379         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48380         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48381         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48382         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48383         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48384         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48385         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48386         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48387         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48388         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48389         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48390         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48391         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48392         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48393         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48394         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48395         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48396         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48397         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48398         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48399         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48400         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48401         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48402         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48404 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48406         * Makerules (+depfiles): Also collect depfiles from .oS in
48407         $(extra-objs).
48408         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48409         .oS, $(libnldbl-routines)).
48411         * Makerules (native-compile-mkdep-flags): Define.
48412         * sunrpc/Makefile (extra-objs): Add $(addprefix
48413         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48414         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48415         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48416         calling $(make-target-directory).
48418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48420         * bits/types.h (__snseconds_t): Removed.
48421         * time/time.h (struct timespec): Replace __snseconds_t with
48422         __syscall_slong_t.
48423         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48424         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48425         Likewise.
48426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48427         (__SNSECONDS_T_TYPE): Likewise.
48428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48429         (__SNSECONDS_T_TYPE): Likewise.
48430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48431         (__SNSECONDS_T_TYPE): Likewise.
48433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48435         * sysdeps/mach/hurd/bits/typesizes.h
48436         (__SYSCALL_SLONG_TYPE): New macro.
48437         (__SYSCALL_ULONG_TYPE): Likewise.
48439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48441         * bits/types.h (__syscall_slong_t): New type.
48442         (__syscall_ulong_t): Likewise.
48444         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48445         (__SYSCALL_ULONG_TYPE): Likewise.
48446         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48447         (__SYSCALL_SLONG_TYPE): Likewise.
48448         (__SYSCALL_ULONG_TYPE): Likewise.
48449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48450         (__SYSCALL_SLONG_TYPE): Likewise.
48451         (__SYSCALL_ULONG_TYPE): Likewise.
48452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48453         (__SYSCALL_SLONG_TYPE): Likewise.
48454         (__SYSCALL_ULONG_TYPE): Likewise.
48456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48458         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48459         Add sigaltstack-offsets.sym.
48460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48461         <sigaltstack-offsets.h>.
48462         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48463         longjmp_msg pointer.
48464         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48465         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48466         signal stack.
48467         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48469 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48471         * elf/stackguard-macros.h: Remove file.
48472         * sysdeps/generic/stackguard-macros.h: New file.
48473         * sysdeps/i386/stackguard-macros.h: Likewise.
48474         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48475         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48476         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48477         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48478         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48479         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48480         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48481         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48482         <elf/stackguard-macros.h>.
48484         [BZ #14109]
48485         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48486         __aligned__ in attribute.
48487         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48488         (gregset_t): Likewise.
48490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48492         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48493         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48494         * sysdeps/x86_64/x32/Implies-after: New file.
48496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48498         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48499         and access return value for _dl_profile_fixup.  Use R10_LP to
48500         load frame size.
48502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48504         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48508         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48509         * sysdeps/x86_64/x32/sysdep.h: New file.
48511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48513         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48514         * sysdeps/x86_64/setjmp.S: Likewise.
48516 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48518         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48519         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48520         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48521         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48522         remove unused global constant.
48524 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48526         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48527         include of <not-cancel.h>.
48529 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48531         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48533 2012-05-15  Jeff Law  <law@redhat.com>
48534             Andreas Jaeger  <aj@suse.de>
48536         [BZ #13594]
48537         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48538         out from...
48539         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48540         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48541         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48542         code changing __hst_map_handle.map.
48544 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48546         * configure.in (sysnames): Look for Implies-before and Implies-after
48547         files.
48548         * configure: Regenerated.
48550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48552         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48553         8-byte data alignment with LP_SIZE alignment.
48555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48557         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48558         into R10_LP.
48560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48562         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48566         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48567         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48568         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48569         Likewise.
48570         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48574         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48575         (stackinfo_sub_sp): Likewise.
48577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48579         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48580         RAX_LP.
48582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48584         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48585         into R*_LP.
48587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48589         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48590         sizes into R*_LP.
48592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48594         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48598         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48599         into R11_LP and load __x86_64_shared_cache_size_half into
48600         R8_LP.
48602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48604         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48605         R8_LP.
48607 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48610         logb for POWER7.
48611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48612         logbf for POWER7.
48613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48614         logbl for POWER7.
48615         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48616         powerpc32/power7/fpu/s_logb.c via #include.
48617         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48618         powerpc32/power7/fpu/s_logbf.c via #include.
48619         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48620         powerpc32/power7/fpu/s_logbl.c via #include.
48622 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48624         * README.libm: Remove file.
48626 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48628         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48629         count for x32.  Use R*_LP and omit operand-size suffix.
48631 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48633         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48634         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48635         * sysdeps/x86_64/x32/shlib-versions: New file.
48637 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48639         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48640         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48641         Use _dl_fatal_printf instead.
48643 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48645         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48646         set if not set by the user.  Do not allow for being unset.
48647         * sysdeps/unix/sysv/linux/configure: Regenerated.
48649 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48651         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48652         the `q' suffix from lea and replace .quad with ASM_ADDR.
48654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48657         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48658         instead of $17.
48659         (PTR_DEMANGLE): Likewise.
48661 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48663         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48664         (LP_OP): Likewise.
48665         (ASM_ADDR): Likewise.
48666         (RAX_LP): Likewise.
48667         (RBP_LP): Likewise.
48668         (RBX_LP): Likewise.
48669         (RCX_LP): Likewise.
48670         (RDI_LP): Likewise.
48671         (RSI_LP): Likewise.
48672         (RSP_LP): Likewise.
48673         (R8_LP): Likewise.
48674         (R9_LP): Likewise.
48675         (R10_LP): Likewise.
48676         (R10_LP): Likewise.
48677         (R11_LP): Likewise.
48678         (R12_LP): Likewise.
48679         (R13_LP): Likewise.
48680         (R14_LP): Likewise.
48681         (R15_LP): Likewise.
48683 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48685         * sysdeps/x86_64/x32/dl-machine.h: New file.
48687 2012-05-14  Andreas Jaeger  <aj@suse.de>
48689         * manual/Makefile (subdir): Remove export of subdir.
48690         (all): Remove target.
48691         (.PHONY): Remove all from list.
48692         (mkinstalldirs): Remove.
48693         (.PHONY): Remove installdirs from list.
48694         ($(inst_infodir)/libc.info): Use make-target-directory.
48695         (installdirs): Remove.
48696         (subdir_%): Remove.
48697         (glibc-targets): Remove.
48698         (lib): Remove.
48699         (stubs): Remove.
48700         ($(objpfx)stubs ../po/manual.pot): Remove.
48701         ($(objpfx)stamp%): Remove.
48702         (make-target-directory): Remove.
48703         (subdir_install): Remove.
48704         (routines): Remove.
48705         (aux): Remove.
48706         (sources): Remove.
48707         (objects): Remove.
48708         (headers): Remove.
48710         [BZ #13750]
48711         * manual/.gitignore: Remove, it's not needed anymore.
48712         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48713         all files in it.
48714         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48715         directory.
48716         (texis): Renamed to $(objpfx)texis.
48717         (texis-path): New, contains path to generated files.
48718         (chapters.%): Use texis-path for complete path, add extra argument
48719         libc-texinfo.sh.
48720         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48721         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48722         (summary,texi, stamp-summary): Use complete path of
48723         files. Generate files in build dir.
48724         (dir-add.texi): Build in build dir.
48725         (libm-err.texi,stamp-libm-err): Likewise.
48726         (version.texi, stamp-version): Likewise.
48727         (.%c.texi): Likewise.
48728         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48729         (mostlyclean): Remove target.
48730         (realclean): Remove target.
48731         (generated): Add new variable with contents from mostlyclean and
48732         realclean, remove entries duplicated in common-mostlyclean, add
48733         stamp-libm-err and stamp-version.
48734         (generated-dirs): Add libc directory.
48735         ($(inst_infodir)/libc.info): Install files from build dir.
48737         * manual/install.texi (Configuring and compiling): Adjust since
48738         the info files are not part of the tar ball anymore.
48740 2012-05-14  Andreas Jaeger  <aj@suse.de>
48742         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48743         variable.
48745 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48747         [BZ #13717]
48748         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48749         to 2.2.0 where earlier.
48750         * sysdeps/unix/sysv/linux/configure: Regenerated.
48751         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48752         Remove conditional code.
48753         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48754         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48755         Remove conditional code.
48756         [!__NR_lchown]: Likewise.
48757         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48758         [__NR_lchown]: Likewise.
48759         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48760         comment referencing __ASSUME_LCHOWN_SYSCALL.
48761         * sysdeps/unix/sysv/linux/i386/sigaction.c
48762         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48763         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48764         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48765         Remove conditional code.
48766         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48767         (__protocol_available): Remove #if 0 code.
48768         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48769         conditional code.
48770         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48771         * sysdeps/unix/sysv/linux/kernel-features.h
48772         (__ASSUME_GETCWD_SYSCALL): Don't define.
48773         (__ASSUME_REALTIME_SIGNALS): Likewise.
48774         (__ASSUME_PREAD_SYSCALL): Likewise.
48775         (__ASSUME_PWRITE_SYSCALL): Likewise.
48776         (__ASSUME_POLL_SYSCALL): Likewise.
48777         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48778         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48779         non-SPARC.
48780         (__ASSUME_SIOCGIFNAME): Don't define.
48781         (__ASSUME_MSG_NOSIGNAL): Likewise.
48782         (__ASSUME_SENDFILE): Define unconditionally.
48783         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48784         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48785         conditional code.
48786         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48787         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48788         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48789         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48790         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48791         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48792         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48794         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48795         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48797         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48798         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48800         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48801         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48803         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48804         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48806         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48807         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48809         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48812         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48815         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48817         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48818         Remove conditional code.
48819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48820         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48821         Remove conditional code.
48822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48823         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48824         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48825         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48826         Remove conditional code.
48827         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48828         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48829         Remove conditional code.
48830         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48831         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48832         Remove conditional code.
48833         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48834         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48835         Remove conditional code.
48836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48837         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48838         Remove conditional code.
48839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48840         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48841         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48843         * sysdeps/unix/sysv/linux/sigaction.c
48844         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48845         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48846         * sysdeps/unix/sysv/linux/sigpending.c
48847         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48848         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48849         * sysdeps/unix/sysv/linux/sigprocmask.c
48850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48852         * sysdeps/unix/sysv/linux/sigsuspend.c
48853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48855         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48856         (__libc_missing_rt_sigs): Remove.
48857         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48858         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48859         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48860         Remove conditional code.
48861         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48862         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48863         return 1.
48864         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48865         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48866         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48867         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48869 2012-05-14  Andreas Jaeger  <aj@suse.de>
48871         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48872         it's not used in glibc.
48873         (__coshm1): Likewise.
48874         (__acosh1p): Likewise.
48875         (__sgn): Likewise.
48877         * manual/string.texi (Copying and Concatenation): Add missing
48878         variable in concat example.
48879         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48883         [BZ #14103]
48884         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48885         __builtin_clzl with __builtin_clzll.
48887 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48889         [BZ #14104]
48890         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48891         libc_freeres_ptr.
48893 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48895         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48896         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48897         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48898         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48900 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48902         * NEWS: Update ia64 info.
48904 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48906         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48907         used as bcopy.
48909 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48911         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48912         * sysdeps/unix/syscalls.list (dup3): Likewise.
48913         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48914         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48916 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48918         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48919         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48921 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48923         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48924         thread pointer.
48925         (TLS_IE): Use mov/add instead of movq/addq to load thread
48926         pointer.
48927         (TLS_GD_PREFIX): New.
48928         (TLS_GD): Use it.
48930 2012-05-11  David S. Miller  <davem@davemloft.net>
48932         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48933         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48934         (_FPU_SETCW): Likewise.
48936 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48938         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48939         is 32-byte aligned.
48941 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48943         [BZ #11837]
48944         * iconvdata/gb18030.c: Update tables.
48945         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48946         characters specially.
48947         (BODY for TO_LOOP): Add encoding of missing ranges.
48949 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48951         [BZ #13673]
48952         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48953         * sysdeps/mach/hurd/dup3.c: Likewise.
48954         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48955         * sysdeps/powerpc/memmove.c:: Likewise.
48957 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48960         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48962 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48964         * elf/elf.h (R_X86_64_RELATIVE64): New.
48965         (R_X86_64_NUM): Updated.
48966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48967         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48968         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48969         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48970         tst-quad1pie tst-quad2pie
48971         (modules-names): Add tst-quadmod1 tst-quadmod2.
48972         ($(objpfx)tst-quad1): New dependency.
48973         ($(objpfx)tst-quad2): Likewise.
48974         ($(objpfx)tst-quad1pie): Likewise.
48975         ($(objpfx)tst-quad2pie): Likewise.
48976         * sysdeps/x86_64/tst-quad1.c: New file.
48977         * sysdeps/x86_64/tst-quad1pie.c: New file.
48978         * sysdeps/x86_64/tst-quad2.c: Likewise.
48979         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48980         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48981         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48982         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48983         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48987         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48988         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48989         * streams/stropts.h (t_scalar_t): Define type.
48991         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48992         (_PATH_PRESERVE): Set to "/var/lib".
48993         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48995         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48996         instead of int.
48998         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48999         if __dir_mkfile succeeded.
49001         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49002         checking for _hurd_dtablesize.  Unlock it right after having
49003         finished _hurd_dtable allocation.
49005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49007         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49008         * sysdeps/mach/hurd/configure: Regenerated.
49009         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49010         special-casing to...
49011         * sysdeps/gnu/configure.in: ... this new file.
49012         * sysdeps/unix/sysv/linux/configure: Regenerated.
49013         * sysdeps/gnu/configure: New generated file.
49015         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49016         for Linux: use nsec instead of usec, as well as:
49017         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49018         members of type struct timespec.
49019         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49020         New macros.
49021         (struct stat64): Likewise.
49022         (_STATBUF_ST_NSEC): New macro.
49023         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49025         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49026         __strtoul_internal rather than strtoul.
49028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49030         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49031         and reject them.
49033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49035         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49036         which preserves existing values.
49037         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49039 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49041         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49042         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49043         greater than FD_SETSIZE.
49045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49047         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49048         allocated, call __vm_protect to finish enabling the existing space, and
49049         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49050         allocate the remainder.
49052 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49054         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49055         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49057 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49059         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49060         sysdeps/mach/hurd/readlink.c.
49062         * posix/tst-sysconf.c (posix_options): Only use
49063         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49064         _POSIX_SYNCHRONIZED_IO when they are defined
49065         * sysdeps/mach/hurd/bits/posix_opt.h:
49066         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49067         (_XOPEN_REALTIME): Undefine macro.
49068         (_XOPEN_REALTIME_THREADS): Undefine macro.
49069         (_XOPEN_SHM): Undefine macro.
49070         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49071         macro to -1.
49072         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49073         macro to -1.
49074         (_POSIX_ASYNC_IO): Undefine macro.
49075         (_POSIX_PRIORITIZED_IO): Undefine macro.
49076         (_POSIX_SPIN_LOCKS): Define macro to -1.
49078         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49079         SA_NODEFER, SA_RESETHAND.
49080         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49081         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49082         F_DUPFD_CLOEXEC.
49084 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49086         * elf/Makefile (pldd-modules): Define unconditionally.
49088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49090         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49094         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49095         Return ENOENT when name is empty.
49096         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49098 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49100         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49102         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49106         Fix mlock in all cases except non-readable pages.
49107         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49108         instead of VM_PROT_ALL as parameter to __vm_wire function.
49110         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49111         (__mkdir): When path is `/', just fail with EEXIST.
49112         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49116         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49117         <sys/uio.h> (for writev).
49118         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49119         and <sys/param.h> (for MIN).
49121 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49123         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49124         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49125         if interrupted.
49127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49129         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49130         Depend on against $(link-rpcuserlibs).
49132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49134         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49135         (__libc_stack_end): Do not use attribute_relro.
49136         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49137         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49138         to libthread-provided value.
49139         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49140         attribute_relro.
49142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49144         [BZ #3748]
49145         * bits/libc-lock.h (__libc_once_get): New macro.
49146         * sysdeps/mach/bits/libc-lock.h: Likewise.
49147         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49149         instead of using implementation details.
49151         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49152         * libio/freopen.c: Likewise.
49153         * libio/freopen64.c: Likewise.
49154         * misc/syslog.c: Likewise.
49155         * nscd/connections.c: Likewise.
49156         * nscd/netgroupcache.c: Likewise.
49157         * sysdeps/posix/getcwd.c: Likewise.
49159 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49161         * math/w_ilogbf.c: Add #include <limits.h>.
49163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49165         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49166         path instead of returning without unlocking.
49168         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49169         immediate-write ioctls.
49170         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49174         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49175         __builtin_frame_address instead of making assumptions about the
49176         location of the return address relative to DATA.  Force early load of
49177         the return address.
49178         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49179         __builtin_frame_address.
49181         dup3 for GNU Hurd.
49182         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49183         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49184         implement dup3 and do some further code clean-ups.
49185         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49186         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49188 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49190         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49192         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49193         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49194         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49195         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49196         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49197         d->port.lock.
49199         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49200         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49201         when handler == SIG_ERR, not when handler != SIG_ERR.
49203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49205         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49206         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49207         definitions.
49209         accept4 for GNU Hurd.
49210         * include/sys/socket.h (__libc_accept4): New prototype.
49211         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49212         to implement __libc_accept4.
49213         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49214         __libc_accept4.
49215         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49217         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49218         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49219         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49220         signal-defines.sym.
49222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49224         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49228         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49229         assertion on O_CLOEXEC flag.
49230         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49231         * hurd/intern-fd.c: Likewise.
49232         * hurd/port2fd.c: Likewise.
49234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49236         [BZ #3906]
49237         * bits/in.h (IPV6_PKTINFO): Define new macro.
49238         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49240 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49242         [BZ #13954]
49243         [BZ #13955]
49244         [BZ #13956]
49245         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49246         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49247         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49248         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49250         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49251         * math/libm-test.inc (logb_test) : Additional logb tests.
49253 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49254             Andreas Jaeger  <aj@suse.de>
49256         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49257         * configure: Regenerated.
49258         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49259         * config.make.in (link-obsolete-rpc): New substituted variable.
49260         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49261         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49262         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49263         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49264         so that libc.a contains the symbols.
49265         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49266         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49267         * sunrpc/auth_none.c: Likewise.
49268         * sunrpc/auth_unix.c: Likewise.
49269         * sunrpc/authdes_prot.c: Likewise.
49270         * sunrpc/authuxprot.c: Likewise.
49271         * sunrpc/clnt_gen.c: Likewise.
49272         * sunrpc/clnt_perr.c: Likewise.
49273         * sunrpc/clnt_raw.c: Likewise.
49274         * sunrpc/clnt_simp.c: Likewise.
49275         * sunrpc/clnt_tcp.c: Likewise.
49276         * sunrpc/clnt_udp.c: Likewise.
49277         * sunrpc/clnt_unix.c: Likewise.
49278         * sunrpc/des_crypt.c: Likewise.
49279         * sunrpc/des_soft.c: Likewise.
49280         * sunrpc/get_myaddr.c: Likewise.
49281         * sunrpc/key_call.c: Likewise.
49282         * sunrpc/key_prot.c: Likewise.
49283         * sunrpc/netname.c: Likewise.
49284         * sunrpc/pm_getmaps.c: Likewise.
49285         * sunrpc/pm_getport.c: Likewise.
49286         * sunrpc/pmap_clnt.c: Likewise.
49287         * sunrpc/pmap_prot.c: Likewise.
49288         * sunrpc/pmap_prot2.c: Likewise.
49289         * sunrpc/pmap_rmt.c: Likewise.
49290         * sunrpc/publickey.c: Likewise.
49291         * sunrpc/rpc_cmsg.c: Likewise.
49292         * sunrpc/rpc_common.c: Likewise.
49293         * sunrpc/rpc_dtable.c: Likewise.
49294         * sunrpc/rpc_prot.c: Likewise.
49295         * sunrpc/rpc_thread.c: Likewise.
49296         * sunrpc/rtime.c: Likewise.
49297         * sunrpc/svc.c: Likewise.
49298         * sunrpc/svc_auth.c: Likewise.
49299         * sunrpc/svc_raw.c: Likewise.
49300         * sunrpc/svc_run.c: Likewise.
49301         * sunrpc/svc_tcp.c: Likewise.
49302         * sunrpc/svc_udp.c: Likewise.
49303         * sunrpc/svc_unix.c: Likewise.
49304         * sunrpc/svcauth_des.c: Likewise.
49305         * sunrpc/xcrypt.c: Likewise.
49306         * sunrpc/xdr.c: Likewise.
49307         * sunrpc/xdr_array.c: Likewise.
49308         * sunrpc/xdr_float.c: Likewise.
49309         * sunrpc/xdr_intXX_t.c: Likewise.
49310         * sunrpc/xdr_mem.c: Likewise.
49311         * sunrpc/xdr_rec.c: Likewise.
49312         * sunrpc/xdr_ref.c: Likewise.
49313         * sunrpc/xdr_sizeof.c: Likewise.
49314         * sunrpc/xdr_stdio.c: Likewise.
49316 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49318         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49319         change.  Update copyright years.
49321 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49323         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49325 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49326             Joseph Myers  <joseph@codesourcery.com>
49327             Paul Pluzhnikov  <ppluzhnikov@google.com>
49329         [BZ #14012]
49330         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49331         requiring rpcgen.
49332         [cross-compiling] (extra-libs): Likewise.
49333         [cross-compiling] (extra-libs-others): Likewise.
49334         [cross-compiling] (librpcsvc-routines): Likewise.
49335         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49336         [cross-compiling] (omit-deps): Likewise.
49337         (sunrpc-CPPFLAGS): New variable.
49338         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49339         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49340         (cross-rpcgen-objs): New variable.
49341         (extra-objs): Append $(cross-rpcgen-objs).
49342         ($(cross-rpcgen-objs)): New rule.
49343         ($(objpfx)cross-rpcgen): Likewise.
49344         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49345         comment.
49346         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49347         ($(objpfx)x%.stmp): Likewise.
49348         * sunrpc/proto.h [IS_IN_build] (_): Define.
49349         [IS_IN_build] (_libc_intl_domainname): Likewise.
49351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49353         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49354         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49355         and R_X86_64_TPOFF64.
49357 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49359         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49360         sysdeps/unix/sysv/syscalls.list.
49361         (stime): Likewise.
49362         (utime): Likewise.
49363         * sysdeps/unix/sysv/syscalls.list: Remove file.
49365 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49367         [BZ #3440]
49368         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49369         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49370         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49371         (__LC_IDENTIFICATION): Make these macros useful in #if
49372         expressions, as required by C99.
49374 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49376         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49377         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49378         after this.
49380 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49382         * stdlib/longlong.h: Updated from GCC.
49384 2012-05-09  Andreas Jaeger  <aj@suse.de>
49386         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49387         default is first entry.
49388         (run_mode): Set type.
49389         (main): Remove informal message about syslog.
49390         (options): Fix typo.
49392         [BZ #14053]
49393         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49394         to asm.
49395         (lrint): Likewise.
49396         (llrintf): Likewise.
49397         (llrint): Likewise.
49398         (rint): Likewise.
49399         (rintf): Likewise.
49400         (nearbyint): Likewise.
49401         (nearbyintf): Likewise.
49403 2012-05-09  Andreas Jaeger  <aj@suse.de>
49404             Pedro Alves  <palves@redhat.com>
49406         * nscd/nscd.c (run_mode): Use enum.
49407         (main): Cleanup coding style issue.
49409 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49410             Andreas Jaeger  <aj@suse.de>
49412         * nscd/nscd.c (go_background): Replaced with...
49413         (run_mode): ... this.
49414         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49415         (options): Add -F --foreground.
49416         (main): Implement it.
49417         (parse_opt): Parse it.
49419 2012-05-09  Andreas Jaeger  <aj@suse.de>
49421         [BZ #14083]
49422         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49423         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49424         -Wconversion warning.
49425         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49426         Likewise.
49428 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49430         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49431         == 0.
49432         (LC_ALL): Use macro-int-constant.
49433         (LC_COLLATE): Likewise.
49434         (LC_CTYPE): Likewise.
49435         (LC_MESSAGES): Likewise.
49436         (LC_MONETARY): Likewise.
49437         (LC_NUMERIC): Likewise.
49438         (LC_TIME): Likewise.
49439         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49440         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49442         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49443         Specify type.
49444         [C99-based standards] (float_t): Expect type.
49445         [C99-based standards] (double_t): Expect type.
49446         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49447         type.
49448         [C99-based standards] (HUGE_VALL): Likewise.
49449         [C99-based standards] (INFINITY): Likewise.
49450         [C99-based standards] (NAN): Likewise.
49451         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49452         [C99-based standards] (FP_NAN): Likewise.
49453         [C99-based standards] (FP_NORMAL): Likewise.
49454         [C99-based standards] (FP_SUBNORMAL): Likewise.
49455         [C99-based standards] (FP_ZERO): Likewise.
49456         [C99-based standards] (FP_FAST_FMA): Use
49457         optional-macro-int-constant.  Specify type.  Require == 1.
49458         [C99-based standards] (FP_FAST_FMAF): Likewise.
49459         [C99-based standards] (FP_FAST_FMAL): Likewise.
49460         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49461         [C99-based standards] (FP_ILOGBNAN): Likewise.
49462         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49463         Specify type.
49464         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49465         [C99-based standards] (math_errhandling): Specify type.
49466         [ISO99 || ISO11] (signgam): Do not allow.
49467         [non-C99-based standards] (copysignf): Do not allow.
49468         [non-C99-based standards] (exp2f): Likewise.
49469         [non-C99-based standards] (log2f): Likewise.
49470         [non-C99-based standards] (modff): Allow.
49471         [non-C99-based standards] (erff): Do not allow.
49472         [non-C99-based standards] (erfcf): Likewise.
49473         [non-C99-based standards] (gammaf): Likewise.
49474         [non-C99-based standards] (hypotf): Likewise.
49475         [non-C99-based standards] (j0f): Likewise.
49476         [non-C99-based standards] (j1f): Likewise.
49477         [non-C99-based standards] (jnf): Likewise.
49478         [non-C99-based standards] (lgammaf): Likewise.
49479         [non-C99-based standards] (tgammaf): Likewise.
49480         [non-C99-based standards] (y0f): Likewise.
49481         [non-C99-based standards] (y1f): Likewise.
49482         [non-C99-based standards] (ynf): Likewise.
49483         [non-C99-based standards] (isnanf): Likewise.
49484         [non-C99-based standards] (acoshf): Likewise.
49485         [non-C99-based standards] (asinhf): Likewise.
49486         [non-C99-based standards] (atanhf): Likewise.
49487         [non-C99-based standards] (cbrtf): Likewise.
49488         [non-C99-based standards] (expm1f): Likewise.
49489         [non-C99-based standards] (ilogbf): Likewise.
49490         [non-C99-based standards] (log1pf): Likewise.
49491         [non-C99-based standards] (logbf): Likewise.
49492         [non-C99-based standards] (nextafterf): Likewise.
49493         [non-C99-based standards] (remainderf): Likewise.
49494         [non-C99-based standards] (rintf): Likewise.
49495         [non-C99-based standards] (scalbf): Likewise.
49496         [non-C99-based standards] (copysignl): Likewise.
49497         [non-C99-based standards] (exp2l): Likewise.
49498         [non-C99-based standards] (log2l): Likewise.
49499         [non-C99-based standards] (modfl): Allow.
49500         [non-C99-based standards] (erfl): Do not allow.
49501         [non-C99-based standards] (erfcl): Likewise.
49502         [non-C99-based standards] (gammal): Likewise.
49503         [non-C99-based standards] (hypotl): Likewise.
49504         [non-C99-based standards] (j0l): Likewise.
49505         [non-C99-based standards] (j1l): Likewise.
49506         [non-C99-based standards] (jnl): Likewise.
49507         [non-C99-based standards] (lgammal): Likewise.
49508         [non-C99-based standards] (tgammal): Likewise.
49509         [non-C99-based standards] (y0l): Likewise.
49510         [non-C99-based standards] (y1l): Likewise.
49511         [non-C99-based standards] (ynl): Likewise.
49512         [non-C99-based standards] (isnanl): Likewise.
49513         [non-C99-based standards] (acoshl): Likewise.
49514         [non-C99-based standards] (asinhl): Likewise.
49515         [non-C99-based standards] (atanhl): Likewise.
49516         [non-C99-based standards] (cbrtl): Likewise.
49517         [non-C99-based standards] (expm1l): Likewise.
49518         [non-C99-based standards] (ilogbl): Likewise.
49519         [non-C99-based standards] (log1pl): Likewise.
49520         [non-C99-based standards] (logbl): Likewise.
49521         [non-C99-based standards] (nextafterl): Likewise.
49522         [non-C99-based standards] (remainderl): Likewise.
49523         [non-C99-based standards] (rintl): Likewise.
49524         [non-C99-based standards] (scalbl): Likewise.
49525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49526         [non-C99-based standards] (FP_*): Do not allow.
49527         [C99-based standards] (FP_*): Change to
49528         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49529         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49530         allow.
49531         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49532         (SIG_ERR): Likewise.
49533         [X/Open-based standards] (SIG_HOLD): Likewise.
49534         (SIG_IGN): Likewise.
49535         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49536         positive value.
49537         (SIGFPE): Likewise.
49538         (SIGILL): Likewise.
49539         (SIGINT): Likewise.
49540         (SIGSEGV): Likewise.
49541         (SIGTER): Likewise.
49542         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49543         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49544         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49545         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49546         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49547         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49548         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49549         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49550         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49551         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49552         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49553         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49554         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49555         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49556         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49557         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49558         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49559         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49560         [X/Open-based standards] (SIGTRAP): Likewise.
49561         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49562         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49563         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49564         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49565         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49566         allow.
49568 2012-05-08  Ian Wienand  <ianw@vmware.com>
49570         [BZ #14080]
49571         * time/tzset.c (__tzset_parse_tz): Update default rules for
49572         daylight time changes in the Energy Policy Act of 2005.
49574 2012-05-09  Andreas Jaeger  <aj@suse.de>
49576         [BZ #13983]
49577         * elf/ldconfig.c (parse_conf): Change string to make clear that
49578         ldconfig only issued a warning if ld.so.conf does not exist.
49580 2012-05-08  David S. Miller  <davem@davemloft.net>
49582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49583         movxtod instead of popping the value on the stack.
49585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49587 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49589         * config.h.in: Add HAVE_ARM_PCS_VFP.
49591 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49593         [BZ #13979]
49594         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49595         checking but the checks are disabled for any reason.
49597 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49599         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49600         and ELF64_R_TYPE with ELFW(R_TYPE).
49602 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49604         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49605         (ulimit): Likewise.
49607         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49608         (settimeofday): Likewise.
49610 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49612         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49613         a struct th_u2 inside the union, and move tu_block/tu_code into
49614         a new th_u3 union of tu_block/tu_code inside of that.  Move
49615         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49616         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49617         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49618         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49619         (th_stuff): Change to th_u1.tu_stuff.
49620         (th_data): Define.
49621         (th_msg): Change to th_u1.th_u2.tu_data.
49623 2012-05-07  David S. Miller  <davem@davemloft.net>
49625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49627         [BZ #14074]
49628         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49629         (SETUP_PIC_REG): Use it.
49630         (SETUP_PIC_REG_LEAF): Use it.
49632 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49634         [BZ #13885]
49635         [BZ #13923]
49636         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49637         USE_AS_EXPM1L.
49638         (EXPL_FINITE): Likewise.
49639         (FLDLOG): Likewise.
49640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49641         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49642         e_expl.S.
49643         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49644         USE_AS_EXPM1L.
49645         (EXPL_FINITE): Likewise.
49646         (FLDLOG): Likewise.
49647         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49648         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49649         e_expl.S.
49650         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49651         test of -max_value argument for long double.
49652         * sysdeps/i386/fpu/libm-test-ulps: Update.
49653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49655 2012-05-06  David S. Miller  <davem@davemloft.net>
49657         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49658         quad soft-float symbols whose references which are compiler
49659         generated.
49660         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49662 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49664         [BZ #13884]
49665         [BZ #13914]
49666         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49667         USE_AS_EXP10L.
49668         (EXPL_FINITE): Likewise.
49669         (FLDLOG): Likewise.
49670         (c0): Likewise.
49671         (c1): Likewise.
49672         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49673         Adjust comments for base varying.
49674         (__expl_finite): Change alias to EXPL_FINITE.
49675         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49676         e_expl.S.
49677         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49678         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49679         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49680         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49682         USE_AS_EXP10L.
49683         (EXPL_FINITE): Likewise.
49684         (FLDLOG): Likewise.
49685         (c0): Likewise.
49686         (c1): Likewise.
49687         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49688         Adjust comments for base varying.
49689         (__expl_finite): Change alias to EXPL_FINITE.
49690         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49691         tests for bugs.
49692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49694         [BZ #14064]
49695         * math/libm-test.inc (check_float_internal): Correct ulp
49696         calculation for subnormal expected results.
49698 2012-05-06  Andreas Jaeger  <aj@suse.de>
49700         * Makeconfig (+math-flags): New, set to -frounding-math.
49701         (+cflags): Add +math-flags so that all of glibc gets compiled with
49702         it.
49704         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49706 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49708         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49709         Disable one test.
49711         [BZ #13787]
49712         [BZ #13922]
49713         [BZ #14036]
49714         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49715         (__ieee754_expl): Allow for and saturate large arguments.
49716         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49717         (u_threshold): Likewise.
49718         (__exp): Call __ieee754_exp before checking for overflow and
49719         underflow.
49720         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49721         (u_threshold): Likewise.
49722         (__expf): Call __ieee754_expf before checking for overflow and
49723         underflow.
49724         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49725         (u_threshold): Likewise.
49726         (__expl): Call __ieee754_expl before checking for overflow and
49727         underflow.
49728         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49729         (__ieee754_expl): Allow for and saturate large arguments.
49730         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49731         missing overflow exception on overflow.
49732         (expm1_test): Do not allow missing overflow exception on overflow.
49734         * sysdeps/i386/fpu/e_expl.c: Move to ...
49735         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49736         rather than using inline asm.
49737         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49738         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49739         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49741         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49742         (nice): Likewise.
49743         (poll): Likewise.
49744         (signal): Likewise.
49745         (time): Likewise.
49746         (times): Likewise.
49748 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49750         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49751         sysdeps/unix/common/syscalls.list.
49752         (fchmod): Likewise.
49753         (fchown): Likewise.
49754         (ftruncate): Likewise.
49755         (getrusage): Likewise.
49756         (gettimeofday): Likewise.
49757         (setpgid): Likewise.
49758         (setregid): Likewise.
49759         (setreuid): Likewise.
49760         (sigaction): Likewise.
49761         (truncate): Likewise.
49762         (vhangup): Likewise.
49763         * sysdeps/unix/common/syscalls.list: Remove file.
49764         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49765         * sysdeps/unix/sysv/linux/Implies: Likewise.
49767 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49769         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49771         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49772         Moved to ...
49773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49774         Here.
49775         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49776         to ...
49777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49778         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49779         to ...
49780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49781         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49782         to ...
49783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49784         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49785         to ...
49786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49787         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49788         to ...
49789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49790         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49791         to ...
49792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49793         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49794         to ...
49795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49796         Here.
49797         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49798         to ...
49799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49800         Here.
49801         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49802         to ...
49803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49804         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49805         Moved to ...
49806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49807         Here.
49808         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49809         to ...
49810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49812 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49814         * sysdeps/unix/common/bits/dirent.h: Remove file.
49815         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49817         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49818         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49819         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49820         * sysdeps/unix/bsd/isatty.c: Likewise.
49821         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49822         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49823         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49825 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49827         [BZ #13563]
49828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49829         long double comparison inaccuracies.
49830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49833 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49835         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49836         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49838 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49840         [BZ #14049]
49841         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49842         nonzero digits before rounding a hex value.
49843         * stdlib/tst-strtod.c (tests): Add another test.
49845 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49847         * sysdeps/s390/fpu/libm-test-ulps: Update.
49849 2012-05-03  Andreas Jaeger  <aj@suse.de>
49851         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49852         does not get optimized out.
49853         (malloc_opt_barrier): New.
49855 2012-05-03  Andreas Jaeger  <aj@suse.de>
49856             Roland McGrath  <roland@hack.frob.com>
49858         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49859         intermediate file deletion.
49860         (generated): Add .symlist files.
49862 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49864         [BZ #13775]
49865         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49866         Redirect under this condition.
49867         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49868         [__USE_GNU] (__dprintf_chk): Not under this condition.
49869         [__USE_GNU] (__vdprintf_chk): Likewise.
49870         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49871         under this condition.
49872         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49873         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49874         [__USE_XOPEN2K8] (vdprintf): Likewise.
49875         [__USE_GNU] (__dprintf_chk): Not under this condition.
49876         [__USE_GNU] (__vdprintf_chk): Likewise.
49877         [__USE_GNU] (dprintf): Likewise.
49878         [__USE_GNU] (vdprintf): Likewise.
49880 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49882         * elf/Makefile (common-generated): Set this instead of generated for
49883         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49884         $(all-built-dso)-derived lists.
49886 2012-05-03  Andreas Jaeger  <aj@suse.de>
49888         * sysdeps/i386/fpu/libm-test-ulps: Update.
49890         * FAQ: Removed.
49891         * FAQ.in: Likewise.
49892         * scripts/gen-FAQ.pl: Likewise.
49893         * manual/install.texi (Installation): Point to online location of
49894         FAQ.
49895         * Makefile (files-for-dist): Remove FAQ.
49896         (FAQ): Remove.
49898 2012-05-02  Allan McRae  <allan@archlinux.org>
49900         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49901         (LDFLAGS-reldepmod5.so): Likewise.
49902         (LDFLAGS-reldep6mod1.so): Likewise.
49903         (LDFLAGS-reldep6mod4.so): Likewise.
49904         (LDFLAGS-reldep8mod3.so): Likewise.
49905         (LDFLAGS-unload4mod1.so): Likewise.
49906         (LDFLAGS-unload4mod2.so): Likewise.
49907         (LDFLAGS-tst-initorder): Likewise.
49908         (LDFLAGS-tst-initordera2.so): Likewise.
49909         (LDFLAGS-tst-initordera3.so): Likewise.
49910         (LDFLAGS-tst-initordera4.so): Likewise.
49911         (LDFLAGS-tst-initorderb2.so): Likewise.
49912         (LDFLAGS-noload): Likewise.
49913         (LDFLAGS-next): Likewise.
49914         (LDFLAGS-order2mod1.so): Likewise.
49915         (LDFLAGS-order2mod2.so): Likewise.
49916         (LDFLAGS-tst-initorder2): Likewise.
49917         (LDFLAGS-tst-initorder2a.so): Likewise.
49918         (LDFLAGS-tst-initorder2b.so): Likewise.
49919         (LDFLAGS-tst-initorder2c.so): Likewise.
49920         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49922 2012-05-02  David S. Miller  <davem@davemloft.net>
49924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49926 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49928         [BZ #14055]
49929         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49931 2012-05-02  Andreas Jaeger  <aj@suse.de>
49933         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49934         since we manipulate rounding mode.
49935         (CPPFLAGS-test-idouble.c): Likewise.
49936         (CPPFLAGS-test-ifloat.c): Likewise.
49937         (CFLAGS-test-ldouble.c): Likewise.
49938         (CFLAGS-test-double.c): Likewise.
49939         (CFLAGS-test-float.c): Likewise.
49940         (CFLAGS-test-misc.c): Likewise.
49941         (CFLAGS-test-test-fenv.c): Likewise.
49943 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49945         [BZ #2550]
49946         [BZ #2570]
49947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49948         comparisons to determine direction to adjust input.
49950 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49952         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49953         output to the target.
49955         * scripts/localplt.awk: New file.
49956         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49957         (check-localplt-CFLAGS): Variable removed.
49958         ($(all-built-dso:=.jmprel)): New static pattern rule.
49959         (generated): Add those targets.
49960         (localplt-built-dso): New variable.
49961         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49963         * elf/check-localplt.c: File removed.
49965         * scripts/check-execstack.awk: New file.
49966         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49967         (check-execstack-CFLAGS): Variable removed.
49968         ($(objpfx)check-execstack.h): Target removed.
49969         ($(objpfx)execstack-default): New target.
49970         (generated): Add that instead of check-execstack.h.
49971         ($(all-built-dso:=.phdr)): New static pattern rule.
49972         (generated): Add those targets.
49973         * elf/check-execstack.c: File removed.
49975         * scripts/check-textrel.awk: New file.
49976         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49977         (check-textrel-CFLAGS): Variable removed.
49978         (all-built-dso): Use := to define.o
49979         ($(all-built-dso:=.dyn)): New static pattern rule.
49980         (generated): Add those targets.
49981         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49982         * config.make.in (READELF): New substituted variable.
49983         * elf/check-textrel.c: File removed.
49985 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49987         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49988         allow.
49989         * conform/data/ctype.h-data [C99-based standards] (isblank):
49990         Expect function.
49991         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49992         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49993         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49994         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49995         Specify type.  Require positive value.
49996         (EILSEQ): Likewise.
49997         (ERANGE): Likewise.
49998         [ISO || POSIX] (EILSEQ): Do not expect.
49999         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50000         Specify type.  Require positive value.
50001         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50002         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50003         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50004         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50005         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50006         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50007         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50008         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50009         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50010         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50011         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50012         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50013         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50014         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50015         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50016         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50017         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50018         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50019         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50020         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50021         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50022         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50023         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50024         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50025         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50026         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50027         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50028         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50029         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50030         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50031         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50032         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50033         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50034         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50035         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50036         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50037         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50038         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50039         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50040         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50041         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50042         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50043         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50044         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50045         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50046         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50047         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50048         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50049         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50050         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50051         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50052         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50053         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50054         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50055         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50056         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50057         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50058         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50059         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50060         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50061         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50062         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50063         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50064         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50065         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50066         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50067         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50068         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50069         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50070         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50071         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50072         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50073         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50074         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50075         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50076         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50077         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50078         Require >= 2.
50079         (FLT_ROUNDS): Expect as macro, not constant.
50080         (FLT_MANT_DIG): Use macro-int-constant.
50081         (DBL_MANT_DIG): Likewise.
50082         (LDBL_MANT_DIG): Likewise.
50083         (FLT_DIG): Likewise.
50084         (DBL_DIG): Likewise.
50085         (LDBL_DIG): Likewise.
50086         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50087         (DBL_MIN_EXP): Likewise.
50088         (LDBL_MIN_EXP): Likewise.
50089         (FLT_MAX_EXP): Use macro-int-constant.
50090         (DBL_MAX_EXP): Likewise.
50091         (LDBL_MAX_EXP): Likewise.
50092         (FLT_MAX_10_EXP): Likewise.
50093         (DBL_MAX_10_EXP): Likewise.
50094         (LDBL_MAX_10_EXP): Likewise.
50095         (FLT_MAX): Use macro-constant.
50096         (DBL_MAX): Likewise.
50097         (LDBL_MAX): Likewise.
50098         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50099         (DBL_EPSILON): Likewise.
50100         (LDBL_EPSILON): Likewise.
50101         (FLT_MIN): Likewise.
50102         (DBL_MIN): Likewise.
50103         (LDBL_MIN): Likewise.
50104         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50105         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50106         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50107         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50108         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50109         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50110         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50111         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50112         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50113         [ISO11] (FLT_TRUE_MIN): Likewise.
50114         [ISO11] (LDBL_TRUE_MIN): Likewise.
50115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50116         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50117         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50118         (SCHAR_MAX): Likewise.
50119         (UCHAR_MAX): Likewise.
50120         (CHAR_MIN): Likewise.
50121         (CHAR_MAX): Likewise.
50122         (MB_LEN_MAX): Use macro-int-constant.
50123         (SHRT_MIN): Use macro-int-constant.  Specify type.
50124         (SHRT_MAX): Likewise.
50125         (USHRT_MAX): Likewise.
50126         (INT_MAX): Likewise.
50127         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50128         bound negative.
50129         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50130         bound with "U".
50131         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50132         bound with "L".
50133         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50134         bound negative.  Suffix upper bound with "L".
50135         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50136         bound with "UL".
50137         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50138         Specify type.
50139         [C99-based standards] (LLONG_MAX): Likewise.
50140         [C99-based standards] (ULLONG_MAX): Likewise.
50141         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50142         == 0.
50143         [ISO11] (max_align_t): Require type.
50144         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50146         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50147         from $CFLAGS, without defining away __attribute__ calls.
50148         (checknamespace): Use $CFLAGS_namespace.
50150         * conform/conformtest.pl (@keywords): Only include C99 keywords
50151         for standards based on C99 or C11.
50153         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50154         Disable tests.
50155         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50156         UNIX98]: Likewise.
50158         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50159         usability of symbols in #if.
50161         * conform/conformtest.pl: If macro or constant types start
50162         "promoted:", expect the symbol to be of the following type
50163         promoted by the integer promotions.
50165         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50166         in one place.  Also handle "macro-constant".
50168         * conform/conformtest.pl: Only accept expected macro values with
50169         "==".  Parse all "macro" lines in one place.
50170         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50172         * conform/conformtest.pl: Handle braced types on "constant" lines
50173         instead of handling "typed-constant".
50174         * conform/data/signal.h-data: Use "constant" instead of
50175         "typed-constant".
50177         * conform/conformtest.pl: Handle "optional-" at start of lines in
50178         one place rather than duplicating several cases.  Handle each
50179         format of "macro" line with initial "optional-".
50181         * conform/conformtest.pl: Only accept expected constant or
50182         optional-constant values with "==".  Parse all "constant" lines in
50183         one place.  Parse all "optional-constant" lines in one place.
50184         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50185         * conform/data/fmtmsg.h-data: Likewise.
50186         * conform/data/netinet/in.h-data: Likewise.
50187         * conform/data/tar.h-data: Likewise.
50188         * conform/data/limits.h-data: Use "==" form on "constant" and
50189         "optional-constant" lines.
50191         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50192         Use -std=c99 for XOPEN2K.
50193         (@knownproblems): Remove.
50194         (newtoken): Don't check %isknown.
50196         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50197         Do not expect macro.
50198         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50210         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50211         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50228         [XPG3] (acosh): Likewise.
50229         [XPG3] (asinh): Likewise.
50230         [XPG3] (atanh): Likewise.
50231         [XPG3] (cbrt): Likewise.
50232         [XPG3] (expm1): Likewise.
50233         [XPG3] (ilogb): Likewise.
50234         [XPG3] (log1p): Likewise.
50235         [XPG3] (logb): Likewise.
50236         [XPG3] (nextafter): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50239         [XPG3] (remainder): Likewise.
50240         [XPG3] (rint): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50248         [UNIX98 || XOPEN2K] (scalb): Expect.
50249         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50250         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50251         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50252         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50264         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50265         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50273         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50274         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50275         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50276         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50277         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50278         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50279         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50280         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50281         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50282         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50283         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50284         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50285         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50286         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50287         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50288         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50289         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50290         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50291         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50292         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50293         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50294         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50295         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50296         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50297         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50298         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50299         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50300         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50301         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50302         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50303         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50304         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50305         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50306         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50307         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50308         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50309         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50310         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50311         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50312         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50313         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50314         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50315         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50316         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50317         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50318         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50319         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50320         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50321         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50322         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50323         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50324         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50325         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50326         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50327         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50328         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50329         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50330         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50331         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50332         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50333         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50334         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50335         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50336         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50337         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50338         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50339         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50340         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50341         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50342         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50343         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50344         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50345         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50346         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50347         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50348         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50349         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50350         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50351         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50352         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50353         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50354         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50355         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50356         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50357         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50358         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50359         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50360         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50361         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50362         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50363         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50364         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50365         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50366         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50367         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50368         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50369         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50370         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50371         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50372         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50373         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50374         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50375         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50376         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50377         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50378         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50379         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50380         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50381         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50382         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50383         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50384         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50385         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50387         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50388         _XOPEN_SOURCE_EXTENDED for XPG4.
50390         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50392         * Makeconfig (localtime): Remove variable.
50393         (inst_localtime-file): Likewise.
50395 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50398         Update.
50399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50400         Update.
50401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50402         Update.
50403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50404         Update.
50405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50406         Update.
50407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50408         Update.
50409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50410         Update.
50411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50412         Update.
50413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50414         Update.
50416 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50418         [BZ #2550]
50419         [BZ #2570]
50420         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50421         comparisons to determine direction to adjust input.
50422         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50423         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50424         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50425         Likewise.
50426         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50427         Likewise.
50428         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50429         Likewise.
50430         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50431         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50432         Likewise.
50433         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50434         Likewise.
50435         * math/libm-test.inc (nexttoward_test): Add more tests.
50437 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50439         [BZ #14040]
50440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50441         in version GLIBC_2.1, not GLIBC_2.0.
50442         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50443         Likewise.
50445 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50447         [BZ #13942]
50448         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50449         (1 - x) * (1 + x).
50450         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50451         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50452         * math/libm-test.inc (acos_test): Add more tests.
50453         (asin_test): Likewise.
50454         * sysdeps/i386/fpu/libm-test-ulps: Update.
50455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50457         [BZ #14034]
50458         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50459         of square root.
50460         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50461         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50462         * math/libm-test.inc (acos_test_tonearest): New function.
50463         (acos_test_towardzero): Likewise.
50464         (acos_test_downward): Likewise.
50465         (acos_test_upward): Likewise.
50466         (asin_test_tonearest): Likewise.
50467         (asin_test_towardzero): Likewise.
50468         (asin_test_downward): Likewise.
50469         (asin_test_upward): Likewise.
50470         (main): Call the new functions.
50471         * sysdeps/i386/fpu/libm-test-ulps: Update.
50472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50474         [BZ #13884]
50475         [BZ #13924]
50476         * math/e_exp10.c: Include <float.h>.
50477         (__ieee754_exp10): Handle underflow here rather than multiplying
50478         large negative argument by M_LN10.
50479         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50480         of __ieee754_expf.
50481         * math/e_exp10l.c: Include <float.h>.
50482         (__ieee754_exp10l): Handle underflow here rather than multiplying
50483         large negative argument by M_LN10l.
50484         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50485         spurious overflow exception on underflow.
50487 2012-04-29  Marek Polacek  <polacek@redhat.com>
50489         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50490         (__fortify_function): New macro.
50491         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50492         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50493         __extern_always_inline.
50494         * libio/bits/stdio2.h: Likewise.
50495         * libio/bits/stdio.h: Likewise.
50496         * string/string.h: Likewise.
50497         * string/bits/string3.h: Likewise.
50498         * include/stdio.h: Likewise.
50499         * stdlib/bits/stdlib.h: Likewise.
50500         * stdlib/stdlib.h: Likewise.
50501         * rt/bits/mqueue2.h: Likewise.
50502         * rt/mqueue.h: Likewise.
50503         * posix/bits/unistd.h: Likewise.
50504         * posix/unistd.h: Likewise.
50505         * io/bits/poll2.h: Likewise.
50506         * io/bits/fcntl2.h: Likewise.
50507         * io/fcntl.h: Likewise.
50508         * io/sys/poll.h: Likewise.
50509         * misc/bits/syslog.h: Likewise.
50510         * misc/bits/syslog-ldbl.h: Likewise.
50511         * misc/sys/syslog.h: Likewise.
50512         * socket/bits/socket2.h: Likewise.
50513         * socket/sys/socket.h: Likewise.
50514         * debug/tst-chk1.c: Likewise.
50515         * wcsmbs/bits/wchar2.h: Likewise.
50516         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50517         * wcsmbs/wchar.h: Likewise.
50519 2012-04-29  Andreas Jaeger  <aj@suse.de>
50521         * Makerules (tests): Remove enable-check-abi protection.
50522         (check-abi-warn): Remove.
50523         (check-abi-%): Remove check-abi-warn usage.
50525         * configure.in: Remove check-abi configure option.
50526         * configure: Regenerated.
50527         * config.make.in (enable-check-abi): Remove.
50529 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50531         [BZ #14033]
50532         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50533         double functions to double *_finite functions.
50535         [BZ #13941]
50536         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50537         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50538         LDBL_MIN_EXP.
50539         * stdio-common/Makefile (tests): Add tst-sprintf3.
50540         * stdio-common/tst-sprintf3.c: New file.
50542         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50543         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50545 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50547         * conform/conformtest.pl: Remove duplicate typed-constant
50548         handling.
50550 2012-04-28  David S. Miller  <davem@davemloft.net>
50552         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50553         (check-abi-%): Remove AWK script prerequisite and explicit
50554         abilist directory.
50555         (check-abi): Rewrite to just diff the symlist with the abilist.
50556         (config-tls, config-abi-config): Delete, no longer used.
50557         (update-abi-%): Remove AWK script and explicit abilist directory.
50558         (update-abi): Rewrite to simply compare and conditionally copy the
50559         symlist and the sysdep abilist file.  Remove update-abi-config
50560         checks.
50561         * abilist/ld.abilist: Remove.
50562         * abilist/libBrokenLocale.abilist: Remove.
50563         * abilist/libanl.abilist: Remove.
50564         * abilist/libcrypt.abilist: Remove.
50565         * abilist/libdl.abilist: Remove.
50566         * abilist/librt.abilist: Remove.
50567         * abilist/libthread_db.abilist: Remove.
50568         * abilist/libutil.abilist: Remove.
50569         * scripts/extract-abilist.awk: Remove.
50570         * scripts/merge-abilist.awk: Remove.
50571         * sysdeps/generic/libcidn.abilist: New file.
50572         * sysdeps/generic/libnss_compat.abilist: New file.
50573         * sysdeps/generic/libnss_db.abilist: New file.
50574         * sysdeps/generic/libnss_dns.abilist: New file.
50575         * sysdeps/generic/libnss_files.abilist: New file.
50576         * sysdeps/generic/libnss_hesiod.abilist: New file.
50577         * sysdeps/generic/libnss_nis.abilist: New file.
50578         * sysdeps/generic/libnss_nisplus.abilist: New file.
50579         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50580         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50581         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50582         file.
50583         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50584         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50585         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50586         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50587         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50588         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50589         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50590         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50591         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50594         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50595         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50596         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50597         file.
50598         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50599         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50600         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50601         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50602         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50603         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50604         file.
50605         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50606         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50607         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50608         file.
50609         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50610         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50611         New file.
50612         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50613         New file.
50614         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50615         New file.
50616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50617         New file.
50618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50619         New file.
50620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50621         New file.
50622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50623         New file.
50624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50625         New file.
50626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50627         New file.
50628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50629         New file.
50630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50631         New file.
50632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50633         New file.
50634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50635         New file.
50636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50637         file.
50638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50639         New file.
50640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50641         New file.
50642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50643         file.
50644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50645         New file.
50646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50647         New file.
50648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50649         file.
50650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50651         New file.
50652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50653         New file.
50654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50655         New file.
50656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50657         New file.
50658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50659         New file.
50660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50661         New file.
50662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50664         file.
50665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50666         New file.
50667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50668         file.
50669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50670         file.
50671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50672         file.
50673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50674         file.
50675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50676         file.
50677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50678         New file.
50679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50680         file.
50681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50682         file.
50683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50684         New file.
50685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50686         file.
50687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50689         file.
50690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50691         New file.
50692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50693         file.
50694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50695         file.
50696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50697         file.
50698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50699         file.
50700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50701         file.
50702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50703         New file.
50704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50705         file.
50706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50707         file.
50708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50709         New file.
50710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50711         file.
50712         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50713         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50714         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50715         file.
50716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50717         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50718         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50719         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50720         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50721         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50722         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50723         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50724         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50725         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50728         file.
50729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50730         New file.
50731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50732         file.
50733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50734         file.
50735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50736         file.
50737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50738         file.
50739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50740         file.
50741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50742         New file.
50743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50744         New file.
50745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50746         file.
50747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50748         New file.
50749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50750         file.
50751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50753         file.
50754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50755         New file.
50756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50757         file.
50758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50759         file.
50760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50761         file.
50762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50763         file.
50764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50765         file.
50766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50767         New file.
50768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50769         New file.
50770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50771         file.
50772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50773         New file.
50774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50775         file.
50777 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50779         * conform/conformtest.pl: Fix typo in handling typed-constant from
50780         allow-header.
50782 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50784         * README: Cut down references to pre-2.6 Linux kernels and
50785         Linuxthreads.  Update lists of configurations in libc and ports
50786         and sort alphabetically.  Say "or newer" with Linux kernel version
50787         requirements.
50789         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50791 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50793         [BZ #887]
50794         * math/libm-test.inc (logb_test_downward): New test to expose
50795         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50796         rounding mode.
50798 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50800         [BZ #14027]
50801         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50802         to be done.
50803         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50804         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50806 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50808         * sysdeps/unix/i386/brk.S: Remove file.
50809         * sysdeps/unix/i386/dl-brk.S: Likewise.
50810         * sysdeps/unix/i386/pipe.S: Likewise.
50811         * sysdeps/unix/i386/sigreturn.S: Likewise.
50812         * sysdeps/unix/i386/syscall.S: Likewise.
50813         * sysdeps/unix/i386/vfork.S: Likewise.
50814         * sysdeps/unix/i386/wait.S: Likewise.
50816         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50817         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50819         * configure.in (arm*-none*): Do not allow without
50820         --enable-hacker-mode.
50821         (netbsd*): Remove case setting base_os.
50822         (386bsd*): Likewise.
50823         (freebsd*): Likewise.
50824         (bsdi*): Likewise.
50825         (osf*): Likewise.
50826         (sunos*): Likewise.
50827         (ultrix*): Likewise.
50828         (newsos*): Likewise.
50829         (dynix*): Likewise.
50830         (*bsd*): Likewise.
50831         (sysv*): Likewise.
50832         (isc*): Likewise.
50833         (esix*): Likewise.
50834         (sco*): Likewise.
50835         (minix*): Likewise.
50836         (irix4*): Likewise.
50837         (irix6*): Likewise.
50838         (solaris[2-9]*): Likewise.
50839         (none): Likewise.
50840         * configure: Regenerated.
50842 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50844         [BZ #11521]
50845         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50846         overflow or cancellation in calculating denominator.
50847         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50848         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50849         down expression to avoid unexpected rounding in newer GCCs.
50850         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50852 2012-04-26  David S. Miller  <davem@davemloft.net>
50854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50855         long-double compat symbols.
50856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50870 2012-04-25  David S. Miller  <davem@davemloft.net>
50872         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50873         HWCAP_* values only after the memory barriers have been defined.
50874         (atomic_full_barrier): Define.
50875         (atomic_read_barrier): Define.
50876         (atomic_write_barrier): Define.
50878 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50880         * shlib-versions: Add libgcc_s version information.
50881         * sysdeps/generic/libgcc_s.h: Remove.
50882         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50883         libgcc_s.h.
50884         * sysdeps/gnu/unwind-resume.c: Likewise.
50885         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50887 2012-04-25  David S. Miller  <davem@davemloft.net>
50889         * sysdeps/unix/sparc/brk.S: Delete.
50890         * sysdeps/unix/sparc/dl-brk.S: Delete.
50891         * sysdeps/unix/sparc/pipe.S: Delete.
50892         * sysdeps/unix/sparc/sysdep.S: Delete.
50893         * sysdeps/unix/sparc/sysdep.h: Delete.
50894         * sysdeps/unix/sparc/vfork.S: Delete.
50895         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50896         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50897         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50898         (ret_ERRVAL, r0, r1, MOVE): Define.
50899         (JUMPTARGET): Remove.
50900         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50901         sysdeps/unix/sparc/sysdep.h
50902         (ENTRY, END): Remove.
50903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50905 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50907         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50908         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50909         -DIS_IN_build.
50911         * timezone/README: Update upstream location and email address for
50912         tzcode and tzdata.
50913         * timezone/zdump.c: Update from tzcode 2012b.
50914         * timezone/zic.c: Likewise.
50916         * configure.in (libc_cv_as_needed): Remove test.
50917         * configure: Regenerated.
50918         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50919         conditional definition.
50920         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50921         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50922         * config.make.in (have-as-needed): Remove variable.
50924 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50925             Paul Pluzhnikov  <ppluzhnikov@google.com>
50927         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50928         strings correctly.
50930 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50932         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50933         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50934         * sysdeps/sh/strlen.S: Likewise.
50936 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50938         * sysdeps/unix/fork.S: Remove file.
50939         * sysdeps/unix/i386/fork.S: Likewise.
50940         * sysdeps/unix/sparc/fork.S: Likewise.
50942         * sysdeps/unix/system.c: Remove file.
50943         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50945         * sysdeps/unix/getegid.S: Remove file.
50946         * sysdeps/unix/geteuid.S: Likewise.
50948 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50950         * scripts/check-localplt.awk: New file.
50951         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50952         of diff.
50953         * scripts/data/localplt-generic.data: Add a comment.
50955         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50956         NODE when __dir_mkfile failed.
50957         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50958         Reported by Ludovic Courtès <ludo@gnu.org>.
50960 2012-04-24  Andreas Jaeger  <aj@suse.de>
50962         * Makerules (common-clean): Also remove gen-as-const-headers
50963         files.
50965 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50967         * Makerules (native-compile): Do not change working directory for
50968         build.  Use $(OUTPUT_OPTION) in command.
50969         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50971 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50973         [BZ #13886]
50974         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50975         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50976         * math/libm-test.inc (floor_test): Add more tests.
50977         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50979 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50981         * sysdeps/unix/getdents.c: Remove file.
50982         * sysdeps/unix/sysv/getdents.c: Likewise.
50983         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50985         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50986         sysdeps/unix/mman/syscalls.list.
50987         (mmap): Likewise.
50988         (mprotect): Likewise.
50989         (msync): Likewise.
50990         (munmap): Likewise.
50991         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50992         * sysdeps/unix/mman/syscalls.list: Remove.
50993         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50995         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50996         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50997         * configure: Regenerated.
50998         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50999         $(libgcc_s_suffix).
51000         * config.make.in (libgcc_s_suffix): Remove variable.
51002 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51004         * sysdeps/unix/sysv/gethostname.c: Move to ...
51005         * sysdeps/posix/gethostname.c: ... here.
51007         * sysdeps/unix/execve.S: Remove file.
51009         * sysdeps/unix/_exit.S: Remove file.
51011 2012-04-23  Andreas Jaeger  <aj@suse.de>
51013         [BZ #13739]
51014         * manual/Makefile: Remove make dist support, there's no
51015         need for a stand-alone documentation tar ball.
51016         (TEXI2DVI): Define always, it's not in Makeconfig.
51017         (dist): Removed.
51018         (tar-it): Removed.
51019         (edition): Removed.
51020         (glibc-doc-$(edition).tar): Removed
51021         (%.Z): Removed.
51022         (%.gz): Removed.
51023         (%.uu): Removed.
51024         (ETAGS): Remove, it's in Makeconfig.
51025         (move-if-change): Remove, it's in Makeconfig.
51027 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51029         [BZ #13970]
51030         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51031         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51032         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51033         (strtod_l, strtof_l, strtold_l): Remove __wur.
51034         It is not necessarily an error to ignore strtol's return value.
51035         One can reliably look at the stored endptr to decide whether
51036         the number had valid syntax.
51038 2012-04-21  Andreas Jaeger  <aj@suse.de>
51040         [BZ #13739]
51041         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51043 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51045         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51046         * sysdeps/unix/sysv/Versions: Remove file.
51048 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51050         [BZ #13927]
51051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51053 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51055         [BZ #7064]
51056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51057         version from __vm86.
51059 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51061         * sysdeps/unix/common/lxstat.c: Remove file.
51062         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51064         * sysdeps/unix/sysv/Makefile: Remove file.
51066         * sysdeps/unix/sysv/direct.h: Remove file.
51068         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51069         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51070         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51071         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51072         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51073         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51074         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51076         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51078         * sysdeps/unix/xmknod.c: Remove file.
51079         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51081         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51083         * sysdeps/unix/sysv/i386/time.S: Remove file.
51085         * sysdeps/unix/fxstat.c: Remove file.
51086         * sysdeps/unix/xstat.c: Likewise.
51087         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51089         * sysdeps/unix/sysv/sigaction.c: Remove file.
51091         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51092         (sysdep_headers): Remove variable.
51093         [termio.h not in sysdep_headers] (generated): Likewise.
51094         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51095         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51096         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51097         * sysdeps/unix/sysv/tcflow.c: Likewise.
51098         * sysdeps/unix/sysv/tcflush.c: Likewise.
51099         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51100         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51101         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51102         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51103         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51105         * sysdeps/unix/siglist.c: Remove file.
51107         * sysdeps/unix/getppid.S: Remove file.
51109         * sysdeps/unix/mkdir.c: Remove file.
51110         * sysdeps/unix/rmdir.c: Likewise.
51112 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51114         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51115         ERR_MAX value.
51116         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51117         errlist-compat value.
51119 2012-04-18  David S. Miller  <davem@davemloft.net>
51121         * sysdeps/generic/memcopy.h (reg_char): Delete.
51122         * debug/strcat_chk.c: Use char, not reg_char.
51123         * debug/strcpy_chk.c: Likewise.
51124         * debug/strncat_chk.c: Likewise.
51125         * debug/strncpy_chk.c: Likewise.
51126         * string/memchr.c: Likewise.
51127         * string/memrchr.c: Likewise.
51128         * string/rawmemchr.c: Likewise.
51129         * string/strcat.c: Likewise.
51130         * string/strchr.c: Likewise.
51131         * string/strchrnul.c: Likewise.
51132         * string/strcmp.c: Likewise.
51133         * string/strcpy.c: Likewise.
51134         * string/strncat.c: Likewise.
51135         * string/strncmp.c: Likewise.
51136         * string/strncpy.c: Likewise.
51138 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51140         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51141         __builtin_memcopy is called when src and dest ranges are known to not
51142         overlap.
51144 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51146         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51147         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51148         fwd_align_merge macro call.
51149         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51150         bwd_align_merge macro call.
51151         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51153 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51155         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51156         bwd_align_merge macros.
51157         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51158         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51159         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51161 2012-04-18  David S. Miller  <davem@davemloft.net>
51163         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51165 2012-04-18  Andreas Jaeger  <aj@suse.de>
51167         [BZ# 6794]
51168         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51169         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51170         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51172         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51173         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51174         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51176         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51177         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51178         Adjust for changed ldbl-128 files.
51180         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51181         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51182         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51184 2012-04-17  David S. Miller  <davem@davemloft.net>
51186         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51188 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51190         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51191         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51192         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51193         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51194         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51195         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51197 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51199         [BZ #6794]
51200         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51201         * math/libm-test.inc: Add ilogb errno and exception tests.
51202         * math/w_ilogb.c: New file: ilogb wrapper.
51203         * math/w_ilogbf.c: New file: ilogbf wrapper.
51204         * math/w_ilogbl.c: New file: ilogbl wrapper.
51205         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51206         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51207         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51208         exception being thrown with 0.0 as argument.
51209         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51210         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51211         exception being thrown with 0.0 as argument.
51212         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51213         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51214         exception being thrown with 0.0 as argument.
51215         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51216         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51217         exception being thrown with 0.0 as argument.
51218         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51219         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51220         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51221         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51222         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51223         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51224         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51225         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51226         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51228 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51230         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51231         with altivec.
51233 2012-04-16  Marek Polacek  <polacek@redhat.com>
51235         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51237 2012-04-16  Marek Polacek  <polacek@redhat.com>
51239         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51240         operands of fdivp instruction.
51242 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51244         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51245         * elf/tst-auditmod3b.c: Likewise.
51246         * elf/tst-auditmod4b.c: Likewise.
51247         * elf/tst-auditmod5b.c: Likewise.
51248         * elf/tst-auditmod6b.c: Likewise.
51249         * elf/tst-auditmod6c.c: Likewise.
51250         * elf/tst-auditmod7b.c: Likewise.
51251         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51252         * sysdeps/x86_64/preconfigure.in: Likewise.
51253         * sysdeps/x86_64/preconfigure: Regenerated.
51255 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51257         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51258         __ILP32__.
51260 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51263         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51265 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51267         [BZ #13973]
51268         * locale/iso-639.def: Fix gl language name. Spotted by
51269         Yaron Shahrabani.
51271 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51273         [BZ #2074]
51274         * libio/libio.h (__io_write_fn): Update comment.
51276 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51278         [BZ #2074]
51279         * stdio.texi (Hook Functions): The user provided writer function
51280         is not allowed to return -1.
51282 2012-04-11  David S. Miller  <davem@davemloft.net>
51284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51286 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51288         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51289         Add a leading slash to rtkaio.
51291 2012-04-11  Jim Meyering  <meyering@redhat.com>
51293         [BZ #11959]
51294         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51295         It is not necessarily an error to ignore fwrite's return
51296         value.  One can reliably use ferror to test for errors after
51297         the fact.
51299 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51301         * bits/types.h (__snseconds_t): New type.
51302         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51304         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51306         (__SNSECONDS_T_TYPE): Likewise.
51307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51308         (__SNSECONDS_T_TYPE): Likewise.
51309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51310         (__SNSECONDS_T_TYPE): Likewise.
51312 2012-04-10  Andreas Jaeger  <aj@suse.de>
51314         [BZ #2636]
51315         * manual/time.texi (Processor Time): Return type of times is
51316         elapsed real time since an arbitrary point in the past.
51317         (CPU Time): Move CLK_TCK from here...
51318         (Processor Time): ...to here.  Correct description.
51319         * manual/conf.texi (Constants for Sysconf): Correct description of
51320         _SC_CLK_TCK.
51322 2012-04-10  David S. Miller  <davem@davemloft.net>
51324         [BZ #13967]
51325         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51326         where the is a gap between DT_REL(A) and DT_JMPREL.
51328 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51330         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51331         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51332         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51334 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51336         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51337         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51338         (dl_main): Handle --inhibit-cache.
51339         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51340         _dl_inhibit_cache.
51341         * elf/dl-load.c (_dl_map_object): Use it.
51342         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51344 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51346         [BZ #13872]
51347         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51348         (__ieee754_powl): Saturate large exponents rather than testing for
51349         overflow of y*log2(x).
51350         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51351         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51352         exceptions.
51354         [BZ #11521]
51355         * math/s_ctan.c: Include <float.h>.
51356         (__ctan): Avoid internal overflow or cancellation in calculating
51357         denominator.
51358         * math/s_ctanf.c: Likewise.
51359         * math/s_ctanl.c: Likewise.
51360         * math/s_ctanh.c: Likewise.
51361         * math/s_ctanhf.c: Likewise.
51362         * math/s_ctanhl.c: Likewise.
51363         * math/libm-test.inc (ctan_test): Add more tests.
51364         (ctanh_test): Likewise.
51365         * sysdeps/i386/fpu/libm-test-ulps: Update.
51366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51368 2012-04-09  Andreas Jaeger  <aj@suse.de>
51370         [BZ #6894]
51371         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51372         is an optional BSD extension.
51374         [BZ #10254]
51375         * manual/stdio.texi (Opening Streams): Document additional fopen
51376         parameters.
51378 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51380         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51381         %eax without telling the compiler.
51383 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51385         [BZ # 13963]
51386         * manual/install.texi: Use sourceware.org.
51388 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51390         [BZ #13873]
51391         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51392         (__ieee754_pow): Generate overflow and underflow using huge*huge
51393         and tiny*tiny rather than just returning constant infinity or zero
51394         for large exponents.
51395         * math/libm-test.inc (pow_test): Require overflow exceptions for
51396         applicable cases of large exponents.
51398         [BZ #706]
51399         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51400         (__ieee754_pow): Use iterative multiplication algorithm only for
51401         integer exponents with absolute value below 1024.  Check for odd
51402         integer exponents when using algorithm for real exponents.
51403         * math/libm-test.inc (pow_test): Add more tests.
51404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51406 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51408         [BZ #13705]
51409         * math/libm-test.inc (exp_test): Do not allow overflow exception
51410         on underflow test.
51412 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51414         [BZ #13705]
51415         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51416         instead of __kernel_standard_f.
51418 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51420         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51421         * sysdeps/x86_64/memset_chk.S: Likewise.
51423 2012-04-08  Andreas Jaeger  <aj@suse.de>
51425         [BZ #10153]
51426         * manual/startup.texi (Environment Access): Describe return value
51427         for putenv and setenv.
51429         [BZ #6895]
51430         * manual/filesys.texi (Directory Entries): Add description for
51431         DT_LNK.
51433         [BZ #6890]
51434         * manual/filesys.texi (Directory Entries): Clarify that it's file
51435         system not operating system in the description of DT_UNKNOWN.
51437         [BZ #6578]
51438         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51440 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51442         [BZ #6649]
51443         * manual/llio.texi (Opening and Closing Files): Add cross
51444         reference to explain mode argument.
51446 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51448         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51449         * sysdeps/x86_64/memset_chk.S: Likewise.
51451 2012-04-07  David S. Miller  <davem@davemloft.net>
51453         * elf/elf.h (R_SPARC_WDISP10): Define.
51454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51455         R_SPARC_SIZE32.
51456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51457         R_SPARC_SIZE64 and R_SPARC_H34.
51459 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51461         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51462         conditions and remove no longer applicable assertion.
51464 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51466         * bits/byteswap.h: Include <features.h>.
51467         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51468         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51470 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51472         * bits/byteswap.h (__bswap_16): Removed.
51473         Include <bits/byteswap-16.h> to get __bswap_16.
51474         * sysdeps/i386/bits/byteswap.h: Likewise.
51475         * sysdeps/s390/bits/byteswap.h: Likewise.
51476         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51477         * bits/byteswap-16.h: New file.
51478         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51479         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51480         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51481         * string/Makefile (headers): Add bits/byteswap-16.h.
51483 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51485         [BZ #13895]
51486         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51487         extra indirection.
51488         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51489         * nss/tst-nss-static.c: New.
51491 2012-04-06  Robert Millan  <rmh@gnu.org>
51493         [BZ #6486]
51494         * manual/llio.texi (File Position Primitive): lseek
51495         refers to WHENCE when it really means OFFSET.
51497 2012-04-06  Andreas Jaeger  <aj@suse.de>
51499         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51500         strncmp declarations.
51502         * abilist/libc.abilist: Add __poll and __ppoll.
51504 2012-04-05  David S. Miller  <davem@davemloft.net>
51506         * scripts/check-local-headers.sh: Accept a host triplet in the
51507         path matched by the exclude regexp.
51509         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51510         definition.
51511         * sysdeps/powerpc/powerpc32/dl-machine.h
51512         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51513         * sysdeps/s390/s390-32/dl-machine.h
51514         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51515         * sysdeps/sparc/sparc32/dl-machine.h
51516         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51517         * sysdeps/sparc/sparc64/dl-machine.h
51518         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51520         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51521         lazy binding.
51522         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51523         undefined symbol errors.
51525         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51526         DT_NEEDED entries.
51528 2012-04-05  Michael Matz  <matz@suse.de>
51530         [BZ #13592]
51531         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51533 2012-04-05  Andreas Jaeger  <aj@suse.de>
51535         [BZ #13908]
51536         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51537         comment.
51539 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51541         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51542         which ROUND is no valid rounding mode.
51544 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51546         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51547         read again.
51548         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51550 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51552         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51553         an exception using FPU order intentionally.
51555 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51557         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51558         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51559         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51560         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51562 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51564         [BZ #12340]
51565         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51566         EINVAL when BUFLEN is too smal.
51568 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51570         [BZ #13553]
51571         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51572         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51574 2012-04-03  Andreas Jaeger  <aj@suse.de>
51576         [BZ #13938]
51577         * manual/setjmp.texi (System V contexts): Fix sentence.
51579         [BZ #13926]
51580         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51581         New macro for this case.
51582         [!__GNUC__] (__bswap_64): New inline function for this case.
51583         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51584         * bits/byteswap.h: Likewise.
51585         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51586         ull, guard with __GLIBC_HAVE_LONG_LONG.
51588         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51589         __GLIBC_HAVE_LONG_LONG.
51591         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51592         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51594 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51596         [BZ #13691]
51597         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51598         inptr and inend, rather than using last_ch.
51600 2012-04-02  David S. Miller  <davem@davemloft.net>
51602         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51603         * stdio-common/printf-parse.h (read_int): Change return type to
51604         'int', return -1 on INT_MAX overflow.
51605         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51606         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51607         overflows INT_MAX.  Check for overflow of in-format-string precision
51608         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51609         SIZE_MAX not INT_MAX for integer overflow test.
51610         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51611         skip the construct in the format string but do not record anything.
51612         * stdio-common/bug22.c: Adjust to test both width/prevision
51613         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51614         explicitly for proper errno values.
51616 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51618         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51619         CHAR_MAX.
51620         * string/test-strcmp.c [! WIDE]: Likewise.
51621         * time/tst-mktime2.c: Likewise for INT_MAX.
51622         * string/test-string.h: #include <sys/param.h> for MIN.
51624         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51625         * sysdeps/i386/init-first.c (init): Likewise.
51626         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51627         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51628         * sysdeps/sh/init-first.c (init): Likewise.
51630 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51632         * po/ru.po: Update from translation team.
51633         * po/vi.po: Likewise.
51635 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51637         * resolv/nss_dns/dns-host.c: Merge copyright years.
51639 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51641         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51642         Optimize memcpy with prefetch if
51643         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51644         src, dst pointers have unequal 16 byte alignments.
51646 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51648         [BZ #13928]
51649         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51650         from a CNAME entry and return the minimum ttl for the query.
51651         (gaih_getanswer_slice): Likewise.
51653 2012-03-30  Jeff Law  <law@redhat.com>
51655         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51656         due to long keys.
51657         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51658         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51660         * resolv/nss_dns/dns-host.c: Update copyright year.
51662 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51664         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51665         requests to save a system call.  Fix check that all bytes are sent.
51667         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51668         comments for sendmmsg.
51670 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51672         [BZ #13691]
51673         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51674         with only 1 character between 0x0041 and 0x01b0.
51675         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51676         * wcsmbs/tst-mbsnrtowcs.c: New file.
51678 2012-03-29  David S. Miller  <davem@davemloft.net>
51680         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51681         small copies by hand.
51683 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51685         [BZ #13761]
51686         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51687         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51688         group memberships.
51690 2012-03-28  David S. Miller  <davem@davemloft.net>
51692         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51693         that branches into memcpy.
51694         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51695         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51696         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51697         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51699         bits.
51700         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51701         implementation too.
51702         * sysdeps/sparc/mempcpy.S: New file.
51704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51705         the IFUNC routine in the libc case.
51706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51708         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51709         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51710         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51711         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51712         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51713         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51714         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51715         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51717         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51718         loop to 256 bytes instead of 64 bytes and fix test signedness.
51720         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51721         * sysdeps/sparc/sparc32/Makefile: rather than here...
51722         * sysdeps/sparc/sparc64/Makefile: and here.
51724 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51726         * malloc/mallocbug.c: Avoid warnings about unused variables.
51728 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51730         [BZ #13760]
51731         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51732         in the right place. Discard and retry query if response is
51733         larger than input buffer size.
51735 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51737         [BZ #369]
51738         [BZ #2678]
51739         [BZ #3866]
51740         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51741         x for large integer exponent.
51742         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51743         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51744         sign of result as needed afterwards.
51745         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51746         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51747         result for underflowing pow the same as for overflow.
51748         (__kernel_standard_l): Handle powl overflow and underflow here
51749         rather than calling __kernel_standard.
51750         * math/libm-test.inc (pow_test): Add more tests.
51752         [BZ #3868]
51753         [BZ #13879]
51754         [BZ #13910]
51755         [BZ #13911]
51756         [BZ #13912]
51757         [BZ #13913]
51758         [BZ #13915]
51759         [BZ #13916]
51760         [BZ #13917]
51761         [BZ #13918]
51762         [BZ #13919]
51763         [BZ #13920]
51764         [BZ #13921]
51765         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51766         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51767         (__kernel_standard_l): New function.
51768         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51769         __kernel_standard.
51770         * math/w_acosl.c (__acosl): Likewise.
51771         * math/w_asinl.c (__asinl): Likewise.
51772         * math/w_atan2l.c (__atan2l): Likewise.
51773         * math/w_atanhl.c (__atanhl): Likewise.
51774         * math/w_coshl.c (__coshl): Likewise.
51775         * math/w_exp10l.c (__exp10l): Likewise.
51776         * math/w_exp2l.c (__exp2l): Likewise.
51777         * math/w_fmodl.c (__fmodl): Likewise.
51778         * math/w_hypotl.c (__hypotl): Likewise.
51779         * math/w_j0l.c (__j0l, __y0l): Likewise.
51780         * math/w_j1l.c (__j1l, __y1l): Likewise.
51781         * math/w_jnl.c (__jnl, __ynl): Likewise.
51782         * math/w_lgammal.c (__lgammal): Likewise.
51783         * math/w_log10l.c (__log10l): Likewise.
51784         * math/w_log2l.c (__log2l): Likewise.
51785         * math/w_logl.c (__logl): Likewise.
51786         * math/w_powl.c (__powl): Likewise.
51787         * math/w_remainderl.c (__remainderl): Likewise.
51788         * math/w_scalbl.c (sysv_scalbl): Likewise.
51789         * math/w_sinhl.c (__sinhl): Likewise.
51790         * math/w_sqrtl.c (__sqrtl): Likewise.
51791         * math/w_tgammal.c (__tgammal): Likewise.
51792         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51793         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51794         * math/libm-test.inc (acos_test): Add more tests.
51795         (acosh_test): Likewise.
51796         (asin_test): Likewise.
51797         (atanh_test): Likewise.
51798         (exp_test): Likewise.
51799         (exp10_test): Likewise.
51800         (exp2_test): Likewise.
51801         (expm1_test): Likewise.
51802         (lgamma_test): Likewise.
51803         (log_test): Likewise.
51804         (log10_test): Likewise.
51805         (log1p_test): Likewise.
51806         (log2_test): Likewise.
51807         (pow_test): Do not allow some spurious overflow exceptions.
51808         (sqrt_test): Add more tests.
51809         (tgamma_test): Likewise.
51810         (y0_test): Likewise.
51811         (y1_test): Likewise.
51812         (yn_test): Likewise.
51814 2012-03-27  Anton Blanchard  <anton@samba.org>
51816         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51817         MAP_HUGETLB.
51818         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51819         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51820         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51822 2012-03-27  David S. Miller  <davem@davemloft.net>
51824         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51826         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51827         have-as-vis3 check.
51829 2012-03-27  Andreas Jaeger  <aj@suse.de>
51831         * sysdeps/x86_64/elf/configure.in: Moved to ...
51832         * sysdeps/x86_64/configure.in: ... here.
51833         * sysdeps/x86_64/elf/start.S: Moved to ...
51834         * sysdeps/x86_64/start.S: ... here.
51835         * sysdeps/x86_64/elf/configure: Delete.
51837         * sysdeps/x86_64/configure.in: Merge contents from
51838         sysdeps/i386/configure.in (without i686 check).
51840         * sysdeps/i386/elf/Versions: Merge into ...
51841         * sysdeps/i386/Versions: ... this.
51842         * sysdeps/i386/elf/Versions: Delete file.
51843         * sysdeps/i386/elf/start.S: Moved to ...
51844         * sysdeps/i386/start.S: ...here.
51845         * sysdeps/i386/elf/configure.in: Merge into...
51846         * sysdeps/i386/configure.in: ...here.
51847         * sysdeps/i386/elf/configure.in: Delete file.
51848         * sysdeps/i386/elf/configure: Delete file.
51850         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51851         * debug/backtracesyms.c: ... here.
51852         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51853         * debug/backtracesymsfd.c: ... here.
51854         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51855         * sysdeps/generic/ifunc-sel.h: ... here.
51857         * sysdeps/unix/i386/start.c: Delete file.
51858         * sysdeps/unix/sparc/start.c: Delete file.
51859         * sysdeps/unix/start.c: Delete file.
51861         * sysdeps/sh/elf/configure.in: Moved to ...
51862         * sysdeps/sh/configure.in: ... here.
51863         * sysdeps/sh/elf/start.S: Moved to ...
51864         * sysdeps/sh/start.S: ... here.
51865         * sysdeps/sh/elf/configure: Delete file.
51867         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51868         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51869         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51870         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51871         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51872         * sysdeps/powerpc/powerpc64/start.S: here.
51873         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51874         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51875         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51876         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51877         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51879         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51880         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51881         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51882         * sysdeps/powerpc/powerpc32/start.S: ... here.
51883         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51884         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51885         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51887         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51888         * sysdeps/powerpc/ifunc-sel.h: ... here.
51889         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51890         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51892         * sysdeps/sparc/elf/configure.in: Moved to ...
51893         * sysdeps/sparc/configure.in: ... here.
51894         * sysdeps/sparc/elf/configure: Delete file.
51895         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51896         * sysdeps/sparc/sparc32/start.S: ... here.
51897         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51898         * sysdeps/sparc/sparc64/start.S: ... here.
51899         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51900         * sysdeps/sparc/sparc32/Makefile: ... this.
51901         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51902         * sysdeps/sparc/sparc64/Makefile: ... this.
51904         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51905         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51906         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51907         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51908         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51909         * sysdeps/s390/s390-32/setjmp.S: ... here.
51910         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51911         * sysdeps/s390/s390-32/configure.in: ... here.
51912         * sysdeps/s390/s390-32/elf/configure: Delete file.
51913         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51914         * sysdeps/s390/s390-32/start.S: ... here.
51916         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51917         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51918         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51919         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51920         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51921         * sysdeps/s390/s390-64/setjmp.S: ... here.
51922         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51923         * sysdeps/s390/s390-64/configure.in: ... here
51924         * sysdeps/s390/s390-64/elf/configure: Delete file.
51925         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51926         * sysdeps/s390/s390-64/start.S: ... here.
51927         * sysdeps/s390/s390-64/elf/configure: Delete.
51929         * configure.in: Remove support for elf directories in sysdeps.
51931         * configure: Regenerated.
51932         * sysdeps/i386/configure: Regenerated.
51933         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51934         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51935         * sysdeps/s390/s390-32/configure: Regenerated.
51936         * sysdeps/s390/s390-64/configure: Regenerated.
51937         * sysdeps/sh/configure: Regenerated.
51938         * sysdeps/sparc/configure: Regenerated.
51939         * sysdeps/x86_64/configure: Regenerated.
51941 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51945         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51946         denormal result into account.
51948 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51950         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51951         Reported by Allan McRae <allan@archlinux.org>.
51953 2012-03-23  Jeff Law  <law@redhat.com>
51955         * nss/getnssent.c (__nss_getent): Fix typo.
51957 2012-03-23  David S. Miller  <davem@davemloft.net>
51959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51961 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51963         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51964         to pad to uint64_t for each field.
51965         (dl_tls_index): Replace unsigned long with uint64_t.
51967 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51968         Paul Pluzhnikov  <ppluzhnikov@google.com>
51970         [BZ #6528]
51971         * grp/Makefile (otherlibs): Don't set it.
51972         * inet/Makefile (otherlibs): Likewise.
51973         * login/Makefile (otherlibs): Likewise.
51974         * nscd/Makefile (otherlibs): Likewise.
51975         * posix/Makefile (otherlibs): Likewise.
51976         * pwd/Makefile (otherlibs): Likewise.
51977         * rt/Makefile (otherlibs): Likewise.
51978         * sunrpc/Makefile (otherlibs): Likewise.
51979         * nss/Makefile (otherlibs): Likewise.
51980         Add libnss_files to routines and static-only-routines.
51981         ($(objpfx)getent): Remove rule.
51982         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51983         static-only-routines.
51985 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51987         [BZ #13892]
51988         * math/s_cexp.c: Include <float.h>.
51989         (__cexp): Handle exp result overflowing not necessarily
51990         overflowing both real and imaginary parts of result.
51991         * math/s_cexpf.c: Likewise.
51992         * math/s_cexpl.c: Likewise.
51993         * math/libm-test.inc (cexp_test): Add more tests.
51994         * sysdeps/i386/fpu/libm-test-ulps: Update.
51995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51997 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51999         * include/link.h (ELFW): New macro.
52000         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52001         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52005         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52006         with uint64_t.
52008 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52010         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52011         declaration.
52012         (struct La_x32_retval): Likewise.
52014 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52016         * sysdeps/x86_64/preconfigure.in: New file.
52017         * sysdeps/x86_64/preconfigure: New generated file.
52019 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52021         [BZ #13824]
52022         * math/e_exp2l.c: Include <float.h>.
52023         (__ieee754_exp2l): Handle overflow and underflow cases
52024         separately.  Only pass fractional part of argument to
52025         __ieee754_expl.
52026         * math/libm-test.inc (exp2_test): Add more tests.
52028         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52029         negating x to take absolute value.
52030         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52031         Likewise.
52032         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52033         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52034         Likewise.
52035         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52036         computing low part if x was negated.
52037         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52039 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52041         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52042         la_x32_gnu_pltexit.
52043         (pltexit): Cast int_retval to ptrdiff_t.
52044         * elf/tst-auditmod3b.c: Likewise.
52045         * elf/tst-auditmod4b.c: Likewise.
52046         * elf/tst-auditmod5b.c: Likewise.
52047         * elf/tst-auditmod6b.c: Likewise.
52048         * elf/tst-auditmod6c.c: Likewise.
52049         * elf/tst-auditmod7b.c: Likewise.
52051         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52052         and x32_gnu_pltexit.
52054         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52055         __ELF_NATIVE_CLASS.
52056         (La_x32_regs): New macro.
52057         (La_x32_retval): Likewise.
52058         (la_x32_gnu_pltenter): New function prototype.
52059         (la_x32_gnu_pltexit): Likewise.
52061 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52063         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52064         exponent.
52066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52068         * configure.in (libc_cv_cc_nofma): Check for option to disable
52069         generation of FMA instructions.
52070         * configure: Regenerate.
52071         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52072         * sysdeps/ieee754/dbl-64/Makefile: New file.
52073         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52074         Remove brandred-fma4.
52075         (CFLAGS-brandred-fma4.c): Remove.
52076         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52077         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52078         define.
52079         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52080         define.
52082 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52084         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52085         LLONG_MAX != LONG_MAX.
52086         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52087         (_fitoa_word): Likewise.
52088         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52089         LLONG_MAX != LONG_MAX.
52090         * stdio-common/_itowa.h: Include <_itoa.h>.
52091         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52092         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52093         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52094         only if not defined.
52095         (_ITOA_WORD_TYPE): Likewise.
52096         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52097         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52099 2012-03-21  David S. Miller  <davem@davemloft.net>
52101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52103 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52105         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52106         of x86_64 when setting libc_cv_slibdir, libdir and
52107         libc_cv_localedir.
52108         * sysdeps/unix/sysv/linux/configure: Regenerated.
52110 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52112         * manual/lang.texi (Old Varargs): Remove section.
52113         (How Variadic): Update menu.
52114         (va_start): Do not mention varargs.h.
52116 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52117             Joseph Myers  <joseph@codesourcery.com>
52119         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52120         link test.
52121         * configure: Regenerated.
52123 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52125         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52126         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52127         conformtest.pl
52129 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52131         * NOTES: Remove.
52132         * Makefile (files-for-dist): Remove NOTES.
52133         (NOTES): Remove rule.
52134         * README: Don't refer to NOTES.
52135         * manual/creature.texi: Don't include macros.texi.
52136         * manual/intro.texi (creature.texi): Remove comment referring to
52137         NOTES.
52139         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52140         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52141         * configure: Regenerated.
52142         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52143         LIBC_TRY_CC_OPTION.
52144         (libc_cv_as_i686): Likewise.
52145         (libc_cv_cc_avx): Likewise.
52146         (libc_cv_cc_sse2avx): Likewise.
52147         (libc_cv_cc_fma4): Likewise.
52148         (libc_cv_cc_novzeroupper): Likewise.
52149         * sysdeps/i386/configure: Regenerated.
52151         [BZ #13883]
52152         * sysdeps/i386/fpu/s_cexp.S: Remove.
52153         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52154         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52155         * math/libm-test.inc (cexp_test): Add more tests.
52156         * sysdeps/i386/fpu/libm-test-ulps: Update.
52157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52159 2012-03-21  Allan McRae  <allan@archlinux.org>
52161         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52163 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52165         [BZ #13871]
52166         * math/w_exp2.c: Do not include <float.h>.
52167         (o_threshold, u_threshold): Remove.
52168         (__exp2): Calculate result before checking finiteness and calling
52169         __kernel_standard.
52170         * math/w_exp2f.c: Likewise.
52171         * math/w_exp2l.c: Likewise.
52172         * math/libm-test.inc (exp2_test): Require overflow exception for
52173         1e6 input.
52175         [BZ #3866]
52176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52177         range of signed 64-bit integers before using fistpll.  Remove
52178         checks for whether integers fit in mantissa bits.
52179         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52180         the range of signed 32-bit integers before using fistpl.  Remove
52181         checks for whether integers fit in mantissa bits.
52182         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52183         (__ieee754_powl): Test for y outside the range of signed 64-bit
52184         integers before using fistpll.  Reduce 64-bit values to 63-bit
52185         ones as needed.
52186         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52187         divide-by-zero is raised for zero to large negative powers.
52188         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52189         (__ieee754_powl): Test for y outside the range of signed 64-bit
52190         integers before using fistpll.  Reduce 64-bit values to 63-bit
52191         ones as needed.
52192         * math/libm-test.inc (pow_test): Add more tests.
52194 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52196         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52197         <stdio-common/_itoa.h>.
52198         * debug/segfault.c: Likewise.
52199         * elf/dl-cache.c: Likewise.
52200         * elf/dl-minimal.c: Likewise.
52201         * elf/dl-misc.c: Likewise.
52202         * elf/dl-sysdep.c: Likewise.
52203         * elf/dl-version.c: Likewise.
52204         * elf/rtld.c: Likewise.
52205         * hurd/hurdsock.c: Likewise.
52206         * hurd/lookup-retry.c: Likewise.
52207         * malloc/malloc.c: Likewise.
52208         * malloc/mtrace.c: Likewise.
52209         * nscd/nscd_getgr_r.c: Likewise.
52210         * nscd/nscd_getpw_r.c: Likewise.
52211         * nscd/nscd_getserv_r.c: Likewise.
52212         * posix/getopt_init.c: Likewise.
52213         * posix/wordexp.c: Likewise.
52214         * stdio-common/_itoa.c: Likewise.
52215         * stdio-common/printf_fphex.c: Likewise.
52216         * stdio-common/vfprintf.c: Likewise.
52217         * string/_strerror.c: Likewise.
52218         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52219         * sysdeps/i386/i686/hp-timing.h: Likewise.
52220         * sysdeps/mach/_strerror.c: Likewise.
52221         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52222         * sysdeps/mach/hurd/sethostid.c: Likewise.
52223         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52224         * sysdeps/mach/xpg-strerror.c: Likewise.
52225         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52227         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52228         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52229         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52230         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52231         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52232         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52233         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52234         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52235         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52236         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52237         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52238         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52239         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52240         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52241         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52242         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52243         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52244         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52245         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52247         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52249         * stdio-common/_itoa.h: Moved to ...
52250         * sysdeps/generic/_itoa.h: Here.
52252         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52254         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52255         instead of "_itoa.h" and "_itowa.h".
52256         * stdio-common/vfprintf.: Likewise.
52258 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52260         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52261         <bits/wordsize.h>.
52262         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52263         (__signbit): Likwise.
52264         (llrintf): Likwise.
52265         (llrint): Likwise.
52267 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52269         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52270         __WORDSIZE != 64.
52272 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52274         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52275         OVERFLOW_EXCEPTION_OK.
52276         * math/libm-test.inc ("Philosophy"): Update comment about
52277         exception testing.
52278         (OVERFLOW_EXCEPTION): Define.
52279         (OVERFLOW_EXCEPTION_OK): Likewise.
52280         (INVALID_EXCEPTION_OK): Renumber.
52281         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52282         (IGNORE_ZERO_INF_SIGN): Likewise.
52283         (test_exceptions): Handle FE_OVERFLOW.
52284         (exp10_test): Expect overflow exceptions.
52285         (exp2_test): Likewise.
52286         (expm1_test): Likewise.
52287         (nextafter_test): Likewise.
52288         (pow_test): Likewise.
52289         (scalbn_test): Likewise.
52290         (scalbln_test): Likewise.
52292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52294         * sysdeps/x86_64/bits/atomic.h
52295         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52296         64bit integer.
52297         (atomic_exchange_acq): Likewise.
52298         (__arch_exchange_and_add_body): Likewise.
52299         (__arch_add_body): Likewise.
52300         (atomic_add_negative): Likewise.
52301         (atomic_add_zero): Likewise.
52303 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52305         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52306         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52308 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52310         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52311         Check __x86_64__ instead of __WORDSIZE.
52313 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52315         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52317 2012-03-19  David S. Miller  <davem@davemloft.net>
52319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52321         * sysdeps/sparc/fpu/fenv_private.h: New file.
52322         * sysdeps/sparc/fpu/math_private.h: Use it.
52323         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52324         Remove.
52325         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52326         (libc_feholdexcept_setroundl): Remove.
52327         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52328         Remove.
52329         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52330         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52332 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52334         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52335         int64_t instead of long int.
52336         (INSERT_WORDS64): Likwise.
52338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52340         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52341         _Unwind_GetCFA return to _Unwind_Ptr first.
52343 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52345         [BZ #13629]
52346         * math/s_clog.c: Include <float.h>.
52347         (__clog): Scale large or subnormal inputs.
52348         * math/s_clogf.c: Likewise.
52349         * math/s_clogl.c: Likewise.
52350         * math/s_clog10.c: Include <float.h>.
52351         (M_LOG10_2): Define.
52352         (__clog10): Scale large or subnormal inputs.
52353         * math/s_clog10f.c: Likewise.
52354         * math/s_clog10l.c: Likewise.
52355         * math/libm-test.inc (clog_test): Add more tests.
52356         (clog10_test): Likewise.
52357         * sysdeps/i386/fpu/libm-test-ulps: Update.
52358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52360         [BZ #11451]
52361         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52362         x and y.
52363         * math/libm-test.inc (atan2_test): Add another test.
52365         * Makerules (common-objdir-compile): Remove.
52366         * sysdeps/unix/Makefile (config-generated): Do not add
52367         $(unix-generated) to variable.
52368         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52369         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52370         Remove rule.
52371         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52372         Likewise.
52373         [generic bits/local_lim.h] (before-compile): Do not append to
52374         variable.
52375         [generic bits/local_lim.h] (common-generated): Likewise.
52376         [generic sys/param.h] (before-compile): Do not append to variable.
52377         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52378         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52379         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52380         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52381         include.
52382         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52383         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52384         [generic sys/param.h] ($(addprefix
52385         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52386         [generic sys/param.h] (common-generated): Do not append to
52387         variable.
52388         [generic sys/param.h] (sysdep_headers): Likewise.
52389         [generic bits/errno.h] (before-compile): Do not append to
52390         variable.
52391         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52392         rule.
52393         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52394         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52395         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52396         [generic bits/errno.h] (common-generated): Do not append to
52397         variable.
52398         [generic bits/ioctls.h] (before-compile): Do not append to
52399         variable.
52400         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52401         rule.
52402         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52403         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52404         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52405         rule.
52406         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52407         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52408         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52409         [generic bits/ioctls.h] (common-generated): Do not append to
52410         variable.
52411         [generic sys/syscall.h] (syscall.h): Remove variable.
52412         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52413         rule.
52414         [generic sys/syscall.h] (before-compile): Do not append to
52415         variable.
52416         [generic sys/syscall.h] (common-generated): Likewise.
52417         * sysdeps/unix/errnos-tmpl.c: Remove file.
52418         * sysdeps/unix/errnos.awk: Likewise.
52419         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52420         * sysdeps/unix/ioctls.awk: Likewise.
52421         * sysdeps/unix/mk-local_lim.c: Likewise.
52422         * sysdeps/unix/snarf-ioctls: Likewise.
52424 2012-03-19  Richard Henderson  <rth@twiddle.net>
52426         * sysdeps/i386/fpu/fenv_private.h: New file.
52427         * sysdeps/i386/fpu/math_private.h: Use it.
52428         (math_opt_barrier, math_force_eval): Remove.
52429         (libc_feholdexcept_setround_53bit): Remove.
52430         (libc_feupdateenv_53bit): Remove.
52431         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52432         (math_opt_barrier, math_force_eval): Remove.
52433         (libc_feholdexcept): Remove.
52434         (libc_feholdexcept_setround): Remove.
52435         (libc_fetestexcept, libc_fesetenv): Remove.
52436         (libc_feupdateenv_test): Remove.
52437         (libc_feupdateenv, libc_feholdsetround): Remove.
52438         (libc_feresetround): Remove.
52440         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52441         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52443         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52444         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52445         (libc_feupdateenv_testl): New.
52446         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52447         (libc_feupdateenv_testf): New.
52448         (libc_feupdateenv): Use libc_feupdateenv_test.
52449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52450         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52452         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52453         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52454         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52455         (libc_feresetround_noex): New.
52456         (libc_feresetround_noexf): New.
52457         (libc_feresetround_noexl): New.
52458         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52459         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52460         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52461         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52462         SET_RESTORE_ROUND.
52463         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52465         (__cos): Likewise.
52466         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52467         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52468         SET_RESTORE_ROUND_NOEX.
52469         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52470         SET_RESTORE_ROUND_NOEXF.
52471         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52472         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52473         (libc_feholdsetroundf): New.
52474         (libc_feresetround, libc_feresetroundf): New.
52476         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52477         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52478         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52480         * sysdeps/generic/math_private.h: Include <fenv.h>.
52481         (default_libc_feholdexcept): New.
52482         (default_libc_feholdexcept_setround): New.
52483         (default_libc_fesetenv, default_libc_feupdateenv): New.
52484         (libc_feholdexcept): Only define if undefined.
52485         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52486         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52487         (libc_feholdexcept_setroundl): Likewise.
52488         (libc_feholdexcept_setround_53bit): Likewise.
52489         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52490         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52491         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52492         (libc_feupdateenv_53bit): Likewise.
52493         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52494         (libc_feholdexcept): Convert from macro to inline function.
52495         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52496         (libc_fesetenv, libc_feupdateenv): Likewise.
52498         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52499         not previously defined.
52500         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52501         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52502         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52503         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52504         * sysdeps/ieee754/flt-32/math_private.h: New file.
52505         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52506         math_private.h below SET_FLOAT_WORD.
52507         (__isnan, __isinf_ns, __finite): Remove.
52508         (__isnanf, __isinf_nsf, __finitef): Remove.
52510 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52514 2012-03-17  David S. Miller  <davem@davemloft.net>
52516         [BZ #6471]
52517         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52518         for 2.16.
52520 2012-03-16  David S. Miller  <davem@davemloft.net>
52522         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52523         warnings.
52525         [BZ #6471]
52526         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52527         properly.
52528         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52529         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52530         sysdep_routines when subdir is sysvipc.
52531         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52532         __getshmlba helper.
52534         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52536 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52538         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52539         [__LP64__].
52541 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52543         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52544         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52545         (__lround): Renamed to ...
52546         (__llround): This.  Replace long int with long long int.
52547         Define lround functions as aliases of llround functions.
52548         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52552         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52553         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52554         adresses to uintptr_t.  Replace "long int" and "unsigned long
52555         int" with "greg_t" on va_arg.
52557 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52559         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52560         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52562         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52563         Move e_machine check before EI_CLASS check.  Handle x32
52564         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52565         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52566         SKIP_EM_IA_64 and include
52567         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52569         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52570         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52571         (add_system_dir): New macro.
52573         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52574         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52576 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52578         [BZ #2551]
52579         [BZ #2552]
52580         [BZ #2553]
52581         [BZ #2554]
52582         [BZ #2562]
52583         [BZ #2563]
52584         [BZ #2565]
52585         [BZ #2566]
52586         [BZ #2576]
52587         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52588         (y0): Likewise.
52589         * math/w_j0f.c (j0f): Likewise.
52590         (y0f): Likewise.
52591         * math/w_j0l.c (__j0l): Likewise.
52592         (__y0l): Likewise.
52593         * math/w_j1.c (j1): Likewise.
52594         (y1): Likewise.
52595         * math/w_j1f.c (j1f): Likewise.
52596         (y1f): Likewise.
52597         * math/w_j1l.c (__j1l): Likewise.
52598         (__y1l): Likewise.
52599         * math/w_jn.c (jn): Likewise.
52600         (yn): Likewise.
52601         * math/w_jnf.c (jnf): Likewise.
52602         (ynf): Likewise.
52603         * math/w_jnl.c (__jnl): Likewise.
52604         (__ynl): Likewise.
52605         * math/libm-test.inc (j0_test): Add more tests.
52606         (j1_test): Likewise.
52607         (jn_test): Likewise.  Add trailing semicolon to existing test.
52608         (y0_test): Likewise.
52609         (y1_test): Likewise.
52610         * sysdeps/i386/fpu/libm-test-ulps: Update.
52611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52613         [BZ #13851]
52614         [BZ #13854]
52615         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52616         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52617         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52618         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52619         (__tanl): Set errno for infinite argument.
52620         * sysdeps/i386/fpu/mptan.c: Remove.
52621         * sysdeps/i386/fpu/s_tan.S: Likewise.
52622         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52623         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52624         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52625         * math/libm-test.inc (tan_test): Add more tests and enable more
52626         tests for double and long double.
52627         * sysdeps/i386/fpu/libm-test-ulps: Update.
52628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52630 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52632         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52633         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52635 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52637         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52638         * configure.in: Use it for both main tree and add-ons.
52639         * configure: Regenerated.
52641 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52643         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52645 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52647         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52648         in comment.
52650         [BZ #13851]
52651         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52652         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52655         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52656         infinite argument.
52657         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52659         != 0 for prec == 2.
52660         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52661         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52662         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52663         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52664         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52665         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52666         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52667         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52668         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52669         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52670         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52671         * math/libm-test.inc (cos_test): Add more tests and enable more
52672         tests for long double.
52673         (sin_test): Likewise.
52674         (sincos_test): Likewise.
52675         * sysdeps/i386/fpu/libm-test-ulps: Update.
52676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52678 2012-03-16  David S. Miller  <davem@davemloft.net>
52680         * sysdeps/sparc/fpu/math_private.h: New file.
52682 2012-03-15  David S. Miller  <davem@davemloft.net>
52684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52685         file.
52686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52688         file.
52689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52694         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52695         sysdep routines.
52696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52698         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52699         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52701         * sysdeps/sparc/sparc-ifunc.h: New file.
52702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52703         sparc-ifunc.h
52704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52706         Likewise.
52707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52708         Likewise.
52709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52713         Likewise.
52714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52719         Likewise.
52720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52721         Likewise.
52722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52728         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52729         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52744         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52745         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52747 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52749         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52750         scaling.
52751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52753 2012-03-15  Andreas Jaeger  <aj@suse.de>
52755         [BZ #13852]
52756         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52757         ieee754/flt-32 implementation for sin, cos and sincos.
52758         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52759         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52760         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52761         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52762         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52763         ieee754/flt-32 implementation for tan.
52765         * math/libm-test.inc (cos_test): Enable some large input tests for
52766         float as well
52767         (sin_test): Likewise.
52768         (sincos_test): Likewise.
52769         (tan_test): Add tests for large input.
52771         * sysdeps/i386/fpu/libm-test-ulps: Update.
52773 2012-03-15  Andreas Jaeger  <aj@suse.de>
52775         [BZ #13658]
52776         * math/libm-test.inc (cos_test): Add more test cases.
52777         (sin_test): Likewise.
52778         (sincos_test): Likewise.
52780 2012-03-15  Andreas Jaeger  <aj@suse.de>
52782         [BZ #13837]
52783         * math/libm-test.inc (cos_test): Add a test case for large input
52784         value.
52785         (sin_test): Likewise.
52786         (sincos_test): Likewise.
52788 2012-03-15  Andreas Jaeger  <aj@suse.de>
52789             Joseph Myers  <joseph@codesourcery.com>
52791         [BZ #13658]
52792         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52793         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52794         * sysdeps/i386/fpu/branred.c: Likewise.
52795         * sysdeps/i386/fpu/dosincos.c: Likewise.
52796         * sysdeps/i386/fpu/mpa.c: Likewise.
52797         * sysdeps/i386/fpu/s_cos.S: Likewise.
52798         * sysdeps/i386/fpu/s_sin.S: Likewise.
52799         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52800         * sysdeps/i386/fpu/sincos32.c: Likewise.
52802         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52803         Define.
52804         (libc_feupdateenv_53bit): Define.
52805         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52806         Define.
52807         (libc_feupdateenv_53bit): Define.
52809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52810         53 bit (without extend i386 double precision).
52812         * math/libm-test.inc (sincos_test): Add tests for large input.
52813         (sin): Likewise.
52814         (cos): Likewise.
52816         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52818 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52822 2012-03-15  David S. Miller  <davem@davemloft.net>
52824         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52825         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52826         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52827         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52840         file.
52841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52843         file.
52844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52846         file.
52847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52849         file.
52850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52851         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52852         fmin/fmax sysdep routines.
52853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52855 2012-03-14  David S. Miller  <davem@davemloft.net>
52857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52861         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52862         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52863         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52864         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52870         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52877         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52878         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52879         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52880         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52881         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52882         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52883         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52884         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52885         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52886         routines.
52887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52888         file.
52889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52891         file.
52892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52894         file.
52895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52897         file.
52898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52900         file.
52901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52903         file.
52904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52905         file.
52906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52907         file.
52908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52909         file.
52910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52911         New file.
52912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52913         file.
52914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52915         file.
52916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52918         file.
52919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52921         file.
52922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52924         file.
52925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52927         VIS3 routines.
52929         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52930         New file.
52932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52934         * sysdeps/sparc/configure.in: New file.
52935         * sysdeps/sparc/configure: Generate.
52936         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52937         * configure: Regenerate.
52938         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52939         * config.make.in (have-as-vis3): New.
52940         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52941         available use -Av9d instead of -Av9a.
52942         * sysdeps/sparc/sparc64/Makefile: Likewise.
52943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52945         New file.
52946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52947         file.
52948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52949         New file.
52950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52951         file.
52952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52953         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52954         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52955         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52956         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52958         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52959         fzeros/fnegs to load 0x80000000 into a float register instead of
52960         using the stack.
52961         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52963 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52966         bits/syscall.h.
52967         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52968         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52969         ($(inst_includedir)/bits/syscall.h): Remove rule.
52970         ($(objpfx)bits/syscall.d): Include instead of
52971         $(objpfx)syscall-list.d.
52972         (generated): Change syscall-list.h and syscall-list.d to
52973         bits/syscall.h and bits/syscall.d.
52975 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52977         [BZ #13846]
52978         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52980 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52982         [BZ #13841]
52983         * math/s_csqrt.c: Include <float.h>.
52984         (__csqrt): Scale large or subnormal inputs.
52985         * math/s_csqrtf.c: Likewise.
52986         * math/s_csqrtl.c: Likewise.
52987         * math/libm-test.inc (csqrt_test): Add more tests.
52988         * sysdeps/i386/fpu/libm-test-ulps: Update.
52989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52991         [BZ #13840]
52992         * math/libm-test.inc (hypot_test): Add more tests.
52994 2012-03-13  David S. Miller  <davem@davemloft.net>
52996         [BZ #13840]
52997         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52998         double-precision for the calculation instead of scaling.
53000 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53002         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53003         manipulate bits before adding and subtracting TWO52[sx].
53004         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53005         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53006         Likewise.
53007         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53009 2012-03-13  David S. Miller  <davem@davemloft.net>
53011         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53012         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53014         rtld-global-offsets.h
53015         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53017         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53018         large parameters.
53020         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53022         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53023         'err' in the ifdef scope in which it is actually used.
53025         * nss/nss_db/db-init.c: Include string.h
53027 2012-03-12  David S. Miller  <davem@davemloft.net>
53029         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53030         masking out of the most significant byte of random value used.
53031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53032         Fix coding style in previous change.
53034         * sysdeps/unix/sysv/linux/kernel-features.h
53035         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53036         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53037         expression.
53038         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53039         later.
53041 2012-03-11  David S. Miller  <davem@davemloft.net>
53043         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53044         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53045         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53046         for 'resultvar' otherwise things get truncated on 64-bit.
53048         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53049         Fix masking out of the most significant byte of random value used.
53051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53053 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53057 2012-03-09  David S. Miller  <davem@davemloft.net>
53059         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53060         variables with appropriate CPP guards.
53061         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53062         from the frame pointer, not the stack pointer.  Correct layout
53063         comments.  Fix test on resulting framesize and the management of
53064         the outregs buffer for pltexit.  Preserve floating point return
53065         values across _dl_call_pltexit call.
53066         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53067         framesize and the management of the outregs buffer for pltexit.
53068         Preserve floating point return values across _dl_call_pltexit
53069         call.
53070         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53071         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53072         (la_sparc64_gnu_pltexit): New functions.
53073         (print_exit): Fix format string for return register value.
53075 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53077         * sunrpc/Makefile (others): Add rpcgen.
53078         ($(objpfx)rpcgen): Remove special build rule and dependency on
53079         libc.
53080         * sunrpc/rpcgen.c: New file.
53082 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53084         [BZ #13673]
53085         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53086         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53087         * sysdeps/i386/crti.S: Likewise.
53088         * sysdeps/i386/crtn.S: Likewise.
53089         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53090         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53091         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53092         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53093         * sysdeps/sh/crti.S: Likewise.
53094         * sysdeps/sh/crtn.S: Likewise.
53095         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53097         [BZ #13673]
53098         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53099         with URL.
53100         * locale/programs/locfile-kw.gperf: Likewise.
53101         * locale/programs/charmap-kw.h: Regenerated.
53102         * locale/programs/locfile-kw.h: Likewise.
53104         [BZ #13673]
53105         * intl/plural.y: Replace FSF snail mail address with URL.
53106         * intl/plural.c: Regenerated.
53108 2012-03-09  Richard Henderson  <rth@twiddle.net>
53110         * include/math_private.h: Remove file.
53111         * math/math_private.h: Move file ...
53112         * sysdeps/generic/math_private.h: ... here.
53114         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53115         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53116         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53118         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53119         and <math_private.h>.
53120         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53121         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53122         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53123         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53124         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53125         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53126         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53128         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53131         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53133         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53135         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53143         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53144         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53145         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53150         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53151         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53152         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53153         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53154         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53155         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53156         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53157         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53158         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53159         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53160         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53161         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53163         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53164         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53165         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53166         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53167         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53168         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53169         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53170         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53171         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53172         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53173         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53174         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53175         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53176         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53177         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53178         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53179         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53180         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53181         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53183         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53184         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53185         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53186         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53187         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53188         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53189         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53190         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53191         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53192         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53193         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53194         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53195         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53196         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53197         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53199         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53200         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53201         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53202         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53203         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53204         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53206         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53207         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53208         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53209         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53210         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53211         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53212         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53213         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53214         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53215         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53216         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53217         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53218         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53219         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53220         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53221         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53222         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53223         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53224         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53225         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53226         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53227         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53228         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53229         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53230         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53231         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53232         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53233         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53234         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53235         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53236         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53237         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53238         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53239         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53240         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53241         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53242         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53243         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53244         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53245         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53246         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53247         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53248         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53249         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53250         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53251         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53252         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53253         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53254         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53255         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53256         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53257         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53258         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53259         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53260         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53261         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53262         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53263         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53264         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53265         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53266         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53267         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53268         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53269         * sysdeps/ieee754/k_standard.c: Likewise.
53270         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53272         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53274         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53279         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53280         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53281         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53282         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53283         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53284         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53285         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53287         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53289         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53290         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53291         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53295         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53297         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53298         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53301         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53303         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53305         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53306         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53307         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53308         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53311         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53312         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53313         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53317         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53318         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53319         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53320         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53321         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53322         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53323         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53324         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53325         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53326         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53327         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53328         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53329         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53330         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53331         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53332         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53333         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53334         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53336         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53337         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53339         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53340         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53342         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53344         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53346         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53347         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53349         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53351         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53352         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53353         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53354         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53355         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53356         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53357         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53358         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53360         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53361         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53362         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53363         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53365         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53366         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53367         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53368         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53369         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53370         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53371         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53372         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53373         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53374         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53375         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53377         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53378         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53379         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53380         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53381         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53382         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53383         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53384         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53385         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53386         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53387         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53388         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53389         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53390         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53391         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53392         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53393         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53394         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53395         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53396         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53397         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53398         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53400         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53401         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53402         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53403         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53404         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53405         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53406         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53407         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53408         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53409         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53410         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53411         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53412         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53413         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53414         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53415         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53416         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53417         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53418         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53419         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53421         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53422         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53423         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53424         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53425         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53426         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53427         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53428         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53429         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53430         * sysdeps/ieee754/s_lib_version.c: Likewise.
53431         * sysdeps/ieee754/s_matherr.c: Likewise.
53432         * sysdeps/ieee754/s_signgam.c: Likewise.
53433         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53434         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53435         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53436         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53437         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53438         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53439         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53440         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53441         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53442         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53443         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53444         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53445         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53446         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53447         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53448         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53449         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53450         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53451         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53452         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53453         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53455 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53457         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53458         * sunrpc/rpc_main.c: Likewise.
53459         * sunrpc/rpc_svcout.c: Likewise.
53461 2012-03-09  David S. Miller  <davem@davemloft.net>
53463         * include/math_private.h: New file.
53465 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53467         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53468         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53469         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53470         from <bits/socket_type.h>.
53471         (enum __socket_type): Don't define here.
53472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53474         bits/socket_type.h.
53476         [BZ #13566]
53477         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53478         checking __USE_GNU.
53480         * Makerules ($(inst_includedir)/%.h): New rule.
53481         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53482         (install-others): Remove variable setting.
53483         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53485 2012-03-08  Richard Henderson  <rth@twiddle.net>
53487         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53488         from macro to inline function; merge with the
53489         !__LIBC_INTERNAL_MATH_INLINES version.
53490         (__ieee754_sqrtf): Likewise.
53492         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53493         to inline function.
53494         (__rintf, __floor, __floorf): Likewise.
53496         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53497         macro to inline function.
53498         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53501         not <math/math_private.h>.
53503 2012-03-08  David S. Miller  <davem@davemloft.net>
53505         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53506         copyright year.
53507         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53509 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53511         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53512         normalization.
53513         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53514         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53516 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53518         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53519         be defined individually, they must be defined as a block.  Define
53520         S for printing a string instead of hidint the different by using a
53521         macro for adding the 'l'.
53522         * stdio-common/tst-fphex-wide.c: Adjust.
53524 2012-03-07  Marek Polacek  <polacek@redhat.com>
53526         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53528 2012-03-08  Marek Polacek  <polacek@redhat.com>
53530         [BZ #13806]
53531         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53532         * stdio-common/tst-fphex.c: Define a few macros to make the
53533         test reusable.  Use them.
53534         * stdio-common/tst-fphex-wide.c: New file.
53536 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #6911]
53539         * manual/macros.texi (gnusystems): New macro.
53540         (nongnusystems): Likewise.
53541         (gnulinuxhurdsystems): Likewise.
53542         (gnuhurdsystems): Likewise..
53543         (gnulinuxsystems): Likewise.
53544         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53545         variants of the GNU system, not "GNU system".
53546         * manual/conf.texi: Likewise.
53547         * manual/errno.texi: Likewise.  Update example of errno macro
53548         expansion.
53549         * manual/filesys.texi: Likewise.
53550         (getumask): Document as specific to GNU/Hurd.
53551         * manual/install.texi: Likewise.  Reword some references to
53552         GNU/Linux.
53553         * manual/intro.texi: Likewise.
53554         * manual/io.texi: Likewise.
53555         (File Name Portability): Detail which constraints are inapplicable
53556         to all GNU systems and which are only inapplicable to GNU/Hurd.
53557         * manual/job.texi: Likewise.
53558         * manual/llio.texi: Likewise.
53559         (O_NOCTTY): Document as present on GNU/Linux.
53560         * manual/maint.texi: Likewise.
53561         * manual/memory.texi: Likewise.
53562         * manual/pattern.texi: Likewise.
53563         * manual/pipe.texi: Likewise.
53564         * manual/process.texi: Likewise.
53565         * manual/resource.texi: Likewise.
53566         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53567         child on GNU/Hurd.
53568         * manual/setjmp.texi: Likewise.
53569         * manual/signal.texi: Likewise.
53570         * manual/startup.texi: Likewise.
53571         * manual/stdio.texi: Likewise.
53572         * manual/terminal.texi: Likewise.
53573         (ONLCR): Document as POSIX.
53574         (OXTABS): Document availability on GNU/Linux as XTABS.
53575         (ONOEOT): Document availability separately from other bits.
53576         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53577         * manual/time.texi: Likewise.
53578         * manual/users.texi: Likewise.
53579         * INSTALL: Regenerated.
53580         * sysdeps/gnu/errlist.c: Regenerated.
53582         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53583         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53584         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53585         puts.
53586         * configure: Regenerated.
53588 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53590         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53591         default includes instead of AC_HEADER_CHECK.
53592         * sysdeps/i386/configure: Regenerated.
53594         [BZ #10716]
53595         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53596         * math/s_cacoshf.c (__cacoshf): Likewise.
53597         * math/s_cacoshl.c (__cacoshl): Likewise.
53598         * math/s_casinh.c (__casinh): Set signs of result from argument.
53599         * math/s_casinhf.c (__casinhf): Likewise.
53600         * math/s_casinhl.c (__casinhl): Likewise.
53601         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53602         (casinh_test): Add more tests.
53603         * sysdeps/i386/fpu/libm-test-ulps: Update.
53604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53606 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53608         * po/zh_TW.po: Update from translation team.
53610         * login/Makefile (distribute): Remove variable.
53611         * catgets/Makefile: Likewise.
53612         * mach/Makefile: Likewise.
53613         * malloc/Makefile: Likewise.
53614         * misc/Makefile: Likewise.
53615         * iconv/Makefile: Likewise.
53616         * nscd/Makefile: Likewise.
53617         * hurd/Makefile: Likewise.
53618         * manual/Makefile: Likewise.
53619         * locale/Makefile: Likewise.
53620         * intl/Makefile: Likewise.
53621         * conform/Makefile: Likewise.
53622         * nss/Makefile: Likewise.
53623         * time/Makefile: Likewise.
53624         * soft-fp/Makefile: Likewise.
53625         * dirent/Makefile: Likewise.
53626         * gmon/Makefile: Likewise.
53627         * po/Makefile: Likewise.
53628         * rt/Makefile: Likewise.
53629         * socket/Makefile: Likewise.
53630         * math/Makefile: Likewise.
53631         * signal/Makefile: Likewise.
53632         * debug/Makefile: Likewise.
53633         * elf/Makefile: Likewise.
53634         * timezone/Makefile: Likewise.
53635         * stdlib/Makefile: Likewise.
53636         * iconvdata/Makefile: Likewise.
53637         * sunrpc/Makefile: Likewise.
53638         * io/Makefile: Likewise.
53639         * argp/Makefile: Likewise.
53640         * inet/Makefile: Likewise.
53641         * hesiod/Makefile: Likewise.
53642         * grp/Makefile: Likewise.
53643         * csu/Makefile: Likewise.
53644         * wctype/Makefile: Likewise.
53645         * crypt/Makefile: Likewise.
53646         * libio/Makefile: Likewise.
53647         * string/Makefile: Likewise.
53648         * nis/Makefile: Likewise.
53649         * resolv/Makefile: Likewise.
53650         * stdio-common/Makefile: Likewise.
53651         * wcsmbs/Makefile: Likewise.
53652         * dlfcn/Makefile: Likewise.
53653         * posix/Makefile: Likewise.
53655         [BZ #6959]
53656         * timezone/Makefile: Don't install timezone files, just the programs
53657         and scripts.
53659 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53661         * nss/databases.def: Add missing gshadow entry.
53663         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53665 2012-03-06  Marek Polacek  <polacek@redhat.com>
53667         [BZ #13726]
53668         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53669         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53670         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53671         * stdio-common/tst-long-dbl-fphex.c: New file.
53673 2012-03-06  David S. Miller  <davem@davemloft.net>
53675         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53676         (set_obp_int): New function.
53677         (get_obp_int): New function.
53678         (__get_clockfreq_via_dev_openprom): Likewise.
53679         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53680         Avoid unused variable warnings on 'val' and use builtin_expect.
53681         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53682         __builtin_expect.
53683         (INLINE_CLONE_SYSCALL): Likewise.
53685 2012-03-05  David S. Miller  <davem@davemloft.net>
53687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53689 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53693         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53694         only for |x| >= 40.
53695         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53697 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53699         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53700         Replace gettimeofday with __vdso_gettimeofday.
53702         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53703         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53704         __vdso_clock_gettime and __vdso_getcpu.
53706         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53707         time with __vdso_time.
53709 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53711         * manual/lang.texi (size_t): Note types to which size_t may be
53712         equivalent with the GNU C Library, but do not describe when
53713         differences between them are significant.
53715 2012-03-05  Andreas Jaeger  <aj@suse.de>
53717         * sysdeps/i386/fpu/libm-test-ulps: Update.
53719 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53721         [BZ #3976]
53722         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53723         (__ieee754_pow): Save and restore rounding mode and use
53724         round-to-nearest for main computations.
53725         * math/libm-test.inc (pow_test_tonearest): New function.
53726         (pow_test_towardzero): Likewise.
53727         (pow_test_downward): Likewise.
53728         (pow_test_upward): Likewise.
53729         (main): Call the new functions.
53730         * sysdeps/i386/fpu/libm-test-ulps: Update.
53731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53733         [BZ #3976]
53734         * math/libm-test.inc (cosh_test_tonearest): New function.
53735         (cosh_test_towardzero): Likewise.
53736         (cosh_test_downward): Likewise.
53737         (cosh_test_upward): Likewise.
53738         (sinh_test_tonearest): Likewise.
53739         (sinh_test_towardzero): Likewise.
53740         (sinh_test_downward): Likewise.
53741         (sinh_test_upward): Likewise.
53742         (main): Call the new functions.
53743         * sysdeps/i386/fpu/libm-test-ulps: Update.
53744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53746 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53748         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53749         default stack guard is set in last bytes.
53750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53752 2012-03-05  Kees Cook  <keescook@chromium.org>
53754         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53756         [BZ #13656]
53757         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53758         possibly allocate from heap instead of stack.
53759         * stdio-common/bug-vfprintf-nargs.c: New file.
53760         * stdio-common/Makefile (tests): Add nargs overflow test.
53762 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53766 2012-03-03  Marek Polacek  <polacek@redhat.com>
53768         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53769         * math/math_private.h: Likewise.
53770         * stdlib/tst-strtod.c: Likewise.
53771         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53772         * sysdeps/x86_64/bits/atomic.h: Likewise.
53774 2012-03-02  David S. Miller  <davem@davemloft.net>
53776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53780         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53781         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53782         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53783         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53785 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53787         [BZ #13792]
53788         * manual/examples/README: New file, says the example source files
53789         can be used under GPL>=2.
53790         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53791         line containing just "*/".
53792         * manual/examples/add.c: Add copyright header (GPL>=2).
53793         * manual/examples/argp-ex1.c: Likewise.
53794         * manual/examples/argp-ex2.c: Likewise.
53795         * manual/examples/argp-ex3.c: Likewise.
53796         * manual/examples/argp-ex4.c: Likewise.
53797         * manual/examples/atexit.c: Likewise.
53798         * manual/examples/db.c: Likewise.
53799         * manual/examples/dir.c: Likewise.
53800         * manual/examples/dir2.c: Likewise.
53801         * manual/examples/execinfo.c: Likewise.
53802         * manual/examples/filecli.c: Likewise.
53803         * manual/examples/filesrv.c: Likewise.
53804         * manual/examples/fmtmsgexpl.c: Likewise.
53805         * manual/examples/genpass.c: Likewise.
53806         * manual/examples/inetcli.c: Likewise.
53807         * manual/examples/inetsrv.c: Likewise.
53808         * manual/examples/isockad.c: Likewise.
53809         * manual/examples/longopt.c: Likewise.
53810         * manual/examples/memopen.c: Likewise.
53811         * manual/examples/memstrm.c: Likewise.
53812         * manual/examples/mkfsock.c: Likewise.
53813         * manual/examples/mkisock.c: Likewise.
53814         * manual/examples/mygetpass.c: Likewise.
53815         * manual/examples/pipe.c: Likewise.
53816         * manual/examples/popen.c: Likewise.
53817         * manual/examples/rprintf.c: Likewise.
53818         * manual/examples/search.c: Likewise.
53819         * manual/examples/select.c: Likewise.
53820         * manual/examples/setjmp.c: Likewise.
53821         * manual/examples/sigh1.c: Likewise.
53822         * manual/examples/sigusr.c: Likewise.
53823         * manual/examples/stpcpy.c: Likewise.
53824         * manual/examples/strdupa.c: Likewise.
53825         * manual/examples/strftim.c: Likewise.
53826         * manual/examples/strncat.c: Likewise.
53827         * manual/examples/subopt.c: Likewise.
53828         * manual/examples/swapcontext.c: Likewise.
53829         * manual/examples/termios.c: Likewise.
53830         * manual/examples/testopt.c: Likewise.
53831         * manual/examples/testpass.c: Likewise.
53832         * manual/examples/timeval_subtract.c: Likewise.
53834         [BZ #13792]
53835         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53836         function to ...
53837         * manual/timeval_subtract.c.texi: ... here, new file.
53839 2012-03-02  David S. Miller  <davem@davemloft.net>
53841         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53843 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53845         [BZ #3976]
53846         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53847         (__sin): Save and restore rounding mode and use round-to-nearest
53848         for all computations.
53849         (__cos): Save and restore rounding mode and use round-to-nearest
53850         for all computations.
53851         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53852         <fenv.h>.
53853         (tan): Save and restore rounding mode and use round-to-nearest for
53854         all computations.
53855         * math/libm-test.inc (cos_test_tonearest): New function.
53856         (cos_test_towardzero): Likewise.
53857         (cos_test_downward): Likewise.
53858         (cos_test_upward): Likewise.
53859         (sin_test_tonearest): Likewise.
53860         (sin_test_towardzero): Likewise.
53861         (sin_test_downward): Likewise.
53862         (sin_test_upward): Likewise.
53863         (tan_test_tonearest): Likewise.
53864         (tan_test_towardzero): Likewise.
53865         (tan_test_downward): Likewise.
53866         (tan_test_upward): Likewise.
53867         (main): Call the new functions.
53868         * sysdeps/i386/fpu/libm-test-ulps: Update.
53869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53871         [BZ #10135]
53872         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53873         small n, then large n, before computing and testing k+n.
53874         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53876         Likewise.
53877         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53878         Likewise.
53879         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53880         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53881         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53882         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53883         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53884         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53885         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53886         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53887         * math/libm-test.inc (scalbn_test): Add more tests.
53888         (scalbln_test): Likewise.
53890         * manual/filesys.texi (mode_t): Describe constraints on size and
53891         signedness, not exact equivalence to a particular type.
53892         (ino_t): Likewise.
53893         (ino64_t): Likewise.
53894         (dev_t): Likewise.
53895         (nlink_t): Likewise.
53896         (blkcnt_t): Likewise.
53897         (blkcnt64_t): Likewise.
53898         * manual/llio.texi (off_t): Likewise.
53900         [BZ #3976]
53901         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53902         (__ieee754_exp): Save and restore rounding mode and use
53903         round-to-nearest for all computations.
53904         * math/libm-test.inc (exp_test_tonearest): New function.
53905         (exp_test_towardzero): Likewise.
53906         (exp_test_downward): Likewise.
53907         (exp_test_upward): Likewise.
53908         (main): Call the new functions.
53909         * sysdeps/i386/fpu/libm-test-ulps: Update.
53910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53912 2012-03-01  Chris Demetriou  <cgd@google.com>
53914         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53915         have predictable order.
53917 2012-03-01  David S. Miller  <davem@davemloft.net>
53919         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53921         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53922         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53923         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53924         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53926         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53927         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53928         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53930         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53931         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53932         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53933         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53934         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53938         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53939         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53940         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53942         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53943         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53944         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53945         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53946         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53947         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53948         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53949         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53950         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53951         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53952         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53955         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53956         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53958         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53959         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53960         * sysdeps/sparc/elf/configure: Regenerated.
53962 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53964         * configure.in (AS, LD): Require binutils 2.20 or later.
53965         * configure: Regenerated.
53966         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53967         as required minimum version.
53968         * INSTALL: Regenerated.
53970         [BZ #2541]
53971         [BZ #4108]
53972         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53973         before squaring exponent.
53974         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53975         bottom long double and 27 bits of top long double before squaring
53976         exponent.
53977         * math/libm-test.inc (erfc_test): Add more tests.
53978         * sysdeps/i386/fpu/libm-test-ulps: Update.
53979         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53982 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53984         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53985         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53986         containing bit-fields.
53987         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53988         * soft-fp/single.h (_FP_UNION_S): Likewise.
53989         * soft-fp/double.h (_FP_UNION_D): Likewise.
53991 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53993         [BZ #13786]
53994         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53995         not include ../strcmp.S.
53996         [USE_AS_STRNCASECMP_L]: Likewise.
53997         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53998         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53999         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54000         (__strncasecmp_l_ia32): Define as alias to
54001         __strncasecmp_l_nonascii.
54003         [BZ #5794]
54004         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54005         * sysdeps/i386/fpu/libm-test-ulps: Update.
54006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54008         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54011 2012-02-29  Jeff Law  <law@redhat.com>
54013         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54014         out of bounds read.
54016 2012-02-29  Marek Polacek  <polacek@redhat.com>
54018         [BZ #13706]
54019         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54020         * elf/Makefile: Add rules to run tst-unused-dep.out.
54022 2012-02-28  David S. Miller  <davem@davemloft.net>
54024         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54025         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54026         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54027         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54028         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54029         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54031 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54033         * math/libm-test.inc (llround_test): Move one test from
54034         lround_test.  Use TEST_f_L in moved test.
54035         (lround_test): Move misplaced test to llround_test.  Add testcase
54036         from bug 2561.
54038 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54040         * sysdeps/x86_64/fpu/e_expf.S: New file.
54041         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54043 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54045         [BZ #13637]
54046         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54047         of remain_len that may cause incomplete multi-byte character and
54048         false match.
54049         * posix/bug-regex33.c: New file.
54050         * posix/Makefile (tests): Add bug-regex33.
54052 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54054         * manual/macros.texi: New file.
54055         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54056         * manual/libc.texinfo: Include macros.texi.
54057         * manual/creatute.texi: Likewise.
54058         * manual/install.texi: Likewise.
54059         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54060         @glibcadj{} in references to the GNU C Library.
54061         * manual/charset.texi: Likewise.
54062         * manual/conf.texi: Likewise.
54063         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54064         when not using those macros.
54065         * manual/creature.texi: Likewise.
54066         * manual/crypt.texi: Likewise.
54067         * manual/errno.texi: Likewise.
54068         * manual/filesys.texi: Likewise.
54069         * manual/header.texi: Likewise.
54070         * manual/install.texi: Likewise.
54071         * manual/intro.texi: Likewise.
54072         * manual/io.texi: Likewise.
54073         * manual/job.texi: Likewise.
54074         * manual/lang.texi: Likewise.
54075         * manual/libc.texiinfo: Likewise.
54076         * manual/llio.texi: Likewise.
54077         * manual/locale.texi: Likewise.
54078         * manual/maint.texi: Likewise.
54079         * manual/math.texi: Likewise.
54080         * manual/memory.texi: Likewise.
54081         * manual/message.texi: Likewise.
54082         * manual/nss.texi: Likewise.
54083         * manual/pattern.texi: Likewise.
54084         * manual/process.texi: Likewise.
54085         * manual/resource.texi: Likewise.
54086         * manual/search.texi: Likewise.
54087         * manual/setjmp.texi: Likewise.
54088         * manual/signal.texi: Likewise.
54089         * manual/socket.texi: Likewise.
54090         * manual/startup.texi: Likewise.
54091         * manual/stdio.texi: Likewise.
54092         * manual/string.texi: Likewise.
54093         * manual/sysinfo.texi: Likewise.
54094         * manual/syslog.texi: Likewise.
54095         * manual/terminal.texi: Likewise.
54096         * manual/time.texi: Likewise.
54097         * manual/users.texi: Likewise.
54098         * INSTALL: Regenerated.
54099         * NOTES: Regenerated.
54100         * sysdeps/gnu/errlist.c: Regenerated.
54102 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54104         * include/dirent.h: Include <dirstream.h> before
54105         <dirent/dirent.h>.
54107 2012-02-28  David S. Miller  <davem@davemloft.net>
54109         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54110         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54111         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54112         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54114 2012-02-27  David S. Miller  <davem@davemloft.net>
54116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54118         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54119         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54122         frame pointer instead of stack pointer relative arg slot.
54123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54124         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54125         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54127 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54129         [BZ #3992]
54130         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54132 2012-02-27  David S. Miller  <davem@davemloft.net>
54134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54138         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54139         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54140         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54141         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54143 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54145         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54146         later.  Allow versions 5-9.
54147         * configure: Regenerated.
54148         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54149         required minimum version and 4.6 as recommended version.  Do not
54150         mention bugs in GCC 2.7 and 2.8.
54151         * INSTALL: Regenerated.
54153 2012-02-27  David S. Miller  <davem@davemloft.net>
54155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54159         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54160         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54161         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54162         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54164         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54165         manipulate bits before adding and subtracting TWO112[sx].
54166         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54168 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54170         [BZ #13775]
54171         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54172         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54173         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54174         being in POSIX, because they are in 1003.1-2008.
54176         * rt/tst-aio.c: Include <fcntl.h>.
54177         * rt/tst-aio7.c: Likewise.
54178         * rt/tst-aio64.c: Likewise.
54180         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54182 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54184         * manual/install.texi (--with-headers): Describe headers as
54185         interface headers, not private headers.
54186         (Specific advice for GNU/Linux systems): Describe use of headers
54187         from "make headers_install", not private headers from older
54188         kernels.
54189         * INSTALL: Regenerated.
54190         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54191         Change to 2.6.19.
54192         * sysdeps/unix/sysv/linux/configure: Regenerated.
54194         * manual/llio.texi (fclean): Remove documentation.
54196         * manual/Makefile (libc-texi-generated): New variable.  Include
54197         version.texi.
54198         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54199         $(libc-texi-generated), not duplicated list of files.
54200         (version.texi, stamp-version): New rules.
54201         (realclean): Remove $(libc-texi-generated), not individual files
54202         from that list.  Do not remove dir-add.texinfo.
54203         * manual/libc.texinfo: Comment out uses of edition numbers and
54204         references to printed manual.  Remove last-updated dates.
54205         (EDITION): Comment out.
54206         (ISBN): Likewise.
54207         (VERSION, UPDATED): Remove.
54208         (version.texi): Include.
54210 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54212         * sysdeps/posix/spawni.c: Include <signal.h>.
54213         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54214         * sysdeps/pthread/aio_fsync.c: Likewise.
54216 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54218         * conform/Makefile (tests): Run only when not cross-compiling and
54219         when fast-check is not defined.
54221         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54222         * conform/data/limits.h-data: Fixes for POSIX2008.
54223         * conform/run-conformtest.sh: Run all tests.
54224         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54225         headers.
54226         * include/bits/dlfcn.h: Likewise.
54227         * include/langinfo.h: Likewise.
54228         * include/monetary.h: Likewise.
54229         * include/sys/poll.h: Likewise.
54231         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54232         for __USE_GNU.
54233         * posix/spawn.h: Define __need_sigset_t.
54234         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54235         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54236         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54237         to get sigevent_t only.
54238         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54239         only for __USE_GNU.
54240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54241         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54242         process_vm_writev only for __USE_GNU.
54243         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54245         * conform/Makefile: For now ignore errors from run-conformtest.
54246         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54247         POSIX to avoid namespace pollution.  Don't prepend headers.
54248         * conform/data/aio.h-data: Fixes for POSIX testing.
54249         * conform/data/fcntl.h-data: Likewise.
54250         * conform/data/glob.h-data: Likewise.
54251         * conform/data/grp.h-data: Likewise.
54252         * conform/data/pthread.h-data: Likewise.
54253         * conform/data/pwd.h-data: Likewise.
54254         * conform/data/signal.h-data: Likewise.
54255         * conform/data/spawn.h-data: Likewise.
54256         * conform/data/stdio.h-data: Likewise.
54257         * conform/data/stdlib.h-data: Likewise.
54258         * conform/data/stropts.h-data: Likewise.
54259         * conform/data/sys/mman.h-data: Likewise.
54260         * conform/data/sys/stat.h-data: Likewise.
54261         * conform/data/sys/types.h-data: Likewise.
54262         * conform/data/sys/wait.h-data: Likewise.
54263         * conform/data/time.h-data: Likewise.
54264         * conform/data/unistd.h-data: Likewise.
54265         * conform/data/utime.h-data: Likewise.
54267         * io/sys/stat.h: fchmod was always in POSIX.
54268         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54269         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54270         * rt/aio.h: Define __need_timespec before including <time.h>.
54271         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54272         struct.  Add forward declaration of pthread_attr_t and use it in
54273         sigevent.
54274         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54275         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54276         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54277         always remove CLK_TCK definition.
54279 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54281         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54283 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54285         * conform/run-conformtest.sh: New file.
54286         * conform/Makefile: Run run-conformtest for tests.
54287         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54288         support.
54290         * conform/data/uchar.h-data: New file.
54291         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54292         * conform/data/arpa/inet.h-data: Likewise.
54293         * conform/data/assert.h-data: Likewise.
54294         * conform/data/complex.h-data: Likewise.
54295         * conform/data/cpio.h-data: Likewise.
54296         * conform/data/ctype.h-data: Likewise.
54297         * conform/data/dirent.h-data: Likewise.
54298         * conform/data/dlfcn.h-data: Likewise.
54299         * conform/data/errno.h-data: Likewise.
54300         * conform/data/fcntl.h-data: Likewise.
54301         * conform/data/float.h-data: Likewise.
54302         * conform/data/fmtmsg.h-data: Likewise.
54303         * conform/data/fnmatch.h-data: Likewise.
54304         * conform/data/ftw.h-data: Likewise.
54305         * conform/data/glob.h-data: Likewise.
54306         * conform/data/grp.h-data: Likewise.
54307         * conform/data/iconv.h-data: Likewise.
54308         * conform/data/inttypes.h-data: Likewise.
54309         * conform/data/langinfo.h-data: Likewise.
54310         * conform/data/libgen.h-data: Likewise.
54311         * conform/data/limits.h-data: Likewise.
54312         * conform/data/locale.h-data: Likewise.
54313         * conform/data/math.h-data: Likewise.
54314         * conform/data/monetary.h-data: Likewise.
54315         * conform/data/mqueue.h-data: Likewise.
54316         * conform/data/ndbm.h-data: Likewise.
54317         * conform/data/net/if.h-data: Likewise.
54318         * conform/data/netdb.h-data: Likewise.
54319         * conform/data/netinet/in.h-data: Likewise.
54320         * conform/data/nl_types.h-data: Likewise.
54321         * conform/data/poll.h-data: Likewise.
54322         * conform/data/pthread.h-data: Likewise.
54323         * conform/data/pwd.h-data: Likewise.
54324         * conform/data/regex.h-data: Likewise.
54325         * conform/data/sched.h-data: Likewise.
54326         * conform/data/search.h-data: Likewise.
54327         * conform/data/semaphore.h-data: Likewise.
54328         * conform/data/setjmp.h-data: Likewise.
54329         * conform/data/signal.h-data: Likewise.
54330         * conform/data/spawn.h-data: Likewise.
54331         * conform/data/stdarg.h-data: Likewise.
54332         * conform/data/stdio.h-data: Likewise.
54333         * conform/data/stdlib.h-data: Likewise.
54334         * conform/data/string.h-data: Likewise.
54335         * conform/data/strings.h-data: Likewise.
54336         * conform/data/stropts.h-data: Likewise.
54337         * conform/data/sys/ipc.h-data: Likewise.
54338         * conform/data/sys/mman.h-data: Likewise.
54339         * conform/data/sys/msg.h-data: Likewise.
54340         * conform/data/sys/resource.h-data: Likewise.
54341         * conform/data/sys/select.h-data: Likewise.
54342         * conform/data/sys/sem.h-data: Likewise.
54343         * conform/data/sys/shm.h-data: Likewise.
54344         * conform/data/sys/socket.h-data: Likewise.
54345         * conform/data/sys/stat.h-data: Likewise.
54346         * conform/data/sys/statvfs.h-data: Likewise.
54347         * conform/data/sys/time.h-data: Likewise.
54348         * conform/data/sys/timeb.h-data: Likewise.
54349         * conform/data/sys/times.h-data: Likewise.
54350         * conform/data/sys/types.h-data: Likewise.
54351         * conform/data/sys/uio.h-data: Likewise.
54352         * conform/data/sys/un.h-data: Likewise.
54353         * conform/data/sys/utsname.h-data: Likewise.
54354         * conform/data/sys/wait.h-data: Likewise.
54355         * conform/data/syslog.h-data: Likewise.
54356         * conform/data/tar.h-data: Likewise.
54357         * conform/data/termios.h-data: Likewise.
54358         * conform/data/utime.h-data: Likewise.
54359         * conform/data/utmpx.h-data: Likewise.
54360         * conform/data/varargs.h-data: Likewise.
54361         * conform/data/wchar.h-data: Likewise.
54362         * conform/data/wctype.h-data: Likewise.
54363         * conform/data/wordexp.h-data: Likewise.
54365         * include/stropts.h: New file.
54366         * include/uchar.h: New file.
54367         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54368         * include/assert.h: Likewise.
54369         * include/ctype.h: Likewise.
54370         * include/dirent.h: Likewise.
54371         * include/dlfcn.h: Likewise.
54372         * include/fcntl.h: Likewise.
54373         * include/fnmatch.h: Likewise.
54374         * include/glob.h: Likewise.
54375         * include/grp.h: Likewise.
54376         * include/libio.h: Likewise.
54377         * include/locale.h: Likewise.
54378         * include/math.h: Likewise.
54379         * include/net/if.h: Likewise.
54380         * include/netdb.h: Likewise.
54381         * include/netinet/in.h: Likewise.
54382         * include/pthread.h: Likewise.
54383         * include/pwd.h: Likewise.
54384         * include/regex.h: Likewise.
54385         * include/sched.h: Likewise.
54386         * include/search.h: Likewise.
54387         * include/setjmp.h: Likewise.
54388         * include/signal.h: Likewise.
54389         * include/stdio.h: Likewise.
54390         * include/stdlib.h: Likewise.
54391         * include/string.h: Likewise.
54392         * include/sys/cdefs.h: Likewise.
54393         * include/sys/mman.h: Likewise.
54394         * include/sys/msg.h: Likewise.
54395         * include/sys/resource.h: Likewise.
54396         * include/sys/select.h: Likewise.
54397         * include/sys/socket.h: Likewise.
54398         * include/sys/stat.h: Likewise.
54399         * include/sys/statvfs.h: Likewise.
54400         * include/sys/time.h: Likewise.
54401         * include/sys/times.h: Likewise.
54402         * include/sys/uio.h: Likewise.
54403         * include/sys/utsname.h: Likewise.
54404         * include/sys/wait.h: Likewise.
54405         * include/termios.h: Likewise.
54406         * include/time.h: Likewise.
54407         * include/ulimit.h: Likewise.
54408         * include/unistd.h: Likewise.
54409         * include/utime.h: Likewise.
54410         * include/wchar.h: Likewise.
54411         * include/wctype.h: Likewise.
54412         * include/wordexp.h: Likewise.
54414         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54416         * time/time.h: TIME_UTC must be a macro.
54417         Make timespec_get available for ISO C11 only as well.
54419 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54421         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54422         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54424 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54426         * configure.in: Use -o not -a in test for unsupported multi-arch.
54428 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54430         * manual/texinfo.tex: Update to version 2012-01-19.16.
54432 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54434         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54436 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54438         [BZ #13738]
54439         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54440         * manual/fdl-1.3.texi: New file.
54441         * manual/fdl-1.1.texi: File removed.
54443         [BZ #13738]
54444         * manual/libc.texinfo (FDL_VERSION): New @set.
54445         Use it for mention of FDL in cover text.
54446         (Documentation License): Use it in @include file name.
54448 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54449             Roland McGrath  <roland@hack.frob.com>
54451         [BZ #5461]
54452         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54453         (not LONG_LONG_MAX and LONG_LONG_MIN.
54454         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54455         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54456         name.
54457         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54459 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54461         [BZ #2547]
54462         [BZ #11365]
54463         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54464         manipulate bits before adding and subtracting TWO23[sx].
54465         * math/libm-test.inc (nearbyint_test): Add more tests.
54467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54469         [BZ #2548]
54470         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54471         bits before adding and subtracting TWO23[sx].
54472         * math/libm-test.inc (rint_test): Add more tests.
54473         (rint_test_tonearest): Likewise.
54474         (rint_test_towardzero): Likewise.
54475         (rint_test_downward): Likewise.
54476         (rint_test_upward: Likewise.
54478 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54480         [BZ #10110]
54481         * include/stdc-predef.h: New file.  Extracted from features.h.
54482         * include/features.h: Include stdc-predef.h.
54483         * Makefile (headers): Add stdc-predef.h.
54484         * CONFORMANCE (Compiler limitations): Update.
54486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54488         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54490 2012-02-21  David S. Miller  <davem@davemloft.net>
54492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54493         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54495 2012-02-20  David S. Miller  <davem@davemloft.net>
54497         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54498         using a normal save/restore sequence, rather than allocating a
54499         dummy stack frame just to store a frame pointer and restore.
54500         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54502 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54504         * manual/install.texi: Fix stray word in line-wrapped comment.
54506 2012-02-20  David S. Miller  <davem@davemloft.net>
54508         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54509         both binutils and gcc support GOTDATA.
54511         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54512         "rd %pc" in the PIC register setup sequences.
54514         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54515         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54516         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54517         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54518         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54520         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54521         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54523         (SYSCALL_ERROR_HANDLER): Likewise.
54524         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54525         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54527         (SYSCALL_ERROR_HANDLER): Likewise.
54529         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54530         (HAVE_GCC_GOTDATA): New.
54531         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54532         relocation support in both binutils and gcc.
54533         * sysdeps/sparc/elf/configure: Regenerate.
54535         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54536         * sysdeps/sparc/sparc32/elf/configure: Delete.
54537         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54538         * sysdeps/sparc/sparc64/elf/configure: Delete.
54539         * sysdeps/sparc/elf/configure.in: New file.
54540         * sysdeps/sparc/elf/configure: Generate.
54542         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54543         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54544         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54545         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54546         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54550         * manual/install.texi: Do not mention specific glibc version
54551         numbers.
54552         * manual/libc.texinfo (VERSION, UPDATED): Update.
54553         (@copying): Use @copyright{} and range of years.
54555 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54557         [BZ #13695]
54558         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54559         [crti.S not in sysdirs] (generated): Do not append.
54560         [crti.S not in sysdirs] (omit-deps): Likewise.
54561         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54562         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54563         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54564         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54565         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54566         Likewise.
54567         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54568         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54569         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54570         * csu/defs.awk: Remove file.
54571         * sysdeps/generic/initfini.c: Likewise.
54572         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54573         variable.
54574         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54575         Likewise.
54577 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54579         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54580         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54581         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54582         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54583         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54584         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54585         <bits/epoll.h>.
54586         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54587         (__EPOLL_PACKED): Define to empty if not defined by
54588         <bits/epoll.h>.
54589         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54591         bits/epoll.h.
54593 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54595         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54596         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54597         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54598         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54599         <bits/timerfd.h>.
54600         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54602         bits/timerfd.h.
54604 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54606         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54607         in C locale.
54608         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54609         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54610         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54613 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54615         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54616         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54618 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54620         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54621         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54622         defined.
54623         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54624         Likewise.
54625         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54626         entry for 2.16.
54628 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54630         * math/w_acos.c: Use non-signaling floating-point comparisons.
54631         * math/w_acosf.c: Likewise.
54632         * math/w_acosh.c: Likewise.
54633         * math/w_acoshf.c: Likewise.
54634         * math/w_acoshl.c: Likewise.
54635         * math/w_acosl.c: Likewise.
54636         * math/w_asin.c: Likewise.
54637         * math/w_asinf.c: Likewise.
54638         * math/w_asinl.c: Likewise.
54639         * math/w_atanh.c: Likewise.
54640         * math/w_atanhf.c: Likewise.
54641         * math/w_atanhl.c: Likewise.
54642         * math/w_exp2.c: Likewise.
54643         * math/w_exp2f.c: Likewise.
54644         * math/w_exp2l.c: Likewise.
54645         * math/w_j0.c: Likewise.
54646         * math/w_j0f.c: Likewise.
54647         * math/w_j0l.c: Likewise.
54648         * math/w_j1.c: Likewise.
54649         * math/w_j1f.c: Likewise.
54650         * math/w_j1l.c: Likewise.
54651         * math/w_jn.c: Likewise.
54652         * math/w_jnf.c: Likewise.
54653         * math/w_log.c: Likewise.
54654         * math/w_log10.c: Likewise.
54655         * math/w_log10f.c: Likewise.
54656         * math/w_log10l.c: Likewise.
54657         * math/w_log2.c: Likewise.
54658         * math/w_log2f.c: Likewise.
54659         * math/w_log2l.c: Likewise.
54660         * math/w_logf.c: Likewise.
54661         * math/w_logl.c: Likewise.
54662         * math/w_sqrt.c: Likewise.
54663         * math/w_sqrtf.c: Likewise.
54664         * math/w_sqrtl.c: Likewise.
54665         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54666         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54668         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54669         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54671 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54673         [BZ #9739]
54674         * manual/string.texi (strnlen): Use correct parameter name in
54675         equivalent expression.
54677 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54679         [BZ #11174]
54680         * manual/users.texi (seteuid): Consistently use neweuid for
54681         argument name.
54683 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54685         [BZ #13704]
54686         * manual/nss.texi (Services in the NSS configuration): Correct
54687         list of services in example configuration file.
54689 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54691         [BZ #11322]
54692         * manual/arith.texi: Remove statements about negative zero
54693         behaving identically to zero.
54695 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54697         [BZ #5993]
54698         * manual/install.texi: Do not document upgrading from libc5.
54700 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54702         [BZ #4596]
54703         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54705 2012-02-18  David S. Miller  <davem@davemloft.net>
54707         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54708         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54709         %o7 across the call.
54710         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54711         instead.
54712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54713         SETUP_PIC_REG_LEAF.
54714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54715         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54716         * sysdeps/sparc/crtn.S: Likewise.
54718 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54720         * aout/Makefile: Remove.
54722 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54724         [BZ #13058]
54725         * manual/examples/argp-ex1.c (main): Format definition in GNU
54726         style.
54727         * manual/examples/argp-ex2.c (main): Likewise.
54728         * manual/examples/argp-ex3.c (main): Likewise.
54729         * manual/examples/argp-ex4.c (main): Likewise.
54730         * manual/examples/longopt.c (main): Use new-style prototype
54731         definition.
54732         * manual/examples/strncat.c (main): Specify return type and use
54733         (void) for arguments.
54734         * manual/examples/subopt.c (main): Use char **argv argument.
54736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54738         [BZ #5077]
54739         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54740         rounding modes.
54742 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54744         [BZ #6907]
54745         * manual/string.texi (strchr): Change when strchrnul is
54746         recommended.
54748 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54750         [BZ #174]
54751         * manual/locale.texi (setlocale): Document LOCPATH.
54753 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54755         [BZ #10210]
54756         * manual/process.texi (execle): Move @dots{} before last argument.
54758 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54760         [BZ #12047]
54761         * manual/charset.texi (Generic Charset Conversion): Fix typo
54762         (LC_TYPE -> LC_CTYPE).
54764 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54766         [BZ #5805]
54767         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54768         (scalbnf): Likewise.
54769         (scalbnl): Likewise.
54770         (scalbln): Likewise.
54771         (scalblnf): Likewise.
54772         (scalblnl): Likewise.
54773         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54774         (vwarnx): Likewise.
54775         (verr): Likewise.
54776         (verrx): Likewise.
54777         * manual/filesys.texi (telldir): Use braces around return type.
54778         * manual/llio.texi (mmap): Add space after comma.
54779         (mmap64): Likewise.
54780         * manual/math.texi (jn): Use @var{} on parameter names.
54781         (jnf): Likewise.
54782         (jnl): Likewise.
54783         (yn): Likewise.
54784         (ynf): Likewise.
54785         (ynl): Likewise.
54786         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54787         line.
54788         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54789         "...".
54790         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54791         (sched_get_priority_max): Likewise.
54792         * manual/signal.texi (sigvec): Add space after comma.
54793         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54794         names.
54795         (if_indextoname): Likewise.
54796         (if_freenameindex): Likewise.
54797         (sendto): Use ',' instead of '.' in prototype.
54798         * manual/startup.texi (syscall): Use @dots{} instead of literal
54799         "...".
54800         * manual/stdio.texi (__fpending): Separate initial words of
54801         paragraph from @deftypefun line.
54802         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54803         "...".
54804         (vsyslog): Use @var{} on parameter names.
54805         * manual/terminal.texi (stty): Use @var{} on parameter names.
54806         * manual/users.texi (getutmp): Use @var{} on parameter names.
54807         (getutmpx): Likewise.
54809 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54811         [BZ #6884]
54812         * manual/stdio.texi (fopen): Fix typos in description of
54813         ",ccs=STRING".
54815 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54817         [BZ #4026]
54818         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54819         get clock_id definition.
54821 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54823         [BZ #4822]
54824         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54825         (madvise): Cast every argument to void on its own.
54827 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54829         [BZ #9902]
54830         * manual/startup.texi (Exit Status): Fix typo.
54832 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54834         [BZ #10140]
54835         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54836         * manual/examples/argp-ex2.c: Likewise.
54837         * manual/examples/argp-ex3.c: Likewise.
54839 2012-02-16  Richard Henderson  <rth@redhat.com>
54841         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54842         * sysdeps/s390/s390-32/initfini.c: Remove.
54843         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54844         * sysdeps/s390/s390-64/initfini.c: Remove.
54846 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54848         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54849         compiler output for sysdeps/generic/initfini.c.
54850         * sysdeps/sh/elf/initfini.c: Remove file.
54852 2012-02-16  David S. Miller  <davem@davemloft.net>
54854         [BZ #11494]
54855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54857         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54858         * sysdeps/sparc/crti.S: New file.
54859         * sysdeps/sparc/crtn.S: New file.
54860         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54861         * sysdeps/sparc/sparc64/Makefile: Likewise.
54863 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54865         [BZ #3335]
54866         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54868 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54870         [BZ #4822]
54871         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54873         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54874         (write, read, close): Likewise.
54875         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54877 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54879         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54880         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54881         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54882         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54883         <bits/signalfd.h>.
54884         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54886         bits/signalfd.h.
54888 2012-02-14  Marek Polacek  <polacek@redhat.com>
54890         * sysdeps/x86_64/crti.S: New file.
54891         * sysdeps/x86_64/crtn.S: New file.
54892         * sysdeps/x86_64/elf/initfini.c: Remove file.
54894 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54896         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54897         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54898         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54899         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54900         <bits/inotify.h>.
54901         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54903         bits/inotify.h.
54905 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54907         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54908         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54909         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54910         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54911         <bits/eventfd.h>.
54912         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54914         bits/eventfd.h.
54916 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54918         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54919         __feraiseexcept instead of feraiseexcept.
54921         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54922         nanosleep invocations.
54923         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54924         strings, and add error checking for a nanosleep invocations.
54926 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54928         Replace FSF snail mail address with URLs, as per GNU coding standards.
54929         Most of the snail mail addresses were wrong anyway, and omitting
54930         them makes the source code easier to maintain.  Almost all of the
54931         changes are to license notices and to locale LC_IDENTIFICATION
54932         addresses, except for this one:
54933         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54934         not its snail mail address.
54936 2012-02-09  Richard Henderson  <rth@twiddle.net>
54938         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54939         of kernel-features.h.
54941         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54943 2012-02-08  Marek Polacek  <polacek@redhat.com>
54945         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54946         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54947         * sysdeps/gnu/_G_config.h: Likewise.
54948         * sysdeps/generic/_G_config.h: Likewise.
54950 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54952         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54953         tests.
54954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54956         * sysdeps/powerpc/powerpc32/crti.S: New file.
54957         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54958         * sysdeps/powerpc/powerpc64/crti.S: New file.
54959         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54961         * Makeconfig (have-initfini): Don't set.
54962         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54963         * configure.in (nopic_initfini): Don't substitute.
54964         * config.h.in (HAVE_INITFINI): Don't #undef.
54965         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54966         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54968 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54970         Support crti.S and crtn.S provided directly by architectures.
54971         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54972         [crti.S in sysdirs] (omit-deps): Likewise.
54973         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54974         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54975         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54976         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54977         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54978         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54979         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54980         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54981         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54982         compiler output for sysdeps/generic/initfini.c.
54983         * sysdeps/i386/elf/Makefile: Remove file.
54984         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54986 2012-02-07  Marek Polacek  <polacek@redhat.com>
54988         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54989         * sysdeps/gnu/_G_config.h: Likewise.
54990         * sysdeps/mach/hurd/_G_config.h: Likewise.
54992 2012-02-07  Marek Polacek  <polacek@redhat.com>
54994         * math/Makefile (tests): Add tst-CMPLX2.
54995         * math/tst-CMPLX2.c: New file.
54997 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54999         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55001         * math/libm-test.inc (jn_test): Add missing L suffix.
55003 2012-02-06  Marek Polacek  <polacek@redhat.com>
55005         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55006         * sysdeps/i386/fpu/e_powf.S: Likewise.
55007         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55008         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55009         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55010         * sysdeps/i386/fpu/e_pow.S: Likewise.
55011         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55012         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55013         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55014         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55015         * sysdeps/i386/fpu/e_log2.S: Likewise.
55016         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55017         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55018         * sysdeps/i386/fpu/e_powl.S: Likewise.
55019         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55020         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55021         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55022         * sysdeps/i386/fpu/e_logl.S: Likewise.
55023         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55024         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55025         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55026         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55027         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55028         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55029         * sysdeps/i386/fpu/e_log.S: Likewise.
55030         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55031         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55032         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55033         * sysdeps/i386/fpu/e_logf.S: Likewise.
55034         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55035         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55036         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55037         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55038         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55039         * sysdeps/i386/fpu/e_log10.S: Likewise.
55040         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55041         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55042         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55043         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55044         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55045         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55046         * sysdeps/i386/asm-syntax.h: Likewise.
55047         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55048         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55049         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55050         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55051         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55052         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55053         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55054         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55055         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55056         * sysdeps/powerpc/sysdep.h: Likewise.
55057         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55058         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55060 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55062         [BZ #411]
55063         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55065 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55067         * sysdeps/i386/sysdep.h: Include <features.h>.
55068         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55069         version.
55071 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55073         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55074         Define.
55075         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55076         LOAD_PIC_REG_STR.
55078 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55080         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55081         (SETUP_PIC_REG): Use GET_PC_THUNK.
55082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55083         macro.
55085 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55087         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55088         for non-PIC compilation.
55089         (SETUP_PIC_REG): Add .p2align directive.
55090         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55091         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55092         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55093         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55094         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55095         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55096         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55098         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55099         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55100         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55101         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55102         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55104         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55105         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55106         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55107         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55108         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55109         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55110         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55111         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55112         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55113         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55114         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55115         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55116         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55117         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55118         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55119         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55120         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55122         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55123         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55124         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55125         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55126         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55127         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55128         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55129         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55130         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55132 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55134         * math/tst-CMPLX.c: Include <stdio.h>.
55136 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55138         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55139         float.
55140         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55141         * sysdeps/sparc/bits/mathdef.h: Likewise.
55143 2012-01-31  Marek Polacek  <polacek@redhat.com>
55145         * libio/libio.h: Don't define _PARAMS.
55146         * locale/programs/config.h: Don't define PARAMS.
55147         * stdlib/strtol_l.c: Likewise.
55148         (__strtol_l): Remove PARAMS from the prototype.
55150 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55152         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55153         names.  Just use the correct names.  Remove unnecessary wrapper
55154         functions.
55155         * malloc/arena.c: Likewise.
55156         * malloc/hooks.c: Likewise.
55158         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55159         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55160         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55162 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55164         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55165         into tail calls.
55166         (update_get_addr): New function.
55167         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55168         GET_ADDR_MODULE parameter.
55170 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55172         * crypt/cert.c: Remove __STDC__ conditionals.
55173         * crypt/crypt-entry.c: Likewise.
55174         * crypt/crypt_util.c: Likewise.
55175         * libio/filedoalloc.c: Likewise.
55176         * libio/fileops.c: Likewise.
55177         * libio/genops.c: Likewise.
55178         * libio/iofclose.c: Likewise.
55179         * libio/iofdopen.c: Likewise.
55180         * libio/iofopen.c: Likewise.
55181         * libio/iofopen64.c: Likewise.
55182         * libio/iogetdelim.c: Likewise.
55183         * libio/iopopen.c: Likewise.
55184         * libio/obprintf.c: Likewise.
55185         * libio/oldfileops.c: Likewise.
55186         * libio/oldiofclose.c: Likewise.
55187         * libio/oldiofdopen.c: Likewise.
55188         * libio/oldiofopen.c: Likewise.
55189         * libio/oldiopopen.c: Likewise.
55190         * libio/wfiledoalloc.c: Likewise.
55191         * libio/wgenops.c: Likewise.
55192         * locale/programs/xmalloc.c: Likewise.
55193         * misc/syslog.c: Likewise.
55194         * stdio-common/xbug.c: Likewise.
55195         * string/memchr.c: Likewise.
55196         * string/memcmp.c: Likewise.
55197         * string/memrchr.c: Likewise.
55198         * string/rawmemchr.c: Likewise.
55199         * sysdeps/posix/getcwd.c: Likewise.
55200         * time/strftime_l.c: Likewise.
55202 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55204         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55205         * config.make.in (config-cflags-sse2avx): Define.
55206         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55207         Fix typo.
55209 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55211         * scripts/config.guess: Update from upstream config git repository.
55212         * scripts/config.sub: Likewise.
55214 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55216         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55217         (EM_NUM): Update.
55218         (R_TILEPRO_*, R_TILEGX_*): New macros.
55220         * scripts/firstversions.awk: Fix bug in version range handling.
55222         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55224         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55226         * include/sys/epoll.h: New file.
55227         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55228         libc_hidden_def.
55230 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55232         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55233         Avoid unnecessary __WORDSIZE == 64 test.
55234         (fmaxf): Use VEX format if possible.
55235         (fmax): Likewise.
55236         (fminf): Likewise.
55237         (fmin): Likewise.
55239         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55240         * math/math_private.h: Remove libc_fegetround* and
55241         libc_fesetround*.
55242         * sysdeps/i386/configure.in: Check for -msse2avx.
55243         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55244         also if SSE2AVX is defined.
55245         Remove libc_fegetround* and libc_fesetround*.
55246         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55247         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55248         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55249         of HAS_YMM_USABLE.
55250         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55251         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55252         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55253         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55254         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55256         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55258 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55260         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55261         size is not set.
55262         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55264 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55266         [BZ #13618]
55267         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55268         relocation.
55269         * Makeconfig (libm): Define.
55270         * elf/Makefile: Add rules to build and run tst-relsort1.
55271         * elf/tst-relsort1.c: New file.
55272         * elf/tst-relsort1mod1.c: New file.
55273         * elf/tst-relsort1mod2.c: New file.
55275 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55277         * math/s_ldexp.c: Remove __STDC__ conditionals.
55278         * math/s_ldexpf.c: Likewise.
55279         * math/s_ldexpl.c: Likewise.
55280         * math/s_nextafter.c: Likewise.
55281         * math/s_nexttowardf.c: Likewise.
55282         * math/s_significand.c: Likewise.
55283         * math/s_significandf.c: Likewise.
55284         * math/s_significandl.c: Likewise.
55285         * math/w_jnl.c: Likewise.
55286         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55287         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55288         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55289         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55290         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55291         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55292         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55293         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55295         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55296         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55297         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55298         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55299         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55300         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55301         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55302         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55303         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55304         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55305         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55306         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55307         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55308         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55309         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55310         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55311         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55312         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55313         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55314         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55315         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55316         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55317         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55318         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55319         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55320         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55321         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55322         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55323         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55324         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55325         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55326         * sysdeps/ieee754/k_standard.c: Likewise.
55327         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55328         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55329         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55330         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55331         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55332         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55333         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55334         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55335         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55336         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55337         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55338         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55339         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55340         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55341         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55342         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55343         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55344         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55345         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55346         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55347         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55348         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55349         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55350         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55351         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55352         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55353         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55354         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55356         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55357         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55358         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55359         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55360         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55362         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55363         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55365         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55367         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55369         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55370         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55371         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55372         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55373         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55374         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55375         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55376         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55377         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55378         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55380         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55382         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55383         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55384         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55385         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55386         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55387         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55388         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55389         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55391         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55392         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55393         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55394         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55395         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55396         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55397         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55398         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55399         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55400         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55401         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55402         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55403         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55404         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55405         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55406         * sysdeps/ieee754/s_matherr.c: Likewise.
55407         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55408         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55412 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55414         * crypt/md5.h: Remove __STDC__ conditionals.
55415         * libio/libioP.h: Likewise.
55416         * locale/programs/config.h: Likewise.
55417         * sysdeps/generic/sysdep.h: Likewise.
55418         * sysdeps/i386/asm-syntax.h: Likewise.
55419         * sysdeps/s390/asm-syntax.h: Likewise.
55420         * sysdeps/unix/sysdep.h: Likewise.
55421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55424 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55426         * libio/libio.h: Remove __STDC__ conditionals.
55427         * malloc/obstack.h: Likewise.
55428         * math/complex.h: Likewise.
55429         * math/math.h: Likewise.
55430         * sysdeps/generic/_G_config.h: Likewise.
55431         * sysdeps/gnu/_G_config.h: Likewise.
55432         * sysdeps/mach/hurd/_G_config.h: Likewise.
55433         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55434         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55435         * sysdeps/sparc/bits/mathdef.h: Likewise.
55437 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55439         [BZ #13583]
55440         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55441         Clean up HAS_* macros.
55442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55443         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55444         possible.
55445         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55446         HAS_AVX.
55447         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55448         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55449         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55450         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55451         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55453 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55455         * elf/tst-unique3.cc (gets): Remove declaration.
55456         * elf/tst-unique3lib.cc (gets): Likewise.
55457         * elf/tst-unique3lib2.cc (gets): Likewise.
55458         * elf/tst-unique4.cc (gets): Likewise.
55460 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55462         * include/stdio.h: Add C++ protection.  Add gets declarations and
55463         definitions.
55464         * debug/tst-chk1.c: Don't declare gets here.
55465         * stdio-common/tst-gets.c: Likewise.
55467 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55469         * posix/glob: Remove directory.
55471 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55473         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55475 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55477         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55478         of the non-standard EPFNOSUPPORT.
55480 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55482         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55483         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55484         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55486 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55488         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55490 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55492         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55493         transient errors.
55494         * nscd/grpcache.c (cache_addgr): Likewise.
55495         * nscd/hstcache.c (cache_addhst): Likewise.
55496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55497         * nscd/pwdcache.c (cache_addpw): Likewise.
55498         * nscd/servicescache.c (cache_addserv): Likewise.
55500 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55502         * malloc/malloc.c: Various cleanups.
55503         * malloc/hooks.c: Likewise.
55505         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55506         * stdlib/bug-fmtmsg1.c: New file.
55508         * stdlib/fmtmsg.c (init): Add missing unlock.
55509         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55511 2012-01-12  Marek Polacek  <polacek@redhat.com>
55513         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55514         and _GNU_SOURCE.
55516 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55518         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55519         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55520         macro to ensure uniqueness of label name.
55521         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55522         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55524 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55526         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55528         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55529         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55530         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55533 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55535         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55537         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55538         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55539         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55541         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55543         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55544         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55545         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55548         * math/bits/math-finite.h: Add ldexp support.
55550 2012-01-10  Marek Polacek  <polacek@redhat.com>
55552         * locale/programs/localedef.h (show_archive_content): Add noreturn
55553         attribute.
55555 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55557         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55559 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55561         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55563         * io/Makefile (headers): Add bits/poll2.h.
55565 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55568         typo #include statement.
55570 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55572         * include/sys/cdefs.h: Define __attribute_alloc_size.
55573         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55574         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55575         * elf/pldd.c: Likewise.
55576         * iconv/iconv_charmap.c: Likewise.
55577         * iconv/iconvconfig.c: Likewise.
55578         * iconv/strtab.c: Likewise.
55579         * locale/programs/locale.c: Likewise.
55580         * locale/programs/localedef.h: Likewise.
55581         * locale/programs/simple-hash.c: Likewise.
55582         * nscd/nscd.h: Likewise.
55583         * nss/makedb.c: Likewise.
55584         * sysdeps/generic/ldconfig.h: Likewise.
55585         * locale/programs/localedef.c: Remove xmalloc prototype.
55586         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55588 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55590         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55591         appropriate.
55593 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55595         * math/Makefile (tests): Add tst-CMPLX.
55596         * math/tst-CMPLX.c: New file.
55598         * math/complex.h (CMPLXL): Fix typo.
55600         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55601         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55602         GLIBC_2.16.
55603         * debug/tst-chk1.c: Add poll and ppoll tests.
55604         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55605         * include/sys/poll.h: Add hidden proto for ppoll.
55606         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55607         * sysdeps/mach/hurd/ppoll.c: Likewise.
55608         * io/ppoll.c: Likewise.
55609         * debug/poll_chk.c: New file.
55610         * debug/ppoll_chk.c: New file.
55611         * include/bits/poll2.h: New file.
55612         * io/bits/poll2.h: New file.
55614         [BZ #1350]
55615         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55617         * configure.in: static is always set to yes.  Remove.
55618         * config.make.in: Don't set build-static.
55619         * Makeconfig: Remove use of build-static.
55620         * dlfcn/Makefile: Likewise.
55621         * elf/Makefile: Likewise.
55622         * math/Makefile: Likewise.
55623         * misc/Makefile: Likewise.
55624         * nptl/Makefile: Likewise.
55625         * sysdeps/mach/hurd/Makefile: Likewise.
55627         * configure.in: PWD_P is not used anymore.
55628         * config.make.in: Remove PWD_P entry.
55630         * configure.in: Remove last remnants of RANLIB.
55631         No need to check for signed size_t anymore.
55632         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55633         and IA-64.
55634         Remove __builtin_expect test because we require at least gcc 3.4.
55635         * aclocal.m4: Likewise.
55637         * wcsmbs/mbrtoc16.c: Implement using towc function.
55638         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55639         * wcsmbs/wcsmbsload.c: Likewise.
55640         * iconv/gconv_simple.c: Likewise.
55641         * iconv/gconv_int.h: Likewise.
55642         * iconv/gconv_builtin.h: Likewise.
55643         * iconv/iconv_prog.c: Remove CHAR16 handling.
55645         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55647         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55649         * configure.in: Remove --with-elf and --enable-bounded options.
55650         Dont set base_machine for ia64.  More non-ELF conditions removed.
55651         Remove testing and setting of leading underscore information.
55652         * config.make.in (build-bounded): Set to no.
55653         * config.h.in: Remove NO_UNDERSCORES entry.
55654         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55655         them.
55656         * csu/start.c: Remove !NO_UNDERSCORE code.
55657         * locale/localeinfo.h: Likewise.
55658         * sysdeps/generic/machine-gmon.h: Likewise.
55659         * sysdeps/generic/sysdep.h: Likewise.
55660         * sysdeps/i386/sysdep.h: Likewise.
55661         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55662         * sysdeps/mach/sysdep.h: Likewise.
55663         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55664         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55665         * sysdeps/sh/sysdep.h: Likewise.
55666         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55667         * sysdeps/unix/i386/sysdep.S: Likewise.
55668         * sysdeps/unix/sparc/start.c: Likewise.
55669         * sysdeps/unix/sparc/sysdep.S: Likewise.
55670         * sysdeps/unix/sparc/sysdep.h: Likewise.
55671         * sysdeps/unix/start.c: Likewise.
55672         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55673         * sysdeps/x86_64/sysdep.h: Likewise.
55675 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55677         [BZ #13553]
55678         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55679         for non-gcc.
55680         * argp/argp-fmtstream.h: Use const instead __const.
55681         * argp/argp.h: Likewise.
55682         * assert/assert.h: Likewise.
55683         * bits/fenv.h: Likewise.
55684         * bits/sched.h: Likewise.
55685         * bits/sigset.h: Likewise.
55686         * bits/sigthread.h: Likewise.
55687         * catgets/nl_types.h: Likewise.
55688         * conform/data/pthread.h-data: Likewise.
55689         * crypt/crypt-private.h: Likewise.
55690         * crypt/crypt.h: Likewise.
55691         * crypt/crypt_util.c: Likewise.
55692         * ctype/ctype.h: Likewise.
55693         * debug/execinfo.h: Likewise.
55694         * debug/mbsnrtowcs_chk.c: Likewise.
55695         * debug/mbsrtowcs_chk.c: Likewise.
55696         * debug/wcsnrtombs_chk.c: Likewise.
55697         * debug/wcsrtombs_chk.c: Likewise.
55698         * debug/wcstombs_chk.c: Likewise.
55699         * dirent/dirent.h: Likewise.
55700         * dlfcn/dlfcn.h: Likewise.
55701         * elf/neededtest4.c: Likewise.
55702         * grp/grp.h: Likewise.
55703         * gshadow/gshadow.h: Likewise.
55704         * iconv/gconv.h: Likewise.
55705         * iconv/gconv_int.h: Likewise.
55706         * iconv/gconv_simple.c: Likewise.
55707         * iconv/iconv.h: Likewise.
55708         * iconv/loop.c: Likewise.
55709         * iconv/skeleton.c: Likewise.
55710         * include/aio.h: Likewise.
55711         * include/aliases.h: Likewise.
55712         * include/argz.h: Likewise.
55713         * include/arpa/inet.h: Likewise.
55714         * include/assert.h: Likewise.
55715         * include/dirent.h: Likewise.
55716         * include/dlfcn.h: Likewise.
55717         * include/execinfo.h: Likewise.
55718         * include/fcntl.h: Likewise.
55719         * include/fenv.h: Likewise.
55720         * include/glob.h: Likewise.
55721         * include/grp.h: Likewise.
55722         * include/libintl.h: Likewise.
55723         * include/mntent.h: Likewise.
55724         * include/netdb.h: Likewise.
55725         * include/pwd.h: Likewise.
55726         * include/rpc/netdb.h: Likewise.
55727         * include/sched.h: Likewise.
55728         * include/search.h: Likewise.
55729         * include/shadow.h: Likewise.
55730         * include/signal.h: Likewise.
55731         * include/stdio.h: Likewise.
55732         * include/stdlib.h: Likewise.
55733         * include/string.h: Likewise.
55734         * include/sys/socket.h: Likewise.
55735         * include/sys/stat.h: Likewise.
55736         * include/sys/statfs.h: Likewise.
55737         * include/sys/statvfs.h: Likewise.
55738         * include/sys/syslog.h: Likewise.
55739         * include/sys/time.h: Likewise.
55740         * include/sys/uio.h: Likewise.
55741         * include/time.h: Likewise.
55742         * include/unistd.h: Likewise.
55743         * include/utmp.h: Likewise.
55744         * include/wchar.h: Likewise.
55745         * include/wctype.h: Likewise.
55746         * inet/aliases.h: Likewise.
55747         * inet/arpa/inet.h: Likewise.
55748         * inet/netinet/ether.h: Likewise.
55749         * inet/netinet/in.h: Likewise.
55750         * intl/libintl.h: Likewise.
55751         * io/bits/fcntl2.h: Likewise.
55752         * io/fcntl.h: Likewise.
55753         * io/ftw.h: Likewise.
55754         * io/sys/poll.h: Likewise.
55755         * io/sys/stat.h: Likewise.
55756         * io/sys/statfs.h: Likewise.
55757         * io/sys/statvfs.h: Likewise.
55758         * io/utime.h: Likewise.
55759         * libio/bits/stdio.h: Likewise.
55760         * libio/bits/stdio2.h: Likewise.
55761         * libio/libio.h: Likewise.
55762         * libio/libioP.h: Likewise.
55763         * libio/stdio.h: Likewise.
55764         * locale/lc-ctype.c: Likewise.
55765         * locale/locale.h: Likewise.
55766         * login/utmp.h: Likewise.
55767         * malloc/arena.c: Likewise.
55768         * malloc/malloc.c: Likewise.
55769         * malloc/malloc.h: Likewise.
55770         * malloc/mcheck.c: Likewise.
55771         * malloc/mtrace.c: Likewise.
55772         * math/bits/mathcalls.h: Likewise.
55773         * math/fenv.h: Likewise.
55774         * math/math_private.h: Likewise.
55775         * misc/bits/error.h: Likewise.
55776         * misc/bits/syslog.h: Likewise.
55777         * misc/err.h: Likewise.
55778         * misc/error.h: Likewise.
55779         * misc/fstab.h: Likewise.
55780         * misc/mntent.h: Likewise.
55781         * misc/regexp.h: Likewise.
55782         * misc/search.h: Likewise.
55783         * misc/sgtty.h: Likewise.
55784         * misc/sys/mman.h: Likewise.
55785         * misc/sys/syslog.h: Likewise.
55786         * misc/sys/uio.h: Likewise.
55787         * misc/sys/xattr.h: Likewise.
55788         * misc/ttyent.h: Likewise.
55789         * nis/rpcsvc/ypclnt.h: Likewise.
55790         * nss/nss.h: Likewise.
55791         * posix/bits/unistd.h: Likewise.
55792         * posix/fnmatch.h: Likewise.
55793         * posix/glob.h: Likewise.
55794         * posix/sched.h: Likewise.
55795         * posix/spawn.h: Likewise.
55796         * posix/sys/wait.h: Likewise.
55797         * posix/unistd.h: Likewise.
55798         * posix/wordexp.h: Likewise.
55799         * pwd/pwd.h: Likewise.
55800         * resolv/netdb.h: Likewise.
55801         * resource/sys/resource.h: Likewise.
55802         * rt/aio.h: Likewise.
55803         * rt/bits/mqueue2.h: Likewise.
55804         * rt/mqueue.h: Likewise.
55805         * shadow/shadow.h: Likewise.
55806         * signal/signal.h: Likewise.
55807         * socket/send.c: Likewise.
55808         * socket/sendto.c: Likewise.
55809         * socket/sys/socket.h: Likewise.
55810         * stdio-common/printf.h: Likewise.
55811         * stdlib/bits/stdlib.h: Likewise.
55812         * stdlib/fmtmsg.h: Likewise.
55813         * stdlib/monetary.h: Likewise.
55814         * stdlib/stdlib.h: Likewise.
55815         * stdlib/ucontext.h: Likewise.
55816         * streams/stropts.h: Likewise.
55817         * string/argz.h: Likewise.
55818         * string/bits/string2.h: Likewise.
55819         * string/string.h: Likewise.
55820         * string/strings.h: Likewise.
55821         * sunrpc/rpc/auth.h: Likewise.
55822         * sunrpc/rpc/auth_des.h: Likewise.
55823         * sunrpc/rpc/clnt.h: Likewise.
55824         * sunrpc/rpc/netdb.h: Likewise.
55825         * sunrpc/rpc/pmap_clnt.h: Likewise.
55826         * sunrpc/rpc/xdr.h: Likewise.
55827         * sysdeps/generic/inttypes.h: Likewise.
55828         * sysdeps/generic/net/if.h: Likewise.
55829         * sysdeps/generic/sys/swap.h: Likewise.
55830         * sysdeps/gnu/net/if.h: Likewise.
55831         * sysdeps/gnu/utmpx.h: Likewise.
55832         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55833         * sysdeps/i386/i486/bits/string.h: Likewise.
55834         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55835         * sysdeps/s390/bits/string.h: Likewise.
55836         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55837         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55838         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55839         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55840         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55841         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55842         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55843         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55844         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55845         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55846         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55847         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55848         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55849         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55850         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55851         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55852         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55853         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55854         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55856         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55857         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55858         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55859         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55860         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55861         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55862         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55864         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55865         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55866         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55867         * sysvipc/sys/ipc.h: Likewise.
55868         * sysvipc/sys/msg.h: Likewise.
55869         * sysvipc/sys/sem.h: Likewise.
55870         * sysvipc/sys/shm.h: Likewise.
55871         * termios/termios.h: Likewise.
55872         * time/sys/time.h: Likewise.
55873         * time/time.h: Likewise.
55874         * wcsmbs/bits/wchar2.h: Likewise.
55875         * wcsmbs/uchar.h: Likewise.
55876         * wcsmbs/wchar.h: Likewise.
55877         * wctype/wctype.h: Likewise.
55879         [BZ #13551]
55880         * Makeconfig: Remove all but ELF support including AIX support.
55881         * Makerules: Likewise.
55882         * config.h.in: Likewise.
55883         * config.make.in: Likewise.
55884         * configure: Likewise.
55885         * configure.in: Likewise.
55886         * csu/Makefile: Likewise.
55887         * csu/version.c: Likewise.
55888         * debug/Makefile: Likewise.
55889         * dlfcn/Makefile: Likewise.
55890         * elf/Makefile: Likewise.
55891         * extra-lib.mk: Likewise.
55892         * iconv/Makefile: Likewise.
55893         * include/libc-symbols.h: Likewise.
55894         * include/shlib-compat.h: Likewise.
55895         * resolv/Makefile: Likewise.
55896         * resolv/res_libc.c: Likewise.
55897         * rt/Makefile: Likewise.
55898         * sysdeps/i386/asm-syntax.h: Likewise.
55899         * sysdeps/i386/sysdep.h: Likewise.
55900         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55901         * sysdeps/mach/sysdep.h: Likewise.
55902         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55903         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55904         * sysdeps/s390/asm-syntax.h: Likewise.
55905         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55906         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55907         * sysdeps/sh/sysdep.h: Likewise.
55908         * sysdeps/unix/sparc/sysdep.h: Likewise.
55909         * sysdeps/wordsize-32/divdi3.c: Likewise.
55910         * sysdeps/x86_64/sysdep.h: Likewise.
55912         * argp/Versions: Remove _argp_unlock_xxx.
55914         [BZ #13559]
55915         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55916         * abilist/libBrokenLocale.abilist: Likewise.
55917         * abilist/libanl.abilist: Likewise.
55918         * abilist/libc.abilist: Likewise.
55919         * abilist/libcrypt.abilist: Likewise.
55920         * abilist/libdl.abilist: Likewise.
55921         * abilist/libm.abilist: Likewise.
55922         * abilist/libnsl.abilist: Likewise.
55923         * abilist/libpthread.abilist: Likewise.
55924         * abilist/libresolv.abilist: Likewise.
55925         * abilist/librt.abilist: Likewise.
55926         * abilist/libthread_db.abilist: Likewise.
55927         * abilist/libutil.abilist: Likewise.
55928         * abilist/libnss_db.abilist: New file.
55930         * scripts/abilist.awk: Add support for indirect functions.
55932         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55934         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55936         * shlib-versions: Remove entries for ports architectures.
55938         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55939         files in ports.
55940         * elf/stackguard-macros.h: Remove support for IA-64.
55941         * elf/tst-auditmod1.c: Likewise.
55942         * sysdeps/generic/ldsodefs.h: Likewise.
55944         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55945         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55946         configure files.
55948         [BZ #13552]
55949         * configure.in: Remove --enable-omitfp support.
55950         * FAQ.in: Adjust.
55951         * config.make.in: Likewise.
55952         * Makeconfig: Likewise.
55953         * manual/install.texi: Likewise.
55955         In case anyone cares, the IA-64 architecture could move to ports.
55956         * sysdeps/ia64/*: Removed.
55957         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55958         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55960         [BZ #13555]
55961         * configure.in: Remove entries for unsupported architectures.
55963         [BZ #13533]
55964         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55965         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55966         routines.
55967         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55968         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55969         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55970         fall back to using wcrtomb.
55971         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55972         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55973         renaming.
55974         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55975         * wcsmbs/tst-c16c32-1.c: New file.
55977         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55978         local variable.
55980         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55982         * elf/tst-unique3.cc: Add explicit declaration of gets.
55983         * elf/tst-unique3lib.cc: Likewise.
55984         * elf/tst-unique3lib2.cc: Likewise.
55985         * elf/tst-unique4.cc: Likewise.
55987         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55989 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55991         [BZ #13566]
55992         * assert/assert.h (static_assert): Don't define for C++.
55993         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55994         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55996 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55998         * iconv/loop.c (single loop): Fix assertion in storing of
55999         remaining bytes.
56001         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56003 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56005         * posix/getconf.c: Update copyright year.
56006         * nss/getent.c: Likewise.
56007         * nss/makedb.c: Likewise.
56008         * iconv/iconvconfig.c: Likewise.
56009         * iconv/iconv_prog.c: Likewise.
56010         * elf/ldconfig.c: Likewise.
56011         * elf/pldd.c: Likewise.
56012         * elf/sotruss.ksh: Likewise.
56013         * catgets/gencat.c: Likewise.
56014         * csu/version.c: Likewise.
56015         * elf/ldd.bash.in: Likewise.
56016         * elf/sprof.c (print_version): Likewise.
56017         * locale/programs/locale.c: Likewise.
56018         * locale/programs/localedef.c: Likewise.
56019         * login/programs/pt_chown.c: Likewise.
56020         * nscd/nscd.c (print_version): Likewise.
56021         * debug/xtrace.sh: Likewise.
56022         * malloc/memusage.sh: Likewise.
56023         * malloc/mtrace.pl: Likewise.
56024         * debug/catchsegv.sh: Likewise.
56026 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56028         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56029         pure attribute.
56031 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56033         [BZ #13533]
56034         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56035         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56036         transformations.
56037         * iconv/gconv_int.h: Likewise.
56038         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56039         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56040         from libc for GLIBC_2.16.
56041         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56042         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56043         * wcsmbs/uchar.h: Really define mbstate_t.
56044         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56045         * wcsmbs/c16rtomb.c: New file.
56046         * wcsmbs/mbrtoc16.c: New file.
56047         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56048         for C/POSIX locale.
56049         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56050         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56052         * wcsmbs/wchar.h: Add missing __restrict.
56054 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56056         [BZ #13532]
56057         * time/Makefile (routines): Add timespec_get.
56058         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56059         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56060         timespec for ISO C11.
56061         * time/timespec_get.c: New file.
56062         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56063         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56065         [BZ #13531]
56066         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56067         * stdlib/stdlib.h: Declare aligned_alloc.
56068         * Versions.def: Add GLIBC_2.16 for libc.
56069         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56071         [BZ 13527]
56072         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56073         ISO C11.
56075         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56076         code.
56078         [BZ #13528]
56079         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56081         [BZ #13529]
56082         * assert/assert.h (static_assert): Define.
56084         * version.h: Update for 2.16 development version.
56086         [BZ #13526]
56087         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56088         _ISOC11_SOURCE.
56090         * version.h (RELEASE): Bump for 2.15 release.
56091         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56093         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56094         Patch by Marek Polacek <mpolacek@redhat.com>.
56096         * bits/byteswap.h: Protect long long constants with __extension__.
56097         * sysdeps/i386/bits/byteswap.h: Likewise.
56098         * sysdeps/ia64/bits/byteswap.h: Likewise.
56099         * sysdeps/s390/bits/byteswap.h: Likewise.
56100         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56102 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56104         [BZ #13540]
56105         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56106         destination buffer.
56107         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56109 2011-12-23  Marek Polacek  <polacek@redhat.com>
56111         * elf/dl-addr.c (determine_info): Add inline keyword.
56112         * elf/tst-auditmod4b.c (check_avx): Likewise.
56113         * elf/tst-auditmod6b.c (check_avx): Likewise.
56114         * elf/tst-auditmod6c.c (check_avx): Likewise.
56115         * elf/tst-auditmod7b.c (check_avx): Likewise.
56117 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56119         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56120         !__SSE_MATH__.
56122 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56124         [BZ #13540]
56125         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56126         processing for last bytes.
56128 2011-08-06  Bruno Haible  <bruno@clisp.org>
56130         [BZ #13061]
56131         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56132         U+0385, not to U+1FEE.
56134         [BZ #13062]
56135         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56136         entry for U+00A5 U+0301.
56138 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56140         [BZ #13166]
56141         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56142         buffer for the output is too small.
56144         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56145         optimization.
56147         [BZ #13185]
56148         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56149         SSE flags if possible.
56151 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56153         [BZ #13540]
56154         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56155         processing for last bytes.
56157 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56159         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56160         (syscall-list-default-options, syscall-list-default-condition)
56161         (syscall-list-includes): Define.
56162         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56163         list of ABIs and options and #if conditions for each ABI.  Do not
56164         handle common syscalls between ABIs specially.
56165         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56166         Remove.
56167         (syscall-list-variants, syscall-list-32bit-options)
56168         (syscall-list-32bit-condition, syscall-list-64bit-options)
56169         (syscall-list-64bit-condition): Define.
56170         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56171         (syscall-list-variants, syscall-list-32bit-options)
56172         (syscall-list-32bit-condition, syscall-list-64bit-options)
56173         (syscall-list-64bit-condition): Define.
56174         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56175         Remove.
56176         (syscall-list-variants, syscall-list-32bit-options)
56177         (syscall-list-32bit-condition, syscall-list-64bit-options)
56178         (syscall-list-64bit-condition): Define.
56179         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56180         Remove.
56181         (syscall-list-variants, syscall-list-32bit-options)
56182         (syscall-list-32bit-condition, syscall-list-64bit-options)
56183         (syscall-list-64bit-condition): Define.
56185 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56187         * locale/iso-639.def: Add brx entry.
56189         [BZ #13328]
56190         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56191         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56193         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56194         __feraiseexcept_renamed.
56196 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56198         [BZ #13538]
56199         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56200         EPOLLET with unsigned values.
56201         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56202         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56204         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56205         to large cancellation.
56206         * math/s_cacoshf.c: Likewise.
56207         * math/s_cacoshl.c: Likewise.
56209 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56211         [BZ #13305]
56212         [BZ #12786]
56213         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56214         * math/s_cacoshf.c: Likewise.
56215         * math/s_cacoshl.c: Likewise.
56217 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56219         [BZ #13439]
56220         * iconv/gconv.h: Define __GCONV_SWAP.
56221         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56222         * iconvdata/utf-16.c: Likewise.
56223         * iconvdata/utf-32.c: Likewise.
56225 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56227         [BZ #13524]
56228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56229         numerator after shifting it by one limb.
56231 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56233         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56234         under [__USE_EXTERN_INLINES].
56236 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56238         [BZ #13446]
56239         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56241 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56243         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56244         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56245         optimized code.
56246         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56247         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56248         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56249         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56250         for strncasecmp/strncasecmp_l compilation.
56251         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56252         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56254 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56256         [BZ #13484]
56257         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56258         of __asm__.
56260 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56262         [BZ #13506]
56263         * time/tzfile.c (__tzfile_read): Check values from file header.
56265 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56267         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56268         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56269         * powerpc/powerpc32/dl-start.S: Likewise.
56270         * powerpc/powerpc32/elf/start.S: Likewise.
56271         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56272         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56273         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56274         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56275         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56276         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56277         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56278         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56279         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56280         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56281         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56282         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56283         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56284         * powerpc/powerpc32/memset.S: Likewise.
56285         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56286         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56287         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56288         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56289         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56290         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56291         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56292         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56293         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56294         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56295         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56296         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56297         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56299 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56301         * math/libm-test.inc: Added more nearbyint tests.
56302         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56303         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56307 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56309         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56310         FD_CLOEXEC.
56312 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56314         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56315         Add wcscpy-ssse3 wcscpy-c.
56316         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56317         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56318         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56319         * sysdeps/x86_64/wcschr.S: New file.
56320         * sysdeps/x86_64/wcsrchr.S: New file.
56321         * string/test-strcmp.c: Remove checking of wcscmp function for
56322         wrong alignments.
56323         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56324         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56325         wcsrchr-sse2 wcsrchr-c.
56326         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56327         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56328         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56329         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56330         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56331         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56332         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56333         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56334         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56335         * wcsmbc/wcschr.c (WCSCHR): New macro.
56337 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56339         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56340         * wcsmbs/test-wcsrchr.c: New file.
56341         * string/test-strrchr.c: Add wcsrchr support.
56342         (WIDE): New macro.
56343         * wcsmbs/test-wcscpy.c: New file.
56344         * string/test-strcpy.c: Add wcscpy support.
56345         (WIDE): New macro.
56347 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56349         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56350         the inner loop.
56352 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56354         [BZ #13472]
56355         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56357 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56359         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56360         Minor optimizations.
56362         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56363         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56364         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56366 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56368         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56369         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56370         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56371         for gcc to avoid warnings.
56372         * inet/Makefile (tests): Add tst-checks.
56373         * inet/tst-checks.c: New file.
56375         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56376         warning.
56378         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56379         __wmemcmp_sse2.
56381         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56382         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56384         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56386 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56388         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56389         problem.
56391         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56393 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56395         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56396         conditional on GCC version.
56397         (__arch_compare_and_exchange_val_8_acq)
56398         (__arch_compare_and_exchange_val_16_acq)
56399         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56400         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56401         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56403 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56405         * sysdeps/sh/backtrace.c: New file.
56407 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56409         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56410         parenthesis.
56412 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56414         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56415         falling back to utime.
56417 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56419         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56420         expectations for float.
56422 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56424         * locale/weight.h (findidx): Add parameter len.
56425         * locale/weightwc.h (findidx): Likewise.
56426         * posix/fnmatch_loop.c (FCT): Adjust caller.
56427         * posix/regcomp.c (build_equiv_class): Likewise.
56428         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56429         * posix/regexec.c (check_node_accept_bytes): Likewise.
56430         * string/strcoll_l.c (STRCOLL): Likewise.
56431         * string/strxfrm_l.c (STRXFRM): Likewise.
56433 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56435         * Makefile.in: Remove CVSOPT handling.
56436         * configure.in: Remove use of AC_REVISION.
56437         * iconvdata/Makefile (distribute): No need to filter out CVS.
56438         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56439         handling.
56441 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56444         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56445         [USE_AS_STRNCASECMP_L]: Likewise.
56446         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56447         NO_TLS_DIRECT_SEG_REFS.
56448         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56449         Fix argument offsets for non-PIC.
56450         [USE_AS_STRNCASECMP_L]: Likewise.
56451         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56452         NO_TLS_DIRECT_SEG_REFS.
56454 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56456         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56457         O_CLOEXEC.
56458         * locale/loadlocale.c (_nl_load_locale): Likewise.
56460 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56462         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56463         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56464         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56465         (SYSCALL_GETTIME): Set errno on error.
56467         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56468         count references to noai6ai_cached.
56470 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56472         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56474         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56475         FD_CLOEXEC for /proc/self/maps.
56477         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56478         FD_CLOEXEC for /proc/meminfo.
56480         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56481         gai.conf.
56483         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56484         FD_CLOEXEC for given file.
56486         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56488         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56489         FD_CLOEXEC for /etc/hosts.
56490         (_gethtent): Likewise.
56492         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56494         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56495         cancellation and set FD_CLOEXEC for /etc/netgroup.
56497         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56498         reading /etc/publickey.
56500         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56501         allow cancellation when reading /etc/group.
56503         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56504         cancellation.
56505         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56507         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56508         when using data file.
56510         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56512         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56513         (write_nis_obj): Use "c" and "e" in fopen.
56515         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56517         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56519         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56521         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56523         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56524         locale.alias.
56526         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56528         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56530         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56532         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56533         file parsing and set FD_CLOEXEC.
56535 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56537         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56539 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56541         * malloc/arena.c (arena_get2): Don't call reused_arena when
56542         _int_new_arena failed.
56544 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56546         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56547         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56548         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56549         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56550         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56551         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56552         to compile strcasecmp and strncasecmp.
56553         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56554         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56556         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56558 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56560         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56561         locale-defines.sym to gen-as-const-headers.
56562         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56563         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56564         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56565         to compile strcasecmp and strncasecmp.
56566         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56567         strcasecmp_l and strncasecmp_l.
56568         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56569         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56570         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56571         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56572         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56573         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56574         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56575         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56576         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56577         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56578         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56580 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56582         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56583         result of SYSDEP_GETTIME_CPU to retval.
56584         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56585         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56587         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56588         variable.
56590         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56591         mantissa words.
56592         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56594         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56595         from unused variable.
56597         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56598         DWARF definitions.
56599         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56600         for assembling.
56602         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56603         over namespaces.
56605         * sunrpc/rpc_prot.c (rejected): Fix case value.
56607         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56608         unsigned long long int to avoid warnings in shift.
56610         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56611         of use of trans.
56612         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56613         variable tmp.
56615         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56616         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56617         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56619         * nis/nis_table.c (nis_list): Use variable of correct type for
56620         result of __follow_path call.
56622 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56624         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56625         of math functions ceil, trunc, floor, round, and sqrt, when
56626         avaliable on the platform.
56627         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56628         name clash.
56629         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56630         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56631         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56633 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56635         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56636         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56638 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56640         * include/unistd.h: Fix __readlink return type.
56641         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56643 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56645         * stdlib/ucontext.h: Undo last change for makecontext.
56647 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56649         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56651         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56652         * setjmp/setjmp.h: Mark functions as non-leaf.
56653         * setjmp/bits/setjmp2.h: Likewise.
56654         * stdlib/ucontext.h: Likewise.
56656 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56658         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56659         (reused_arena): Don't check arena limit.
56660         (arena_get2): Atomically check arena limit.
56662 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56664         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56665         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56667         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56668         instructions.
56670 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56672         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56673         handler when locking.
56675         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56676         Fix size of allocated buffer.
56678 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56680         [BZ #10103]
56681         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56682         declarations for long double functions.
56683         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56685         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56687 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56689         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56690         installed.
56692         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56693         is disabled.
56695 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56697         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56699 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56701         * include/alloca.h (stackinfo_alloca_round): Define.
56702         (extend_alloca): Use it.
56703         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56704         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56705         here.
56707         * scripts/check-local-headers.sh: Ignore libaudit.h.
56709         * nscd/Makefile (extra-objs): Make recursively expanded.
56711 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56713         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56716         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56717         * posix/tst-rfc3484-2.c: Likewise.
56718         * posix/tst-rfc3484-3.c: Likewise.
56720         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56721         process_vm_writev.
56722         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56723         process_vm_writev.
56724         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56725         process_vm_writev from libc using GLIBC_2.15 version.
56727         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56729 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56731         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56732         stack usage.
56734 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56736         [BZ #13367]
56737         * nss/getent.c (initgroups_keys): Show error message in case no group
56738         names are given.
56740         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56741         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56742         __bump_nl_timestamp.
56743         * nscd/connections (nscd_init): When host database is served open
56744         netlink socket and request notification about configuration changes.
56745         (main_loop_poll): Track netlink file descriptor and bump timestamp
56746         in case data becomes available.
56747         (main_loop_epoll): Likewise.
56748         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56749         (database_pers_head): Add extra_data fileds.
56750         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56751         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56752         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56753         Adjust caller.
56754         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56755         in6ai data, call __free_in6ai.
56756         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56757         Add -DHAVE_NETLINK.
56758         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56759         interface information.  Reuse previous data if netlink timestamp
56760         is not changed.
56761         (__bump_nl_timestamp): New function.
56762         (__free_in6ai): New function.
56764 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56766         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56767         close_not_cancel_no_status here.
56768         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56770 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56772         [BZ #13276]
56773         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56774         return value.
56776         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56777         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56778         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56780 2011-07-03  Andreas Jaeger  <aj@suse.de>
56782         [BZ #10709]
56783         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56784         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56785         * math/libm-test.inc (sin_test): Add test case.
56787 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56789         [BZ #13337]
56790         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56791         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56793         * elf/chroot_canon.c (chroot_canon): Cleanups.
56795         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56797         [BZ #13335]
56798         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56799         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56801         * string/test-strchr.c: Make usable for strchrnul testing.
56802         * string/test-strchrnul.c: New file.
56803         * string/Makefile (strop-tests): Add strchrnul.
56805         * po/it.po: Update from translation team.
56806         * po/es.po: Likewise.
56808 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56810         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56811         the three constants needed as parameters.  Drop the others.
56812         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56813         __m128i_strloadu_tolower.
56814         Create and initialize variable zero and use it in all the places
56815         where _mm_setzero_si128 was used.
56817         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56818         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56819         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56820         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56821         anymore.
56822         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56823         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56824         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56825         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56826         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56827         __mpranred, __mptan.
56828         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56829         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56830         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56831         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56832         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56833         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56834         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56835         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56836         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56838 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56840         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56841         redefine if SHARED.
56842         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56844         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56845         wide char related routines to wcsmbs subdir.
56847 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56849         [BZ #13344]
56850         * misc/sys/cdefs.h (__THROWNL): Define.
56851         * posix/unistd.h: Use __THREADNL instead of __THREAD
56852         for memory synchronization functions.
56854 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56856         [BZ #13349]
56857         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56858         doesn't exist.
56859         * manual/stdio.texi (Obstack Streams): Node removed.
56861 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56863         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56864         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56865         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56867         * math/math_private.h (math_force_eval): Allow non-addressable
56868         arguments.
56869         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56871 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56873         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56874         file is not needed.
56876         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56877         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56878         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56879         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56880         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56881         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56882         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56883         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56884         Add AVX variants.
56885         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56886         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56887         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56888         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56889         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56890         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56891         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56892         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56893         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56894         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56895         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56896         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56897         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56898         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56899         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56900         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56901         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56902         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56903         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56905         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56906         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56908         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56909         place.  Use VEX encoding when compiling for AVX.
56911 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56913         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56914         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56916         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56918 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56920         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56921         useless if() expression.
56922         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56925         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56927         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56928         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56930         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56931         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56932         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56933         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56934         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56935         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56936         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56937         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56938         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56940         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56942         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56944 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56946         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56947         condition.
56948         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56950 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56952         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56953         .text section.  Avoid duplicate constants.
56954         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56955         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56956         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56958         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56962         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56963         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56964         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56965         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56966         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56967         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56968         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56969         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56970         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56971         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56973         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56974         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56977         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56978         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56979         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56980         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56981         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56982         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56983         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56984         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56985         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56986         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56987         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56988         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56989         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56990         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56991         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56992         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56993         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56994         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56995         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56996         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56997         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56998         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57000 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57002         * sysdeps/x86_64/dla.h: Move to ...
57003         * sysdeps/x86_64/fpu/dla.h: ...here.
57004         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57005         situations.  Use __builtin_fma only for gcc 4.6 and up.
57007         * config.make.in: Add have-mfma4 entry.
57008         * configure.in: Substitute libc_cv_cc_fma4.
57009         * math/Makefile (dbl-only-routines): Add sincostab.
57010         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57011         Use __sincostab not sincos.
57012         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57013         name is a macro.
57014         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57015         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57016         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57017         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57018         using __copysign.
57019         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57020         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57021         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57022         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57023         and __inv.
57024         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57025         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57026         __copysign.
57027         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57028         define aliases when function name is a macro.
57029         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57030         sysdeps/ieee754/dbl-64/sincos.tbl.
57031         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57032         fma4-enabled routines.
57033         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57034         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57035         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57036         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57037         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57038         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57040         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57041         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57042         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57043         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57044         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57045         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57046         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57047         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57048         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57049         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57050         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57051         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57052         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57053         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57054         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57055         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57056         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57058         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57059         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57060         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57061         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57062         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57064         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57065         rename.
57066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57067         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57075 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57077         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57079 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57081         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57083         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57084         prediction.
57085         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57087         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57088         Remove unused variable magic_bits.
57089         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57091         * string/strnlen.c: Define and use STRNLEN macro.
57092         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57093         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57094         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57095         * wcsmbs/wcslen.c: Define and use WCSLEN.
57096         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57097         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57098         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57099         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57100         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57101         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57102         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57104 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57107         strnlen-sse2-no-bsf.
57108         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57110         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57111         Add strnlen support.
57112         (USE_AS_STRNLEN): New macro.
57113         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57114         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57115         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57116         * sysdeps/x86_64/wcslen.S: New file.
57118 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57120         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57121         XMM-moves are used for copying on small sizes.
57123 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57125         * wcsmbs/Makefile (strop-tests): Add wcschr.
57126         * wcsmbs/test-wcschr.c: New file.
57127         * string/test-strchr.c: Update.
57128         Add wcschr support.
57129         (WIDE): New macro.
57131 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57133         * wcsmbs/Makefile (strop-tests): Add wcslen.
57134         * wcsmbs/test-wcslen.c: New file.
57135         * string/test-strlen.c: Update.
57136         Add wcslen support.
57137         (WIDE): New macro.
57139 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57141         * po/it.po: Update from translation team.
57143 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57145         * sysdeps/x86_64/wcscmp.S: Update.
57146         Fix wrong comparison semantics.
57147         wcscmp shall use signed comparison not unsigned.
57148         Don't use substraction to avoid overflow bug.
57149         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57150         * wcsmbc/wcscmp.c: Likewise.
57151         * string/test-strcmp.c: Likewise.
57152         Add new tests to check cases with negative values.
57154 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57156         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57157         * sysdeps/x86_64/dla.h: ...here.  New file.
57158         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57159         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57163         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57166         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57168 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57171         __ynl_finite aliases.
57173 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57177         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57178         define DLA_FMA.
57179         [DLA_FMA] (EMULV): Use DLA_FMA.
57180         [DLA_FMA] (MUL12): Use EMULV.
57181         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57182         that are not needed.
57183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57186         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57191 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57193         * math/s_nan.c: Undef __nan.
57194         * math/s_nanf.c: Undef __nanf.
57195         * math/s_nanl.c: Undef __nanl.
57196         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57197         "math_private.h".
57199 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57201         * math/s_catan.c: Add branch predictions.
57202         * math/s_catanf.c: Likewise.
57203         * math/s_catanh.c: Likewise.
57204         * math/s_catanhf.c: Likewise.
57205         * math/s_catanhl.c: Likewise.
57206         * math/s_catanl.c: Likewise.
57207         * math/s_cexp.c: Likewise.
57208         * math/s_cexpf.c: Likewise.
57209         * math/s_cexpl.c: Likewise.
57210         * math/s_clog.c: Likewise.
57211         * math/s_clog10.c: Likewise.
57212         * math/s_clog10f.c: Likewise.
57213         * math/s_clog10l.c: Likewise.
57214         * math/s_clogf.c: Likewise.
57215         * math/s_clogl.c: Likewise.
57216         * math/s_csqrt.c: Likewise.
57217         * math/s_csqrtf.c: Likewise.
57218         * math/s_csqrtl.c: Likewise.
57219         * math/s_ctanf.c: Likewise.
57220         * math/s_ctanh.c: Likewise.
57221         * math/s_ctanhf.c: Likewise.
57222         * math/s_ctanhl.c: Likewise.
57223         * math/s_ctanl.c: Likewise.
57225         * math/math_private.h: Define __nan, __nanf, __nanl.
57226         * math/s_cacosh.c: Include <math_private.h>.
57227         * math/s_cacoshl.c: Likewise.
57228         * math/s_casinh.c: Likewise.
57229         * math/s_casinhf.c: Likewise.
57230         * math/s_casinhl.c: Likewise.
57231         * math/s_ccos.c: Rely entire on ccosh.
57232         * math/s_ccosf.c: Rely entire on ccoshf.
57233         * math/s_ccosl.c: Rely entirely on ccoshl.
57234         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57235         Remove tests for FE_INVALID.
57236         * math/s_ccoshf.c: Likewise.
57237         * math/s_ccoshl.c: Likewise.
57238         * math/s_csin.c: Likewise.
57239         * math/s_csinf.c: Likewise.
57240         * math/s_csinh.c Likewise.
57241         * math/s_csinhf.c: Likewise.
57242         * math/s_csinhl.c: Likewise.
57243         * math/s_csinl.c: Likewise.
57244         * math/s_ctan.c: Likewise.
57245         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57246         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57247         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57249 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57252         compilation problems.
57254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57255         __builtin_expect.
57257 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57259         * sysdeps/i386/configure.in: Test for -mfma4 option.
57260         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57261         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57262         COMMON_CPUID_INDEX_80000001.
57263         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57264         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57265         use it if FMA3 is not supported.
57266         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57268         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57269         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57271 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57273         [BZ #12892]
57274         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57275         it would create a cycle with a link time dependency.
57277 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57279         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57280         instruction.
57281         * string/Makefile (strop-tests): Add rawmemchr.
57282         * string/test-rawmemchr.c: New file.
57284         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57285         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57286         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57287         when compiling str{,n}casecmp and when AVX is available.  Hook up
57288         new optimized code in initializers.
57290 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57292         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57293         __feraiseexcept instead of feraiseexcept.
57295 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57297         * math/math_private.h: Define defaults for libc_fetestexcept and
57298         libc_feupdateenv.
57299         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57300         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57301         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57302         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57303         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57304         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57305         libc_fetestexcept and libc_feupdateenv.
57307         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57308         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57309         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57310         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57311         libc_feholdexcept_setround.
57313         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57314         Add s_nearbyint-c and s_nearbyintf-c.
57315         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57316         nearbyintf inlines.
57317         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57318         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57319         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57320         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57322         * math/math_private.h: Define defaults for libc_fegetround,
57323         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57324         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57325         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57326         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57327         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57328         standard functions.
57329         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57330         Remove comments and hacks for old compiler versions.
57331         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57332         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57333         libc_feholdexceptl.
57335 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57337         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57338         (__feraiseexcept_renamed): Add __NTH.
57339         (feraiseexcept): Add __NTH.  Rename local variables to fix
57340         namespace violations.
57342 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57344         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57346         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57348         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57349         recently added interfaces.
57350         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57352         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57353         about macro parameter expansion.
57355         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57356         __NO_MATH_INLINES is defined.  Cleanups.
57358         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57359         and __floorf is target has SSE4.1.
57360         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57361         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57362         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57363         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57365         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57366         name.
57367         (floorf): Likewise.
57369         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57371 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57373         * misc/sys/cdefs.h: Fix last change.
57375         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57376         database lookup.
57378 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57380         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57382         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57383         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57384         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57387         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57388         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57389         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57390         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57391         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57392         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57393         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57394         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57395         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57396         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57397         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57398         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57399         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57400         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57401         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57402         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57403         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57405         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57406         ceil, ceilf, floor, floorf.
57408         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57409         Perform IRELATIVE relocations last.
57411         * elf/do-rel.h: Add another parameter nrelative, replacing the
57412         local variable with the same name.  Change name of the function
57413         to end in Rel or Rela (uppercase).
57414         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57415         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57416         elf_dynamic_do_##reloc function.
57418 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57420         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57421         is sufficient, at least on modern CPUs.
57423         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57425         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57428         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57429         __expl_finite.
57430         * math/bits/math-finite.h: Add entries for exp.
57431         * math/e_expl.c: Add __*_finite alias.
57432         * sysdeps/i386/fpu/e_exp.S: Likewise.
57433         * sysdeps/i386/fpu/e_expf.S: Likewise.
57434         * sysdeps/i386/fpu/e_expl.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57436         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57437         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57438         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57440         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57441         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57443         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57444         is sufficient, at least on modern CPUs.
57446         * ctype/ctype-info.c (__ctype_init): Define.
57447         * include/ctype.h (__ctype_init): Declare.
57448         (__ctype_b_loc): The variable is always initialized.
57449         (__ctype_toupper_loc): Likewise.
57450         (__ctype_tolower_loc): Likewise.
57451         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57452         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57454 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57456         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57458         * configure.in: Also look in $cxxmachine/include for C++ system
57459         headers.
57461 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57463         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57464         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57465         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57466         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57468         (USE_AS_WMEMCMP): New macro.
57469         Fixing indents.
57470         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57471         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57472         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57473         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57475         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57476         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57477         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57478         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57479         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57480         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57481         (USE_AS_WMEMCMP): New macro.
57482         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57483         * sysdeps/string/test-memcmp.c: Update.
57484         Fix simple_wmemcmp.
57485         Add new tests.
57486         * wcsmbs/wmemcmp.c: Update.
57487         (WMEMCMP): New macro.
57488         Fix overflow bug.
57490 2011-10-12  Andreas Jaeger  <aj@suse.de>
57492         [BZ #13268]
57493         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57495 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57497         * libio/iofwide.c (do_length): Avoid warning.
57499         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57501 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57503         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57505         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57506         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57507         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57508         * sysdeps/i386/i686/fpu/e_log.S: New file.
57509         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57510         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57512         * ctype/ctype.h: Add support for inlined isXXX functions when
57513         compiling C++ code.
57515 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57517         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57519         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57521 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57523         [BZ #13291]
57524         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57526 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57528         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57529         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57530         feraiseexcept.
57532         * sysdeps/x86_64/memrchr.S: Check for zero size.
57534         * string/stratcliff.c: Add memrchr tests.
57536 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57539         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57540         rawmemchr-sse2 rawmemchr-sse2-bsf.
57541         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57542         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57543         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57544         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57545         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57546         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57547         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57548         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57549         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57550         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57551         * string/memrchr.c (MEMRCHR): New macro.
57553 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57555         Add integration with gcc's -ffinite-math-only and optimize wrapper
57556         functions in libm.
57557         * Versions.def: Define GLIBC_2.15 version for libm.
57558         * math/Makefile (headers): Add bits/math-finite.h.
57559         * math/bits/math-finite.h: New file.
57560         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57561         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57562         * math/e_acoshl.c: Add __*_finite alias.
57563         * math/e_acosl.c: Likewise.
57564         * math/e_asinl.c: Likewise.
57565         * math/e_atan2l.c: Likewise.
57566         * math/e_atanhl.c: Likewise.
57567         * math/e_coshl.c: Likewise.
57568         * math/e_exp10.c: Likewise.
57569         * math/e_exp10f.c: Likewise.
57570         * math/e_exp10l.c: Likewise.
57571         * math/e_exp2l.c: Likewise.
57572         * math/e_fmodl.c: Likewise.
57573         * math/e_gammal_r.c: Likewise.
57574         * math/e_hypotl.c: Likewise.
57575         * math/e_j0l.c: Likewise.
57576         * math/e_j1l.c: Likewise.
57577         * math/e_jnl.c: Likewise.
57578         * math/e_lgammal_r.c: Likewise.
57579         * math/e_log10l.c: Likewise.
57580         * math/e_log2l.c: Likewise.
57581         * math/e_logl.c: Likewise.
57582         * math/e_powl.c: Likewise.
57583         * math/e_sinhl.c: Likewise.
57584         * math/e_sqrtl.c: Likewise.
57585         * math/e_scalb.c: Completely rewritten and optimized.
57586         * math/e_scalbf.c: Likewise.
57587         * math/e_scalbl.c: Likewise.
57588         * math/w_acos.c: Likewise.
57589         * math/w_acosf.c: Likewise.
57590         * math/w_acosl.c: Likewise.
57591         * math/w_acosh.c: Likewise.
57592         * math/w_acoshf.c: Likewise.
57593         * math/w_acoshl.c: Likewise.
57594         * math/w_asin.c: Likewise.
57595         * math/w_asinf.c: Likewise.
57596         * math/w_asinl.c: Likewise.
57597         * math/w_atan2.c: Likewise.
57598         * math/w_atan2f.c: Likewise.
57599         * math/w_atan2l.c: Likewise.
57600         * math/w_atanh.c: Likewise.
57601         * math/w_atanhf.c: Likewise.
57602         * math/w_atanhl.c: Likewise.
57603         * math/w_exp10.c: Likewise.
57604         * math/w_exp10f.c: Likewise.
57605         * math/w_exp10l.c: Likewise.
57606         * math/w_fmod.c: Likewise.
57607         * math/w_fmodf.c: Likewise.
57608         * math/w_fmodl.c: Likewise.
57609         * math/w_j0.c: Likewise.
57610         * math/w_j0f.c: Likewise.
57611         * math/w_j0l.c: Likewise.
57612         * math/w_j1.c: Likewise.
57613         * math/w_j1f.c: Likewise.
57614         * math/w_j1l.c: Likewise.
57615         * math/w_jn.c: Likewise.
57616         * math/w_jnf.c: Likewise.
57617         * math/w_log.c: Likewise.
57618         * math/w_logf.c: Likewise.
57619         * math/w_logl.c: Likewise.
57620         * math/w_log10.c: Likewise.
57621         * math/w_log10f.c: Likewise.
57622         * math/w_log10l.c: Likewise.
57623         * math/w_log2.c: Likewise.
57624         * math/w_log2f.c: Likewise.
57625         * math/w_log2l.c: Likewise.
57626         * math/w_pow.c: Likewise.
57627         * math/w_powf.c: Likewise.
57628         * math/w_powl.c: Likewise.
57629         * math/w_remainder.c: Likewise.
57630         * math/w_remainderf.c: Likewise.
57631         * math/w_remainderl.c: Likewise.
57632         * math/w_scalb.c: Likewise.
57633         * math/w_scalbf.c: Likewise.
57634         * math/w_scalbl.c: Likewise.
57635         * math/w_sqrt.c: Likewise.
57636         * math/w_sqrtf.c: Likewise.
57637         * math/w_sqrtl.c: Likewise.
57638         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57639         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57640         used.
57641         * math/math_private.h: Declare __kernel_standard_f.
57642         * math/w_cosh.c: Remove cruft and optimize a bit.
57643         * math/w_coshf.c: Likewise.
57644         * math/w_coshl.c: Likewise.
57645         * math/w_exp2.c: Likewise.
57646         * math/w_exp2f.c: Likewise.
57647         * math/w_exp2l.c: Likewise.
57648         * math/w_hypot.c: Likewise.
57649         * math/w_hypotf.c: Likewise.
57650         * math/w_hypotl.c: Likewise.
57651         * math/w_lgamma.c: Likewise.
57652         * math/w_lgamma_r.c: Likewise.
57653         * math/w_lgammaf.c: Likewise.
57654         * math/w_lgammaf_r.c: Likewise.
57655         * math/w_lgammal.c: Likewise.
57656         * math/w_lgammal_r.c: Likewise.
57657         * math/w_sinh.c: Likewise.
57658         * math/w_sinhf.c: Likewise.
57659         * math/w_sinhl.c: Likewise.
57660         * math/w_tgamma.c: Likewise.
57661         * math/w_tgammaf.c: Likewise.
57662         * math/w_tgammal.c: Likewise.
57663         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57664         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57665         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57666         Minor optimizations.  Pretty printing.  Remove cruft.
57667         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57668         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57669         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57670         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57671         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57672         * sysdeps/i386/fpu/e_asin.S: Likewise.
57673         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57674         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57675         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57676         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57677         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57678         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57679         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57680         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57681         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57682         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57683         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57684         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57685         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57686         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57687         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57688         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57689         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57690         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57691         * sysdeps/i386/fpu/e_log.S: Likewise.
57692         * sysdeps/i386/fpu/e_log10.S: Likewise.
57693         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57694         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57695         * sysdeps/i386/fpu/e_log2.S: Likewise.
57696         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57697         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57698         * sysdeps/i386/fpu/e_logf.S: Likewise.
57699         * sysdeps/i386/fpu/e_logl.S: Likewise.
57700         * sysdeps/i386/fpu/e_pow.S: Likewise.
57701         * sysdeps/i386/fpu/e_powf.S: Likewise.
57702         * sysdeps/i386/fpu/e_powl.S: Likewise.
57703         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57704         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57705         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57706         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57707         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57708         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57709         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57710         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57711         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57712         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57716         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57718         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57719         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57720         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57722         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57724         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57725         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57726         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57732         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57733         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57734         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57735         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57736         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57737         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57738         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57739         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57741         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57742         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57743         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57744         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57746         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57747         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57748         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57749         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57750         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57751         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57752         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57753         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57754         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57755         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57756         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57757         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57758         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57759         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57760         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57761         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57762         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57763         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57764         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57765         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57766         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57767         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57768         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57769         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57770         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57771         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57772         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57773         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57776         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57777         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57778         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57779         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57780         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57781         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57782         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57786         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57787         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57788         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57789         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57790         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57792         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57793         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57794         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57796         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57797         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57800         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57801         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57803         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57804         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57805         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57806         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57807         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57808         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57809         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57810         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57811         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57812         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57813         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57814         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57815         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57816         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57817         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57818         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57819         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57820         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57821         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57822         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57823         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57824         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57825         (__isnanf): Likewise.
57826         (__isinf_ns): Likewise.
57827         (__isinf_nsf): Likewise.
57828         (__finite): Likewise.
57829         (__finitef): Likewise.
57830         (__ieee754_sqrt): Define as macro.
57831         (__ieee754_sqrtf): Define as macro.
57832         (__ieee754_sqrtl): Define as macro.
57833         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57834         inlined copy.
57835         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57836         __FINITE_MATH_ONLY__ consistent.
57837         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57839 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57841         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57842         of rawmemchr.
57844         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57846 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57848         * po/ja.po: Update from translation team.
57850 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57852         * locale/programs/locarchive.c (prepare_address_space): New function.
57853         (create_archive, enlarge_archive, open_archive): Use it.
57855         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57856         inside [SHARED], where it is used.
57858         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57860         * nss/getent.c (netgroup_keys): Remove unused variable.
57861         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57863 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57865         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57866         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57867         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57868         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57869         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57870         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57871         * math/Makefile (libm-calls): Add s_isinf_ns.
57872         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57873         * math/multc3.c: Likewise.
57874         * math/s_casin.c: Likewise.
57875         * math/s_casinf.c: Likewise.
57876         * math/s_casinl.c: Likewise.
57877         * math/s_ccos.c: Likewise.
57878         * math/s_ccosf.c: Likewise.
57879         * math/s_ccosl.c: Likewise.
57880         * math/s_ctan.c: Likewise.
57881         * math/s_ctanf.c: Likewise.
57882         * math/s_ctanh.c: Likewise.
57883         * math/s_ctanhf.c: Likewise.
57884         * math/s_ctanhl.c: Likewise.
57885         * math/s_ctanl.c: Likewise.
57886         * math/w_fmod.c: Likewise.
57887         * math/w_fmodf.c: Likewise.
57888         * math/w_fmodl.c: Likewise.
57889         * math/w_remainder.c: Likewise.
57890         * math/w_remainderf.c: Likewise.
57891         * math/w_remainderl.c: Likewise.
57892         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57893         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57894         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57895         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57896         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57897         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57898         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57899         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57901         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57902         of the number.
57903         * stdio-common/printf_fphex.c: Likewise.
57904         * stdio-common/printf_size.c: Likewise.
57906         * math/e_exp10.c: Include math_private.h using <...> not "...".
57907         * math/e_exp10f.c: Likewise.
57908         * math/e_exp10l.c: Likewise.
57909         * math/e_exp2l.c: Likewise.
57910         * math/e_j0l.c: Likewise.
57911         * math/e_j1l.c: Likewise.
57912         * math/e_jnl.c: Likewise.
57913         * math/e_lgammal_r.c: Likewise.
57914         * math/e_rem_pio2l.c: Likewise.
57915         * math/e_scalb.c: Likewise.
57916         * math/e_scalbf.c: Likewise.
57917         * math/e_scalbl.c: Likewise.
57918         * math/k_cosl.c: Likewise.
57919         * math/k_sinl.c: Likewise.
57920         * math/k_tanl.c: Likewise.
57921         * math/s_cacoshf.c: Likewise.
57922         * math/s_catan.c: Likewise.
57923         * math/s_catanf.c: Likewise.
57924         * math/s_catanh.c: Likewise.
57925         * math/s_catanhf.c: Likewise.
57926         * math/s_catanhl.c: Likewise.
57927         * math/s_catanl.c: Likewise.
57928         * math/s_ccosh.c: Likewise.
57929         * math/s_ccoshf.c: Likewise.
57930         * math/s_ccoshl.c: Likewise.
57931         * math/s_cexp.c: Likewise.
57932         * math/s_cexpf.c: Likewise.
57933         * math/s_cexpl.c: Likewise.
57934         * math/s_clog.c: Likewise.
57935         * math/s_clog10.c: Likewise.
57936         * math/s_clog10f.c: Likewise.
57937         * math/s_clog10l.c: Likewise.
57938         * math/s_clogf.c: Likewise.
57939         * math/s_clogl.c: Likewise.
57940         * math/s_csin.c: Likewise.
57941         * math/s_csinf.c: Likewise.
57942         * math/s_csinh.c: Likewise.
57943         * math/s_csinhf.c: Likewise.
57944         * math/s_csinhl.c: Likewise.
57945         * math/s_csinl.c: Likewise.
57946         * math/s_csqrt.c: Likewise.
57947         * math/s_csqrtf.c: Likewise.
57948         * math/s_csqrtl.c: Likewise.
57949         * math/s_ctan.c: Likewise.
57950         * math/s_ctanf.c: Likewise.
57951         * math/s_ctanh.c: Likewise.
57952         * math/s_ctanhf.c: Likewise.
57953         * math/s_ctanhl.c: Likewise.
57954         * math/s_ctanl.c: Likewise.
57955         * math/s_ldexp.c: Likewise.
57956         * math/s_ldexpf.c: Likewise.
57957         * math/s_ldexpl.c: Likewise.
57958         * math/s_significand.c: Likewise.
57959         * math/s_significandf.c: Likewise.
57960         * math/s_significandl.c: Likewise.
57961         * math/w_acos.c: Likewise.
57962         * math/w_acosf.c: Likewise.
57963         * math/w_acosh.c: Likewise.
57964         * math/w_acoshf.c: Likewise.
57965         * math/w_acoshl.c: Likewise.
57966         * math/w_acosl.c: Likewise.
57967         * math/w_asin.c: Likewise.
57968         * math/w_asinf.c: Likewise.
57969         * math/w_asinl.c: Likewise.
57970         * math/w_atan2.c: Likewise.
57971         * math/w_atan2f.c: Likewise.
57972         * math/w_atan2l.c: Likewise.
57973         * math/w_atanh.c: Likewise.
57974         * math/w_atanhf.c: Likewise.
57975         * math/w_atanhl.c: Likewise.
57976         * math/w_cosh.c: Likewise.
57977         * math/w_coshf.c: Likewise.
57978         * math/w_coshl.c: Likewise.
57979         * math/w_dremf.c: Likewise.
57980         * math/w_exp10.c: Likewise.
57981         * math/w_exp10f.c: Likewise.
57982         * math/w_exp10l.c: Likewise.
57983         * math/w_exp2.c: Likewise.
57984         * math/w_exp2f.c: Likewise.
57985         * math/w_fmod.c: Likewise.
57986         * math/w_fmodf.c: Likewise.
57987         * math/w_fmodl.c: Likewise.
57988         * math/w_hypot.c: Likewise.
57989         * math/w_hypotf.c: Likewise.
57990         * math/w_hypotl.c: Likewise.
57991         * math/w_j0.c: Likewise.
57992         * math/w_j0f.c: Likewise.
57993         * math/w_j0l.c: Likewise.
57994         * math/w_j1.c: Likewise.
57995         * math/w_j1f.c: Likewise.
57996         * math/w_j1l.c: Likewise.
57997         * math/w_jn.c: Likewise.
57998         * math/w_jnf.c: Likewise.
57999         * math/w_jnl.c: Likewise.
58000         * math/w_lgamma.c: Likewise.
58001         * math/w_lgamma_r.c: Likewise.
58002         * math/w_lgammaf.c: Likewise.
58003         * math/w_lgammaf_r.c: Likewise.
58004         * math/w_lgammal.c: Likewise.
58005         * math/w_lgammal_r.c: Likewise.
58006         * math/w_log.c: Likewise.
58007         * math/w_log10.c: Likewise.
58008         * math/w_log10f.c: Likewise.
58009         * math/w_log10l.c: Likewise.
58010         * math/w_log2.c: Likewise.
58011         * math/w_log2f.c: Likewise.
58012         * math/w_log2l.c: Likewise.
58013         * math/w_logf.c: Likewise.
58014         * math/w_logl.c: Likewise.
58015         * math/w_pow.c: Likewise.
58016         * math/w_powf.c: Likewise.
58017         * math/w_powl.c: Likewise.
58018         * math/w_remainder.c: Likewise.
58019         * math/w_remainderf.c: Likewise.
58020         * math/w_remainderl.c: Likewise.
58021         * math/w_scalb.c: Likewise.
58022         * math/w_scalbf.c: Likewise.
58023         * math/w_scalbl.c: Likewise.
58024         * math/w_sinh.c: Likewise.
58025         * math/w_sinhf.c: Likewise.
58026         * math/w_sinhl.c: Likewise.
58027         * math/w_sqrt.c: Likewise.
58028         * math/w_sqrtf.c: Likewise.
58029         * math/w_sqrtl.c: Likewise.
58030         * math/w_tgamma.c: Likewise.
58031         * math/w_tgammaf.c: Likewise.
58032         * math/w_tgammal.c: Likewise.
58034         * po/ja.po: Update from translation team.
58036 2011-09-29  Andreas Jaeger  <aj@suse.de>
58038         [BZ #13179]
58039         * sunrpc/netname.c (netname2host): Fix logic.
58041         [BZ #6779]
58042         [BZ #6783]
58043         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58044         correctly.
58045         * math/w_remainder.c (__remainder): Likewise.
58046         * math/w_remainderf.c (__remainderf): Likewise.
58047         * math/libm-test.inc (remainder_test): Add test cases.
58049 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58051         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58052         sdiv_qrnnd.
58054 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58056         * string/test-memcmp.c: Avoid unncessary #defines.
58057         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58059 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58061         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58062         Use new sse2 version for core i3 - i7 as it's faster
58063         than sse42 version.
58064         (bit_Prefer_PMINUB_for_stringop): New.
58065         * sysdeps/x86_64/rawmemchr.S: Update.
58066         Replace with faster SSE2 version.
58067         * sysdeps/x86_64/memrchr.S: New file.
58068         * sysdeps/x86_64/memchr.S: Update.
58069         Replace with faster SSE2 version.
58071 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58073         * elf/dl-load.c (lose): Add cast to avoid warning.
58075 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58077         * po/ca.po: Update from translation team.
58079         * inet/getnetgrent_r.c: Hook up nscd.
58080         * nscd/Makefile (routines): Add nscd_netgroup.
58081         (nscd-modules): Add netgroupcache.
58082         (CFLAGS-netgroupcache.c): Define.
58083         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58084         (cache_search): Add const to second parameter.
58085         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58086         INNETGR.
58087         (dbs): Add netgrdb entry.
58088         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58089         (verify_persistent_db): Handle netgrdb.
58090         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58091         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58092         GETFDNETGR.
58093         (netgroup_response_header): Define.
58094         (innetgroup_response_header): Define.
58095         (datahead): Add netgroup_response_header and innetgroup_response_header
58096         elements.
58097         * nscd/nscd.conf: Add entries for netgroup cache.
58098         * nscd/nscd.h (dbtype): Add netgrdb.
58099         (_PATH_NSCD_NETGROUP_DB): Define.
58100         (netgroup_iov_disabled): Declare.
58101         (xmalloc, xcalloc, xrealloc): Move declarations here.
58102         (cache_search): Adjust prototype.
58103         Add netgroup-related prototypes.
58104         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58105         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58106         (__nscd_innetgr): Declare.
58107         * nscd/selinux.c (perms): Use access_vector_t as element type and
58108         add netgroup-related initializers.
58109         * nscd/netgroupcache.c: New file.
58110         * nscd/nscd_netgroup.c: New file.
58111         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58112         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58113         For four parameters use innetgr.
58114         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58115         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58116         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58117         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58119         * nscd/connections.c (register_traced_file): Don't register file
58120         for disabled databases.
58122 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58124         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58126         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58127         from tree and freeing node.
58129 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58131         * nss/nsswitch.c (__nss_database_lookup): Handle
58132         nss_parse_service_list out of memory case.
58134 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58136         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58137         out of memory case.
58139 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58141         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58142         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58143         pass it down.
58144         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58145         elf_machine_rela, elf_machine_lazy_rel.
58146         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58147         (ELF_DYNAMIC_DO_REL): Likewise.
58148         (ELF_DYNAMIC_DO_RELA): Likewise.
58149         (ELF_DYNAMIC_RELOCATE): Likewise.
58150         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58151         to ELF_DYNAMIC_DO_REL.
58152         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58153         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58154         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58155         elf_machine_rela.
58156         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58157         skip_ifunc, don't call ifunc function if non-zero.
58158         (elf_machine_rela): Likewise.
58159         (elf_machine_lazy_rel): Likewise.
58160         (elf_machine_lazy_rela): Likewise.
58161         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58162         (elf_machine_lazy_rel): Likewise.
58163         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58164         Likewise.
58165         (elf_machine_lazy_rel): Likewise.
58166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58167         Likewise.
58168         (elf_machine_lazy_rel): Likewise.
58169         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58170         (elf_machine_lazy_rel): Likewise.
58171         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58172         (elf_machine_lazy_rel): Likewise.
58173         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58174         (elf_machine_lazy_rel): Likewise.
58175         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58176         (elf_machine_lazy_rel): Likewise.
58177         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58178         (elf_machine_lazy_rel): Likewise.
58179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58180         (elf_machine_lazy_rel): Likewise.
58182 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58184         * nss/nss_files/files-init.c (_nss_files_init): Use static
58185         initialization for all the *_traced_file variables.
58187 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58189         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58191 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58193         [BZ #13226]
58194         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58196 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58198         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58199         Reread the line before reparsing it.
58201 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58203         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58205 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58206             Maxim Kuvyrkov  <maxim@codesourcery.com>
58207             Joseph Myers  <joseph@codesourcery.com>
58209         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58210         if needed for __stack_chk_guard.
58212 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58214         * sysdeps/posix/spawni.c (script_execute): Always define it.
58215         It will be optimized away if unused.
58216         (maybe_script_execute): New function.
58217         (__spawni): Call it.
58219         * Makerules: Don't include tls.make.
58220         (config-tls): Always set to thread.
58221         * tls.make.c: File removed.
58223 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58225         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58226         * config.make.in (CPPFLAGS-config): New substituted variable.
58228 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58230         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58232         [BZ #13192]
58233         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58234         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58236 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58238         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58239         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58240         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58241         (CALL_FAIL): Likewise.
58242         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58243         (CALL_FAIL): Macro removed.
58244         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58246 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58248         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58249         for __FINITE_MATH_ONLY__ == 1.
58251 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58253         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58254         __ieee754_sqrt instead of sqrt.
58255         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58256         __ieee754_sqrtf instead of sqrtf.
58257         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58258         __floorf instead of floorf.
58259         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58260         __floorf, __truncf instead of floorf, truncf.
58262 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58264         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58266         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58267         __extern_always_inline.
58268         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58269         32-bit.
58271 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58273         * elf/rtld.c (dl_main): Also relocate in dependency order when
58274         doing symbol dependency testing.
58276 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58278         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58279         Always define `refsym'.
58281 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58283         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58284         (__FD_ELT): Renamed from __FDELT.
58285         * misc/bits/select2.h (__FD_ELT): Likewise.
58286         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58287         __FD_MASK instead of __FDELT, __FDMASK.
58288         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58289         Likewise.
58290         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58291         Likewise.
58293         * elf/Makefile (gen-ldd): Fix pattern.
58295         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58296         (init_tls): Likewise.
58298 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58302 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58304         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58305         `struct cmsghdr *' instead of `void *'.
58306         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58307         Likewise.
58309 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58311         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58312         if non-absolute.
58313         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58314         ldd_rewrite_script.
58316 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58318         * configure.in: Remove --with-tls option.
58319         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58320         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58321         out in case it is missing.
58322         * sysdeps/ia64/elf/configure.in: Likewise.
58323         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58324         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58325         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58326         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58327         * sysdeps/sh/elf/configure.in: Likewise.
58328         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58329         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58330         * sysdeps/x86_64/elf/configure.in: Likewise.
58331         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58332         * sysdeps/mach/hurd/tls.h: Likewise.
58334         [BZ #13067]
58335         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58337         [BZ #13090]
58338         * configure.in: Fix use of AC_INIT.
58340         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58342 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58344         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58345         __set_errno.
58346         * malloc/hooks.c: Likewise.
58348         [BZ #11929]
58349         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58350         variables statically.
58351         (narenas): Initialize.
58352         (list_lock): Initialize.
58353         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58354         initializtion of main_arena and list_lock.  Small cleanups.
58355         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58356         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58357         Add initializers to main_arena and mp_.
58358         (malloc_state): Remove pagesize member.  Change all users to use
58359         GLRO(dl_pagesize).
58361         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58362         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58363         is always initialized.
58365         * malloc/malloc.c: Removed unused configurations and dead code.
58366         * malloc/arena.c: Likewise.
58367         * malloc/hooks.c: Likewise.
58368         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58370         * include/tls.h: Removed.  USE___THREAD must always be defined.
58371         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58372         * elf/dl-libc.c: Likewise.
58373         * elf/dl-tsd.c: Likewise.
58374         * include/errno.h: Likewise.
58375         * include/netdb.h: Likewise.
58376         * include/resolv.h: Likewise.
58377         * inet/herrno-loc.c: Likewise.
58378         * inet/herrno.c: Likewise.
58379         * malloc/arena.c: Likewise.
58380         * malloc/hooks.c: Likewise.
58381         * malloc/malloc.c: Likewise.
58382         * resolv/res-state.c: Likewise.
58383         * resolv/res_libc.c: Likewise.
58384         * sysdeps/i386/dl-machine.h: Likewise.
58385         * sysdeps/ia64/dl-machine.h: Likewise.
58386         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58387         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58388         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58389         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58390         * sysdeps/sh/dl-machine.h: Likewise.
58391         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58392         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58393         * sysdeps/unix/i386/sysdep.S: Likewise.
58394         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58395         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58400         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58404         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58405         * sysdeps/x86_64/dl-machine.h: Likewise.
58406         * tls.make.c: Likewise.
58408         * configure.in: Remove --with-__thread option.  Make tests for
58409         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58410         tls_model attribute fail if no support is available.  Remove
58411         USE_IN_LIBIO.
58412         * Makeconfig: Adjust for dropped configure option.  All features are
58413         now mandatory.
58414         * Makerules: Likewise.
58415         * Versions.def: Likewise.
58416         * argp/argp-fmtstream.c: Likewise.
58417         * argp/argp-fmtstream.h: Likewise.
58418         * argp/argp-help.c: Likewise.
58419         * assert/assert.c: Likewise.
58420         * config.h.in: Likewise.
58421         * config.make.in: Likewise.
58422         * configure: Likewise.
58423         * configure.in: Likewise.
58424         * csu/Versions: Likewise.
58425         * csu/init.c: Likewise.
58426         * elf/tst-audit2.c: Likewise.
58427         * elf/tst-tls10.c: Likewise.
58428         * elf/tst-tls10.h: Likewise.
58429         * elf/tst-tls11.c: Likewise.
58430         * elf/tst-tls12.c: Likewise.
58431         * elf/tst-tls14.c: Likewise.
58432         * elf/tst-tlsmod11.c: Likewise.
58433         * elf/tst-tlsmod12.c: Likewise.
58434         * elf/tst-tlsmod13.c: Likewise.
58435         * elf/tst-tlsmod13a.c: Likewise.
58436         * elf/tst-tlsmod14a.c: Likewise.
58437         * elf/tst-tlsmod15b.c: Likewise.
58438         * elf/tst-tlsmod16a.c: Likewise.
58439         * elf/tst-tlsmod16b.c: Likewise.
58440         * elf/tst-tlsmod7.c: Likewise.
58441         * elf/tst-tlsmod8.c: Likewise.
58442         * elf/tst-tlsmod9.c: Likewise.
58443         * gmon/gmon.c: Likewise.
58444         * grp/fgetgrent_r.c: Likewise.
58445         * grp/putgrent.c: Likewise.
58446         * hurd/fopenport.c: Likewise.
58447         * include/libc-symbols.h: Likewise.
58448         * include/tls.h: Likewise.
58449         * intl/gettextP.h: Likewise.
58450         * intl/loadinfo.h: Likewise.
58451         * locale/global-locale.c: Likewise.
58452         * locale/localeinfo.h: Likewise.
58453         * mach/devstream.c: Likewise.
58454         * malloc/arena.c: Likewise.
58455         * malloc/set-freeres.c: Likewise.
58456         * misc/err.c: Likewise.
58457         * misc/getttyent.c: Likewise.
58458         * misc/mntent_r.c: Likewise.
58459         * posix/getopt.c: Likewise.
58460         * posix/wordexp.c: Likewise.
58461         * pwd/fgetpwent_r.c: Likewise.
58462         * resolv/Versions: Likewise.
58463         * resolv/res_hconf.c: Likewise.
58464         * shadow/fgetspent_r.c: Likewise.
58465         * shadow/putspent.c: Likewise.
58466         * stdio-common/printf_fphex.c: Likewise.
58467         * stdio-common/tmpfile.c: Likewise.
58468         * stdlib/abort.c: Likewise.
58469         * stdlib/fmtmsg.c: Likewise.
58470         * sunrpc/auth_unix.c: Likewise.
58471         * sunrpc/clnt_perr.c: Likewise.
58472         * sunrpc/clnt_tcp.c: Likewise.
58473         * sunrpc/clnt_udp.c: Likewise.
58474         * sunrpc/clnt_unix.c: Likewise.
58475         * sunrpc/openchild.c: Likewise.
58476         * sunrpc/svc_simple.c: Likewise.
58477         * sunrpc/svc_tcp.c: Likewise.
58478         * sunrpc/svc_udp.c: Likewise.
58479         * sunrpc/svc_unix.c: Likewise.
58480         * sunrpc/xdr.c: Likewise.
58481         * sunrpc/xdr_array.c: Likewise.
58482         * sunrpc/xdr_rec.c: Likewise.
58483         * sunrpc/xdr_ref.c: Likewise.
58484         * sunrpc/xdr_stdio.c: Likewise.
58486 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58488         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58490 2011-07-03  Andreas Jaeger  <aj@suse.de>
58492         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58493         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58494         regenerate with gen-libm-tests.pl.
58496 2010-05-12  Petr Baudis  <pasky@suse.cz>
58498         [BZ #11589]
58499         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58500         around j0() zero points by switching to j1().
58501         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58502         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58503         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58506 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58508         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58509         instead of 0.
58510         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58511         instead of 0.
58512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58513         Patch in part by Pavel Roskin <proski@gnu.org>.
58515         [BZ #13138]
58516         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58517         realloc.
58518         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58519         Free memory block if necessary.
58521         [BZ #12847]
58522         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58523         be NULL.  Don't lock in this case.
58525 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58527         * elf/elf.h (ELFOSABI_GNU): New macro.
58528         (ELFOSABI_LINUX): Define to that.
58530 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58532         * string/strncat.c (strncat): Undef the symbol in case it has been
58533         defined in bits/string.h.
58535 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58537         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58539         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58540         link map.
58542 2011-08-17  Andreas Jaeger  <aj@suse.de>
58544         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58546 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58547             Ian Lance Taylor  <iant@google.com>
58549         * math/libm-test.inc (lround_test): New testcase.
58550         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58552 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58554         * Makefile: Remove support for automatic cvs check-ins.
58555         * Makerules: Likewise.
58556         * config.make.in: Likewise.
58557         * configure.in: Likewise.
58558         * intl/Makefile: Likewise.
58559         * locale/Makefile: Likewise.
58560         * po/Makefile: Likewise.
58561         * posix/Makefile: Likewise.
58562         * sysdeps/gnu/Makefile: Likewise.
58563         * sysdeps/mach/hurd/Makefile: Likewise.
58564         * sysdeps/sparc/sparc32/Makefile: Likewise.
58566         [BZ #13118]
58567         * posix/Makefile (bug-regex32-ENV): Define.
58568         Patch by John Stanley <jpsinthemix@verizon.net>.
58570         * misc/Makefile (headers): Add bits/select2.h.
58571         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58572         * misc/bits/select2.h: New file.
58573         * include/bits/select2.h: New file.
58574         * debug/Makefile (routines): Add fdelt_chk.
58575         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58576         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58577         FD_ISSET.
58578         * debug/fdelt_chk.c: New file.
58580         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58581         * wcsmbs/test-wmemcmp.c: Likewise.
58582         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58583         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58585 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58587         * string/Makefile (strop-tests): Add memcmp.
58588         * string/test-wmemcmp.c: New file.
58589         * string/test-memcmp.c: Add wmemcmp support.
58591 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58593         [BZ #13153]
58594         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58595         2011-07-19 change.
58597         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58598         garbage value in a __mach_port_mod_refs call in the cases of the
58599         task-self and thread-self ports.
58601 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58603         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58605 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58607         * elf/dl-load.c (lose): Check for non-null L.
58609 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58611         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58613         * elf/dl-libc.c (dlerror_run): Pass back error code from
58614         dl_catch_error.
58616         [BZ #13123]
58617         * elf/dl-load.c (lose): Free l_origin if it is valid.
58619         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58620         names.
58621         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58622         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58623         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58624         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58625         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58626         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58628 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58630         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58631         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58632         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58633         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58634         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58635         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58636         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58637         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58638         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58639         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58641 2011-08-15  Alan Modra  <amodra@gmail.com>
58643         [BZ #13092]
58644         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58645         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58646         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58647         ppc_mcount to static-only-routines.
58648         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58649         __mcount_internal.
58650         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58651         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58653 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58655         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58656         for finite and infinity parameters.
58658 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58661         and add nop instructions for throughput optimization.
58662         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58664 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58667         aligned copy for power7 with vector-scalar instructions.
58668         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58670 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58673         AVX check.
58675 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58677         [BZ #13144]
58678         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58679         last change.
58681 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58683         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58684         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58685         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58686         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58687         clock_gettime.
58689 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58691         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58692         Forgot to demangle the pointer.
58694         * sysdeps/i386/sysdep.h: Define atom_text_section.
58695         * sysdeps/x86_64/sysdep.h: Likewise.
58696         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58697         section with atom_text_section.
58698         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58699         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58700         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58701         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58702         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58704         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58705         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58706         already be defined.  Change to take two parameters and don't assign
58707         result to variable.  Adjust all users.
58708         Define INTERNAL_GETTIME if not already defined.
58709         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58710         call.
58711         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58712         HAVE_CLOCK_GETTIME_VSYSCALL.
58713         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58715         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58716         gettimeofday vsyscall, just use time.
58718 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58720         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58721         <errno.h>.
58723 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58725         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58726         syscall on x86-64.
58727         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58728         syscall.
58729         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58730         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58731         syscall if possible.
58733 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58735         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58736         e_ident.  Don't pass to find_mapsXX.
58737         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58739 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58742         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58743         * sysdeps/x86_64/multiarch/strchr.S: Update.
58744         Check bit_slow_BSF bit.
58745         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58746         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58747         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58749 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58751         [BZ #13134]
58752         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58753         before glibc 2.15.
58754         (tryshell): Define.
58755         (__spawni): Change last parameter to be flag.  Test
58756         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58757         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58758         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58759         * posix/spawni.c: Likewise.
58760         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58761         * posix/spawnp.c: Likewise.  Change normal version to use
58762         SPAWN_XFLAGS_USE_PATH.
58763         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58764         SPAWN_XFLAGS_TRY_SHELL.
58766         [BZ #13150]
58767         * posix/glob.h: Remove gcc 1.x support.
58769         [BZ #13068]
58770         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58772 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58775         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58776         strrchr-sse2-bsf
58777         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58778         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58779         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58780         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58781         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58782         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58784 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58786         * sysdeps/x86_64/wcscmp.S: New file.
58788         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58789         wcscmp-c wcscmp-sse2
58790         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58791         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58792         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58793         * wcsmbs/wcscmp.c: Allow renaming.
58795 2011-09-05  David S. Miller  <davem@davemloft.net>
58797         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58798         stack slot, rather than the struct return pointer slot.
58799         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58800         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58802         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58804 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58806         * po/ja.po: Update from translation team.
58808         [BZ #13144]
58809         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58810         kernel in 64-bit binaries.
58812 2011-09-01  David S. Miller  <davem@davemloft.net>
58814         * elf/elf.h (HWCAP_SPARC_*): Move to..
58815         * sysdeps/sparc/sysdep.h: this new file and add new values.
58816         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58817         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58818         _DL_HWCAP_COUNT to 24.
58819         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58820         entries.
58821         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58822         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58823         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58824         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58825         instead of magic constants.
58826         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58828 2011-08-31  David S. Miller  <davem@davemloft.net>
58830         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58832         Reimplement to do errno handling inline.
58833         (SYSCALL_ERROR_HANDLER): New macro.
58834         (__SYSCALL_STRING): Do not do errno handling in asm.
58835         (__CLONE_SYSCALL_STRING): Delete.
58836         (__INTERNAL_SYSCALL_STRING): Delete.
58837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58838         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58839         (PSEUDO): Reimplement to do errno handling inline.
58840         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58841         (SYSCALL_ERROR_HANDLER): New macro.
58842         (__SYSCALL_STRING): Do not do errno handling in asm.
58843         (__CLONE_SYSCALL_STRING): Delete.
58844         (__INTERNAL_SYSCALL_STRING): Delete.
58845         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58846         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58847         i386.
58848         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58849         (inline_syscall*): Add 'err' argument.
58850         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58851         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58852         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58853         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58855         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58856         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58858 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58860         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58862 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58864         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58865         directive.
58867 2011-08-24  David S. Miller  <davem@davemloft.net>
58869         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58871 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58873         * elf/Makefile: Add rules to build and run unload8 test.
58874         * elf/unload8.c: New file.
58875         * elf/unload8mod1.c: New file.
58876         * elf/unload8mod1x.c: New file.
58877         * elf/unload8mod2.c: New file.
58878         * elf/unload8mod3.c: New file.
58880         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58881         it wasn't used.
58883 2011-08-23  David S. Miller  <davem@davemloft.net>
58885         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58886         subtract stack bias.
58887         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58888         %sp not %fp in calculations.
58889         (_JMPBUF_UNWINDS_ADJ): Likewise.
58891         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58892         (aio_suspend): Call it to force an exception region around the
58893         AIO_MISC_WAIT() invocation.
58895 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58897         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58898         backslash.
58900 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58902         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58903         protection macro.
58904         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58905         and <dl-machine.h>.
58906         (Elf64_FuncDesc): Remove.
58908 2011-08-22  David S. Miller  <davem@davemloft.net>
58910         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58911         sigaltstack check, add missing cfi directives.
58912         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58913         missing cfi directives, and sigaltstack handling.
58915 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58917         [BZ #11724]
58918         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58919         object is seen twice.
58920         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58922         * elf/Makefile (distribute): Add tst-initorder2.c.
58923         (tests): Add tst-initorder2.
58924         (modules-names): Add tst-initorder2a tst-initorder2b
58925         tst-initorder2c tst-initorder2d.  Add rules to build them.
58926         ($(objpfx)tst-initorder2.out): New rule.
58927         * elf/tst-initorder2.c: New file.
58928         * elf/tst-initorder2.exp: New file.
58930 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58932         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58934         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58935         dependencies back to end of function.
58937         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58938         $(elfobjdir)/ld.so.
58940 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58943         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58944         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58945         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58946         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58947         of __vdso_gettimeofday.
58948         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58949         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58950         attribute_hidden.
58951         (_libc_vdso_platform_setup): Remove initialization of
58952         __vdso_gettimeofday and __vdso_time.
58954 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58956         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58957         and fgetc_unlocked.
58958         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58959         getc_unlocked.
58961         * elf/dl-open.c (add_to_global): Report additions to the global scope
58962         for LD_DEBUG=scopes.
58963         (dl_open_worker): Also print scope of newly loaded dependencies.
58964         (_dl_show_scope): Indicate if there is no scope.
58966         [BZ #13114]
58967         * stdio-common/Makefile (tests): Add bug24.
58968         * stdio-common/bug24.c: New file.
58970 2011-08-19  Andreas Jaeger  <aj@suse.de>
58972         [BZ #13114]
58973         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58974         non-existant file when using close-on-exec mode.
58976 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58979         the very first instruction.
58981         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58982         the CFI state in the end.
58983         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58984         inclusion of dl-trampoline.h.
58985         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58987 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58989         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58990         expectations for long double.
58992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58993         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58995 2011-08-14  David S. Miller  <davem@davemloft.net>
58997         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58998         artificual limit depends upon the system page size.
59000 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59002         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59003         * resolv/Makefile: Define CFLAGS-libresolv.
59005 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59007         * nss/makedb.c (compute_tables): Make variables used in nested
59008         function static.
59010 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59012         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59013         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59014         if buffer was too small.
59016         * elf/pldd.c (main): Attach to all threads in the process.
59017         Rewrite /proc handling to use *at functions.
59019 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59021         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59022         specifies first scope to show.
59023         (dl_open_worker): Update callers.  Move printing scope of new
59024         object to before the relocation.
59025         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59026         * sysdeps/generic/ldsodefs.h: Update declaration.
59028         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59029         string for the scope number.
59031 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59033         * nscd/servicescache.c (cache_addserv): Make sure written is always
59034         initialized.
59036 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59038         * sysdeps/i386/i486/bits/atomic.h
59039         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59040         statement expression, so as to suppress "set but not used" warning.
59041         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59043         * string/strncat.c (STRNCAT): Use prototype definition.
59045         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59046         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59047         -Iprograms here.
59048         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59049         (localedef-modules): Add localedef.
59050         (locale-modules): Add locale.
59052         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59053         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59054         to avoid a warning.
59056 2011-08-14  David S. Miller  <davem@davemloft.net>
59058         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59059         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59061 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59063         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59064         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59065         * elf/rtld.c (dl_main): Set l_name of vDSO.
59066         Call _dl_show_scope when DL_DEBUG_SCOPES.
59067         (process_dl_debug): Recognize scopes flag and also set it for all.
59068         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59069         Declare _dl_show_scope.
59071         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59072         (do_dlopen): Pass caller_dlopen to dl_open.
59073         (__libc_dlopen_mode): Initialize caller_dlopen.
59075         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59076         of libc.  Make tolower call locale-independent.  Optimize a bit by
59077         using isdigit instead of isalnum.
59078         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59080 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59082         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59083         was a dependency or dynamically loaded.
59085 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59087         * intl/l10nflist.c: Allow architecture-specific pop function.
59088         * sysdeps/x86_64/l10nflist.c: New file.
59090         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59091         classification.
59093 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59095         * include/dirent.h: Add libc_hidden_proto for scandirat and
59096         scandirat64.  Don't declare __scandirat64.
59097         * dirent/scandirat.c: Add libc_hidden_def.
59098         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59099         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59101 2011-08-10  David S. Miller  <davem@davemloft.net>
59103         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59104         enum.
59105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59107         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59109 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59111         * Versions.def [libc]: Add GLIBC_2.15.
59112         * dirent/Makefile (routines): Add scandirat and scandirat64.
59113         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59114         GLIBC_2.15.
59115         * dirent/dirent.h: Declare scandirat and scandirat64.
59116         * dirent/scandirat.c: New file.
59117         * dirent/scandirat64.c: New file.
59118         * sysdeps/wordsize-64/scandirat.c: New file.
59119         * sysdeps/wordsize-64/scandirat64.c: New file.
59120         * dirent/opendir.c: Define opendirat.
59121         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59122         using scandirat.
59123         * dirent/scandir64.c: Adjust for scandir.c change.
59124         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59125         __scandirat64, and __scandir_cancel_handler.
59126         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59127         additional parameter and use openat instead of open (outside of ld.so).
59128         Add new __opendir as wrapper around __opendirat.
59129         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59130         here without requiring old scandirat implementation.
59132 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59134         * dirent/scandir.c (cancel_handler): Renamed to
59135         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59136         defined.  Adjust users.
59137         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59138         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59140 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59142         * string/test-string.h (IMPL): Use __STRING to expand name and then
59143         stringify it.
59145         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59146         of cleanups.
59148 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59150         * string/Makefile: Update.
59151         (strop-tests): Append strncat.
59152         * string/test-wcscmp.c: New file.
59153         New comprehensive test for wcscmp.
59154         * string/test-strcmp.c: Update.
59155         (WIDE): New define.
59157 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59159         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59160         line.
59162 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59165         encoding to ACE if AI_IDN.
59167 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59169         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59170         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59172 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59174         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59175         Fix overflow bug in strncat.
59176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59178         * string/test-strncat.c: Update.
59179         Add new tests for checking overflow bugs.
59181 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59184         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59185         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59186         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59187         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59188         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59189         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59190         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59191         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59194         (USE_AS_STRCAT): Define.
59195         Add strcat and strncat support.
59196         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59198 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59200         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59201         __n bigger than INT_MAX+1.
59202         (__strncmp_g): Likewise.
59204 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59206         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59207         * libio/stido.h: Likewise.
59209         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59210         (AF_NFC): Define.
59211         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59212         (AF_NFC): Define.
59214         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59215         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59216         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59217         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59220         [BZ #13021]
59221         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59222         installed.
59224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59225         typo.
59226         (_dl_x86_64_save_sse): Likewise.
59228 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59231         OSXSAVE.
59232         (_dl_x86_64_save_sse): Likewise.
59234         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59236         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59238 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59241         change.
59242         (_dl_x86_64_save_sse): Use correct AVX check.
59244 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59246         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59247         bug in strncpy/strncat.
59248         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59250 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59252         * string/tester.c (test_strcat): Add tests for different alignments
59253         of source and destination.
59254         (test_strncat): Likewise.
59256 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59258         [BZ #12852]
59259         * posix/glob.c (glob): Check passed in values before using them in
59260         expressions to avoid some overflows.
59261         (glob_in_dir): Likewise.
59263         [BZ #13007]
59264         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59265         check for AVX enablement so that we don't crash with old kernels and
59266         new hardware.
59267         * elf/tst-audit4.c: Add same checks here.
59268         * elf/tst-audit6.c: Likewise.
59270         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59272 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59274         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59276 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59278         * po/cs.po: Update from translation team.
59279         * po/bg.po: Likewise.
59281 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59283         * misc/sys/cdefs.h: Add support for const attribute.
59284         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59285         to gnu_dev_{major,minor,makedev} functions.
59287 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59289         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59291 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59293         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59294         strlen results.
59296 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59299         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59300         register in order to avoid conflicts with the soft frame pointer
59301         being held in r11 when necessary.
59302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59303         (INTERNAL_VSYSCALL_NCS): Likewise.
59305 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59307         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59308         * elf/dl-fini.c (_dl_fini): Adjust caller.
59309         * elf/dl-close.c (_dl_close_worker): Likewise.
59310         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59312 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59314         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59315         "aux_cache->nlibs < 0".
59317         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59318         in the reload-count case.
59320 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59323         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59324         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59325         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59326         * sysdeps/x86_64/multiarch/strcat.S: New file.
59327         * sysdeps/x86_64/multiarch/strncat.S: New file.
59328         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59329         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59330         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59331         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59332         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59333         (USE_AS_STRCAT): Define.
59334         Add strcat and strncat support.
59335         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59336         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59337         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59338         * string/strncat.c: Update.
59339         (USE_AS_STRNCAT): Define.
59340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59341         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59342         and i7.
59343         * sysdeps/x86_64/multiarch/init-arch.h
59344         (bit_Prefer_PMINUB_for_stringop): New.
59345         (index_Prefer_PMINUB_for_stringop): Likewise.
59346         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59347         bit_Prefer_PMINUB_for_stringop.
59349 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59351         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59352         buffer64.
59353         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59354         of casting of buffer.
59355         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59356         buffer32 and buffer64.
59357         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59358         writes instead of casting of buffer.
59359         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59360         buffer32.
59361         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59362         casting of buffer.
59364 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59366         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59368 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59370         * nscd/nscd.c (termination_handler): Don't do anything for a database
59371         if it has not yet been initialized.
59373 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59375         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59377 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59379         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59381 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59383         * po/nl.po: Update from translation team.
59384         * po/sv.po: Likewise.
59386 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59388         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59389         now disallowed by GCC.
59391         * configure.in (use-default-link): Default to yes if a test -shared
59392         link meets our qualifications.
59393         * configure: Regenerated.
59395         * config.make.in (output-format): New variable.
59396         * configure.in: Check for ld --print-output-format support.
59397         * configure: Regenerated.
59398         * Makerules ($(common-objpfx)format.lds)
59399         [$(output-format) != unknown]: Just use $(output-format),
59400         instead of the linker-script munging.
59402 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59404         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59405         of $(common-objpfx)shlib.lds.
59406         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59408         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59409         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59411         * configure.in (-z relro check): Adjust test code to add a large
59412         writable data section after it.
59413         * configure: Regenerated.
59415 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59417         * configure.in (-z relro check): Fix test code to make the variable
59418         truly const.
59419         * configure: Regenerated.
59421 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59423         * nscd/nscd.h (struct traced_file): Define.
59424         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59425         elements.  Add traced_files.
59426         (inotify_fd): Declare.
59427         (register_traced_file): Declare.
59428         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59429         (inotify_fd): Export.
59430         (resolv_conf_descr): Remove.
59431         (nscd_init): Move inotify descriptor creation to main.
59432         Don't register files for notification here.
59433         (register_traced_file): New function.
59434         (invalidate_cache): Don't use reset_res to determine whether to call
59435         res_init, go through the list of registered files.
59436         (main_loop_poll): The inotify descriptors are now stored in the
59437         structures for the traced files.
59438         (main_loop_epoll): Likewise
59439         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59440         to __nss_disable_nscd.
59441         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59442         for a database anymore.  Check the records for all the registered
59443         files instead.
59444         * nss/Makefile (libnss_files-routines): Add files-init.
59445         (libnss_db-routines): Add db-init.
59446         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59447         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59448         * nss/nss_db/db-init.c: New file.
59449         * nss/nss_files/files-init.c: New file.
59450         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59451         __nss_lookup_function.
59452         (__nss_lookup_function): Call nss_load_library.
59453         (nss_load_all_libraries): New function.
59454         (__nss_disable_nscd): Take parameter with callback function for files
59455         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59456         used for the cached services.
59457         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59458         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59459         options for features to all the files in nscd.
59461         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59463 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59465         * csu/elf-init.c (__libc_csu_init): Comment typo.
59467 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59469         * po/pl.po: Update from translation team.
59470         * po/ja.po: Likewise.
59471         * po/ru.po: Likewise.
59472         * po/ko.po: Likewise.
59473         * po/fr.po: Likewise.
59475 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59477         * configure.in (.ctors/.dtors header and trailer check):
59478         Use an empirical test on a built program.
59479         * configure: Regenerated.
59481         * configure.in (-z relro check): Use an empirical test on a built DSO.
59482         Detect, but do not require, on ia64.
59483         * configure: Regenerated.
59485         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59486         Update tests that use readelf to use $READELF instead.
59487         * configure: Regenerated.
59489 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59491         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59492         if the result is not used.
59494 2011-07-05  Andreas Jaeger  <aj@suse.de>
59496         [BZ#9696]
59497         * stdlib/tst-strtod.c: Add testcase.
59499 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59501         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59502         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59503         The latter has a higher limit.  Take additional parameter to pass to
59504         the new function.
59505         (__pathconf): Pass file to __statfs_link_max.
59506         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59507         __statfs_link_max.
59508         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59509         __statfs_link_max.
59511         [BZ #12868]
59512         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59514         Handle Lustre.
59515         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59516         (__statfs_filesize_max): Likewise.
59517         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59519 2011-07-05  Andreas Jaeger  <aj@suse.de>
59521         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59523 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59525         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59526         `status' variable.
59527         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59528         Likewise.
59530 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59532         * Makefile (strop-tests): Add strncat.
59533         * string/test-strncat.c: New file.
59535 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59537         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59539 2011-06-21  Andreas Jaeger  <aj@suse.de>
59541         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59542         Copy rule from iconvdata/Makefile.
59544 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59546         [BZ #12922]
59547         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59548         but no long options are defined, just return 'W'.
59550 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59552         [BZ #9696]
59553         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59555 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59557         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59558         netgroups to read.
59559         (innetgr): Likewise.
59561 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59563         * config.make.in (install_root): Default to $(DESTDIR).
59565 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59567         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59569 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59571         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59573         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59574         containing directory rather than embedding absolute directory names.
59576         * scripts/check-local-headers.sh: Rewritten using awk.
59577         Match by word, not by line.  Print error messages for matches.
59578         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59580         * Makerules [shlib-lds-flags empty]:
59581         ($(common-objpfx)libc_pic.opts): New target.
59582         ($(common-objpfx)libc_pic.os.clean): New target.
59583         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59585         * config.make.in (OBJCOPY): New variable.
59586         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59587         * configure: Regenerated.
59589         * config.make.in (use-default-link): New variable.
59590         * configure.in (use_default_link): Grok --with-default-link to set it.
59591         * configure: Regenerated.
59592         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59593         (shlib-lds, shlib-lds-flags): Define to empty.
59595         * Makerules (shlib-lds): New variable.
59596         (shlib-lds-flags): New variable.
59597         (build-shlib, build-moduile, build-module-asneeded): Use it.
59598         ($(common-objpfx)libc.so): Use $(shlib-lds).
59599         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59600         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59602         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59603         DT_FLAGS/DT_FLAGS_1 with zero flags.
59605         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59606         linker script munging.
59608 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59610         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59611         as 128-bit value.
59612         * crypt/sha512.c (sha512_process_block): Perform total addition using
59613         128-bit if possible.
59614         (__sha512_finish_ctx): Likewise.
59615         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59616         as 64-bit value.
59617         * crypt/sha256.c (SWAP64): Define.
59618         (sha256_process_block): Perform total addition using 64-bit if
59619         possible.
59620         (__sha256_finish_ctx): Likewise.
59622 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59624         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59626         * nscd/hstcache.c (cache_addhst): Likewise.
59627         * nscd/grpcache.c (cache_addgr): Likewise.
59628         * nscd/aicache.c (addhstaiX): Likewise
59629         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59631 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59633         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59634         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59635         * nscd/hstcache.c (cache_addhst): Likewise.
59636         * nscd/grpcache.c (cache_addgr): Likewise.
59637         * nscd/aicache.c (addhstaiX): Likewise
59639 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59641         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59642         domain only when needed.
59644 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59647         is always restored.
59649 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59651         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59652         are re-adding the entry.
59653         * nscd/servicescache.c (cache_addserv): Likewise.
59655 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59657         * sysdeps/generic/dl-irel.h: fix protection against multiple
59658         inclusions.
59659         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59661 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59663         [BZ #12935]
59664         * malloc/memusage.sh: Fix quoting in message.
59665         * debug/xtrace.sh: Likewise.
59667         * configure.in: Remove support for --experimental-malloc option, make
59668         it the default.
59669         * config.make.in: Likewise.
59670         * malloc/Makefile: Likewise.
59672 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59674         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59675         two-byte characters.
59677 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59679         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59680         AC_CACHE_CHECK invocation.
59681         * configure: Regenerated.
59683         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59685 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59687         [BZ #12350]
59688         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59689         bit from old_res_options.
59691         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59693         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59694         value type for setfct.
59696 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59699         __gettimeofday instead of gettimeofday.
59701 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59703         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59705 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59707         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59709         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59710         info.
59712 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59715         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59716         strcpy-sse2-unaligned strncpy-sse2-unaligned
59717         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59718         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59719         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59720         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59721         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59722         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59723         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59724         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59725         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59726         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59727         (STRCPY): Support SSE2 and SSSE3 versions.
59729 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59731         [BZ #12874]
59732         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59733         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59734         kernels which artificially limit size of requests.
59736 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59739         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59740         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59741         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59742         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59743         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59744         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59745         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59746         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59748         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59749         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59750         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59751         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59752         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59754         Enable unaligned load optimization for Intel Core i3, i5 and i7
59755         processors.
59756         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59757         Define.
59758         (index_Fast_Unaligned_Load): Define.
59759         (HAS_FAST_UNALIGNED_LOAD): Define.
59761 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59763         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59765 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59767         [BZ #12907]
59768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59769         until it is clear that the information is realy needed.
59770         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59772 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59776 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59778         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59779         /sys/devices/system/cpu/online if it is usable.
59781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59782         reading the information from the /proc filesystem to once a second.
59784 2011-06-21  Andreas Jaeger  <aj@suse.de>
59786         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59787         NULL after inclusion of kernel headers.
59789 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59791         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59792         calls to internal_setent.
59794         [BZ #12885]
59795         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59796         addresses using gethostbyname4_r ignore IPv4 addresses.
59798         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59799         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59801         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59803 2011-06-20  David S. Miller  <davem@davemloft.net>
59805         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59806         inclusions.
59807         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59809         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59810         (elf_irel): Use it.
59811         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59812         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59813         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59814         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59815         * sysdeps/x86_64/dl-irel.h: Likewise.
59817         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59818         * elf/dl-sym.c: Likewise.
59820 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59822         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59823         need to dereference resplen2.
59825 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59827         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59829 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59831         * Makeconfig: Define vardbdir and inst_vardbdir.
59832         * nss/Makefile: Add rules to install db-Makefile.
59834         * nss/nss_db/db-XXX.c: Cleanup.
59836         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59837         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59838         GLIBC_PRIVATE.
59839         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59840         * nss/makedb.c: Implement -g option to specify that value strings
59841         are generated and should not be added to table iterated over for
59842         get*ent calls.
59843         * nss/nss_db/db-initgroups.c: New file.
59845         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59846         interface.
59848         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59849         (internal_getgrouplist): Adjust to name change.
59850         Update use_initgroups_entry if this is not the first call.
59851         * nss/databases.def: Add initgroups entry.
59853         * nss/makedb.c (compute_tables): Check result of multiple hash table
59854         sizes to minimize maximum chain length.
59856 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59858         * Versions.def: Add entry for libnss_db.
59859         * shlib-versions: Likewise.
59860         * nss/Makefile: Add rules to build libnss_db.
59861         * nss/Versions: Add libnss_db information.  Organize libnss_files
59862         entries better.
59863         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59864         makedb progra.  Some minor improvements to generate smaller files.
59865         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59866         here from...
59867         * nss/makedb.c: ...here.
59868         Improve database format to be smaller and require less memory at
59869         runtime.
59870         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59871         db anymore.
59872         * nss/nss_db/db-netgrp.c: Likewise.
59873         * nss/nss_db/db-open.c: Likewise.
59874         * nss/nss_files/flies-XXX.x: Adjust comments.
59875         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59876         * nss/nss_files/files-grp.c: Likewise.
59877         * nss/nss_files/files-hosts.c: Likewise.
59878         * nss/nss_files/files-network.c: Likewise.
59879         * nss/nss_files/files-proto.c: Likewise.
59880         * nss/nss_files/files-pwd.c: Likewise.
59881         * nss/nss_files/files-rpc.c: Likewise.
59882         * nss/nss_files/files-service.c: Likewise.
59883         * nss/nss_files/files-sgrp.c: Likewise.
59884         * nss/nss_files/files-spwd.c: Likewise.
59885         * nss/nss_db/db-alias.c: Removed.
59886         * nss/nss_db/dummy-db.h: Removed.
59888 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59890         * nss/makedb.c: Rewritten to not use database library.
59891         * nss/Makefile: Update to build new makedb program.
59893 2011-06-14  Andreas Jaeger  <aj@suse.de>
59895         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59896         memset declaration.
59898 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59901         tmpbuf.
59903 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59905         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59906         * elf/Makefile ($(objpfx)ld.so): Likewise.
59908         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59909         Don't list ld.so twice in dependencies.
59911         * posix/bug-regex31.c: Include <stdlib.h>.
59913         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59915         * nis/nss_compat/compat-spwd.c
59916         (getspent_next_nss_netgr): Remove unused variable.
59917         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59919         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59920         nonmembers" output to use the right array.
59922         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59924         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59926         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59927         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59928         * catgets/gencat.c (read_input_file): Likewise.
59929         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59931         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59932         variable definition inside #if's controlling its use.
59934         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59938         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59940         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59941         unreachable code.
59943         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59945         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59946         * configure: Regenerated.
59948         * Makerules: Revert last change.
59949         * elf/Makefile: Likewise.
59951 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59953         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59954         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59955         (reloc-link): Likewise.
59957 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59959         * elf/Makefile: Add rules to build pldd.
59960         * elf/pldd.c: New file.
59961         * elf/pldd-xx.c: New file.
59963 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59965         * version.h: Update for 2.15 development version.
59967 2011-06-07  David S. Miller  <davem@davemloft.net>
59969         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59970         ifuncs.
59971         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59972         elf_machine_lazy_rel): Likewise.
59973         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59974         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59975         elf_machine_lazy_rel): Likewise.
59976         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59977         dl_hwcap via passed in argument.
59978         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59979         Likewise.
59981 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59983         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59985 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59987         [BZ #12849]
59988         * manual/fdl-1.1.texi: New file, verbatim from:
59989         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59990         * manual/lgpl-2.1.texi: New file, verbatim from:
59991         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59992         * manual/Makefile (licenses): New variable, list those new file names.
59993         (texis): Use it.
59994         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59996         * manual/fdl.texi: File removed.
59997         * manual/lesser.texi: File removed.
59998         * manual/libc.texinfo (Copying, Documentation License):
59999         Use new @include file names, put @appendix directive before @include.
60001 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60003         [BZ #12841]
60004         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60005         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60006         (mq_open): Add __NTH.
60008 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60011         Assume Intel Core i3/i5/i7 processor if AVX is available.
60013 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60015         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60016         typo.
60018 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60020         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60021         memory.  Use alloca_account.  Fix memory leak when retrying.
60023 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60025         * version.h (RELEASE): Bump for 2.14 release.
60026         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60028         * config.make.in (RANLIB): Remove entry.
60030 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60032         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60033         (libc.pot): Work around missing support for .ksh extension in xgettext.
60035         [BZ #12684]
60036         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60037         if both request failed.
60038         (send_dg): In case of server errors clear resplen or *resplen2.
60040         [BZ #12454]
60041         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60042         when there are multiple maps.
60043         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60044         (_dl_fini): Remove test here.
60046         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60048 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60050         [BZ #12350]
60051         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60052         bit from old_res_options.
60053         (gaih_inet): Likewise.
60055         [BZ #11099]
60056         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60057         as signed.
60059         * resolv/res_init.c (res_setoptions): Make the code more compact.
60061         [BZ #11558]
60062         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60063         set RES_USEVC.
60065         [BZ #11634]
60066         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60068         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60070         [BZ #11781]
60071         * malloc/malloc.h: Declare malloc hook variables as volatile.
60073         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60074         in last patch.
60076         [BZ #11799]
60077         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60078         raise in the comment.
60079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60081         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60083 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60085         [BZ #12811]
60086         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60087         grow the buffers more if it already has to be sufficient.
60088         (build_wcs_upper_buffer): Likewise.
60089         * posix/regexec.c (check_matching): Likewise.
60090         (clean_state_log_if_needed): Likewise.
60091         (extend_buffers): Don't enlarge buffers beyond size of the input
60092         buffer.
60093         Patches mostly by Emil Wojak <emil@wojak.eu>.
60094         * posix/bug-regex32.c: New file.
60095         * posix/Makefile (tests): Add bug-regex32.
60097         * locale/findlocale.c (_nl_find_locale): Return right away if
60098         _nl_explode_name failed.
60099         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60101         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60103         * debug/xtrace.sh: Unify messages.
60104         * malloc/memusage.sh: Likewise.
60106         [BZ #12813]
60107         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60108         time symbol from vDSO.  Substitute with vsyscall if not available.
60109         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60110         __vdso_time.
60112         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60113         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60114         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60115         Add sendmmsg and internal_sendmmsg.
60116         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60117         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60118         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60120         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60121         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60122         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60124 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60126         [BZ #12813]
60127         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60128         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60129         available.
60130         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60131         __vdso_getcpu.
60133         [BZ #12814]
60134         * iconvdata/Makefile (tests): Add bug-iconv9.
60135         * iconvdata/bug-iconv9.c: New file.
60137 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60139         [BZ #12814]
60140         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60142 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60145         (struct user_regs_struct): Change intcs field back to cs.
60147 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60149         * po/ja.po: Update from translation team.
60151 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60153         [BZ #12795]
60154         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60155         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60157 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60159         * stdlib/longlong.h: Update from GCC.
60161 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60163         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60164         parameter name.
60165         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60166         Add parameter name.
60167         (__sysconf): Pass it down.
60169 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60171         [BZ #12671]
60172         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60173         some situations.
60174         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60175         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60176         add in in __libc_use_alloca calls.  Adjust callers.
60177         (glob): Use malloc in some situations.
60179         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60180         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60181         pltexit.
60183 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60185         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60186         and CLOCK_BOOTTIME_ALARM.
60188         [BZ #12782]
60189         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60190         is returned.
60192         * string/_strerror.c (__strerror_r): Print negative errors as signed
60193         numbers.
60195         [BZ #12777]
60196         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60197         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60198         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60200         * configure.in: Fix typo in redirection and correct removal of test
60201         files in two cases.
60203         [BZ #12788]
60204         * locale/setlocale.c (new_composite_name): Fix test to check for
60205         identical name of all categories.
60207         [BZ #12792]
60208         * libio/filedoalloc.c (local_isatty): New function.
60209         (_IO_file_doallocate): Use local_isatty.
60210         * stdio-common/perror.c (perror): In case a new stream is used
60211         forward the stream error.
60212         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60213         error flag.
60215 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60217         [BZ #11869]
60218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60219         alloca.
60220         * include/alloca.h (extend_alloca_account): Define.
60222         [BZ #11857]
60223         * posix/regex.h: Fix comments with documentation of user-accessible
60224         fields after compilation and describe correct free'ing of pattern
60225         after re_compile_pattern.
60226         Patch by Reuben Thomas <rrt@sc3d.org>.
60228 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60230         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60231         and -mno-altivec to prevent the compiler from using Altivec and/or
60232         VSX instructions when the corresponding registers are not available.
60234 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60236         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60238 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60240         * libio/freopen.c (freopen): Use __dup2, not dup2.
60241         * libio/freopen64.c (freopen64): Likewise.
60243 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60245         [BZ #12775]
60246         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60247         * math/Makefile (tests): Add test-powl.
60248         (CFLAGS-test-powl.c): Define.
60249         * math/test-powl.c: New file.
60251 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60253         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60255 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60257         [BZ #11837]
60258         * iconvdata/gb18030.c: Update to GB18020-2005.
60260 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60262         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60263         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60264         Patch by Aharon Robbins <arnold@skeeve.com>.
60266         [BZ #11892]
60267         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60268         on the stack.
60270         [BZ #11895]
60271         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60272         through underflows.
60274         [BZ #12766]
60275         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60276         point to strings before performing equality test for error_one_per_line
60277         mode.
60279         [BZ #11697]
60280         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60282         [BZ #11820]
60283         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60284         (struct user_fpregs_struct): Avoid __uint*_t types.
60286         [BZ #6420]
60287         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60288         symbol info.  Use it instead of calling _dl_addr locally.
60289         (lock_and_info): New function.
60290         (tr_freehook): Call lock_and_info and pass symbol info as additional
60291         parameter to tr_where.
60292         (tr_mallochook): Likewise.
60293         (tr_reallochook): Likewise.
60294         (tr_memalignhook): Likewise.
60296         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60297         used and couldn't be at all thread-safe.
60299 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60301         * libio/freopen.c (freopen): Don't close old file descriptor
60302         before the new one is opened.  Instead dup the new file descriptor
60303         to the old one after the new stream is created.
60304         * libio/freopen64.c (freopen64): Likewise.
60305         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60306         * libio/fileops.c (_IO_new_file_close_it): Handle new
60307         _IO_FLAGS2_NOCLOSE flag.
60308         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60309         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60310         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60311         _IO_FLAGS2_NOCLOSE flag.
60312         * include/unistd.h: Add hidden_proto for dup3.
60313         Define __have_dup3.
60314         * io/dup3.c: Define hidden symbol.
60315         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60317         [BZ #7101]
60318         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60319         when an incomplete long option is used.
60320         * posix/tst-getopt_long1.c: New file.
60321         * posix/Makefile (tests): Add tst-getopt_long1.
60323         [BZ #10138]
60324         * scripts/config.guess: Update from autoconf-2.68.
60325         * scripts/config.sub: Likewise.
60327         [BZ #10157]
60328         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60329         tests into ...
60330         (has_cpuclock): ...this.  New function.
60331         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60332         macro here based on has_cpuclock code.
60334         [BZ #10149]
60335         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60336         First byte (not low byte) is now always NUL.
60337         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60339         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60340         Use non-cancelable interfaces.
60342         [BZ #9809]
60343         * locale/iso-639.def: Add entry for Sorani.
60345         [BZ #11901]
60346         * include/stdlib.h: Move include protection to the right place.
60347         Define abort_msg_s.  Declare __abort_msg with it.
60348         * stdlib/abort.c (__abort_msg): Adjust type.
60349         * assert/assert.c (__assert_fail_base): New function.  Majority
60350         of code from __assert_fail.  Allocate memory for __abort_msg with
60351         mmap.
60352         (__assert_fail): Now call __assert_fail_base.
60353         * assert/assert-perr.c: Remove bulk of implementation.  Use
60354         __assert_fail_base.
60355         * include/assert.hL Declare __assert_fail_base.
60356         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60357         mmap.
60358         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60360 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60362         [BZ #11952]
60363         [BZ #12453]
60364         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60365         until all modules are registered in the DTV.
60366         * elf/Makefile: Add rules to build and run tst-tls19.
60367         * elf/tst-tls19.c: New file.
60368         * elf/tst-tls19mod1.c: New file.
60369         * elf/tst-tls19mod2.c: New file.
60370         * elf/tst-tls19mod3.c: New file.
60371         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60373         [BZ #12083]
60374         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60375         correctly.
60377         [BZ #12601]
60378         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60379         two-byte sequence errors.
60380         * iconvdata/Makefile (tests): Add bug-iconv8.
60381         * iconvdata/bug-iconv8.c: New file.
60383         [BZ #12626]
60384         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60385         buf2 definition.
60387         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60389         [BZ #12432]
60390         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60391         (dummy_getcfa): New function.
60392         (init): Get _Unwind_GetCFA address, use dummy if not found.
60393         (backtrace_helper): In recursion check, also check whether CFA changes.
60394         (__backtrace): Completely initialize arg.
60396         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60397         storing incomplete byte sequence in state object.  Avoid testing for
60398         guaranteed too small input if we know there is enough data available.
60400 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60402         * Makeconfig (+link-pie): Indent.
60403         * Rules (binaries-pie): Define if $(have-fpie) and
60404         $(build-shared).
60405         (binaries-shared): Also filter out $(binaries-pie).
60406         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60407         * nscd/Makefile (others-pie): Add nscd.
60408         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60409         ($(objpfx)nscd): Remove command override.
60410         * login/Makefile (others-pie): Add pt_chown.
60411         ($(objpfx)pt_chown): Remove command override.
60412         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60413         remove command overrides.
60415 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60417         * libio/tst_putwc.c: Fix error messages.
60419         [BZ #12724]
60420         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60421         currently writing and seek to current position when not.
60422         * libio/Makefile (tests): Add bug-fclose1.
60423         * libio/bug-fclose1.c: New file.
60425 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60427         [BZ #12511]
60428         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60429         don't set DF_1_NODELETE here.
60430         (do_lookup_x): When entering new entry test for copy relocation
60431         and if necessary set DF_1_NODELETE flag.
60432         * elf/tst-unique4.cc: New file.
60433         * elf/tst-unique4.h: New file.
60434         * elf/tst-unique4lib.cc: New file.
60435         * elf/Makefile: Add rules to build and run tst-unique4.
60436         Patch by Piotr Bury <pbury@goahead.com>.
60438 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60440         [BZ #12052]
60441         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60443         [BZ #12625]
60444         * misc/mntent_r.c (addmntent): Flush the stream after the output
60446         [BZ #12393]
60447         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60448         (is_trusted_path_normalize): Skip initial colon.  Append slash
60449         to empty buffer.  Duplicate is_trusted_path code but allow
60450         constructed patch to be prefix.
60451         (is_dst): Allow $ORIGIN followed by /.
60452         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60453         Correct testing of result of is_trusted_path_normalize
60454         (decompose_rpath): Fix warning.
60456 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60458         [BZ #11257]
60459         * grp/initgroups.c (internal_getgrouplist): When we found the service
60460         list through the initgroups entry in nsswitch.conf do not always
60461         continue on a successful lookup.  Don't always use the
60462         __nss_group_database value if it is set.
60463         * nss/nsswitch.conf (initgroups): Change action for successful db
60464         lookup to continue for compatibility.
60466 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60468         [BZ #11532]
60469         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60470         and CP774 modules.
60471         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60472         and CP774 modules.
60473         * iconvdata/tst-tables.sh: Likewise.
60474         * iconvdata/cp770.c: New file.
60475         * iconvdata/cp771.c: New file.
60476         * iconvdata/cp772.c: New file.
60477         * iconvdata/cp773.c: New file.
60478         * iconvdata/cp774.c: New file.
60479         * iconvdata/testdata/CP770: New file.
60480         * iconvdata/testdata/CP770..UTF8: New file.
60481         * iconvdata/testdata/CP771: New file.
60482         * iconvdata/testdata/CP771..UTF8: New file.
60483         * iconvdata/testdata/CP772: New file.
60484         * iconvdata/testdata/CP772..UTF8: New file.
60485         * iconvdata/testdata/CP773: New file.
60486         * iconvdata/testdata/CP773..UTF8: New file.
60487         * iconvdata/testdata/CP774: New file.
60488         * iconvdata/testdata/CP774..UTF8: New file.
60490         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60491         END CHARMAP line.
60492         * iconvdata/gen-8bit-gap.sh: Likewise.
60493         * iconvdata/gen-8bit.sh: Likewise.
60495         * locale/iso-639.def: Add ary entry.
60497         [BZ #11258]
60498         * locale/C-translit.h.in: Add U20A1 transliteration.
60500         [BZ #12178]
60501         * locale/iso-639.def: Add wae entry.
60502         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60504         [BZ #12545]
60505         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60506         for n.
60508         [BZ #12711]
60509         * locale/C-translit.h.in: Add entry for U20B9.
60510         Patch by pravin.d.s@gmail.com.
60512 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60514         [BZ #12713]
60515         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60516         ENAMETOOLONG use generic getcwd.
60517         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60518         in rtld.  Use *stat64.
60519         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60520         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60521         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60522         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60523         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60524         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60525         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60526         __fstatat64 macros.
60527         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60528         * dirent/rewinddir.c: Add libc_hidden_def.
60529         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60530         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60532         * include/dirent.h (__alloc_dir): Add flags parameter.
60533         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60534         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60535         __alloc_dir.
60536         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60537         from fdopendir if O_CLOEXEC is already set.
60539 2011-03-15  Alan Modra  <amodra@gmail.com>
60541         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60542         l_tls_firstbyte_offset non-zero.  Save padding offset in
60543         l_tls_firstbyte_offset for later use.
60544         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60545         freeing static tls block.
60547 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60549         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60550         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60551         being defined by the kernel headers.
60553 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60555         [BZ #12734]
60556         * resolv/resolv.h: Define RES_NOTLDQUERY.
60557         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60558         no-tld-query and set RES_NOTLDQUERY.
60559         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60560         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60561         modern BIND to search name as TLD unless forbidden.
60563 2011-05-07  Petr Baudis  <pasky@suse.cz>
60564             Ulrich Drepper  <drepper@gmail.com>
60566         [BZ #12393]
60567         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60568         (is_trusted_path): ...to here.
60569         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60570         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60571         using is_trusted_path_normalize() in setuid scripts.
60573 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60575         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60576         __BEGIN/__END_DECLS.
60578 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60580         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60581         NSS_STATUS_NOTFOUND if no record was found.
60583 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60585         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60586         (headers-not-in-tirpc): Remove rpc/netdb.h
60587         * resolv/netdb.h: Revert last change.
60589 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60591         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60592         circular dependency between libgcc.a and libc.a.
60594 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60596         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60597         * nis/Makefile: Don't install rpcsvc/*.
60598         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60599         instead of <rpc/types.h>.
60600         (MAXHOSTNAMELEN): Define.
60602 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60604         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60606 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60608         [BZ #12714]
60609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60610         gethostbyname4_r when IPv6 results are possible.
60612 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60614         [BZ #12723]
60615         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60616         _PC_PIPE_BUF handling.
60618 2011-04-30  Bruno Haible  <bruno@clisp.org>
60620         [BZ #12717]
60621         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60622         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60623         to 'int'.
60624         * inet/getnameinfo.c (getnameinfo): Likewise.
60626 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60628         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60629         to groups setting in database lookup.
60630         * nss/nsswitch.conf: Add initgroups entry.
60632 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60634         [BZ #12685]
60635         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60636         mode string.
60637         Patch by Eric Blake <eblake@redhat.com>.
60639 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60641         * sunrpc/Makefile (need-export-routines): Add svc_run.
60642         (routines): Remove svc_run.
60643         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60644         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60645         * sunrpc/svc_run.c (svc_run): Likewise.
60646         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60648 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60650         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60651         problem in reallocation in last patch.
60653 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60655         * sunrpc/Makefile: Move inclusion of Rules.
60657 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60659         * nss/nss_files/files-initgroups.c: New file.
60660         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60661         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60662         _nss_files_initgroups_dyn.
60664 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60666         * elf/elf.h (R_ARM_IRELATIVE): Define.
60668 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60670         * po/ru.po: Update from translation team.
60672 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60674         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60675         dependencies.
60677 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60679         [BZ #12653]
60680         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60681         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60682         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60683         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60684         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60686 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60688         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60689         differing bytes.
60690         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60691         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60692         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60694 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60696         [BZ #12420]
60697         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60698         storing it.
60699         * stdlib/bug-getcontext.c: New file.
60700         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60702 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60704         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60705         instructions into .machine "z9-109".
60706         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60707         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60709 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60711         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60712         between environment variables and auxiliary vector.
60714 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60716         * Makefile: Add rules to build linkobj/libc.so.
60717         * include/libc-symbols.h: Define libc_hidden_nolink.
60718         * include/rpc/auth.h: Mark functions which are to be hidden.
60719         * include/rpc/auth_des.h: Likewise.
60720         * include/rpc/auth_unix.h: Likewise.
60721         * include/rpc/clnt.h: Likewise.
60722         * include/rpc/des_crypt.h: Likewise.
60723         * include/rpc/key_prot.h: Likewise.
60724         * include/rpc/pmap_clnt.h: Likewise.
60725         * include/rpc/pmap_prot.h: Likewise.
60726         * include/rpc/pmap_rmt.h: Likewise.
60727         * include/rpc/rpc_msg.h: Likewise.
60728         * include/rpc/svc.h: Likewise.
60729         * include/rpc/svc_auth.h: Likewise.
60730         * include/rpc/xdr.h: Likewise.
60731         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60732         * nss/Makefile: Likewise.
60733         * sunrpc/Makefile: Don't install headers.  Build library with normal
60734         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60735         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60736         for the compat linking library.  Remove use of INTDEF/INTUSE.
60737         * sunrpc/auth_none.c: Likewise.
60738         * sunrpc/auth_unix.c: Likewise.
60739         * sunrpc/authdes_prot.c: Likewise.
60740         * sunrpc/authuxprot.c: Likewise.
60741         * sunrpc/clnt_gen.c: Likewise.
60742         * sunrpc/clnt_perr.c: Likewise.
60743         * sunrpc/clnt_raw.c: Likewise.
60744         * sunrpc/clnt_simp.c: Likewise.
60745         * sunrpc/clnt_tcp.c: Likewise.
60746         * sunrpc/clnt_udp.c: Likewise.
60747         * sunrpc/clnt_unix.c: Likewise.
60748         * sunrpc/des_crypt.c: Likewise.
60749         * sunrpc/des_soft.c: Likewise.
60750         * sunrpc/get_myaddr.c: Likewise.
60751         * sunrpc/key_call.c: Likewise.
60752         * sunrpc/key_prot.c: Likewise.
60753         * sunrpc/netname.c: Likewise.
60754         * sunrpc/pm_getmaps.c: Likewise.
60755         * sunrpc/pm_getport.c: Likewise.
60756         * sunrpc/pmap_clnt.c: Likewise.
60757         * sunrpc/pmap_prot.c: Likewise.
60758         * sunrpc/pmap_prot2.c: Likewise.
60759         * sunrpc/pmap_rmt.c: Likewise.
60760         * sunrpc/publickey.c: Likewise.
60761         * sunrpc/rpc_cmsg.c: Likewise.
60762         * sunrpc/rpc_common.c: Likewise.
60763         * sunrpc/rpc_dtable.c: Likewise.
60764         * sunrpc/rpc_prot.c: Likewise.
60765         * sunrpc/rpc_thread.c: Likewise.
60766         * sunrpc/rtime.c: Likewise.
60767         * sunrpc/svc.c: Likewise.
60768         * sunrpc/svc_auth.c: Likewise.
60769         * sunrpc/svc_authux.c: Likewise.
60770         * sunrpc/svc_raw.c: Likewise.
60771         * sunrpc/svc_run.c: Likewise.
60772         * sunrpc/svc_simple.c: Likewise.
60773         * sunrpc/svc_tcp.c: Likewise.
60774         * sunrpc/svc_udp.c: Likewise.
60775         * sunrpc/svc_unix.c: Likewise.
60776         * sunrpc/svcauth_des.c: Likewise.
60777         * sunrpc/xcrypt.c: Likewise.
60778         * sunrpc/xdr.c: Likewise.
60779         * sunrpc/xdr_array.c: Likewise.
60780         * sunrpc/xdr_float.c: Likewise.
60781         * sunrpc/xdr_intXX_t.c: Likewise.
60782         * sunrpc/xdr_mem.c: Likewise.
60783         * sunrpc/xdr_rec.c: Likewise.
60784         * sunrpc/xdr_ref.c: Likewise.
60785         * sunrpc/xdr_sizeof.c: Likewise.
60786         * sunrpc/xdr_stdio.c: Likewise.
60788 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60790         [BZ #12650]
60791         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60792         * sysdeps/ia64/dl-tls.h: Likewise.
60793         * sysdeps/powerpc/dl-tls.h: Likewise.
60794         * sysdeps/s390/dl-tls.h: Likewise.
60795         * sysdeps/sh/dl-tls.h: Likewise.
60796         * sysdeps/sparc/dl-tls.h: Likewise.
60797         * sysdeps/x86_64/dl-tls.h: Likewise.
60798         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60800 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60802         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60803         rpath element also skip the following colon.
60804         (expand_dynamic_string_token): Add is_path parameter and pass
60805         down to DL_DST_REQUIRED and _dl_dst_substitute.
60806         (decompose_rpath): Call expand_dynamic_string_token with
60807         non-zero is_path.  Ignore empty rpaths.
60808         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60809         with zero is_path.
60811 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60814         Make cancelable.
60816 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60818         [BZ #12655]
60819         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60820         Patch by Filipe David Manana <fdmanana@apache.org>.
60822 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60824         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60825         Maintain aligned stack.
60826         (CHECK_RSP): Remove unused macro.
60828 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60830         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60831         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60833 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60835         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60837         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60839 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60841         [BZ #12518]
60842         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60843         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60844         * sysdeps/x86_64/memmove.c: New file.
60845         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60846         (memcpy): Renamed to ...
60847         (__new_memcpy): This.
60848         (memcpy): Provide GLIBC_2_14 memcpy.
60849         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60850         (memcpy): Provide GLIBC_2_2_5 memcpy.
60852 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60854         [BZ #12631]
60855         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60857 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60859         * misc/syncfs.c: New file.
60860         * misc/Makefile (routines): Add syncfs.
60861         * posix/unistd.h: Declare syncfs.
60862         * sysdeps/unix/syscalls.list: Add syncfs.
60864 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60866         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60867         open_by_handle_at.
60868         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60869         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60873         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60874         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60876 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60879         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60880         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60881         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60886         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60887         sync_file_range.c with -fexceptions.
60888         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60889         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60890         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60891         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60892         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60893         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60895         sync_file_range as cancellation point
60896         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60897         now a wrapper around __call_sync_file_range with cancellation handling.
60898         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60899         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60900         function name to __call_sync_file_range.
60901         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60902         Add call_sync_file_range.
60904 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60907         bits/timex.h.
60909 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60911         * iconv/iconv.h: Fix typo in comment.
60912         * io/fcntl.h: Likewise.
60913         * libio/stdio.h: Likewise.
60914         * posix/spawn.h: Likewise.
60915         * posix/unistd.h: Likewise.
60916         * stdlib/stdlib.h: Likewise.
60917         * time/time.h: Likewise.
60918         * wcsmbs/wchar.h: Likewise.
60920         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60921         open_by_handle): Add.
60922         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60923         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60924         Augment a few comments.
60925         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60927         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60930         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60931         open_by_handle.
60933         * io/fcntl.h (AT_EMPTY_PATH): Define.
60935 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60937         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60938         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60939         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60940         to...
60941         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60942         * Versions.def: Add GLIBC_2.14.
60943         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60944         Export.
60946 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60948         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60949         round counter.
60950         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60952 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60954         [BZ #12597]
60955         * string/test-strncmp.c (do_page_test): New function.
60956         (check2): Likewise.
60957         (test_main): Call check2.
60958         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60960 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60962         [BZ #12587]
60963         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60964         Handle cache information in CPU leaf 4.
60965         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60967 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60969         [BZ #12583]
60970         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60971         character representation.
60972         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60974 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60976         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60977         END(__isnan) to END(__isnanf) to match function entry point/label
60978         EALIGN(__isnanf,...).
60980 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60982         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60984 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60986         [BZ #12510]
60987         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60988         copy from the symbol referenced in the relocation to initialize the
60989         used variable.
60990         Patch by Piotr Bury <pbury@goahead.com>.
60991         * elf/Makefile: Add rules to build and tst-unique3.
60992         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60993         * elf/tst-unique3.cc: New file.
60994         * elf/tst-unique3.h: New file.
60995         * elf/tst-unique3lib.cc: New file.
60996         * elf/tst-unique3lib2.cc: New file.
60998         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61000 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61002         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61003         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61004         to _start.
61006 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61008         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61009         to-be-loaded object along a path to loader is ld.so.
61011 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61012             Ulrich Drepper  <drepper@gmail.com>
61014         * sysdeps/x86_64/memset.S: After aligning destination, code
61015         branches to different locations depending on the value of
61016         misalignment, when multiarch is enabled. Fix this.
61018 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61020         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61021         Set _x86_64_preferred_memory_instruction for AMD processsors.
61022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61023         Set bit_Prefer_SSE_for_memop for AMD processors.
61025 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61027         * libio/fmemopen.c (fmemopen): Optimize a bit.
61029 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61031         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61033 2011-03-03  Roland McGrath  <roland@redhat.com>
61035         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61037 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61039         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61040         __bzero_ultra1 instead of __memset_ultra1.
61042 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61043             Ulrich Drepper  <drepper@gmail.com>
61045         [BZ #12509]
61046         * include/link.h (struct link_map): Add l_orig_initfini.
61047         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61048         returning unsuccessfully.
61049         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61050         close of a file loaded at startup, restore the original l_initfini
61051         list.
61052         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61053         list, store the pointer.
61054         * elf/Makefile ($(objpfx)noload-mem): New rule.
61055         (noload-ENV): Define.
61056         (tests): Add $(objpfx)noload-mem.
61057         * elf/noload.c: Include <memcheck.h>.
61058         (main): Call mtrace.  Close all opened handles.
61060 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61062         [BZ #12454]
61063         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61064         dependencies are missing.
61066 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61068         Fix __if_freereq crash: Unlike the generic version which uses free,
61069         Hurd needs munmap.
61070         * sysdeps/mach/hurd/ifreq.h: New file.
61072 2011-01-27  Petr Baudis  <pasky@suse.cz>
61073             Ulrich Drepper  <drepper@gmail.com>
61075         [BZ 12445]#
61076         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61077         to extend_alloca().
61078         * stdio-common/bug23.c: New file.
61079         * stdio-common/Makefile (tests): Add bug23.
61081 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61082             Ulrich Drepper  <drepper@gmail.com>
61084         [BZ #12489]
61085         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61086         before performing relro protection.  At old place add assertion
61087         to make sure nothing changed.
61089 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61090             Glauber de Oliveira Costa  <glommer@gmail.com>
61092         * elf/elf.h: Add new ARM TLS relocs.
61094 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61097         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61098         cast from r3.
61099         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61100         'tests' variable.
61101         * sysdeps/wordsize-64/tst-writev.c: New file.
61103 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61105         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61106         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61107         insns in _dl_start to prevent a TOC reference before relocs are
61108         resolved.
61110 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61112         [BZ #12469]
61113         * Makeconfig: Remove RANLIB definition.
61114         * Makerules: Don't use RANLIB.
61115         * aclocal.m4: Remove ranlib test.
61116         * configure.in: No need to check for ranlib.
61117         * elf/rtld-Rules: Don't use RANLIB.
61119 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61121         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61122         protection macro.
61123         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61124         inclusion protection macro.
61126         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61127         SIGRTMIN and SIGRTMAX and print information in that case only when
61128         SIGRTMIN is defined.
61130 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61132         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61133         arginfo fn returning -1.
61135         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61136         and thousands string is zero terminated.
61138 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61140         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61141         sysdeps/unix/sysv/linux/bits/socket.h.
61143 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61145         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61146         (__CPU_COUNT): Remove old macros.
61147         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61148         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61149         (__CPU_ALLOC, __CPU_FREE): Add macros.
61150         (__sched_cpualloc, __sched_cpufree): Add declarations.
61152 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61154         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61155         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61156         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61157         (readdhstai): Return value of addhstaiX call.
61158         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61159         (addgrbyX): Return value returned by cache_addgr.
61160         (readdgrbyname): Return value returned by addgrbyX.
61161         (readdgrbygid): Likewise.
61162         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61163         (addpwbyX): Return value returned by cache_addpw.
61164         (readdpwbyname): Return value returned by addhstbyX.
61165         (readdpwbyuid): Likewise.
61166         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61167         (addservbyX): Return value returned by cache_addserv.
61168         (readdservbyname): Return value returned by addservbyX:
61169         (readdservbyport): Likewise.
61170         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61171         (addhstbyX): Return value returned by cache_addhst.
61172         (readdhstbyname): Return value returned by addhstbyX.
61173         (readdhstbyaddr): Likewise.
61174         (readdhstbynamev6): Likewise.
61175         (readdhstbyaddrv6): Likewise.
61176         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61177         (readdinitgroups): Return value returned by addinitgroupsX.
61178         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61179         (prune_cache): Keep track of timeout value of re-added entries.
61180         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61181         * nscd/nscd.h: Adjust prototypes of readd* functions.
61183 2011-02-04  Roland McGrath  <roland@redhat.com>
61185         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61186         (nis_stats): Likewise.
61187         * nis/nis_modify.c (nis_modify): Likewise.
61188         * nis/nis_remove.c (nis_remove): Likewise.
61189         * nis/nis_add.c (nis_add): Likewise.
61191         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61193         * posix/fnmatch_loop.c: Add some consts.
61195         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61197 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61199         [BZ #12460]
61200         * config.make.in (config-cflags-novzeroupper): Define.
61201         * configure.in: Substitute libc_cv_cc_novzeroupper.
61202         * elf/Makefile (AVX-CFLAGS): Define.
61203         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61204         (CFLAGS-tst-auditmod4a.c): Likewise.
61205         (CFLAGS-tst-auditmod4b.c): Likewise.
61206         (CFLAGS-tst-auditmod6b.c): Likewise.
61207         (CFLAGS-tst-auditmod6c.c): Likewise.
61208         (CFLAGS-tst-auditmod7b.c): Likewise.
61209         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61211 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61213         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61214         function to the callback.
61215         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61217 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61219         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61220         of errno.
61222 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61224         [BZ #11724]
61225         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61226         of constructors.
61227         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61228         of destructors.
61229         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61231         [BZ #11724]
61232         * elf/Makefile: Add rules to build and run new test.
61233         * elf/tst-initorder.c: New file.
61234         * elf/tst-initorder.exp: New file.
61235         * elf/tst-initordera1.c: New file.
61236         * elf/tst-initordera2.c: New file.
61237         * elf/tst-initordera3.c: New file.
61238         * elf/tst-initordera4.c: New file.
61239         * elf/tst-initorderb1.c: New file.
61240         * elf/tst-initorderb2.c: New file.
61241         * elf/tst-order-a1.c: New file.
61242         * elf/tst-order-a2.c: New file.
61243         * elf/tst-order-a3.c: New file.
61244         * elf/tst-order-a4.c: New file.
61245         * elf/tst-order-b1.c: New file.
61246         * elf/tst-order-b2.c: New file.
61247         * elf/tst-order-main.c: New file.
61248         New test case by George Gensure <werkt0@gmail.com>.
61250 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61253         decoding ACE if AI_CANONIDN.
61255 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61257         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61259 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61261         * version.h (RELEASE): Bump for 2.13 release.
61262         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61264         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61266         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61267         MADV_NOHUGEPAGE.
61268         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61269         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61270         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61271         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61272         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61273         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61275         * posix/getconf.c: Update copyright year.
61276         * catgets/gencat.c: Likewise.
61277         * csu/version.c: Likewise.
61278         * debug/catchsegv.sh: Likewise.
61279         * debug/xtrace.sh: Likewise.
61280         * elf/ldconfig.c: Likewise.
61281         * elf/ldd.bash.in: Likewise.
61282         * elf/sprof.c (print_version): Likewise.
61283         * iconv/iconv_prog.c: Likewise.
61284         * iconv/iconvconfig.c: Likewise.
61285         * locale/programs/locale.c: Likewise.
61286         * locale/programs/localedef.c: Likewise.
61287         * malloc/memusage.sh: Likewise.
61288         * malloc/mtrace.pl: Likewise.
61289         * nscd/nscd.c (print_version): Likewise.
61290         * nss/getent.c: Likewise.
61292         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61293         PF_CAIF, and PF_ALG.
61294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61296 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61298         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61299         (modules-names): Use them.
61300         (ifunc-test-modules, ifunc-pie-tests): Define.
61301         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61302         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61303         (test-extras): Likewise.
61304         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61305         $(compile-command.c).
61306         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61307         (all-built-dso): Define.
61308         (check-textrel.out, check-execstack.out): Depend on it.
61310         * configure.in: Don't override --enable-multi-arch.
61312 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61314         [BZ #6812]
61315         * nscd/hstcache.c (tryagain): Define.
61316         (cache_addhst): Return tryagain not notfound for temporary errors.
61317         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61318         failed.
61320 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61322         [BZ #10563]
61323         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61324         to make the syscall.
61325         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61327         [BZ #12378]
61328         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61329         and fall back to matching as normal character if the string ends before
61330         the matching ']' is found.  This is what POSIX requires.
61331         * posix/testfnm.c: Adjust test result.
61332         * posix/globtest.sh: Adjust test result.  Add new test.
61333         * posix/tst-fnmatch.input: Likewise.
61334         * posix/tst-fnmatch2.c: Add new test.
61336 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61338         * elf/Makefile (check-execstack): Revert last change.  Depend on
61339         check-execstack.h.
61340         (check-execstack.h): New target.
61341         (generated): Add check-execstack.h.
61342         * elf/check-execstack.c: Include "check-execstack.h".
61343         (main): Revert last change.
61344         (handle_file): Return zero if GNU_STACK is absent and
61345         DEFAULT_STACK_PERMS doesn't include PF_X.
61347 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61349         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61350         in child fails because the descriptor is already closed.
61351         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61352         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61353         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61355         [BZ #12397]
61356         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61357         syscall.
61359         [BZ #10484]
61360         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61361         temporary buffer used to handle multi lookups locally.
61362         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61364 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61366         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61367         loader is ld.so.
61369 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61371         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61372         alignment for SSE2.
61374 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61376         [BZ #12394]
61377         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61378         characters.  When rounding increased number of integer digits recompute
61379         number of groups.
61380         * stdio-common/tst-grouping.c: New file.
61381         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61383 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61385         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61386         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61388         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61389         void.
61390         * bits/select.h: Likewise.
61392 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61394         * po/ja.po: Update from translation team.
61396 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61398         [BZ #11155]
61399         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61400         implementation just like for lxstat, fxstatat, et al.
61402 2010-12-27  Jim Meyering  <meyering@redhat.com>
61404         [BZ #12348]
61405         * posix/regexec.c (build_trtable): Return failure indication upon
61406         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61408 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61410         [BZ #12201]
61411         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61412         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61413         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61414         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61416         [BZ #12207]
61417         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61419         [BZ #12204]
61420         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61421         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61423 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61425         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61426         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61427         script has SORT_BY_INIT_PRIORITY.
61428         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61429         NO_CTORS_DTORS_SECTIONS is defined.
61430         * elf/soinit.c: Likewise.
61431         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61432         NO_CTORS_DTORS_SECTIONS is defined.
61433         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61434         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61435         * sysdeps/sh/init-first.c: Likewise.
61436         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61438 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61440         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61441         always use the slow path.
61443 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61445         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61446         similar rule which adds the sysdep directories to the header search in
61447         order to pick up the correct platform stackinfo.h.
61448         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61449         perform test if it is, otherwise return successfully without testing.
61450         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61451         DEFAULT_STACK_PERMS define in stackinfo.h.
61452         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61453         defined in stackinfo.h.
61454         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61455         DEFAULT_STACK_PERMS defined in stackinfo.h.
61456         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61457         * sysdeps/ia64/stackinfo.h: Likewise.
61458         * sysdeps/s390/stackinfo.h: Likewise.
61459         * sysdeps/sh/stackinfo.h: Likewise.
61460         * sysdeps/sparc/stackinfo.h: Likewise.
61461         * sysdeps/x86_64/stackinfo.h: Likewise.
61462         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61463         PF_X for powerpc64.  Retain PF_X for powerpc32.
61465 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61467         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61468         accurately.
61469         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61470         GETDENTS_64BIT_ALIGNED.
61472 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61474         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61476 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61478         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61479         _GNU_SOURCE.
61481         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61482         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61483         Remove __restrict.
61484         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61485         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61487 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61489         [BZ #11655]
61490         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61491         are initialized.
61493 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61495         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61497 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61499         * po/it.po: Update from translation team.
61501 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61503         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61504         unused codes.
61506 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61508         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61510 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61512         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61513         specially.
61514         (gaih_getanswer_slice): Likewise.
61516 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61518         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61520 2010-05-31  Petr Baudis  <pasky@suse.cz>
61522         [BZ #11149]
61523         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61524         silently even in the chroot mode.
61526 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61528         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61529         last patch a bit.  Pretty printing
61531 2010-05-31  Petr Baudis <pasky@suse.cz>
61533         [BZ #10085]
61534         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61535         initialization of skip_initgroups_dyn.
61537 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61539         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61540         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61542 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61544         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61546 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61548         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61549         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61550         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61551         ($(objpfx)tst-fnmatch-mem): New rule.
61552         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61553         * posix/tst-fnmatch.c (main): Call mtrace.
61555 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61558         Support Intel processor model 6 and model 0x2c.
61560 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61562         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61563           signed comparison.
61565 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61567         [BZ #12205]
61568         * string/test-strncasecmp.c (check_result): New function.
61569         (do_one_test): Use it.
61570         (check1): New function.
61571         (test_main): Use it.
61572         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61573         Support strcasecmp and strncasecmp.
61575 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61577         [BZ #12194]
61578         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61579         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61581 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61583         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61584         IFUNC support.
61585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61586         memset-x86-64.
61587         * sysdeps/x86_64/multiarch/bzero.S: New file.
61588         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61589         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61590         * sysdeps/x86_64/multiarch/memset.S: New file.
61591         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61593         Set bit_Prefer_SSE_for_memop for Intel processors.
61594         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61595         Define.
61596         (index_Prefer_SSE_for_memop): Define.
61597         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61599 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61601         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61602         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61604 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61606         [BZ #12191]
61607         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61608         (__x86_64_raw_data_cache_size_half): Likewise.
61609         (__x86_64_raw_shared_cache_size): Likewise.
61610         (__x86_64_raw_shared_cache_size_half): Likewise.
61612         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61613         (__x86_64_raw_data_cache_size_half): Likewise.
61614         (__x86_64_raw_shared_cache_size): Likewise.
61615         (__x86_64_raw_shared_cache_size_half): Likewise.
61616         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61617         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61618         and __x86_64_raw_shared_cache_size_half.  Round
61619         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61620         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61621         to multiple of 256 bytes.
61623 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61625         [BZ #12167]
61626         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61627         of inacessible symlinks.  Verify result of symlink before returning it.
61628         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61629         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61631 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61633         * math/math.h (isinf): Fix typo in comment.
61635 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61637         * po/da.po: Update from translation team.
61639 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61641         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61642         is added to the list.
61644 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61645             Ulrich Drepper  <drepper@gmail.com>
61647         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61648         the global list here.  Move code to...
61649         (_dl_add_to_namespace_list): ...here.  New function.
61650         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61651         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61652         * elf/dl-load.c (lose): Don't remove the element from the list.
61653         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61654         (_dl_map_object): Likewise.
61656 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61658         [BZ #12159]
61659         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61660         into all bytes of SSE register.
61661         Patch by Richard Li <richardpku@gmail.com>.
61663 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61665         [BZ #12140]
61666         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61667         perturbing.
61669 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61671         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61672         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61673         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61674         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61676         submachine.
61677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61679 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61681         * include/dlfcn.h (__RTLD_SECURE): Define.
61682         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61683         mode & __RTLD_SECURE instead.
61684         (open_path): Rename preloaded parameter to secure.
61685         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61686         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61687         * elf/dl-deps.c (openaux): Likewise.
61688         * elf/rtld.c (struct map_args): Remove is_preloaded.
61689         (map_doit): Don't use it.
61690         (dl_main): Likewise.
61691         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61692         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61694 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61696         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61697         (sysd-rules-targets): Remove duplicates.
61698         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61699         rtld-%.$o dependency.
61701 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61703         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61704         _dl_map_object do it.
61706 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61708         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61709         fast fma builtins, define the macros in the C99 standard.
61710         (FP_FAST_FMAF): Likewise.
61711         (FP_FAST_FMAL): Likewise.
61712         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61714         * bits/mathdef.h: Update copyright year.
61715         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61717 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61719         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61720         builtins, define the macros in the C99 standard.
61721         (FP_FAST_FMAF): Likewise.
61722         (FP_FAST_FMAL): Likewise.
61723         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61724         multiply/add.
61725         (FP_FAST_FMAF): Likewise.
61727 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61729         [BZ #3268]
61730         * math/libm-test.inc (fma_test): Some new testcases.
61731         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61732         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61733         y and infinite z.  Do multiplication by C already in long double.
61734         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61736         y and infinite z.  Do bitwise or of inexact bit into u.d.
61737         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61738         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61739         * sysdeps/i386/fpu/s_fma.S: Removed.
61740         * sysdeps/i386/fpu/s_fmal.S: Removed.
61742 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61744         [BZ #3268]
61745         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61747         computation is not scheduled after fetestexcept.  Fix value
61748         of minimum denormal long double.
61750 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61752         [BZ #3268]
61753         * math/libm-test.inc (fma_test): Add some more tests.
61754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61755         correctly.
61757 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61759         * scripts/data/localplt-s390-linux-gnu.data: New file.
61760         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61762 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61764         [BZ #3268]
61765         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61766         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61767         instead of dbl-64.
61768         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61769         inlines.
61770         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61772         if one of x and y is very large and the other is subnormal.
61773         * sysdeps/s390/fpu/s_fmaf.c: New file.
61774         * sysdeps/s390/fpu/s_fma.c: New file.
61775         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61776         * sysdeps/powerpc/fpu/s_fma.S: New file.
61777         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61778         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61779         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61781 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61783         [BZ #3268]
61784         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61785         fma tests.
61786         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61787         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61788         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61789         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61790         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61791         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61792         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61794 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61796         [BZ #12078]
61797         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61798         * posix/bug-regex31.input: Add test case.
61800 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61802         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61803         * posix/bug-regex31.input: New file.
61805         [BZ #12078]
61806         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61807         (parse_sub_exp): Fix last change, use postorder.
61809         * posix/bug-regex31.c: New file.
61810         * posix/Makefile: Add rules to build and run bug-regex31.
61812         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61814         [BZ #12078]
61815         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61817         [BZ #12108]
61818         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61819         to have entries in sys_siglist.
61821         [BZ #12093]
61822         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61823         be NULL.
61825 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61827         [BZ #3268]
61828         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61829         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61830         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61831         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61832         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61833         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61834         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61835         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61836         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61837         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61838         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61839         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61840         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61841         * math/ftestexcept.c (fetestexcept): Likewise.
61842         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61843         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61844         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61845         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61846         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61847         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61848         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61850 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61852         [BZ #12107]
61853         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61854         newline.
61856 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61858         * string/bug-strstr1.c: New file.
61859         * string/Makefile: Add rules to build and run bug-strstr1.
61861 2010-10-05  Eric Blake  <eblake@redhat.com>
61863         [BZ #12092]
61864         * string/str-two-way.h (two_way_long_needle): Always clear memory
61865         when skipping input due to the shift table.
61867 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61869         [BZ #12005]
61870         * malloc/mcheck.c: Handle large requests.
61872         [BZ #12077]
61873         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61874         for strncmp and strncasecmp.
61875         * string/stratcliff.c: Add tests for strcmp and strncmp.
61876         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61878 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61880         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61881         __set_fpscr.
61883 2010-09-30  Andreas Jaeger  <aj@suse.de>
61885         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61886         (CGROUP_SUPER_MAGIC): Define.
61887         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61888         Handle btrfs and cgroup file systems.
61889         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61890         Likewise.
61892 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61894         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61895         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61897 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61899         [BZ #12067]
61900         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61901         trying to locate the ELF header.
61903 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61905         [BZ #11611]
61906         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61907         Mask out sign-bit copies when constructing f_fsid.
61909 2010-09-24  Petr Baudis <pasky@suse.cz>
61911         * debug/stack_chk_fail_local.c: Add missing licence exception.
61912         * debug/warning-nop.c: Likewise.
61914 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61916         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61917         implementing getdents64 using getdents syscall, set d_type if
61918         __ASSUME_GETDENTS32_D_TYPE.
61920 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61922         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61923         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61925 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61927         [BZ #12037]
61928         * posix/unistd.h: Undo change of feature selection for ftruncate from
61929         2010-01-11.
61931 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61933         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61934         detection.
61936 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61938         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61939         fanotify_mark.
61940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61942 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61944         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61945         variables after CHECK_SP call.
61946         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61948 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61949             Ulrich Drepper  <drepper@redhat.com>
61951         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61952         re-relocationg ld.so.
61953         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61954         _dl_init_paths call.
61955         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61956         here anymore.
61958 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61960         * resolv/res_init.c (__res_vinit): Count the default server we added.
61962 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61963             Ulrich Drepper  <drepper@redhat.com>
61965         [BZ #11968]
61966         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61967         (____longjmp_chk): Use %ebx for saving value across system call.
61968         Add unwind info.
61970 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61972         * manual/Makefile: Don't mix pattern rules with normal rules.
61974 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61976         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61977         operation.
61978         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61979         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61980         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61981         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61983         Likewise.
61985 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61987         [BZ #11979]
61988         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61989         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61991 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61993         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61994         * sysdeps/x86_64/addmul_1.S: Likewise.
61995         * sysdeps/x86_64/lshift.S: Likewise.
61996         * sysdeps/x86_64/mul_1.S: Likewise.
61997         * sysdeps/x86_64/rshift.S: Likewise.
61998         * sysdeps/x86_64/sub_n.S: Likewise.
61999         * sysdeps/x86_64/submul_1.S: Likewise.
62001 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62003         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62004         Define __sched_param instead of SCHED_* and sched_param when
62005         <bits/sched.h> is included with __need_schedparam defined.
62006         * bits/sched.h [__need_schedparam]
62007         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62008         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62009         (__defined_schedparam): Define to 1.
62010         (__sched_param): New structure, identical to sched_param.
62011         (__need_schedparam): Undefine.
62013 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62015         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62016         (epoll_create1): Declare.
62018         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62020 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62022         [BZ #7066]
62023         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62024         shifting retval into place.
62026 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62028         * nis/rpcsvc/nis.h: Update copyright notice.
62029         * nis/rpcsvc/nis.x: Likewise.
62030         * nis/rpcsvc/nis_callback.h: Likewise.
62031         * nis/rpcsvc/nis_callback.x: Likewise.
62032         * nis/rpcsvc/nis_object.x: Likewise.
62033         * nis/rpcsvc/nis_tags.h: Likewise.
62034         * nis/rpcsvc/yp.h: Likewise.
62035         * nis/rpcsvc/yp.x: Likewise.
62036         * nis/rpcsvc/ypupd.h: Likewise.
62037         * nis/yp_xdr.c: Likewise.
62038         * nis/ypupdate_xdr.c: Likewise.
62040         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62041         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62042         (pmap_getport): Use __libc_rpc_getport.
62043         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62044         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62045         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62047 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62050         fanotify_mark.
62052 2010-08-27  Roland McGrath  <roland@redhat.com>
62054         * sysdeps/i386/i686/multiarch/Makefile
62055         (CFLAGS-varshift.c): New variable.
62057 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62059         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62060         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62062         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62064         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62066 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62068         * sysdeps/x86_64/strlen.S: Unroll the loop.
62069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62070         strlen-sse2 strlen-sse2-bsf.
62071         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62072         __strlen_no_bsf if bit_Slow_BSF is set.
62073         (__strlen_sse42): Removed.
62074         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62075         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62077 2010-08-25  Roland McGrath  <roland@redhat.com>
62079         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62080         * sysdeps/x86_64/multiarch/varshift.c: New file.
62081         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62082         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62083         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62086 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62088         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62089         strlen-sse2 strlen-sse2-bsf.
62090         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62091         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62092         (__strlen_sse2): Removed.
62093         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62094         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62096         bit_Slow_BSF for Atom.
62097         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62098         (index_Slow_BSF): Define.
62099         (HAS_SLOW_BSF): Define.
62101 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62103         [BZ #10851]
62104         * resolv/res_init.c (__res_vinit): When no server address at all
62105         is given default to loopback.
62107 2010-08-24  Roland McGrath  <roland@redhat.com>
62109         * configure.in: Remove config-name.h generation.
62110         * configure: Regenerated.
62111         * config-name.in: File removed.
62112         * scripts/config-uname.sh: New file.
62113         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62114         ($(objdir)config-name.h): New target.
62116         * sunrpc/rpc_parse.h: Avoid nested comment.
62118 2010-08-24  Richard Henderson  <rth@redhat.com>
62119             Ulrich Drepper  <drepper@redhat.com>
62120             H.J. Lu  <hongjiu.lu@intel.com>
62122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62124         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62125         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62126         _mm_alignr_epi8 with _mm_loadu_si128.
62127         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62128         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62129         (__m128i_shift_right): Removed.
62130         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62131         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62132         * sysdeps/x86_64/multiarch/varshift.h: New file.
62133         * sysdeps/x86_64/multiarch/varshift.S: New file.
62135 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62137         * configure.in: Move assembler checks to before sysdep dir checking.
62139 2010-08-20  Petr Baudis  <pasky@suse.cz>
62141         * LICENSES: Sync the sunrpc license.
62143 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62145         * sunrpc/auth_des.c: Update copyright notice once again.
62146         * sunrpc/auth_none.c: Likewise.
62147         * sunrpc/auth_unix.c: Likewise.
62148         * sunrpc/authdes_prot.c: Likewise.
62149         * sunrpc/authuxprot.c: Likewise.
62150         * sunrpc/bindrsvprt.c: Likewise.
62151         * sunrpc/clnt_gen.c: Likewise.
62152         * sunrpc/clnt_perr.c: Likewise.
62153         * sunrpc/clnt_raw.c: Likewise.
62154         * sunrpc/clnt_simp.c: Likewise.
62155         * sunrpc/clnt_tcp.c: Likewise.
62156         * sunrpc/clnt_udp.c: Likewise.
62157         * sunrpc/clnt_unix.c: Likewise.
62158         * sunrpc/des_crypt.c: Likewise.
62159         * sunrpc/des_soft.c: Likewise.
62160         * sunrpc/get_myaddr.c: Likewise.
62161         * sunrpc/getrpcport.c: Likewise.
62162         * sunrpc/key_call.c: Likewise.
62163         * sunrpc/key_prot.c: Likewise.
62164         * sunrpc/openchild.c: Likewise.
62165         * sunrpc/pm_getmaps.c: Likewise.
62166         * sunrpc/pm_getport.c: Likewise.
62167         * sunrpc/pmap_clnt.c: Likewise.
62168         * sunrpc/pmap_prot.c: Likewise.
62169         * sunrpc/pmap_prot2.c: Likewise.
62170         * sunrpc/pmap_rmt.c: Likewise.
62171         * sunrpc/rpc/auth.h: Likewise.
62172         * sunrpc/rpc/auth_unix.h: Likewise.
62173         * sunrpc/rpc/clnt.h: Likewise.
62174         * sunrpc/rpc/des_crypt.h: Likewise.
62175         * sunrpc/rpc/key_prot.h: Likewise.
62176         * sunrpc/rpc/netdb.h: Likewise.
62177         * sunrpc/rpc/pmap_clnt.h: Likewise.
62178         * sunrpc/rpc/pmap_prot.h: Likewise.
62179         * sunrpc/rpc/pmap_rmt.h: Likewise.
62180         * sunrpc/rpc/rpc.h: Likewise.
62181         * sunrpc/rpc/rpc_des.h: Likewise.
62182         * sunrpc/rpc/rpc_msg.h: Likewise.
62183         * sunrpc/rpc/svc.h: Likewise.
62184         * sunrpc/rpc/svc_auth.h: Likewise.
62185         * sunrpc/rpc/types.h: Likewise.
62186         * sunrpc/rpc/xdr.h: Likewise.
62187         * sunrpc/rpc_clntout.c: Likewise.
62188         * sunrpc/rpc_cmsg.c: Likewise.
62189         * sunrpc/rpc_common.c: Likewise.
62190         * sunrpc/rpc_cout.c: Likewise.
62191         * sunrpc/rpc_dtable.c: Likewise.
62192         * sunrpc/rpc_hout.c: Likewise.
62193         * sunrpc/rpc_main.c: Likewise.
62194         * sunrpc/rpc_parse.c: Likewise.
62195         * sunrpc/rpc_parse.h: Likewise.
62196         * sunrpc/rpc_prot.c: Likewise.
62197         * sunrpc/rpc_sample.c: Likewise.
62198         * sunrpc/rpc_scan.c: Likewise.
62199         * sunrpc/rpc_scan.h: Likewise.
62200         * sunrpc/rpc_svcout.c: Likewise.
62201         * sunrpc/rpc_tblout.c: Likewise.
62202         * sunrpc/rpc_util.c: Likewise.
62203         * sunrpc/rpc_util.h: Likewise.
62204         * sunrpc/rpcinfo.c: Likewise.
62205         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62206         * sunrpc/rpcsvc/key_prot.x: Likewise.
62207         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62208         * sunrpc/rpcsvc/mount.x: Likewise.
62209         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62210         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62211         * sunrpc/rpcsvc/rex.x: Likewise.
62212         * sunrpc/rpcsvc/rstat.x: Likewise.
62213         * sunrpc/rpcsvc/rusers.x: Likewise.
62214         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62215         * sunrpc/rpcsvc/spray.x: Likewise.
62216         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62217         * sunrpc/rtime.c: Likewise.
62218         * sunrpc/svc.c: Likewise.
62219         * sunrpc/svc_auth.c: Likewise.
62220         * sunrpc/svc_authux.c: Likewise.
62221         * sunrpc/svc_raw.c: Likewise.
62222         * sunrpc/svc_run.c: Likewise.
62223         * sunrpc/svc_simple.c: Likewise.
62224         * sunrpc/svc_tcp.c: Likewise.
62225         * sunrpc/svc_udp.c: Likewise.
62226         * sunrpc/svc_unix.c: Likewise.
62227         * sunrpc/svcauth_des.c: Likewise.
62228         * sunrpc/xcrypt.c: Likewise.
62229         * sunrpc/xdr.c: Likewise.
62230         * sunrpc/xdr_array.c: Likewise.
62231         * sunrpc/xdr_float.c: Likewise.
62232         * sunrpc/xdr_mem.c: Likewise.
62233         * sunrpc/xdr_rec.c: Likewise.
62234         * sunrpc/xdr_ref.c: Likewise.
62235         * sunrpc/xdr_sizeof.c: Likewise.
62236         * sunrpc/xdr_stdio.c: Likewise.
62238         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62239         handling.
62241 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62243         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62245 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62247         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62248         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62249         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62250         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62251         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62252         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62253         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62254         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62255         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62256         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62257         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62258         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62259         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62260         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62262 2010-07-26  Anton Blanchard  <anton@samba.org>
62264         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62265         * malloc/arena.c (heap_trim): Likewise.
62267 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62269         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62270         here.  Not...
62271         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62272         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62274 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62276         * sysdeps/i386/elf/Makefile: New file.
62278 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62280         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62281         from fanotify_init.
62282         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62285 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62287         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62288         of strncasecmp_l.
62289         * sysdeps/multiarch/strcmp.S: Likewise.
62291 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62293         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62294         strncase_l-nonascii.
62295         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62296         Add strncase_l-ssse3.
62297         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62298         * sysdeps/x86_64/strcmp.S: Likewise.
62299         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62300         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62301         * sysdeps/x86_64/strncase.S: New file.
62302         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62303         * sysdeps/x86_64/strncase_l.S: New file.
62304         * string/Makefile (strop-tests): Add strncasecmp.
62305         * string/test-strncasecmp.c: New file.
62307         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62308         warning.
62310         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62311         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62313 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62315         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62317 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62319         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62320         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62321         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62323 2010-05-01  Alan Modra  <amodra@gmail.com>
62325         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62326         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62327         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62328         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62329         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62330         tidying.  Don't tail-call __sigjmp_save for static lib.
62331         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62332         save location.
62333         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62334         (CALL_MCOUNT): Add eh info, and nop after bl.
62335         (TAIL_CALL_SYSCALL_ERROR): New macro.
62336         (PSEUDO_RET): Use it.
62337         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62338         Correct save location of integer regs and cr.
62339         (_dl_profile_resolve): Correct cr save location.  Delete nops
62340         after bl when SHARED.  Reduce cfi size a little by better
62341         placement of cfi directives.
62342         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62343         make a stack frame.  Instead use parm save area as a temp.
62344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62345         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62347         Don't make a stack frame for parent, use parm save area.
62348         Increase child stack frame to 112 bytes.  Don't save unused reg,
62349         and adjust reg usage.  Set up cfi on error recovery and
62350         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62352         (__makecontext): Add dummy nop after jump to exit.
62353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62354         Use correct parm save area and cr save, reduce stack frame.
62355         Correct cfi for possible PSEUDO_RET frame setup.
62356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62357         Branch to local label emitted by PSEUDO_RET rather than
62358         __syscall_error.
62360 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62362         [BZ #11904]
62363         * locale/programs/locale.c (print_assignment): New function.
62364         (show_locale_vars): Use it.
62366 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62368         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62369         field.
62370         (struct statfs64): Likewise.
62371         (_STATFS_F_FLAGS): Define.
62372         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62374         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62375         (ST_VALID): Define locally.
62376         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62377         __statvfs_getflags, use the provided value.
62378         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62379         __ASSUME_STATFS_F_FLAGS.
62381         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62383         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62384         Add sys/fanotify.h.
62385         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62386         fanotify_mask for GLIBC_2.13.
62387         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62388         fanotify_init and fanotify_mark.
62389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62390         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62392         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62393         Add prlimit.
62394         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62395         prlimit64 for GLIBC_2.13.
62396         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62397         prlimit64.
62398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62399         syscall.
62400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62401         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62402         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62405         add prlimit alias.
62406         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62408         [BZ #11903]
62409         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62410         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62412         * nss/Makefile: Add rules to build and run tst-nss-test1.
62413         * shlib-versions: Add entry for libnss_test1.
62414         * nss/nss_test1.c: New file.
62415         * nss/tst-nss-test1.c: New file.
62417         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62418         (__nss_configure_lookup): Set appropriate entry in
62419         __nss_configure_lookup to true.
62420         * nss/nsswitch.h: Define enum with indeces of databases in
62421         databases and __nss_database_custom arrays.  Declare
62422         __nss_database_custom.
62423         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62424         to avoid using nscd when custom rules are installed.
62425         * nss/getXXbyYY_r.c: Likewise.
62426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62428         * nss/nss_files/files-parse.c: Whitespace fixes.
62430 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62432         [BZ #11883]
62433         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62434         * posix/fnmatch_loop.c: Likewise.
62436 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62438         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62439         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62440         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62441         * Versions.def [GLIBC_2.13]: Add.
62443 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62446         Also fail if tpwd after pwuid call is NULL.
62448 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62450         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62451         when converting to ms.
62453 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62455         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62456         EOPNOTSUPP errors with ENOTTY.
62457         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62458         EOPNOTSUPP errors with ENOTTY.
62460 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62462         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62463         Add strcasecmp_l-ssse3.
62464         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62465         strcasecmp.
62466         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62467         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62468         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62470 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62472         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62474         * string/Makefile (strop-tests): Add strcasecmp.
62475         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62476         strcasecmp_l-nonascii.
62477         (gen-as-const-headers): Add locale-defines.sym.
62478         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62479         * sysdeps/x86_64/strcasecmp.S: New file.
62480         * sysdeps/x86_64/strcasecmp_l.S: New file.
62481         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62482         * sysdeps/x86_64/locale-defines.sym: New file.
62483         * string/test-strcasecmp.c: New file.
62485         * string/test-strcasestr.c: Test both ends of the range of characters.
62486         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62488 2010-07-29  Roland McGrath  <roland@redhat.com>
62490         [BZ #11856]
62491         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62493 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62495         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62496         for ld.so.
62498 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62500         * manual/memory.texi (Malloc Tunable Parameters): Document
62501         M_PERTURB.
62503 2010-07-26  Roland McGrath  <roland@redhat.com>
62505         [BZ #11840]
62506         * configure.in (-fgnu89-inline check): Set and substitute
62507         gnu89_inline, not libc_cv_gnu89_inline.
62508         * configure: Regenerated.
62509         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62511 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62513         * string/test-strnlen.c: New file.
62514         * string/Makefile (strop-tests): Add strnlen.
62515         * string/tester.c (test_strnlen): Add a few more test cases.
62516         * string/tst-strlen.c: Better error reporting.
62518         * sysdeps/x86_64/strnlen.S: New file.
62520 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62522         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62523         lower-latency instructions.
62525 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62527         * string/test-strcasestr.c: New file.
62528         * string/test-strstr.c: New file.
62529         * string/Makefile (strop-tests): Add strstr and strcasestr.
62530         * string/str-two-way.h: Don't undefine MAX.
62531         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62533 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62536         strcasestr-nonascii.
62537         (CFLAGS-strcasestr-nonascii.c): Define.
62538         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62540         Remove unused attribute.
62542 2010-07-20  Roland McGrath  <roland@redhat.com>
62544         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62545         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62546         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62547         like LD_HWCAP_MASK can disable hwcaps.
62549 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62551         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62553 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62555         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62556         call in strcasestr.
62557         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62558         __strcasestr_sse42_nonascii.
62559         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62560         strcasestr-nonascii.c.
62561         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62563 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62565         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62566         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62567         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62568         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62570 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62572         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62573         fcntl.
62575 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62577         [BZ #11577]
62578         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62579         dl_signal_cerror.
62581 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62583         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62584         _PC_PIPE_BUF using F_GETPIPE_SZ.
62586 2010-07-05  Roland McGrath  <roland@redhat.com>
62588         * manual/arith.texi (Rounding Functions): Fix rint description
62589         implicit in round description.
62591 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62593         * elf/Makefile: Fix linking for a few tests to make recent linker
62594         happy.
62596 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62598         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62599         $(common-objpfx)libc_nonshared.a.
62601 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62603         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62604         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62605         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62606         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62607         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62608         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62609         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62610         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62625         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62626         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62627         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62628         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62629         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62630         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62631         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62632         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62633         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62634         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62635         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62636         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62652 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62654         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62655         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62656         * string/memmove.c (memmove): Renamed to ...
62657         (MEMMOVE): ...this.  Default to memmove.
62658         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62659         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62660         (END_CHK): Define.
62661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62662         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62663         mempcpy-ssse3-back memmove-ssse3-back.
62664         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62665         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62666         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62667         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62668         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62669         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62670         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62671         * sysdeps/x86_64/multiarch/memmove.c: New file.
62672         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62673         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62674         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62675         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62676         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62678         Define.
62679         (index_Fast_Copy_Backward): Define.
62680         (HAS_ARCH_FEATURE): Define.
62681         (HAS_FAST_REP_STRING): Define.
62682         (HAS_FAST_COPY_BACKWARD): Define.
62684 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62686         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62687         Restore proper fallback handling.
62689 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62691         [BZ #11701]
62692         * posix/group_member.c (__group_member): Correct checking loop.
62694         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62695         OOM in getpwuid_r correctly.  Return error number when the caller
62696         should return, otherwise -1.
62697         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62698         call returning > 0 value.
62699         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62701 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62703         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62704         libc_nonshared.a from targets in modules-names.
62706 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62708         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62709         requires it.
62711 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62713         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62714         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62715         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62716         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62718 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62720         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62722 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62724         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62725         and F_GETPIPE_SZ.
62726         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62730         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62731         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62733 2010-06-14  Roland McGrath  <roland@redhat.com>
62735         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62737 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62739         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62740         __REDIRECT followed by __THROW.
62741         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62742         * posix/getopt.h (getopt): Likewise.
62744 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62746         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62747         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62748         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62749         in AT_FLAGS.
62750         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62751         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62753 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62755         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62757 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62759         [BZ #11640]
62760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62761         Properly check family and model.
62763 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62765         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62767 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62769         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62771 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62773         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62774         symbol reference.
62776 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62778         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62779         symbol reference.
62781 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62783         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62784         and internal_recvmmsg.
62785         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62786         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62787         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62788         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62790         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62791         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62792         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62794 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62796         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62798 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62800         POWER7 optimizations.
62801         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62802         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62804 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62806         * version.h: Update for 2.13 development version.
62808 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62810         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62811         exceptions.  Return 0.
62813 2010-05-07  Roland McGrath  <roland@redhat.com>
62815         * elf/ldconfig.c (main): Add a const.
62817 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62819         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62820         (args_options): Add no-idn option.
62821         (ahosts_keys_int): Add idn_flags to ai_flags.
62822         (parse_option): Handle 'i' option to clear idn_flags.
62824         * malloc/malloc.c (_int_free): Possible race in the most recently
62825         added check.  Only act on the data if no current modification
62826         happened.
62828 See ChangeLog.17 for earlier changes.