Align stack to 16 bytes when calling __errno_location
[glibc.git] / ChangeLog
blob4f985f1591ccecbdc1a55d79122a0b9308413d65
1 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #18661]
4         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5         when calling __errno_location.
6         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11         [BZ #18661]
12         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14         __gettimeofday.
16 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18         [BZ #18661]
19         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20         (__start_context): Don't use pop to restore %rdi so that stack
21         is aligned to 16 bytes when calling __setcontext.
23 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26         only for libc.
27         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
35 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
37         * string/memccpy.c (memccpy):
38         Improve performance by using memchr/memcpy/__mempcpy.
40 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
42         * string/strncpy.c (strncpy):
43         Improve performance by using __strnlen/memcpy.
45 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
47         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
48         Optimize to avoid an unnecessary FPCR read.
50 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
52         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
53         Optimize to reduce FPCR/FPSR accesses.
55 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
57         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
58         dead->data[category] != NULL.
60 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #18647]
63         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
64         and |x| close to 1, use absolute value of x when computing log.
65         * math/auto-libm-test-in: Add more tests of pow.
66         * math/auto-libm-test-out: Regenerated.
68 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
70         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
71         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
72         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
74 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
76         [BZ #18525]
77         * locales/km_KH: Remove timezone definition.
78         * locales/lo_LA: Likewise.
79         * locales/my_MM: Likewise.
80         * locales/nan_TW@latin: Likewise.
81         * locales/th_TH: Likewise.
82         * locales/uk_UA: Likewise.
84 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
86         [BZ #18265]
87         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
88         (wcsncat): Likewise.
89         (wcscmp): Likewise.
90         (wcsncmp): Likewise.
92 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
94         * test-skeleton.c (usage): New function.
95         (main): Call usage when opt is '?'.
97 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
99         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
100         before first use.
102 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
104         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
105         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
106         in there too.
108 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
110         * version.h (RELEASE): Set to "development".
111         (VERSION): Set to "2.22.90"
113         * version.h (RELEASE): Set to "stable".
114         (VERSION): Set to "2.22"
115         * include/features.h (__GLIBC_MINOR__): Set to 22.
117 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
119         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
120         Restructure macro to avoid "value computed is not used" warning.
121         (atomic_compare_and_exchange_val_acq): Likewise.
123 2015-08-04  Andreas Schwab  <schwab@suse.de>
125         [BZ #18635]
126         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
127         ret.
128         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
130 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
132         * po/pl.po: Updated translation.
133         * po/uk.po: Likewise.
134         * po/fi.po: Likewise.
135         * po/ko.po: Likewise.
136         * po/ru.po: Likewise.
137         * po/vi.po: Likewise.
139 2015-07-31  Zack Weinberg  <zackw@panix.com>
141         [BZ #18681]
142         * regexp.h: Add unconditional #warning stating that this header
143         will be removed soon.  Revise banner comment to match.
144         (compile): Consistently use ERROR instead of RETURN to report
145         errors (partial fix for bz#18681).
146         * regexp.c: Don't include regexp.h. Remove some unnecessary
147         declarations.
149 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
151         * po/libc.pot: Regenerated.
153 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
155         [BZ #18740]
156         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
157         float-vlen4-arch-ext-cflags): Removed.
158         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
159         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
161 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
163         [BZ #14113]
164         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
165         aligned to __aligned__.
166         (pthread_cond_t, pthread_rwlock_t): Likewise.
168 2015-07-30  Torvald Riegel  <triegel@redhat.com>
170         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
172 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
174         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
175         (struct sigaction): Change sa_flags from a long to an int, and add
176         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
178 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
180         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
181         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
182         sysdeps/generic/sysdep.h include.
183         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
184         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
185         sysdeps/hppa/sysdep.h.
186         (ENTRY, PSEUDO): Undefine before defining.
188 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
190         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
191         from scratch to use INTERNAL_SYSCALL.
193 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
195         [BZ #18078]
196         * scripts/check-localplt.awk: Support alternate relocations.
197         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
198         sections.
199         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
200         malloc entries with + REL R_386_GLOB_DAT.
201         * sysdeps/x86_64/localplt.data: New file.
203 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
205         [BZ #18731]
206         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
207         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
208         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
210 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
212         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
214 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
216         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
217         directly in terms of __sync_fetch_and_add and delete (int) cast.
219 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
221         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
222         the -D_ASM_IA64_CURRENT_H flag.
224 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
226         [BZ #18641]
227         * pwd/pwd.h (putpwent): Delete __nonnull markings.
229 2015-07-27  Andreas Schwab  <schwab@suse.de>
231         * conform/conformtest.pl (checknamespace): Filter out string
232         literals while tokenizing.
234 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
236         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
237         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
238         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
240 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
242         * nptl/tst-join7mod.c: Add #include <string.h>.
244 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
246         * sysdeps/nios2/libm-test-ulps: Update.
248 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
250         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
251         Fix order of arguments to the rt_sigprocmask syscall.
252         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
253         Likewise.
255 2015-07-24  Roland McGrath  <roland@hack.frob.com>
257         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
259 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
261         [BZ #18457]
262         * nptl/Makefile (tests): New test case tst-join7.
263         (modules-names): New test case module tst-join7mod.
264         * nptl/tst-join7.c: New file.
265         * nptl/tst-join7mod.c: New file.
266         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
267         all translation units in libc.so, libpthread.so and rtld.
269 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
273 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
276         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
277         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
278         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
282         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
283         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
284         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
286         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
287         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
288         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
289         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
290         implementation.
292 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
294         [BZ #17711]
295         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
296         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
297         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
298         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
299         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
300         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
302 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
304         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
305         instead of just saying load lock in the comments.
307 2015-07-23  Roland McGrath  <roland@hack.frob.com>
309         * sysdeps/unix/Subdirs: Moved ...
310         * sysdeps/posix/Subdirs: ... here.
311         * login/pty.h (struct termios, struct winsize): Add forward decls.
312         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
313         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
314         * sysdeps/arm/nacl/libc.abilist: Updated.
315         * sysdeps/nacl/libutil.abilist: New file.
317         * bits/signum.h: Update comments to mention 1003.1-2013 too.
318         (SIGWINCH): New macro.
320         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
321         * sysdeps/arm/nacl/libc.abilist: Add it.
323 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
325         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
327 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
329         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
330         Swap __glibc_reserved0 and sa_flags order.
332 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
334         [BZ #18657]
335         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
336         are pending TLS destructor calls.
337         * include/link.h (struct link_map): Add concurrency note for
338         L_TLS_DTOR_COUNT.
339         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
340         Don't touch the link map flag.  Atomically increment
341         l_tls_dtor_count.
342         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
343         Avoid taking the load lock and don't touch the link map flag.
344         * stdlib/tst-tls-atexit-nodelete.c: New test case.
345         * stdlib/Makefile (tests): Use it.
346         * stdlib/tst-tls-atexit.c (do_test): dlopen
347         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
348         to allow tst-tls-atexit-nodelete test case to use it.
350 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
352         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
353         to bits/types.h.
354         (msgqnum_t): New typedef.
355         (msglen_t): Likewise.
356         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
357         and msg_qbytes type to msglen_t.
359 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
361         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
362         pad0 to __glibc_reserved0.
363         (struct stat64): Likewise.
365 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
367         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
368         Change sa_flags from a long to an int and add __glibc_reserved0 before
369         it for padding.
371 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
373         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
374         anonymous by deleting "siginfo" name.
376 2015-07-21  Roland McGrath  <roland@hack.frob.com>
378         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
379         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
380         rather than __nacl_irt_filename.
381         * sysdeps/nacl/xstat.c (__xstat): Likewise.
383         * NEWS: New item for arm-nacl port.
384         * sysdeps/arm/nacl/libc.abilist: New file.
385         * sysdeps/nacl/ld.abilist: New file.
386         * sysdeps/nacl/libBrokenLocale.abilist: New file.
387         * sysdeps/nacl/libanl.abilist: New file.
388         * sysdeps/nacl/libcrypt.abilist: New file.
389         * sysdeps/nacl/libdl.abilist: New file.
390         * sysdeps/nacl/libm.abilist: New file.
391         * sysdeps/nacl/libpthread.abilist: New file.
392         * sysdeps/nacl/libresolv.abilist: New file.
393         * sysdeps/nacl/librt.abilist: New file.
395 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
397         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
398         __startcontext to initialize the new context.
399         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
400         up CFI directive to forbid further backtracing.
402 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
404         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
405         reference.
406         * charmaps/ANSI_X3.4-1968: Likewise.
407         * charmaps/BS_4730: Likewise.
408         * charmaps/BS_VIEWDATA: Likewise.
409         * charmaps/CP1250: Likewise.
410         * charmaps/CP1251: Likewise.
411         * charmaps/CP1252: Likewise.
412         * charmaps/CP1253: Likewise.
413         * charmaps/CP1254: Likewise.
414         * charmaps/CP1255: Likewise.
415         * charmaps/CP1256: Likewise.
416         * charmaps/CSN_369103: Likewise.
417         * charmaps/EBCDIC-DK-NO: Likewise.
418         * charmaps/GB_1988-80: Likewise.
419         * charmaps/GREEK-CCITT: Likewise.
420         * charmaps/GREEK7: Likewise.
421         * charmaps/INIS-8: Likewise.
422         * charmaps/ISIRI-3342: Likewise.
423         * charmaps/ISO_2033-1983: Likewise.
424         * charmaps/ISO_5427-EXT: Likewise.
425         * locales/POSIX: Likewise.
426         * locales/ar_SA: Likewise.
427         * locales/be_BY: Likewise.
428         * locales/be_BY@latin: Likewise.
429         * locales/ca_ES: Likewise.
430         * locales/cs_CZ: Likewise.
431         * locales/da_DK: Likewise.
432         * locales/de_BE: Likewise.
433         * locales/de_CH: Likewise.
434         * locales/de_LU: Likewise.
435         * locales/en_AU: Likewise.
436         * locales/en_BW: Likewise.
437         * locales/en_CA: Likewise.
438         * locales/en_DK: Likewise.
439         * locales/en_GB: Likewise.
440         * locales/en_IE: Likewise.
441         * locales/en_NZ: Likewise.
442         * locales/en_ZA: Likewise.
443         * locales/en_ZW: Likewise.
444         * locales/es_AR: Likewise.
445         * locales/es_BO: Likewise.
446         * locales/es_CL: Likewise.
447         * locales/es_CO: Likewise.
448         * locales/es_DO: Likewise.
449         * locales/es_EC: Likewise.
450         * locales/es_ES: Likewise.
451         * locales/es_HN: Likewise.
452         * locales/es_MX: Likewise.
453         * locales/es_PA: Likewise.
454         * locales/es_PE: Likewise.
455         * locales/es_PY: Likewise.
456         * locales/es_SV: Likewise.
457         * locales/es_US: Likewise.
458         * locales/es_UY: Likewise.
459         * locales/es_VE: Likewise.
460         * locales/et_EE: Likewise.
461         * locales/fa_IR: Likewise.
462         * locales/fo_FO: Likewise.
463         * locales/fr_CA: Likewise.
464         * locales/fr_CH: Likewise.
465         * locales/gv_GB: Likewise.
466         * locales/he_IL: Likewise.
467         * locales/hr_HR: Likewise.
468         * locales/id_ID: Likewise.
469         * locales/is_IS: Likewise.
470         * locales/it_CH: Likewise.
471         * locales/iw_IL: Likewise.
472         * locales/kl_GL: Likewise.
473         * locales/ko_KR: Likewise.
474         * locales/kw_GB: Likewise.
475         * locales/lg_UG: Likewise.
476         * locales/lt_LT: Likewise.
477         * locales/lv_LV: Likewise.
478         * locales/mi_NZ: Likewise.
479         * locales/nhn_MX: Likewise.
480         * locales/nl_BE: Likewise.
481         * locales/pl_PL: Likewise.
482         * locales/sk_SK: Likewise.
483         * locales/sl_SI: Likewise.
484         * locales/sv_FI: Likewise.
485         * locales/tl_PH: Likewise.
486         * locales/tr_TR: Likewise.
487         * locales/vi_VN: Likewise.
489 2015-07-21  Khem Raj  <raj.khem@gmail.com>
491         [BZ #17475]
492         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
493         of tu_IN and bh_IN.
495 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
497         [BZ #18694]
498         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
499         bits/wordsize.h.
500         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
502 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
504         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
505         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
506         (spawn_thread): New function.
507         (load): Rename to reg_dtor_and_close.  Move dlopen to...
508         (do_test): ... here.  Use IS_LOADED to test for its
509         availability.
511 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
513         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
515 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
517         [BZ #18696]
518         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
519         si_addr_bnd.
520         (si_lower): New.
521         (si_upper): Likewise.
523 2015-07-16  David S. Miller  <davem@davemloft.net>
525         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
527 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
529         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
530         buffer.
531         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
532         fail output information.
534 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
537         and strstr-ppc64..
538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
539         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
540         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
541         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
542         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
544 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
546         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
547         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
548         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
549         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
551 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
553         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
554         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
555         rtld_hidden_proto.
556         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
558 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
560         * tst-nodelete-opened.c (do_test): Add comment to clarify how
561         the test can fail.
563         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
565         [BZ #18676]
566         * elf/tst-nodelete-opened.c: New test case.
567         * elf/tst-nodelete-opened-lib.c: New test case module.
568         * elf/Makefile (tests, modules-names): Use them.
569         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
570         early.
572 2015-07-15  David S. Miller  <davem@davemloft.net>
574         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
575         futex-intenal.h
576         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
577         * sysdeps/sparc/sparc64/Makefile: Likewise.
578         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
579         Remove space from macro define.
580         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
582 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
584         [BZ #17475]
585         * locale/iso-639.def: Update Bhili and Tulu language codes as
586         per iso639-3.
588 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
590         * elf/tst-leaks1.c (main): Converted to ...
591         (do_test): ... this.
592         (TEST_FUNCTION): New macro.
593         Include test-skeleton.c.
594         * localedata/tst-langinfo.c (main): Converted to ...
595         (do_test): ... this.
596         (TEST_FUNCTION): New macro.
597         Include test-skeleton.c.
598         * math/test-fpucw.c (main): Converted to ...
599         (do_test): ... this.
600         (TEST_FUNCTION): New macro.
601         Include test-skeleton.c.
602         * math/test-tgmath.c (main): Converted to ...
603         (do_test): ... this.
604         (TEST_FUNCTION): New macro.
605         Include test-skeleton.c.
606         * math/test-tgmath2.c (main): Converted to ...
607         (do_test): ... this.
608         (TEST_FUNCTION): New macro.
609         Include test-skeleton.c.
610         * setjmp/tst-setjmp.c (main): Converted to ...
611         (do_test): ... this.
612         (TEST_FUNCTION): New macro.
613         Include test-skeleton.c.
614         * stdio-common/tst-sscanf.c (main): Converted to ...
615         (do_test): ... this.
616         (TEST_FUNCTION): New macro.
617         Include test-skeleton.c.
618         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
619         (do_test): ... this.
620         (TEST_FUNCTION): New macro.
621         Include test-skeleton.c.
623         * elf/tst-audit9.c (main): Converted to ...
624         (do_test): ... this.
625         (TEST_FUNCTION): New macro.
626         Include test-skeleton.c.
628 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
630         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
632 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
634         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
635         New variable.
637 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
639         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
641 2015-07-14  Roland McGrath  <roland@hack.frob.com>
643         * sysdeps/generic/dl-fileid.h: New file.
644         * sysdeps/posix/dl-fileid.h: New file.
645         * sysdeps/nacl/dl-fileid.h: New file.
646         * include/link.h: Include <dl-fileid.h>.
647         (struct link_map): Replace l_dev and l_ino with l_file_id.
648         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
649         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
650         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
652 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
654         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
656 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
658         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
659         Add iff $CXX is set.
660         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
661         Likewise.
662         (tst-nodelete-zmodiff): Likewise.
663         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
665 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
667         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
669 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
671         * sysdeps/aarch64/fpu/math_private.h
672         (define math_opt_barrier): Add AArch64 version.
673         (math_force_eval): Likewise.
675 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
677         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
679 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
681         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
682         %ld with %jd and cast to intmax_t.
683         (do_test_length_zero): Likewise.
685 2015-07-10  Roland McGrath  <roland@hack.frob.com>
687         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
689 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
691         * sysdeps/tile/libm-test-ulps: Regenerated.
693         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
694         Comment out the whole function, not just its body.
696 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
698         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
699         locks.
701         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
703 2015-07-10  Torvald Riegel  <triegel@redhat.com>
705         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
706         (sem_assume_only_signals_cause_futex_EINTR): Remove.
708 2015-07-10  Torvald Riegel  <triegel@redhat.com>
710         * sysdeps/nptl/futex-internal.h: New file.
711         * sysdeps/nacl/futex-internal.h: New file.
712         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
713         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
714         error checking.
715         (setxid_unmark_thread): Likewise.
716         (__nptl_setxid): Likewise.
717         (__wait_lookup_done): Likewise.
718         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
719         * nptl/nptl-init.c (sighandler_setxid): Likewise.
720         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
721         * nptl/pthread_once.c (clear_once_control): Likewise.
722         (__pthread_once_slow): Likewise.
723         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
724         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
725         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
726         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
727         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
728         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
729         Likewise.
730         (__pthread_rwlock_rdlock): Likewise.
731         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
732         Likewise.
733         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
734         Likewise.
735         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
736         Likewise.
737         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
738         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
739         Likewise.
740         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
741         __ASSUME_PRIVATE_FUTEX check.
742         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
743         Check that shared futexes are supported.
744         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
745         wrappers with error checking.
746         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
747         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
748         * nptl/pthread_barrierattr_setpshared.c
749         (pthread_barrierattr_setpshared): Check that shared futexes are
750         supported.
751         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
752         Likewise.
753         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
754         Likewise.
755         * nptl/sem_init.c (futex_private_if_supported): Remove.
756         (__new_sem_init): Adapt and check that shared futexes are supported.
757         * nptl/sem_open.c (sem_open): Likewise.
758         * nptl/sem_post.c (futex_wake): Remove.
759         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
760         (do_futex_wait): Use futex wrappers with error checking.
761         * nptl/sem_wait.c: Include lowlevellock.h.
762         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
763         Use futex_supports_pshared.
764         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
765         Use futex wrappers with error checking.
766         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
767         Likewise.
768         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
769         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
770         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
771         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
772         (futex_wake): Likewise.
773         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
774         (do_futex_wait): Use futex wrappers with error checking.
775         (__new_sem_wait_slow): Update EINTR handling.
776         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
778 2015-07-09  Martin Sebor  <msebor@redhat.com>
780         [BZ #18435]
781         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
782         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
783         * nptl/Makefile (test-xfail-tst-once5): Define.
785 2015-07-09  Roland McGrath  <roland@hack.frob.com>
787         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
788         * elf/dl-minimal.c: For readability, reorder some definitions and
789         introduce more page breaks.  Include <stdio.h>.
790         (__libc_fatal): New function.
792         * include/unistd.h: Add rtld_hidden_proto for _exit.
793         * posix/_exit.c: Add rtld_hidden_def.
794         * sysdeps/mach/hurd/_exit.c: Likewise.
795         * sysdeps/nacl/_exit.c: Likewise.
796         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
797         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
799 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
802         bndmov encoding with zero displacement.
804 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
805             H.J. Lu  <hongjiu.lu@intel.com>
807         [BZ #18134]
808         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
809         * sysdeps/i386/configure: Regenerated.
810         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
811         (_dl_runtime_profile): Save and restore Intel MPX return bound
812         registers when calling _dl_call_pltexit.  Add
813         PRESERVE_BND_REGS_PREFIX before return.
814         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
815         (LRV_BND1_OFFSET): Likewise.
816         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
817         lrv_bnd1.
818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
819         typo in bndmov encoding.
820         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
821         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
822         branch instructions to preserve bounds.
824 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
827         [GLIBC_2.22]: Add fmemopen.
829 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
831         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
832         returns an error, also try to use host port from __mach_host_self for
833         the __vm_wire call.
834         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
836 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
838         [BZ #18400]
839         [BZ #18648]
840         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
841         Fix pr_uid and pr_gid members.
842         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
843         definition to elf_greg_t.
845 2015-07-08  Roland McGrath  <roland@hack.frob.com>
847         [BZ #18383]
848         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
849         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
850         * sysdeps/arm/configure: Regenerated.
851         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
852         (test-xfail-tst-tlsalign-static): Variable removed.
854         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
855         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
856         rather than explicit 'ln -s'.
858         * resolv/rpc/netdb.h: New file.
859         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
861 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
863         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
864         length buffers.
865         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
866         test-skeleton.c.
868         [BZ #6544]
869         [BZ #11216]
870         [BZ #12836]
871         [BZ #13151]
872         [BZ #13152]
873         [BZ #14292]
874         * include/stdio.h (fmemopen): Remove hidden prototype.
875         (__fmemopen): Add new hidden prototype.
876         * libio/Makefile: Add oldfmemopen object.
877         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
878         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
879         compliance.
880         * libio/oldfmemopen.c: New file: old fmemopen implementation for
881         symbol compatibility.
882         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
883         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
884         fmemopen.
885         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
886         on append and read mode.
887         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
888         fmemopen.
889         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
890         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
891         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
892         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
893         Likewise.
894         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
895         [GLIBC_2.22]: Likewise.
896         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
897         Likewise.
898         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
899         Likewise.
900         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
901         [GLIBC_2.22]: Likewise.
902         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
903         [GLIBC_2.22]: Likewise.
904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
905         [GLIBC_2.22]: Likewise.
906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
907         [GLIBC_2.22]: Likewise.
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
909         [GLIBC_2.22]: Likewise.
910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
911         [GLIBC_2.22]: Likewise.
912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
913         [GLIBC_2.22]: Likewise.
914         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
915         Likewise.
916         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
917         Likewise.
918         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
919         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
920         [GLIBC_2.22]: Likewise.
921         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
922         [GLIBC_2.22]: Likewise.
923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
924         [GLIBC_2.22]: Likewise.
925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
926         [GLIBC_2.22]: Likewise.
927         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
928         Likewise.
929         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
930         Likewise.
931         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
932         Likewise.
933         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
934         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
936 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
938         [BZ #18643]
939         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
940         IPV6_PATHMTU, and IPV6_DONTFRAG.
942 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
944         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
945         and _IO_UNBUFFERED.
946         * libio/oldfileops.c: Likewise.
947         * libio/wfileops.c: Likewise.
949 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
951         * nscd/selinux.c: Delete selinux/flask.h include.
953 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
955         [BZ #18641]
956         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
957         (putpwent): Likewise.
958         (getpwnam): Likewise.
959         (getpwent_r): Likewise.
960         (getpwuid_r): Likewise.
961         (getpwnam_r): Likewise.
962         (fgetpwent_r): Likewise.
964 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
966         [BZ #18557]
967         * inet/rcmd.c (__validuser2_sa): Check user first to
968         short-circuit host check.
970 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
971             Mikhail Ilin  <m.ilin@samsung.com>
973         [BZ #17833]
974         * elf/Makefile (tests): Add tst-nodelete.
975         (modules-names): Add tst-nodelete-uniquemod.
976         (tst-nodelete-uniquemod.so-no-z-defs): New.
977         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
978         (tst-nodelete-zmod.so-no-z-defs): Likewise.
979         ($(objpfx)tst-nodelete): Likewise.
980         ($(objpfx)tst-nodelete.out): Likewise.
981         (LDFLAGS-tst-nodelete): Likewise.
982         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
983         * elf/dl-close.c (_dl_close_worker): Add a parameter to
984         implement forced object deletion.
985         (_dl_close): Pass false to _dl_close_worker.
986         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
987         * elf/tst-nodelete.cc: New file.
988         * elf/tst-nodeletelib.cc: Likewise.
989         * elf/tst-znodeletelib.cc: Likewise.
990         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
992 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
994         [BZ #18508]
995         * stdlib/Makefile ($(objpfx)tst-makecontext3):
996         Depend on $(libdl).
997         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
998         is not called infinitely times.
999         (backtrace_helper): New function.
1000         (trace_arg): New struct.
1001         (st1): Enlarge stack size.
1002         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1003         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1004         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1005         Likewise.
1007 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1009         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1011 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1013         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1014         Include sys/types.h instead of bits/types.h.
1015         Remove inclusion of bits/wordsize.h.
1017 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1019         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1020         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1021         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1022         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1023         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1024         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1026 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1028         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1029         link-defines.sym.
1030         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1031         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1032         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1033         and LR_SIZE.
1034         * sysdeps/i386/link-defines.sym: New file.
1036 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1038         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1039         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1040         ($(objpfx)tst-audit3): New rule.
1041         ($(objpfx)tst-audit3.out): Likewise.
1042         * sysdeps/i386/tst-audit3.c: New file.
1043         * sysdeps/i386/tst-audit3.h: Likewise.
1044         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1045         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1047 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1049         [BZ #18633]
1050         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1051         pointer in C code.
1052         (__strcat_c): Likewise.
1053         (__strcat_g): Likewise.
1055 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1057         [BZ #18592]
1058         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1060 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1062         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1063         New function.  (__ieee754_sqrtf): New function.
1064         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1065         New function.
1066         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1067         New function.
1069 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1071         * sysdeps/ieee754/support.c: Remove unused file.
1073 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1075         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1076         registers instead of d ones so the layout is kernel abi compatible.
1077         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1078         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1079         Likewise.
1081 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1083         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1085 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1087         [BZ #18619]
1088         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1089         and return argument in case of subnormal argument.
1091 2015-07-01  Martin Sebor  <msebor@redhat.com>
1093         [BZ #18435]
1094         * nptl/Makefile: Add tst-once5.cc.
1095         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1096         Remove macro redefinitions.
1097         * nptl/tst-once5.cc: New test.
1099 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1101         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1103         * sysdeps/arm/libm-test-ulps: Regenerated.
1105         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1106         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1108 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1110         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1111         lll_lock_wait_private and lll_futex_wake probes.
1113         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1115         Likewise.
1116         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1117         atomic_spin_nop.
1118         * sysdeps/x86_64/bits/atomic.h: Likewise.
1119         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1120         to atomic_spin_nop and move ...
1121         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1122         ... here and ...
1123         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1124         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1125         atomic_spin_nop instead of BUSY_WAIT_NOP.
1126         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1127         Likewise.
1128         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1129         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1130         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1131         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1132         instead of atomic_delay.
1134 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1136         [BZ #18613]
1137         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1138         X_ADJ not X when adjusting exponent.
1139         (__ieee754_gamma_r): Do intermediate computations in
1140         round-to-nearest then adjust overflowing and underflowing results
1141         as needed.
1142         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1143         of X_ADJ not X when adjusting exponent.
1144         (__ieee754_gammaf_r): Do intermediate computations in
1145         round-to-nearest then adjust overflowing and underflowing results
1146         as needed.
1147         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1148         log of X_ADJ not X when adjusting exponent.
1149         (__ieee754_gammal_r): Do intermediate computations in
1150         round-to-nearest then adjust overflowing and underflowing results
1151         as needed.  Use 1.0L not 1.0f as numerator of division.
1152         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1153         log of X_ADJ not X when adjusting exponent.
1154         (__ieee754_gammal_r): Do intermediate computations in
1155         round-to-nearest then adjust overflowing and underflowing results
1156         as needed.  Use 1.0L not 1.0f as numerator of division.
1157         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1158         of X_ADJ not X when adjusting exponent.
1159         (__ieee754_gammal_r): Do intermediate computations in
1160         round-to-nearest then adjust overflowing and underflowing results
1161         as needed.  Use 1.0L not 1.0f as numerator of division.
1162         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1163         to auto-libm-test-in.
1164         (tgamma_test): Use ALL_RM_TEST.
1165         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1166         tests of tgamma with spurious-overflow.
1167         * math/auto-libm-test-out: Regenerated.
1168         * math/gen-libm-have-vector-test.sh: Do not check for START.
1169         * sysdeps/i386/fpu/libm-test-ulps: Update.
1170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1172         [BZ #18612]
1173         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1174         arguments, just return 0.5 times the argument, with underflow
1175         forced as needed.
1176         * math/auto-libm-test-in: Add more tests of j1.
1177         * math/auto-libm-test-out: Regenerated.
1179         [BZ #16559]
1180         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1181         (__ieee754_j1): Force underflow exception for small results.
1182         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1183         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1184         (__ieee754_j1f): Force underflow exception for small results.
1185         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1186         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1187         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1188         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1189         (__ieee754_j1l): Force underflow exception for small results.
1190         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1191         * math/auto-libm-test-in: Add more tests of j1 and jn.
1192         * math/auto-libm-test-out: Regenerated.
1194         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1196         (PF_MPLS): Likewise.
1197         (AF_IB): Likewise.
1198         (AF_MPLS): Likewise.
1199         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1200         value and macro.
1201         (MS_RMT_MASK): Include MS_LAZYTIME.
1203 2015-06-26  Mel Gorman  <mgorman@suse.de>
1205         [BZ #18502]
1206         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1207         already minimal.
1209 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1211         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1212         (DT_MIPS_NUM): Update.
1213         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1214         DT_MIPS_RLD_MAP_REL.
1216 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1218         [BZ #16559]
1219         [BZ #18602]
1220         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1221         round-to-nearest internally then recompute results that
1222         underflowed to zero in the original rounding mode.
1223         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1224         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1227         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1228         * sysdeps/i386/fpu/libm-test-ulps: Update.
1229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1231 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1233         * NEWS: Fixed description of link with vector math library.
1235 2015-06-25  Andreas Schwab  <schwab@suse.de>
1237         [BZ #18549]
1238         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1239         * libio/test-fmemopen.c (do_test): Add test for it.
1241 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1243         [BZ #17841]
1244         * Makeconfig (no-pie-ldflag): New.
1245         (+link): Set to $(+link-pie) if default to PIE.
1246         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1247         * config.make.in (build-pie-default): New.
1248         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1249         is default.  AC_SUBST.
1250         * configure: Regenerated.
1251         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1253 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1255         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1256         to 'unsigned int'.
1258         * resolv/gai_misc.h (struct waitlist): Change type of field
1259         counterp to 'volatile unsigned int *'.
1260         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1261         FUTEXADDR and OLDVAL.
1262         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1263         Give local variable TOTAL type 'volatile unsigned int'.
1264         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1265         * resolv/gai_suspend.c (gai_suspend):
1266         Give local variable CNTR type 'unsigned int'.
1268         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1269         counterp to 'volatile unsigned int *'.
1270         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1271         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1272         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1273         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1274         Give local variable TOTAL type 'volatile unsigned int'.
1275         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1277 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1279         [BZ #18383]
1280         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1281         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1282         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1283         comment for i386/x86-64.
1284         (test-xfail-tst-tlsalign-extern-static): Removed.
1286 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1288         * math/test-double.h: New file.
1289         * math/test-float.h: Likewise.
1290         * math/test-ldouble.h: Likewise.
1291         * math/test-math-inline.h: Likewise.
1292         * math/test-math-no-inline.h: Likewise.
1293         * math/test-math-scalar.h: Likewise.
1294         * math/test-math-vector.h: Likewise.
1295         * math/test-vec-loop.h: Remove file.  Contents moved into
1296         test-math-vector.h.
1297         * math/libm-test.inc (MATHCONST): Do not document macro.
1298         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1299         and test-math-scalar.h.
1300         (FUNC): Remove macro.
1301         (FUNC_TEST): Likewise.
1302         (FLOAT): Likewise.
1303         (MATHCONST): Likewise.
1304         (PRINTF_EXPR): Likewise.
1305         (PRINTF_XEXPR): Likewise.
1306         (PRINTF_NEXPR): Likewise.
1307         (TEST_DOUBLE): Likewise.
1308         (TEST_MATHVEC): Likewise.
1309         (__NO_MATH_INLINES): Likewise.
1310         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1311         and test-math-scalar.h.
1312         (FUNC): Remove macro.
1313         (FUNC_TEST): Likewise.
1314         (FLOAT): Likewise.
1315         (MATHCONST): Likewise.
1316         (PRINTF_EXPR): Likewise.
1317         (PRINTF_XEXPR): Likewise.
1318         (PRINTF_NEXPR): Likewise.
1319         (TEST_FLOAT): Likewise.
1320         (TEST_MATHVEC): Likewise.
1321         (__NO_MATH_INLINES): Likewise.
1322         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1323         and test-math-scalar.h.
1324         (FUNC): Remove macro.
1325         (FUNC_TEST): Likewise.
1326         (FLOAT): Likewise.
1327         (MATHCONST): Likewise.
1328         (PRINTF_EXPR): Likewise.
1329         (PRINTF_XEXPR): Likewise.
1330         (PRINTF_NEXPR): Likewise.
1331         (TEST_DOUBLE): Likewise.
1332         (TEST_MATHVEC): Likewise.
1333         (TEST_INLINE): Likewise.
1334         (__NO_MATH_INLINES): Likewise.
1335         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1336         test-math-scalar.h.
1337         (FUNC): Remove macro.
1338         (FUNC_TEST): Likewise.
1339         (FLOAT): Likewise.
1340         (MATHCONST): Likewise.
1341         (PRINTF_EXPR): Likewise.
1342         (PRINTF_XEXPR): Likewise.
1343         (PRINTF_NEXPR): Likewise.
1344         (TEST_FLOAT): Likewise.
1345         (TEST_MATHVEC): Likewise.
1346         (TEST_INLINE): Likewise.
1347         (__NO_MATH_INLINES): Likewise.
1348         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1349         and test-math-scalar.h.
1350         (FUNC): Remove macro.
1351         (FUNC_TEST): Likewise.
1352         (FLOAT): Likewise.
1353         (MATHCONST): Likewise.
1354         (PRINTF_EXPR): Likewise.
1355         (PRINTF_XEXPR): Likewise.
1356         (PRINTF_NEXPR): Likewise.
1357         (TEST_LDOUBLE): Likewise.
1358         (TEST_MATHVEC): Likewise.
1359         (TEST_INLINE): Likewise.
1360         (__NO_MATH_INLINES): Likewise.
1361         * math/test-ldouble.c: Include test-ldouble.h,
1362         test-math-no-inline.h and test-math-scalar.h.
1363         (FUNC): Remove macro.
1364         (FUNC_TEST): Likewise.
1365         (FLOAT): Likewise.
1366         (MATHCONST): Likewise.
1367         (PRINTF_EXPR): Likewise.
1368         (PRINTF_XEXPR): Likewise.
1369         (PRINTF_NEXPR): Likewise.
1370         (TEST_LDOUBLE): Likewise.
1371         (TEST_MATHVEC): Likewise.
1372         (__NO_MATH_INLINES): Likewise.
1373         * math/test-double-vlen2.h: Include test-double.h,
1374         test-math-no-inline.h and test-math-vector.h.
1375         (FLOAT): Remove macro.
1376         (FUNC): Likewise.
1377         (MATHCONST): Likewise.
1378         (PRINTF_EXPR): Likewise.
1379         (PRINTF_XEXPR): Likewise.
1380         (PRINTF_NEXPR): Likewise.
1381         (TEST_DOUBLE): Likewise.
1382         (TEST_MATHVEC): Likewise.
1383         (__NO_MATH_INLINES): Likewise.
1384         (CNCT): Likewise.
1385         (CONCAT): Likewise.
1386         (WRAPPER_NAME): Likewise.
1387         (WRAPPER_DECL): Likewise.
1388         (WRAPPER_DECL_ff): Likewise.
1389         (WRAPPER_DECL_fFF): Likewise.
1390         (VECTOR_WRAPPER): Likewise.
1391         (VECTOR_WRAPPER_ff): Likewise.
1392         (VECTOR_WRAPPER_fFF): Likewise.
1393         (VEC_LEN): New macro.
1394         * math/test-double-vlen4.h: Include test-double.h,
1395         test-math-no-inline.h and test-math-vector.h.
1396         (FLOAT): Remove macro.
1397         (FUNC): Likewise.
1398         (MATHCONST): Likewise.
1399         (PRINTF_EXPR): Likewise.
1400         (PRINTF_XEXPR): Likewise.
1401         (PRINTF_NEXPR): Likewise.
1402         (TEST_DOUBLE): Likewise.
1403         (TEST_MATHVEC): Likewise.
1404         (__NO_MATH_INLINES): Likewise.
1405         (CNCT): Likewise.
1406         (CONCAT): Likewise.
1407         (WRAPPER_NAME): Likewise.
1408         (WRAPPER_DECL): Likewise.
1409         (WRAPPER_DECL_ff): Likewise.
1410         (WRAPPER_DECL_fFF): Likewise.
1411         (VECTOR_WRAPPER): Likewise.
1412         (VECTOR_WRAPPER_ff): Likewise.
1413         (VECTOR_WRAPPER_fFF): Likewise.
1414         (VEC_LEN): New macro.
1415         * math/test-double-vlen8.h: Include test-double.h,
1416         test-math-no-inline.h and test-math-vector.h.
1417         (FLOAT): Remove macro.
1418         (FUNC): Likewise.
1419         (MATHCONST): Likewise.
1420         (PRINTF_EXPR): Likewise.
1421         (PRINTF_XEXPR): Likewise.
1422         (PRINTF_NEXPR): Likewise.
1423         (TEST_DOUBLE): Likewise.
1424         (TEST_MATHVEC): Likewise.
1425         (__NO_MATH_INLINES): Likewise.
1426         (CNCT): Likewise.
1427         (CONCAT): Likewise.
1428         (WRAPPER_NAME): Likewise.
1429         (WRAPPER_DECL): Likewise.
1430         (WRAPPER_DECL_ff): Likewise.
1431         (WRAPPER_DECL_fFF): Likewise.
1432         (VECTOR_WRAPPER): Likewise.
1433         (VECTOR_WRAPPER_ff): Likewise.
1434         (VECTOR_WRAPPER_fFF): Likewise.
1435         (VEC_LEN): New macro.
1436         * math/test-float-vlen4.h: Include test-float.h,
1437         test-math-no-inline.h and test-math-vector.h.
1438         (FLOAT): Remove macro.
1439         (FUNC): Likewise.
1440         (MATHCONST): Likewise.
1441         (PRINTF_EXPR): Likewise.
1442         (PRINTF_XEXPR): Likewise.
1443         (PRINTF_NEXPR): Likewise.
1444         (TEST_FLOAT): Likewise.
1445         (TEST_MATHVEC): Likewise.
1446         (__NO_MATH_INLINES): Likewise.
1447         (CNCT): Likewise.
1448         (CONCAT): Likewise.
1449         (WRAPPER_NAME): Likewise.
1450         (WRAPPER_DECL): Likewise.
1451         (WRAPPER_DECL_ff): Likewise.
1452         (WRAPPER_DECL_fFF): Likewise.
1453         (VECTOR_WRAPPER): Likewise.
1454         (VECTOR_WRAPPER_ff): Likewise.
1455         (VECTOR_WRAPPER_fFF): Likewise.
1456         (VEC_LEN): New macro.
1457         * math/test-float-vlen8.h: Include test-float.h,
1458         test-math-no-inline.h and test-math-vector.h.
1459         (FLOAT): Remove macro.
1460         (FUNC): Likewise.
1461         (MATHCONST): Likewise.
1462         (PRINTF_EXPR): Likewise.
1463         (PRINTF_XEXPR): Likewise.
1464         (PRINTF_NEXPR): Likewise.
1465         (TEST_FLOAT): Likewise.
1466         (TEST_MATHVEC): Likewise.
1467         (__NO_MATH_INLINES): Likewise.
1468         (CNCT): Likewise.
1469         (CONCAT): Likewise.
1470         (WRAPPER_NAME): Likewise.
1471         (WRAPPER_DECL): Likewise.
1472         (WRAPPER_DECL_ff): Likewise.
1473         (WRAPPER_DECL_fFF): Likewise.
1474         (VECTOR_WRAPPER): Likewise.
1475         (VECTOR_WRAPPER_ff): Likewise.
1476         (VECTOR_WRAPPER_fFF): Likewise.
1477         (VEC_LEN): New macro.
1478         * math/test-float-vlen16.h: Include test-float.h,
1479         test-math-no-inline.h and test-math-vector.h.
1480         (FLOAT): Remove macro.
1481         (FUNC): Likewise.
1482         (MATHCONST): Likewise.
1483         (PRINTF_EXPR): Likewise.
1484         (PRINTF_XEXPR): Likewise.
1485         (PRINTF_NEXPR): Likewise.
1486         (TEST_FLOAT): Likewise.
1487         (TEST_MATHVEC): Likewise.
1488         (__NO_MATH_INLINES): Likewise.
1489         (CNCT): Likewise.
1490         (CONCAT): Likewise.
1491         (WRAPPER_NAME): Likewise.
1492         (WRAPPER_DECL): Likewise.
1493         (WRAPPER_DECL_ff): Likewise.
1494         (WRAPPER_DECL_fFF): Likewise.
1495         (VECTOR_WRAPPER): Likewise.
1496         (VECTOR_WRAPPER_ff): Likewise.
1497         (VECTOR_WRAPPER_fFF): Likewise.
1498         (VEC_LEN): New macro.
1499         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1500         test-vec-loop.h.
1501         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1502         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1503         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1504         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1505         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1507         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1509 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1511         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1512         (__getlogin_r): ... this.
1514 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1516         [BZ #18594]
1517         * math/s_ccosh.c (__ccosh): Compare with least normal value
1518         instead of comparing class with FP_SUBNORMAL.
1519         * math/s_ccoshf.c (__ccoshf): Likewise.
1520         * math/s_ccoshl.c (__ccoshl): Likewise.
1521         * math/s_cexp.c (__cexp): Likewise.
1522         * math/s_cexpf.c (__cexpf): Likewise.
1523         * math/s_cexpl.c (__cexpl): Likewise.
1524         * math/s_csin.c (__csin): Likewise.
1525         * math/s_csinf.c (__csinf): Likewise.
1526         * math/s_csinh.c (__csinh): Likewise.
1527         * math/s_csinhf.c (__csinhf): Likewise.
1528         * math/s_csinhl.c (__csinhl): Likewise.
1529         * math/s_csinl.c (__csinl): Likewise.
1530         * math/s_ctan.c (__ctan): Likewise.
1531         * math/s_ctanf.c (__ctanf): Likewise.
1532         * math/s_ctanh.c (__ctanh): Likewise.
1533         * math/s_ctanhf.c (__ctanhf): Likewise.
1534         * math/s_ctanhl.c (__ctanhl): Likewise.
1535         * math/s_ctanl.c (__ctanl): Likewise.
1536         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1537         csin, csinh, ctan and ctanh.
1538         * math/auto-libm-test-out: Regenerated.
1539         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1540         * sysdeps/i386/fpu/libm-test-ulps: Update.
1541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1545         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1546         return value is wrong, print the expected value too.
1548 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1550         [BZ #18585]
1551         * elf/readlib.c (is_gdb_python_file): New.
1552         (process_file): Don't issue errors on filenames with -gdb.py
1553         suffix.
1555 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1557         * math/auto-libm-test-in: Add more tests of csin and csinh.
1558         * math/auto-libm-test-out: Regenerated.
1559         * math/libm-test.inc (csin_test_data): Remove tests moved to
1560         auto-libm-test-in.
1561         (csinh_test_data): Likewise.
1563         [BZ #18593]
1564         * math/s_csin.c (__csin): Negate before rather than after possibly
1565         overflowing multiplication.
1566         * math/s_csinf.c (__csinf): Likewise.
1567         * math/s_csinh.c (__csinh): Likewise.
1568         * math/s_csinhf.c (__csinhf): Likewise.
1569         * math/s_csinhl.c (__csinhl): Likewise.
1570         * math/s_csinl.c (__csinl): Likewise.
1571         * math/auto-libm-test-in: Add some tests of csin and csinh.
1572         * math/auto-libm-test-out: Regenerated.
1573         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1574         (csinh_test_data): Likewise.
1575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1577         [BZ #18586]
1578         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1579         underflow exception for small results.
1581 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1585         variable and included header.
1586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1592         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1594         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1595         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1596         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1597         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1598         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1599         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1600         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1601         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1603 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1605         [BZ #16526]
1606         [BZ #16538]
1607         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1608         (__sin): Force underflow exception for arguments with small
1609         absolute value.
1610         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1611         (__kernel_sinf): Force underflow exception for arguments with
1612         small absolute value.
1613         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1614         (__kernel_sincosl): Force underflow exception for arguments with
1615         small absolute value.
1616         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1617         (__kernel_sinl): Force underflow exception for arguments with
1618         small absolute value.
1619         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1620         (__kernel_sincosl): Force underflow exception for arguments with
1621         small absolute value.
1622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1623         (__kernel_sinl): Force underflow exception for arguments with
1624         small absolute value.
1625         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1626         (__kernel_sinl): Force underflow exception for arguments with
1627         small absolute value.
1628         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1629         (__kernel_sinf): Force underflow exception for arguments with
1630         small absolute value.
1631         * math/auto-libm-test-in: Add more tests of sin and sincos.
1632         * math/auto-libm-test-out: Regenerated.
1634         [BZ #18245]
1635         [BZ #18583]
1636         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1637         (__kernel_standard_l): Use feholdexcept and fesetenv around
1638         conversion to double instead of special-casing overflow and
1639         underflow.
1640         * math/libm-test.inc (fmod_test_data): Add more tests.
1641         (remainder_test_data): Likewise.
1642         (sqrt_test_data): Likewise.
1644 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1646         [BZ #17403]
1647         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1648         atomic_read_barrier, atomic_write_barrier): Define.
1649         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1650         atomic_read_barrier, atomic_write_barrier): Define.
1652 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1654         * math/Makefile [$(PERL) != no]
1655         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1656         dependency on libm-test.stmp below the inclusion of Rules.
1658 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1660         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1662         and included header.
1663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1665         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1667         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1668         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1671         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1672         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1673         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1674         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1675         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1676         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1677         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1678         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1679         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1680         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1681         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1683 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1685         [BZ #18371]
1686         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1687         intermediate but not final result might underflow.
1688         * math/s_csqrtf.c (__csqrtf): Likewise.
1689         * math/s_csqrtl.c (__csqrtl): Likewise.
1690         * math/auto-libm-test-in: Add more tests of csqrt.
1691         * math/auto-libm-test-out: Regenerated.
1692         * sysdeps/i386/fpu/libm-test-ulps: Update.
1694         [BZ #18219]
1695         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1696         threshold on absolute value of exponent for which scaling is used.
1697         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1698         * math/auto-libm-test-in: Add more tests of exp2.
1699         * math/auto-libm-test-out: Regenerated.
1701 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1703         [BZ #17977]
1704         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1705         when initializing interface list, based on the bug analysis
1706         and the patch proposed by Eric Newton.
1707         * resolv/tst-res_hconf_reorder.c: New test.
1708         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1709         tst-res_hconf_reorder.
1710         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1711         and $(shared-thread-library).
1712         (tst-res_hconf_reorder-ENV): New variable.
1714         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1715         in comment.
1717 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1719         [BZ #16353]
1720         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1721         (__expm1): Force underflow exception for arguments with small
1722         absolute value.
1723         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1724         (__expm1f): Force underflow exception for arguments with small
1725         absolute value.
1726         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1727         (__expm1): Force underflow exception for arguments with small
1728         absolute value.
1729         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1730         (__expm1f): Force underflow exception for arguments with small
1731         absolute value.
1732         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1733         Check for small arguments before calling __expm1.
1734         * math/auto-libm-test-in: Do not mark underflow exceptions as
1735         possibly missing for bug 16353.
1736         * math/auto-libm-test-out: Regenerated.
1738 2015-06-22  Andreas Schwab  <schwab@suse.de>
1740         [BZ #18513]
1741         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1742         PTR queries.
1744 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1746         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1748         * string/strcoll_l.c: Remove unused struct element idxnow.
1750 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1752         [BZ #18569]
1753         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1754         underflow and return argument in case of subnormal argument.
1755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1756         Likewise.
1757         * math/auto-libm-test-in: Add more tests of expm1.
1758         * math/auto-libm-test-out: Regenerated.
1760         [BZ #16361]
1761         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1762         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1763         tiny results.
1764         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1765         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1766         tiny results.
1767         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1768         mark underflow exceptions as possibly missing for bug 16361.
1769         * math/auto-libm-test-out: Regenerated.
1771 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1773         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1774         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1775         Remove variable.
1776         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1777         (test-xfail-XOPEN2K8/utmpx.h/conform).
1779         * conform/conformtest.pl ($xerrors): New variable.
1780         (note_error): New function.
1781         (compiletest): New argument $xfail.  Use not_error.
1782         (runtest): Likewise.
1783         (top level): Handle xfail- lines.  Update calls to compiletest and
1784         runtest.  Handle xfail- and optional- in headers listed with
1785         allow-header.
1786         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1787         (O_EXEC): Likewise.
1788         (O_SEARCH): Likewise.
1789         * conform/data/stropts.h-data (ioctl): Likewise.
1790         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1791         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1792         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1793         (msghdr.msg_controllen): Likewise.
1794         (cmsghdr.cmsg_len): Likewise.
1795         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1796         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1797         variable.
1798         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1799         (test-xfail-XPG4/stropts.h/conform): Likewise.
1800         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1801         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1802         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1803         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1804         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1805         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1806         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1807         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1808         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1809         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1810         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1811         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1812         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1813         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1814         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1815         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1816         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1817         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1818         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1820 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1822         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1823         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1824         definitions for proper unfolding of __MATHDECL_VEC.
1826 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1828         * benchtests/bench-strcoll.c:
1829         Include string.h.
1830         (main): Remove unused variable res.
1832 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1834         * timezone/Makefile (%/UTC %/Universal):
1835         Generate test-result files for UTC and Universal.
1837 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1839         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1841 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1843         [BZ #16350]
1844         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1845         for arguments with small absolute value.
1846         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1847         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1848         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1849         (__asinh): Force underflow exception for arguments with small
1850         absolute value.
1851         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1852         (__asinhf): Force underflow exception for arguments with small
1853         absolute value.
1854         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1855         (__asinhl): Force underflow exception for arguments with small
1856         absolute value.
1857         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1858         (__asinhl): Force underflow exception for arguments with small
1859         absolute value.
1860         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1861         (__asinhl): Force underflow exception for arguments with small
1862         absolute value.
1863         * math/auto-libm-test-in: Do not mark underflow exceptions as
1864         possibly missing for bug 16350.
1865         * math/auto-libm-test-out: Regenerated.
1867         * include/bits/ipc.h: Remove file.
1868         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1869         variable.
1870         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1871         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1872         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1873         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1874         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1875         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1876         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1877         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1878         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1880         * math/auto-libm-test-in: Remove spurious underflow allowance for
1881         tests of cexp.
1882         * math/auto-libm-test-out: Regenerated.
1884         [BZ #18558]
1885         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1886         unconditional definition.
1887         (MCAST_BLOCK_SOURCE): Likewise.
1888         (MCAST_UNBLOCK_SOURCE): Likewise.
1889         (MCAST_LEAVE_GROUP): Likewise.
1890         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1891         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1892         (MCAST_MSFILTER): Likewise.
1893         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1894         Remove variable.
1895         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1896         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1897         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1898         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1899         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1901 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1903         * NEWS: Mention addition of x86_64 vector sincosf.
1904         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1905         * math/test-float-vlen4.h: Likewise.
1906         * math/test-float-vlen8.h: Likewise.
1907         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1908         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1910         * sysdeps/x86_64/fpu/Versions: New versions added.
1911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1912         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1913         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1914         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1915         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1916         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1920         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1921         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1922         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1923         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1924         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1925         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1926         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1927         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1928         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1929         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1930         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1931         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1932         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1933         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1934         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1936         * NEWS: Mention addition of x86_64 vector sincos.
1937         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1938         * math/math.h (__MATHDECL_VEC): New macro.
1939         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1940         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1941         declaration under condition.
1942         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1943         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1944         TEST_VEC_LOOP change.
1945         * math/test-double-vlen4.h: Likewise.
1946         * math/test-double-vlen8.h: Likewise.
1947         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1948         * math/test-float-vlen4.h: Likewise.
1949         * math/test-float-vlen8.h: Likewise.
1950         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1951         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1952         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1953         * sysdeps/x86_64/fpu/Versions: New versions added.
1954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1956         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1963         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1964         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1965         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1966         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1967         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1968         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1969         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1970         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1971         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1973         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1974         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1975         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1976         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1977         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1981         redirections for powf.
1982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1983         * sysdeps/x86_64/fpu/Versions: New versions added.
1984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1986         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1987         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1988         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1991         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1992         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1993         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1994         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1995         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1996         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1997         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1998         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1999         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2000         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2001         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2002         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2003         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2006         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2007         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2008         * math/test-float-vlen16.h: Fixed 2 argument macro.
2009         * math/test-float-vlen4.h: Likewise.
2010         * math/test-float-vlen8.h: Likewise.
2011         * NEWS: Mention addition of x86_64 vector powf.
2013 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2015         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2016         and redefine.
2017         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2018         and redefine.
2019         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2020         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2021         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2023         [BZ #18553]
2024         * resource/getpriority.c (getpriority): Rename to __getpriority
2025         and define as weak alias of __getpriority.
2026         * resource/setpriority.c (setpriority): Rename to __setpriority
2027         and define as weak alias of __setpriority.
2028         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2029         __getpriority and define as weak alias of __getpriority.
2030         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2031         __setpriority and define as weak alias of __setpriority.
2032         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2033         strong name.
2034         (setpriority): Use __setpriority as strong name.
2035         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2036         __getpriority and define as weak alias of __getpriority.
2037         * include/sys/resource.h (__getpriority): Declare.  Use
2038         libc_hidden_proto.
2039         (__setpriority): Likewise.
2040         (getpriority): Don't use libc_hidden_proto.
2041         (setpriority): Likewise.
2042         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2043         getpriority.  Call __setpriority instead of setpriority.
2044         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2045         Remove variable.
2047         [BZ #18547]
2048         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2049         as weak alias of __getttynam.  Use prototype function definition.
2050         Call __setttyent, __getttyent and __endttyent instead of
2051         setttyent, getttyent and endttyent.
2052         (getttyent): Rename to __getttyent and define as weak alias of
2053         __getttyent.  Call __setttyent instead of setttyent.  Call
2054         __fgets_unlocked instead of fgets_unlocked.
2055         (setttyent): Rename to __setttyent and define as weak alias of
2056         __setttyent.
2057         (endttyent): Rename to __endttyent and define as weak alias of
2058         __endttyent.
2059         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2060         (__setttyent): Likewise.
2061         (__endttyent): Likewise.
2062         (getttyent): Don't use libc_hidden_proto.
2063         (setttyent): Likewise.
2064         (endttyent): Likewise.
2065         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2066         __endttyent instead of setttyent, getttyent and endttyent.
2067         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2068         Remove variable.
2070         [BZ #18546]
2071         * socket/recv.c (__recv): Use libc_hidden_def.
2072         * socket/socket.c (__socket): Likewise.
2073         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2074         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2075         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2076         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2077         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2078         libc_hidden_def.
2079         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2080         libc_hidden_weak.
2081         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2082         Use libc_hidden_proto.
2083         (__recv): Likewise.
2084         * socket/Versions (libc): Export __recv and __socket at version
2085         GLIBC_PRIVATE.
2086         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2087         instead of recv.
2088         (init_mq_netlink): Call __socket instead of socket.
2089         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2090         Remove variable.
2092         [BZ #18545]
2093         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2094         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2095         hidden_weak.
2096         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2097         define as alias of __mq_timedsend.  Use hidden_weak.
2098         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2099         __mq_timedsend as strong name.
2100         (mq_timedreceive): Use __mq_timedreceive as strong name.
2101         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2102         (__mq_timedreceive): Likewise.
2103         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2104         __mq_timedreceive instead of mq_timedreceive.
2105         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2106         instead of mq_timedsend.
2107         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2108         Remove variable.
2110         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2111         hidden_def and hidden_weak instead of libc_hidden_def and
2112         libc_hidden_weak.
2113         (top level): Refer to hidden_def in comment.
2114         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2115         macro.  Use it instead of libc_hidden_def.
2116         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2117         specify __GI_* name explicitly.
2118         (mq_timedreceive): Likewise.
2119         (mq_setattr): Likewise.
2121         [BZ #18544]
2122         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2123         __pthread_barrier_init and define as weak alias of
2124         __pthread_barrier_init.
2125         * sysdeps/sparc/nptl/pthread_barrier_init.c
2126         (pthread_barrier_init): Likewise.
2127         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2128         __pthread_barrier_wait and define as weak alias of
2129         __pthread_barrier_wait.
2130         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2131         (pthread_barrier_wait): Likewise.
2132         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2133         (pthread_barrier_wait): Likewise.
2134         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2135         (pthread_barrier_wait): Likewise.
2136         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2137         (pthread_barrier_wait): Likewise.
2138         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2139         __pthread_barrier_wait at version GLIBC_PRIVATE.
2140         * include/pthread.h (__pthread_barrier_init): Declare.
2141         (__pthread_barrier_wait): Likewise.
2142         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2143         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2144         (helper_thread): Likewise.
2145         (init_mq_netlink): Call __pthread_barrier_init instead of
2146         pthread_barrier_init.
2148         [BZ #18542]
2149         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2150         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2151         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2152         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2153         vswscanf.
2154         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2155         Remove variable.
2157         [BZ #18540]
2158         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2159         strong alias of _IO_fflush.  Use libc_hidden_def.
2160         * libio/iofflush_u.c (fflush_unlocked): Rename to
2161         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2162         Use libc_hidden_weak.
2163         * include/stdio.h (__fflush_unlocked): Declare.  Use
2164         libc_hidden_proto.
2165         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2166         fflush_unlocked.
2167         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2168         Remove variable.
2170         [BZ #18539]
2171         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2172         define as weak alias of __addseverity.
2173         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2174         Remove variable.
2175         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2176         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2177         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2179         [BZ #18536]
2180         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2181         (__tfind): Likewise.
2182         (__tdelete): Likewise.
2183         (__twalk): Likewise.
2184         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2185         __twalk to GLIBC_PRIVATE.
2186         * include/search.h (__tsearch): Use libc_hidden_proto.
2187         (__tfind): Likewise.
2188         (__tdelete): Likewise.
2189         (__twalk): Likewise.
2190         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2191         Call __tdelete instead of tdelete.
2192         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2193         tfind.  Call __tsearch instead of tsearch.
2194         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2195         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2196         Remove variable.
2197         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2199         [BZ #18534]
2200         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2201         (dprintf): Define as a weak alias of __dprintf, not a strong
2202         alias.
2203         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2204         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2205         dprintf.
2206         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2207         Remove variable.
2208         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2209         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2211         [BZ #18533]
2212         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2213         not a strong alias.
2214         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2215         Remove variable.
2217         [BZ #18532]
2218         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2219         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2220         (in6addr_loopback): Rename to __in6addr_loopback and define as
2221         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2222         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2223         libc_hidden_proto.
2224         (__in6addr_any): Likewise.
2225         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2226         in6addr_any.
2227         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2228         variable.
2229         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2231 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2233         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2234         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2236         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2237         redirections for pow.
2238         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2239         * sysdeps/x86_64/fpu/Versions: New versions added.
2240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2241         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2242         build of SSE, AVX2 and AVX512 IFUNC versions.
2243         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2246         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2248         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2249         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2250         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2251         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2252         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2253         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2254         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2255         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2256         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2257         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2260         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2261         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2262         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2263         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2264         * NEWS: Mention addition of x86_64 vector pow.
2266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2268         redirections for expf.
2269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2270         * sysdeps/x86_64/fpu/Versions: New versions added.
2271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2273         build of SSE, AVX2 and AVX512 IFUNC versions.
2274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2275         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2278         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2279         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2280         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2281         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2282         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2283         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2284         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2285         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2287         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2289         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2292         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2294         * NEWS: Mention addition of x86_64 vector expf.
2296         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2297         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2298         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2300         redirections for exp.
2301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2302         * sysdeps/x86_64/fpu/Versions: New versions added.
2303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2305         build of SSE, AVX2 and AVX512 IFUNC versions.
2306         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2307         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2309         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2310         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2311         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2312         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2313         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2314         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2315         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2316         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2317         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2318         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2319         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2320         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2321         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2322         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2323         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2324         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2325         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2326         * NEWS: Mention addition of x86_64 vector exp.
2328         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2329         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2330         redirections for logf.
2331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2332         * sysdeps/x86_64/fpu/Versions: New versions added.
2333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2335         build of SSE, AVX2 and AVX512 IFUNC versions.
2336         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2340         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2342         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2343         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2344         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2345         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2346         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2347         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2348         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2349         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2350         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2351         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2354         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2355         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2356         * NEWS: Mention addition of x86_64 vector logf.
2358         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2359         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2360         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2361         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2362         redirections for log.
2363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2364         * sysdeps/x86_64/fpu/Versions: New versions added.
2365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2366         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2367         build of SSE, AVX2 and AVX512 IFUNC versions.
2368         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2369         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2370         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2371         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2372         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2373         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2374         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2375         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2376         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2377         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2378         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2379         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2380         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2381         test.
2382         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2383         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2384         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2385         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2386         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2387         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2388         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2389         * NEWS: Mention addition of x86_64 vector log.
2391 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2393         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2394         cfi_adjust_cfa_offset argument.
2395         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2396         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2398         [BZ #18034]
2399         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2400         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2401         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2402         ordering using ldar.
2403         (_dl_tlsdesc_dynamic): Likewise.
2404         (_dl_tlsdesc_return_lazy): Likewise.
2405         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2406         relaxed atomics instead of volatile and synchronize with release store.
2407         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2408         volatile.
2409         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2411 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2413         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2414         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2415         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2416         * sysdeps/x86_64/fpu/Versions: New versions added.
2417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2418         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2419         build of SSE, AVX2 and AVX512 IFUNC versions.
2420         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2424         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2426         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2427         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2428         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2429         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2430         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2431         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2432         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2433         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2434         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2435         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2436         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2437         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2438         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2439         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2440         * NEWS: Mention addition of x86_64 vector sinf.
2442 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2444         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2445         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2446         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2447         Remove variable.
2448         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2449         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2451 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2453         [BZ #18530]
2454         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2455         strong alias of _IO_fputs.  Use libc_hidden_def.
2456         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2457         and define as weak alias of __fputs_unlocked.  Use
2458         libc_hidden_weak.
2459         * include/stdio.h (__fputs_unlocked): Declare.  Use
2460         libc_hidden_proto.
2461         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2462         fputs_unlocked.
2464         [BZ #18529]
2465         * resolv/netdb.h [__USE_POSIX]: Change condition to
2466         [__USE_XOPEN2K].
2467         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2468         not expect.
2469         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2470         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2471         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2472         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2473         [XPG4 || UNIX98] (AI_ALL): Likewise.
2474         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2475         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2476         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2477         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2478         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2479         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2480         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2481         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2482         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2483         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2484         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2485         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2486         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2487         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2488         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2489         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2490         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2491         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2492         [XPG4 || UNIX98] (gai_strerror): Likewise.
2493         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2494         [XPG4 || UNIX98] (getnameinfo): Likewise.
2496         [BZ #18528]
2497         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2498         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2499         __USE_XOPEN2K8].
2500         (getgrent): Likewise.
2501         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2502         expect.
2503         [XPG3 || POSIX2008] (endgrent): Likewise.
2504         [XPG3] (setgrent): Likewise.
2505         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2506         variable.
2507         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2509         [BZ #18527]
2510         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2511         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2512         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2513         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2514         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2515         * include/unistd.h (__getlogin_r): Declare.  Use
2516         libc_hidden_proto.
2517         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2518         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2519         variable.
2520         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2521         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2522         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2524 2015-06-12  Martin Sebor  <msebor@redhat.com>
2526         [BZ #18512]
2527         * Makerules (check-install-supported): New target.
2528         (install): Add check-install-supported as a dependency.
2529         * manual/install.texi (Installing the C Library): Document
2530         that overriding prefix and exec_prefix is not supported.
2531         Mention DESTDIR.
2532         * INSTALL: Regenerate from the above.
2534 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #18519]
2537         * posix/Versions (libc): Export __libc_pread at version
2538         GLIBC_PRIVATE.
2539         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2540         instead of pread.
2541         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2542         variable.
2544         [BZ #18522]
2545         * misc/efgcvt_r.c
2546         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2547         (cvt_symbol): Use weak_alias instead of strong_alias.
2548         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2549         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2550         Remove variable.
2551         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2552         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2554         [BZ #18520]
2555         * inet/herrno.c (h_errno): Rename to __h_errno.
2556         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2557         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2558         to __h_errno instead of h_errno.
2559         * nptl/herrno.c (h_errno): Rename to __h_errno.
2560         (__h_errno_location): Refer to __h_errno not h_errno.
2561         * resolv/Versions (h_errno): Rename to __h_errno.
2562         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2563         Remove variable.
2564         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2566 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2568         * configure.ac: More strict check for AVX512 assembler support.
2569         * configure: Regenerated.
2571         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2572         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2573         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2574         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2575         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2576         * sysdeps/x86_64/fpu/Versions: New versions added.
2577         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2578         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2579         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2584         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2585         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2586         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2587         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2588         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2589         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2590         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2591         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2592         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2593         test.
2594         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2595         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2597         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2598         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2599         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2600         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2601         * NEWS: Mention addition of x86_64 vector sin.
2603 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2605         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2606         comment.
2608 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2610         [BZ #18479]
2611         * nptl/pt-interp.c: New file.
2612         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2613         Add pt-interp.
2614         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2615         $(common-objpfx)runtime-linker.h.
2617 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2619         * Makeconfig (+interp): Remove unused variable.
2620         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2621         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2622         $(elf-objpfx)runtime-linker.h.
2623         ($(elf-objpfx)runtime-linker.h): Rename to
2624         $(common-objpfx)runtime-linker.h and move ...
2625         * Makerules [$(build-shared) = yes]: ... here.
2626         * elf/interp.c: Include <runtime-linker.h> instead of
2627         <elf/runtime-linker.h>.
2629 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2631         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2632         (__gettimeofday_syscall): Remove vsyscall fallback.
2633         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2634         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2635         Add syscall fallback function.
2636         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2637         if vDSO is not present.
2638         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2639         fallback function.
2640         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2641         present.
2642         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2643         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2645 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2647         [BZ #18497]
2648         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2649         of wcscmp.
2650         (wcscmp): Define as weak alias of WCSCMP.
2651         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2652         wcscoll.
2653         (USE_HIDDEN_DEF): Define.
2654         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2655         __wcscoll.  Don't use libc_hidden_weak.
2656         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2657         wcscmp.
2658         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2659         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2660         __GI_wcscmp.
2661         (weak_alias): Undefine and redefine.
2662         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2663         __wcscmp and define as weak alias of __wcscmp.
2664         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2665         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2666         (__wcscoll): Likewise.
2667         (wcscmp): Don't use libc_hidden_proto.
2668         (wcscoll): Likewise.
2669         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2670         wcscoll.
2671         * posix/regexec.c (check_node_accept_bytes): Likewise.
2672         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2673         variable.
2674         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2675         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2677         [BZ #18507]
2678         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2679         __fstatvfs and define as weak alias of __fstatvfs.  Use
2680         libc_hidden_weak.
2681         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2682         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2683         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2684         Define as alias of __fstatvfs, not fstatvfs.
2685         (fstatvfs64): Likewise.
2686         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2687         Define as alias of __statvfs, not statvfs.
2688         (statvfs64): Likewise.
2689         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2690         Remove variable.
2692 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2695         (HAVE_GETCPU_VSYSCALL): Define.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2697         (HAVE_GETCPU_VSYSCALL): Likewise.
2698         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2699         * sysdeps/unix/sysv/linux/sched_getcpu.c
2700         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2701         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2702         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2703         prototype.
2704         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2705         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2706         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2708         Define.
2709         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2711         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2714 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2716         * sysdeps/x86_64/fpu/Makefile: New file.
2717         * sysdeps/x86_64/fpu/Versions: New file.
2718         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2719         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2720         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2721         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2722         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2723         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2724         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2725         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2730         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2731         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2732         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2734         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2735         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2736         * sysdeps/x86_64/configure: Regenerated.
2737         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2738         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2739         * manual/install.texi (Configuring and compiling): Document
2740         --disable-mathvec.
2741         * INSTALL: Regenerated.
2742         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2744         * math/Makefile: Added rules for vector tests.
2745         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2746         declaration under condition.
2747         * math/test-double-vlen2.h: New file.
2748         * math/test-double-vlen4.h: New file.
2749         * math/test-double-vlen8.h: New file.
2750         * math/test-vec-loop.h: Added initialization macro.
2751         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2753         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2754         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2755         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2759         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2761         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2763         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2764         * sysdeps/x86_64/fpu/Versions: New versions added.
2765         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2768         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2769         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2772         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2773         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2774         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2775         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2776         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2777         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2778         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2779         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2780         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2781         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2782         * NEWS: Mention addition of x86_64 vector cosf.
2784         * math/Makefile: Added CFLAGS for new tests.
2785         * math/test-float-vlen16.h: New file.
2786         * math/test-float-vlen4.h: New file.
2787         * math/test-float-vlen8.h: New file.
2788         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2789         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2791         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2792         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2793         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2794         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2795         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2797         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2798         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2800 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2802         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2803         * locale/programs/ld-ctype.c: Likewise.
2805 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2807         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2808         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2809         bit_ZMM16_31_state): New macro.
2810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2811         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2813 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2815         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2817 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2819         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2821 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2823         [BZ #18498]
2824         * libio/memstream.c (open_memstream): Rename to __open_memstream
2825         and define as weak alias of __open_memstream.
2826         * include/stdio.h (__open_memstream): Declare.  Use
2827         libc_hidden_proto.
2828         (open_memstream): Don't use libc_hidden_proto.
2829         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2830         open_memstream.
2831         * posix/getopt.c (_getopt_internal_r): Likewise.
2832         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2833         variable.
2834         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2835         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2836         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2838         [BZ #18496]
2839         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2840         instead of wcrtomb.
2842         [BZ #18483]
2843         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2844         [__USE_XOPEN2K8].  Remove redundant #endif.
2845         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2846         Remove redundant #if.
2847         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2848         Remove variable.
2849         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2850         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2852         [BZ #18495]
2853         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2854         (__iswlower): Likewise.
2855         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2856         (__iswlower): Likewise.
2857         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2858         instead of towlower.
2859         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2860         instead of iswlower.  Call __towupper instead of towupper.
2861         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2862         instead of iswalnum.
2864 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2866         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2867         errors to stderr.
2869 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2871         [BZ #15661]
2872         [BZ #17322]
2873         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2874         Check for overflow properly.  Check for O_APPEND.  Ignore large
2875         file system block sizes.  Add comments about problems.
2876         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2877         * manual/filesys.texi (Storage Allocation): New node.
2879 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2881         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2882         cancellable syscalls.
2883         (SYS_ify): Add guard to no redefine it.
2884         (INLINE_SYSCALL): Likewise.
2885         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2886         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2887         SYSCALL_CANCEL instead.
2888         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2889         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2890         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2891         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2892         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2893         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2894         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2895         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2896         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2897         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2898         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2899         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2900         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2901         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2902         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2904         Likewise.
2905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2906         (__libc_pread64): Likewise.
2907         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2908         (__libc_preadv): Likewise.
2909         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2910         (__libc_readv64): Likewise.
2911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2912         (__libc_pwrite): Likewise.
2913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2914         (__libc_pwrite64): Likewise.
2915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2916         (__libc_pwritev): Likewise.
2917         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2918         (__libc_pwritev64): Likewise.
2919         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2920         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2921         (sync_file_range): Likewise.
2922         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2923         Likewise.
2924         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2925         Likewise.
2926         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2927         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2928         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2929         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2930         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2931         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2932         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2933         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2935         Likewise.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2937         (__libc_read64): Likewise.
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2939         Likewise.
2940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2941         Likewise.
2942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2943         Likewise.
2944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2945         Likewise.
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2947         (__libc_pread64): Likewise.
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2949         Likewise.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2951         (__libc_pwrite64): Likewise.
2952         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2953         (sync_file_range): Likewise.
2954         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2955         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2956         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2957         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2958         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2959         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2960         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2961         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2962         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2963         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2964         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2965         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2966         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2967         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2968         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2969         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2970         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2971         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2972         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2973         Likewise.
2974         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2975         Likewise.
2976         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2977         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2978         Likewise.
2979         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2980         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2981         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2982         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2983         Likewise.
2984         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2985         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2986         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2987         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2988         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2990 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2992         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2993         Include dl-vdso.
2994         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2995         Use VDSO routines for gettimeofday, clock_gettime if
2996         available.
2997         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2998         Declare VDSO symbols.
2999         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3000         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3001         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3002         * sysdeps/unix/sysv/linux/arm/Versions: Add
3003         __vdso_clock_gettime.
3005 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3007         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3008         be an inline implementation regardless of library is built within.
3009         (open_not_cancel_2): Likewise.
3010         (__read_nocancel): Likewise.
3011         (__write_nocancel): Likewise.
3012         (openat_not_cancel): Likewise.
3013         (openat_not_cancel_3): Likewise.
3014         (openat64_not_cancel): Likewise.
3015         (openat64_not_cancel_3): Likewise.
3016         (__close_nocancel): Likewise.
3017         (pause_not_cancel): Likewise.
3018         (nanosleep_not_cancel): Likewise.
3019         (sigsuspend_not_cancel): Likewise.
3021 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3023         [BZ #14958]
3024         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3025         wake-up.
3026         (__pthread_rwlock_rdlock_slow): Likewise.
3027         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3028         Likewise.
3029         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3030         Likewise.
3031         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3032         * nptl/tst-rwlock16.c: New file.
3033         * nptl/Makefile (tests): Add new test.
3035 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3037         [BZ #18324]
3038         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3039         missing wake-up of readers.
3040         * nptl/tst-rwlock15.c: New file.
3041         * nptl/Makefile (tests): Add new test.
3043 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3045         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3046         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3047         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3048         and __nacl_supply_interface_rtld.
3049         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3050         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3051         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3052         Add __nacl_supply_interface_rtld.
3053         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3055 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3057         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3058         isfinite.
3059         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3060         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3062 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3064         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3065         __signbit* with standard C99 macros.
3066         * math/e_exp10l.c: Likewise.
3067         * math/e_exp2l.c: Likewise.
3068         * math/e_scalb.c: Likewise.
3069         * math/e_scalbf.c: Likewise.
3070         * math/e_scalbl.c: Likewise.
3071         * math/s_ldexp.c: Likewise.
3072         * math/s_ldexpf.c: Likewise.
3073         * math/s_ldexpl.c: Likewise.
3074         * math/w_atan2.c: Likewise.
3075         * math/w_atan2f.c: Likewise.
3076         * math/w_atan2l.c: Likewise.
3077         * math/w_cosh.c: Likewise.
3078         * math/w_coshf.c: Likewise.
3079         * math/w_coshl.c: Likewise.
3080         * math/w_exp10.c: Likewise.
3081         * math/w_exp10f.c: Likewise.
3082         * math/w_exp10l.c: Likewise.
3083         * math/w_exp2.c: Likewise.
3084         * math/w_exp2f.c: Likewise.
3085         * math/w_exp2l.c: Likewise.
3086         * math/w_fmod.c: Likewise.
3087         * math/w_fmodf.c: Likewise.
3088         * math/w_fmodl.c: Likewise.
3089         * math/w_hypot.c: Likewise.
3090         * math/w_hypotf.c: Likewise.
3091         * math/w_hypotl.c: Likewise.
3092         * math/w_jnl.c: Likewise.
3093         * math/w_lgamma.c: Likewise.
3094         * math/w_lgamma_r.c: Likewise.
3095         * math/w_lgammaf.c: Likewise.
3096         * math/w_lgammaf_r.c: Likewise.
3097         * math/w_lgammal.c: Likewise.
3098         * math/w_lgammal_r.c: Likewise.
3099         * math/w_pow.c: Likewise.
3100         * math/w_powf.c: Likewise.
3101         * math/w_powl.c: Likewise.
3102         * math/w_remainder.c: Likewise.
3103         * math/w_remainderf.c: Likewise.
3104         * math/w_remainderl.c: Likewise.
3105         * math/w_scalb.c: Likewise.
3106         * math/w_scalbf.c: Likewise.
3107         * math/w_scalbl.c: Likewise.
3108         * math/w_scalbln.c: Likewise.
3109         * math/w_scalblnf.c: Likewise.
3110         * math/w_scalblnl.c: Likewise.
3111         * math/w_sinh.c: Likewise.
3112         * math/w_sinhf.c: Likewise.
3113         * math/w_sinhl.c: Likewise.
3114         * math/w_tgamma.c: Likewise.
3115         * math/w_tgammaf.c: Likewise.
3116         * math/w_tgammal.c: Likewise.
3117         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3118         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3119         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3120         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3121         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3123         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3125         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3126         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3127         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3128         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3129         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3134         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3135         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3136         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3137         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3138         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3139         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3141         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3142         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3143         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3144         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3145         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3146         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3147         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3148         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3149         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3150         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3151         * stdio-common/printf_fp.c: Likewise.
3152         * stdio-common/printf_fphex.c: Likewise.
3153         * stdio-common/printf_size.c: Likewise.
3155 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3157         [BZ #18470]
3158         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3159         strnlen.
3160         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3161         Remove variable.
3162         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3163         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3164         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3165         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3166         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3167         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3168         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3169         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3170         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3171         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3173         [BZ #18468]
3174         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3175         weak alias of __wmemchr.  Use libc_hidden_weak.
3176         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3177         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3178         instead of wmemchr.
3180 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3182         [BZ #18383]
3183         * elf/tst-tlsalign-extern.c: New file.
3184         * elf/tst-tlsalign-extern-static.c: New file.
3185         * elf/tst-tlsalign-vars.c: New file.
3186         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3187         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3188         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3189         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3190         (test-xfail-tst-tlsalign-extern-static): New variable.
3192 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3194         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3195         Use variable name _sc_err instead of err.
3196         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3197         instead of ret.
3198         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3199         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3200         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3201         (INLINE_SYSCALL): Likewise.
3203         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3204         * include/string.h (__strnlen): Use libc_hidden_proto.
3205         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3206         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3207         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3208         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3209         (libc_hidden_def): Undefine and redefine.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3211         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3212         __GI_strnlen.
3213         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3214         libc_hidden_def.
3215         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3217         [BZ #18469]
3218         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3219         weak alias of __towlower.  Use libc_hidden_weak.
3220         (towupper): Rename to __towupper and define as weak alias of
3221         __towupper.  Use libc_hidden_weak.
3222         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3223         (__towupper): Likewise.
3224         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3225         __towlower instead of towlower.
3227 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3229         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3230         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3232 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3234         * sysdeps/aarch64/libm-test-ulps: Update.
3236 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3238         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3239         Define.
3240         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3242         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3243         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3244         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3245         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3246         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3248 2015-06-01  Martin Sebor  <msebor@redhat.com>
3250         [BZ #18116]
3251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3252         (__setcontext): Use extended four-operand version of mtsf whenever
3253         possible.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3255         (__novec_swapcontext): Likewise.
3257 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3259         * benchtests/scripts/compare_bench.py: New file.
3260         * benchtests/scripts/import_bench.py (mean): New function.
3261         (split_list): Likewise.
3262         (do_for_all_timings): Likewise.
3263         (compress_timings): Likewise.
3265         * benchtests/scripts/import_bench.py: New file.
3266         * benchtests/scripts/validate_benchout.py: Import import_bench
3267         instead of jsonschema.
3268         (validate_bench): Remove function.
3269         (main): Use import_bench.
3271 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3273         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3274         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3276 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3280 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3282         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3283         set THREAD_SELF->tid to a magic value and futex-wake it.
3284         Pass its address to the thread_exit system call.
3285         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3286         bit is clear.
3287         * sysdeps/nacl/lowlevellock.h: New file.
3288         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3290         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3291         Add TIMEOUT to current time, don't subtract it.
3293 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3295         [BZ #2981]
3296         [BZ #18422]
3297         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3298         ($(objpfx)tst-audit2.out): Also depend on
3299         $(objpfx)tst-auditmod9b.so.
3300         * elf/tst-audit2.c: Include <dlfcn.h>.
3301         (calloc_called): New.
3302         (calloc): Allow to be called more than once.
3303         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3305 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3307         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3308         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3310 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3312         * stdlib/monetary.h: Fix comment.
3314 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3316         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3317         Avoid using variables in #defines that might cause shadowing.
3318         (INTERNAL_VSYSCALL_CALL): Likewise.
3320 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3322         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3324         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3325         * nptl/lll_timedlock_wait.c: ... to this new file.
3326         * nptl/Makefile (libpthread-routines): Add it.
3327         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3328         * nptl/lll_timedwait_tid.c: ... to this new file.
3329         * nptl/Makefile (libpthread-routines): Add it.
3330         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3331         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3332         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3333         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3334         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3335         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3336         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3337         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3338         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3339         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3341 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3343         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3344         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3345         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3347         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3349         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3351         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3352         * sysdeps/unix/sysv/linux/tile/sysdep.h
3353         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3354         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3355         using vDSO syscall macro.
3357 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3359         [BZ #17293]
3360         * uk_UA: Fix sorting order for Ukrainian locale
3362 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3364         * stdlib/monetary.h: Fix comment.
3366 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3368         [BZ #18234]
3369         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3370         st_mtim and st_ctim members.
3371         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3372         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3373         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3374         (struct stat64): Likewise.
3375         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3376         (struct stat64): Likewise.
3377         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3378         (struct stat64): Likewise.
3380 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3382         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3383         Define and include sysdep-vdso.h.
3384         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3385         Likewise.
3386         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3389         Define with VDSO_SYMBOL and use PTR_MANGLE.
3390         (__vdso_clock_gettime): Likewise.
3391         (__vdso_clock_getres): Likewise.
3392         (_libc_vdso_platform_setup): Likewise.
3393         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3394         Likewise.
3395         (_libc_vdso_platform_setup): Likewise.
3396         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3397         Likewise.
3398         (__vdso_clock_gettime): Likewise.
3399         (__vdso_clock_getres): Likewise.
3400         (__vdso_get_tbfreq): Likewise.
3401         (__vdso_getcpu): Likewise.
3402         (__vdso_time): Likewise.
3403         (__vdso_sigtramp_rt64): Likewise.
3404         (__vdso_signtramp32): Likewise.
3405         (__vdso_sigtramp_rt32): Likewise.
3406         (_libc_vdso_platform_setup): Likewise.
3407         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3408         Likewise.
3409         (__vdso_clock_gettime): Likewise.
3410         (__vdso_clock_getres): Likewise.
3411         (_libc_vdso_platform_setup): Likewise.
3412         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3413         Likewise.
3414         (__vdso_clock_gettime): Likewise.
3415         (_libc_vdso_platform_setup): Likewise.
3416         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3417         Likewise.
3418         (__vdso_getcpu): Likewise.
3419         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3420         Use VDSO_SYMBOL macro to define.
3421         (__vdso_clock_gettime): Likewise.
3422         (__vdso_clock_getres): Likewise.
3423         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3424         Likewise.
3425         (__vdso_clock_gettime): Likewise.
3426         (__vdso_clock_getres): Likewise.
3427         (__vdso_get_tbfreq): Likewise.
3428         (__vdso_getcpu): Likewise.
3429         (__vdso_time): Likewise.
3430         (__vdso_sigtramp_rt64): Likewise.
3431         (__vdso_signtramp32): Likewise.
3432         (__vdso_sigtramp_rt32): Likewise.
3433         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3434         Likewise.
3435         (__vdso_clock_gettime): Likewise.
3436         (__vdso_clock_getres): Likewise.
3437         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3438         Likewise.
3439         (__vdso_clock_gettime): Likewise.
3440         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3443         macro.
3444         (INTERNAL_VSYSCALL): Likewise.
3445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3446         Remove macro.
3447         (INTERNAL_VSYSCALL): Likewise.
3448         (INTERNAL_VSYSCALL_NCS): Likewise.
3449         (INTERNAL_VSYSCALL_CALL): New macro.
3450         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3452         Likewise.
3453         (INTERNAL_VSYSCALL): Likewise.
3454         (INTERNAL_VSYSCALL_NCS): Likewise.
3455         (INTERNAL_VSYSCALL_CALL): New macro.
3456         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3458         (INLINE_VSYSCALL): Remove macro.
3459         (INTERNAL_VSYSCALL): Remove macro.
3460         (INTERNAL_VSYSCALL_NCS): Remove macro.
3461         (INTERNAL_VSYSCALL_CALL): New macro.
3462         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3463         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3464         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3465         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3466         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3468         (INLINE_VSYSCALL): Remove macro.
3469         (INTERNAL_VSYSCALL): Likewise.
3470         (INTERNAL_VSYSCALL_NCS): Likewise.
3471         (INTERNAL_VSYSCALL_CALL): New macro.
3472         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3473         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3474         PTR_DEMANGLE on vDSO pointer.
3475         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3476         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3477         macro.
3478         (INTERNAL_SYSCALL): Likewise.
3479         (INTERNAL_VSYSCALL_NCS): Remove macro.
3480         (INTERNAL_VSYSCALL_CALL): New macro.
3481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3482         Remove macro.
3483         (INTERNAL_VSYSCALL): Likewise.
3484         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3485         sysdep-vdso.h instead of libc-vdso.h.
3486         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3487         definition.
3488         (INLINE_VSYSCALL): Likewise.
3489         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3490         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3491         definition.
3492         (INLINE_VSYSCALL): Likewise.
3493         (INTERNAL_VSYSCALL): Likewise.
3494         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3495         * sysdeps/unix/sysv/linux/timespec_get.c
3496         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3497         (timespec_get): Use ANSI prototype.
3498         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3499         and definition for Linux.
3501 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3503         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3504         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3506 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3508         [BZ #2981]
3509         [BZ #18410]
3510         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3511         for missing DT_PLTRELSZ.
3513 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3515         Remove obsolete aliases that broke 'locale -a'
3516         [BZ #18412]
3517         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3518         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3519         breaking some applications that use 'locale -a' output.
3520         Change the encoding of this file from Latin-1 to ASCII to avoid
3521         other potential problems with people grepping this file.
3523 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3525         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3526         -fasynchronous-unwind-tables.
3527         (CFLAGS-sendto.c): Likewise.
3528         (CFLAGS-sendmsg.c): Likewise.
3529         (CFLAGS-connect.c): Likewise.
3530         (CFLAGS-recvmsg.c): Likewise.
3531         (CFLAGS-recvfrom.c): Likewise.
3532         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3533         (SOCKETCALL): New macro: non-cancellable socketcall.
3534         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3535         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3536         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3537         * sysdeps/unix/sysv/linux/accept.c: New file.
3538         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3539         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3540         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3541         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3542         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3543         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3544         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3545         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3546         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3547         * sysdeps/unix/sysv/linux/send.c: Likewise.
3548         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3549         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3550         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3551         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3552         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3553         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3554         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3555         prototype.
3556         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3557         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3558         instead of __internal_xxx function.
3559         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3560         prototype.
3561         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3562         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3563         instead of __internal_xxx function.
3564         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3565         prototype.
3566         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3567         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3568         instead of __internal_xxx function.
3569         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3570         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3571         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3572         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3573         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3574         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3575         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3576         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3577         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3578         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3579         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3580         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3581         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3582         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3583         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3584         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3585         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3586         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3587         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3588         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3591         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3592         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3593         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3594         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3595         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3596         * sysdeps/unix/sysv/linux/send.S: Likewise.
3597         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3598         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3599         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3600         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3601         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3602         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3603         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3604         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3605         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3606         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3607         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3608         socketcall is implemented in GLIBC.
3610 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3612         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3613         (__fma): Ignore uninitialized warnings around packing.
3614         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3615         (__fmaf): Ignore uninitialized warnings around packing.
3616         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3617         (__fmal): Ignore uninitialized warnings around packing.
3619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3620         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3621         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3622         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3624         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3625         switch statement into default case.
3626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3628         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3629         a conditional in forcing "inexact".
3630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3631         Likewise.
3633 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3635         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3636         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3637         for each INTERNAL_SYSCALL use.
3639 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3641         [BZ #438]
3642         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3643         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3644         variable.
3646         [BZ #18444]
3647         * string/basename.c (basename): Rename to __basename and define as
3648         weak alias of __basename.  Use libc_hidden_weak.
3649         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3650         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3651         __basename instead of basename.
3652         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3653         Remove variable.
3654         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3656 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3658         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3659         (_IO_JUMPS_FILE_plus): New.
3660         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3661         _IO_CAST_FIELD_ACCESS.
3662         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3663         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3664         * libio/freopen.c (freopen): Likewise.
3665         * libio/freopen64.c (freopen64): Likewise.
3666         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3667         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3668         * libio/iofwide.c (_IO_fwide): Likewise.
3669         * libio/memstream.c (open_memstream): Likewise.
3670         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3671         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3672         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3674 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3676         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3677         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3678         NADJ.
3679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3680         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3681         NADJ.
3682         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3683         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3684         NADJ.
3686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3687         (p == 4) case.
3689         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3690         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3691         Remove variable.
3692         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3693         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3694         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3696 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3698         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3699         Adjust jump table label generation macros.
3701 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3703         * stdio-common/vfprintf.c (vfprintf): Move local variables
3704         args_malloced, specs, specs_malloced, and the code after
3705         do_positional to the printf_positional function.
3706         (printf_positional): New function.
3708 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3710         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3711         function.
3712         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3713         STEP4_TABLE, process_arg): Move macro definitions
3714         out of the vfprintf function.  (Cosmetic change only.)
3716 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3718         * benchtests/Makefile (stdio-common-bench): Define.
3719         (benchset): Add stdio-common-bench.
3720         * sprintf-inputs: New file.
3721         * sprintf-source.c: New file.
3723 2015-05-21  Andreas Schwab  <schwab@suse.de>
3725         [BZ #13028]
3726         [BZ #17053]
3727         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3728         of struct __res_state.
3729         * resolv/res_send.c (__libc_res_nsend): Likewise.
3730         (get_nsaddr): New function.
3731         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3732         statp directly.
3734 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3736         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3737         -D_POSIX_C_SOURCE=199506L.
3739         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3741         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3742         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3743         Do not mention otherwise.
3744         [POSIX] (_XOPEN_VERSION): Do not expect.
3745         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3746         [POSIX] (_POSIX2_C_BIND): Likewise.
3747         [POSIX] (_POSIX2_VERSION): Likewise.
3748         [POSIX] (_XOPEN_XPG2): Likewise.
3749         [POSIX] (_XOPEN_XPG3): Likewise.
3750         [POSIX] (_XOPEN_XPG4): Likewise.
3751         [POSIX] (_XOPEN_UNIX): Likewise.
3752         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3753         [POSIX] (_POSIX_BARRIERS): Likewise.
3754         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3755         [POSIX] (_POSIX_CPUTIME): Likewise.
3756         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3757         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3758         [POSIX] (_POSIX_SHELL): Likewise.
3759         [POSIX] (_POSIX_SPAWN): Likewise.
3760         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3761         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3762         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3763         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3764         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3765         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3766         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3767         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3768         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3769         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3770         [POSIX] (_POSIX2_PBS): Likewise.
3771         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3772         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3773         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3774         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3775         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3776         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3777         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3778         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3779         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3780         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3781         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3782         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3783         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3784         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3785         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3786         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3787         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3788         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3789         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3790         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3791         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3792         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3793         [POSIX] (_SC_2_C_BIND): Likewise.
3794         [POSIX] (_SC_2_C_VERSION): Likewise.
3795         [POSIX] (_SC_2_PBS): Likewise.
3796         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3797         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3798         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3799         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3800         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3801         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3802         [POSIX] (_SC_BARRIERS): Likewise.
3803         [POSIX] (_SC_BASE): Likewise.
3804         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3805         [POSIX] (_SC_DEVICE_IO): Likewise.
3806         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3807         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3808         [POSIX] (_SC_FD_MGMT): Likewise.
3809         [POSIX] (_SC_FIFO): Likewise.
3810         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3811         [POSIX] (_SC_FILE_LOCKING): Likewise.
3812         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3813         [POSIX] (_SC_IOV_MAX): Likewise.
3814         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3815         [POSIX] (_SC_NETWORKING): Likewise.
3816         [POSIX] (_SC_PAGE_SIZE): Likewise.
3817         [POSIX] (_SC_PASS_MAX): Likewise.
3818         [POSIX] (_SC_PIPE): Likewise.
3819         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3820         [POSIX] (_SC_REGEXP): Likewise.
3821         [POSIX] (_SC_SHELL): Likewise.
3822         [POSIX] (_SC_SIGNALS): Likewise.
3823         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3824         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3825         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3826         [POSIX] (_SC_USER_GROUPS): Likewise.
3827         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3828         [POSIX] (_SC_STREAMS): Likewise.
3829         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3830         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3831         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3832         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3833         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3834         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3835         [POSIX] (_PC_FILESIZEBITS): Likewise.
3836         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3837         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3838         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3839         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3840         [POSIX] (uid_t): Likewise.
3841         [POSIX] (gid_t): Likewise.
3842         [POSIX] (off_t): Likewise.
3843         [POSIX] (pid_t): Likewise.
3844         [POSIX] (cuserid): Allow.
3845         (_SC_2_CHAR_TERM): Require constant.
3846         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3847         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3848         variable.
3850 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3852         * sysdeps/nacl/pthread-pids.h: New file.
3853         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3854         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3856         * nptl/pthread-pids.h: New file.
3857         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3858         * nptl/nptl-init.c: Include <pthread-pids.h>.
3859         (__pthread_initialize_minimal_internal):
3860         Call __pthread_initialize_pids instead of set_tid_address syscall.
3862         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3863         * sysdeps/posix/usleep.c: ... here.
3865 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3867         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3868         call_pselect6 object.
3869         [$(subdir) = io]: Remove call_sync_file_range object.
3870         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3871         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3872         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3873         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3875 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3877         * math/s_cproj.c: Add include "math_private.h".
3878         * math/s_cprojf.c: Likewise.
3879         * math/s_cprojl.c: Likewise.
3881 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3883         [BZ #18244]
3884         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3885         high mantissa bit when testing whether P is a NaN.
3886         * math/libm-test.inc (remainder_test_data): Add more tests.
3887         (remquo_test_data): Likewise.
3889         [BZ #18049]
3890         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3891         below -32, return the argument, with underflow if subnormal.
3892         * math/auto-libm-test-in: Add more tests of atanh.
3893         * math/auto-libm-test-out: Regenerated.
3895 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3897         [BZ #18434]
3898         * nptl/tst-sem15.c: New file.
3899         * nptl/Makefile (tests): Add it.
3900         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3901         s/<</>>/ to fix typo in EOVERFLOW check.
3902         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3904 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3906         * manual/strings.texi (envz_remove): Fix typo in safety
3907         annotations.
3909 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3910             Steve Ellcey  <sellcey@imgtec.com>
3912         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3913         in order to avoid strict alias warnings.
3914         (iruserok_af): Ditto for ra.
3916 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3918         [BZ #17581]
3919         * malloc/hooks.c
3920         (magicbyte): Convert to a function and avoid returning 0x01.
3921         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3922         (mem2chunk_check): Fix unsigned comparisons to zero.
3923         Hoist defs of sz and magic.
3925 2015-05-19  Richard Henderson  <rth@redhat.com>
3927         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3929         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3931 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3933         [BZ #16159]
3934         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3935         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3936         (reused_arena): Find a non-corrupt arena.
3937         (heap_trim): Pass arena to unlink.
3938         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3939         malloc_printerr.
3940         (top_check): Likewise.
3941         (free_check): Likewise.
3942         (realloc_check): Likewise.
3943         * malloc/malloc.c (malloc_printerr): Add arena argument.
3944         (unlink): Likewise.
3945         (munmap_chunk): Adjust.
3946         (ARENA_CORRUPTION_BIT): New macro.
3947         (arena_is_corrupt): Likewise.
3948         (set_arena_corrupt): Likewise.
3949         (sysmalloc): Use mmap if there are no usable arenas.
3950         (_int_malloc): Likewise.
3951         (__libc_malloc): Don't fail if arena_get returns NULL.
3952         (_mid_memalign): Likewise.
3953         (__libc_calloc): Likewise.
3954         (__libc_realloc): Adjust for additional argument to
3955         malloc_printerr.
3956         (_int_free): Likewise.
3957         (malloc_consolidate): Likewise.
3958         (_int_realloc): Likewise.
3959         (_int_memalign): Don't touch corrupt arenas.
3960         * malloc/tst-malloc-backtrace.c: New test case.
3962         * Makefile (summarize-tests): Fix return value on success.
3964         * manual/string.texi (Envz Functions): Add envz_remove.
3966 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3968         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3969         (invalid_name): New function, broken out of ...
3970         (__opendirat): ... here.  Call it.
3971         (need_isdir_precheck): New function, broken out of ...
3972         (__opendirat): ... here.  Call it.
3973         Use __fxstatat64, not __xstatat64.
3974         (opendir_oflags): New function, broken out of ...
3975         (__opendirat): ... here.  Call it.
3976         (opendir_tail): New function, broken out of ...
3977         (__opendirat): ... here.  Call it.
3978         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3979         opendir_tail, rather than punting to __opendirat.
3980         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3982 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3984         * .gitignore: Ignore generated *.pyc.
3986 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3988         * include/stdio.h: Define __need_wint_t.
3989         * test-skeleton.c: Avoid `for' loop initial declaration.
3990         * nptl/tst-initializers1.c: Use test-skeleton.c.
3992 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3994         [BZ #18418]
3995         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3997 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3999         [BZ #16352]
4000         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4001         (__ieee754_atanh): Force underflow exception for results with
4002         small absolute value.
4003         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4004         (__ieee754_atanhf): Force underflow exception for results with
4005         small absolute value.
4006         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4007         (__ieee754_atanh): Force underflow exception for results with
4008         small absolute value.
4009         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4010         (__ieee754_atanhf): Force underflow exception for results with
4011         small absolute value.
4012         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4013         (__ieee754_atanhl): Force underflow exception for results with
4014         small absolute value.
4015         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4016         (__ieee754_atanhl): Force underflow exception for results with
4017         small absolute value.
4018         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4019         (__ieee754_atanhl): Force underflow exception for results with
4020         small absolute value.
4021         * math/auto-libm-test-in: Do not allow missing underflow
4022         exceptions from atanh.
4023         * math/auto-libm-test-out: Regenerated.
4025         [BZ #18221]
4026         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4027         2**-28 as threshold for returning x or +/- 1/x.
4028         * math/auto-libm-test-in: Add more tests of tan.
4029         * math/auto-libm-test-out: Regenerated.
4031         [BZ #18220]
4032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4033         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4034         * math/auto-libm-test-in: Add another test of lgamma.
4035         * math/auto-libm-test-out: Regenerated.
4037 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4039         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4040         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4041         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4042         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4043         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4044         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4045         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4046         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4048         (log1): Use fabs.  (my_log2): Use fabs.
4049         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4050         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4052         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4054         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4055         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4056         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4057         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4058         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4059         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4061 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4063         [BZ #18217]
4064         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4065         as threshold for returning 1 - x.
4066         * math/auto-libm-test-in: Add more tests of erfc.
4067         * math/auto-libm-test-out: Regenerated.
4069 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4071         [BZ #18196]
4072         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4073         threshold for large arguments.
4074         * math/auto-libm-test-in: Add another test of atan.
4075         * math/auto-libm-test-out: Regenerated.
4077         [BZ #16339]
4078         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4079         (__log1p): Force underflow exception for results with small
4080         absolute value.
4081         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4082         (__log1pf): Force underflow exception for results with small
4083         absolute value.
4084         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4085         (__log1p): Force underflow exception for results with small
4086         absolute value.
4087         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4088         (__log1pf): Force underflow exception for results with small
4089         absolute value.
4090         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4091         (__log1pl): Force underflow exception for results with small
4092         absolute value.
4093         * math/auto-libm-test-in: Do not allow missing underflow
4094         exceptions from log1p.
4095         * math/auto-libm-test-out: Regenerated.
4097 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4098             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4100         [BZ #16704]
4101         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4103 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4105         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4106         (libmvec): New variable.
4107         * configure.ac: Added option for mathvec build.
4108         * configure: Regenerated.
4109         * mathvec/Depend: New file.
4110         * mathvec/Makefile: New file.
4111         * shlib-versions: Added libmvec.
4112         * math/Makefile: Added rule for libm.so installation.
4114         * bits/math-vector.h: New file.
4115         * bits/libm-simd-decl-stubs.h: New header.
4116         * math/Makefile (headers): Added new header
4117         libm-simd-decl-stubs.h.
4118         * math/math.h (__MATHCALL_VEC): New macro.
4120         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4121         for conditions in testing functions.
4122         * math/Makefile: Added call of libm-have-vector-test.sh.
4123         * math/libm-test.inc (HAVE_VECTOR): New macros.
4125         * math/libm-test.inc: START refactored.
4126         * math/test-double.c (TEST_MATHVEC): Add define.
4127         * math/test-float.c: Likewise.
4128         * math/test-idouble.c: Likewise.
4129         * math/test-ifloat.c: Likewise.
4130         * math/test-ildoubl.c: Likewise.
4131         * math/test-ldouble.c: Likewise.
4132         * sysdeps/generic/math-tests-arch.h
4133         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4134         architecture check.
4136         * math/test-double.c (FUNC_TEST): New macro.
4137         * math/test-float.c: Likewise.
4138         * math/test-idouble.c: Likewise.
4139         * math/test-ifloat.c: Likewise.
4140         * math/test-ildoubl.c: Likewise.
4141         * math/test-ldouble.c: Likewise.
4142         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4144 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4146         * sysdeps/nacl/fdopendir.c: New file.
4148         * dirent/scandir-tail.c: New file.
4149         * dirent/scandir64-tail.c: New file.
4150         * dirent/Makefile (routines): Add them.
4151         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4152         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4153         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4154         [!SCANDIR] (SCANDIR_TAIL): New macro.
4155         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4156         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4157         (SCANDIRAT): Macro removed.
4158         (SCANDIR_TAIL): New macro.
4159         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4160         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4161         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4162         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4163         (READDIR): Macro removed.
4164         (SCANDIR_TAIL): New macro.
4165         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4166         (SCANDIR_TAIL): New macro.
4168         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4169         * dirent/scandir-cancel.c: ... to this new file.
4170         * dirent/Makefile (routines): Add it.
4171         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4172         * sysdeps/unix/sysv/linux/i386/scandir64.c
4173         (SKIP_SCANDIR_CANCEL): Macro removed.
4174         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4176         * dirent/tst-scandir.c: New file.
4177         * dirent/tst-scandir64.c: New file.
4178         * dirent/Makefile (tests): Add them.
4180 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4182         [BZ #18409]
4183         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4185 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4187         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4188         list.
4190 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4192         * benchtests/bench-strcoll.c: New benchmark.
4193         * benchtests/Makefile: Generate locales and run benchmark.
4194         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4195         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4196         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4197         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4198         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4199         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4200         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4201         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4202         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4203         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4204         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4205         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4206         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4207         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4208         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4209         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4210         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4211         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4212         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4213         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4214         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4215         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4216         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4217         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4219 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4221         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4222         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4224 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4226         * posix/uname-values.h: New file.
4227         * posix/uname.c: Include that instead of <config-name.h>.
4228         * sysdeps/nacl/uname-values.h: New file.
4229         * sysdeps/arm/nacl/uname-values.h: New file.
4231 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4233         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4234         splitting into fields.
4236 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4238         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4239         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4240         * locale/localeinfo.h: Add enum collation_encoding_type.
4241         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4242         * programs/ld-collate.c (collate_output): Add encoding type info.
4243         * string/strcoll_l.c (STRDIFF): New function.
4244         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4245         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4247 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4249         [BZ #18397]
4250         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4251         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4252         <fpu_control.h> instead of <math/fpu_control.c>.
4253         * sysdeps/mips/mips32/fpu/Makefile: New file.
4255 2015-05-11  Andreas Schwab  <schwab@suse.de>
4257         [BZ #18007]
4258         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4259         nss_endgrent.
4260         (_nss_compat_endgrent): Call nss_endgrent.
4261         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4262         nss_endpwent.
4263         (_nss_compat_endpwent): Call nss_endpwent.
4264         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4265         needent, call nss_setspent only if non-zero.
4266         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4267         (internal_endspent): Don't call nss_endspent.
4268         (_nss_compat_endspent): Call nss_endspent.
4269         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4270         Remove.  All uses removed.
4271         (internal_setent): Remove parameter stayopen, add parameter
4272         stream.  Use it instead of global variable.
4273         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4274         (internal_endent, internal_getent): Add parameter stream.  Use it
4275         instead of global variable.
4276         (CONCAT(_nss_files_end,ENTNAME))
4277         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4278         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4279         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4280         uses removed.
4281         (internal_setent, internal_endent): Add parameter stream.  Use it
4282         instead of global variable.
4283         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4284         stream.
4285         (get_next_alias): Add parameter stream.
4286         (_nss_files_getaliasent_r): Pass global stream.
4287         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4288         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4289         (_nss_files_gethostbyname4_r): Pass local stream to
4290         internal_setent, internal_getent and internal_endent.  Remove
4291         locking.
4293 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4295         * tst-strfmon1.c (tests): Update expected currency symbol.
4297 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4299         * sysdeps/nacl/gethostname.c: New file.
4301 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4303         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4304         and sinh.
4305         * math/auto-libm-test-out: Regenerated.
4306         * sysdeps/i386/fpu/libm-test-ulps: Update.
4307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4309 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4311         [BZ #18125]
4312         * stdlib/tst-setcontext3.c: New file.
4313         * stdlib/tst-setcontext3.sh: New file.
4314         * stdlib/Makefile (tests): Add tst-setcontext3.
4315         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4316         to verify test program created output file.
4317         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4318         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4319         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4320         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4322 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4324         [BZ #18383]
4325         * elf/tst-tlsalign.c: New file.
4326         * elf/tst-tlsalign-static.c: New file.
4327         * elf/tst-tlsalign-lib.c: New file.
4328         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4329         (tests-static): Add tst-tlsalign-static.
4330         (modules-names): Add tst-tlsalign-lib.
4331         (test-xfail-tst-tlsalign): New variable.
4332         (test-xfail-tst-tlsalign-static): New variable.
4334         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4335         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4337 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4339         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4340         csqrt, erfc, sin and sincos.
4341         * math/auto-libm-test-out: Regenerated.
4342         * sysdeps/i386/fpu/libm-test-ulps: Update.
4343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4345 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4347         * sysdeps/aarch64/libm-test-ulps: Update.
4349 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4351         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4352         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4353         * math/auto-libm-test-out: Regenerated.
4354         * sysdeps/i386/fpu/libm-test-ulps: Update.
4355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4357 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4359         [BZ #18265]
4360         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4361         (wcsncpy): Likewise.
4363 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4365         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4366         Assume __ASSUME_FALLOCATE is always true.
4367         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4368         (__posix_fallocate64_l64): Likweise.
4369         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4370         (posix_fallocate): Likewise.
4371         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4372         (__posix_fallocate64_l64): Likewise.
4373         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4374         [!__ASSUME_FALLOCATE]: Add comment.
4376 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4378         * sysdeps/unix/sysv/linux/i386/Makefile
4379         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4380         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4381         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4382         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4383         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4384         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4385         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4387 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4389         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4390         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4391         tgamma.
4392         * math/auto-libm-test-out: Regenerated.
4393         * sysdeps/i386/fpu/libm-test-ulps: Update.
4394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4396 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4398         * math/auto-libm-test-in: Add more tests of tgamma.
4399         * math/auto-libm-test-out: Regenerated.
4400         * sysdeps/i386/fpu/libm-test-ulps: Update.
4401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4403         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4414         * math/auto-libm-test-out: Regenerated.
4415         * sysdeps/i386/fpu/libm-test-ulps: Update.
4416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4418         * math/auto-libm-test-in: Add another test of pow.
4419         * math/auto-libm-test-out: Regenerated.
4420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4422         * math/auto-libm-test-in: Add more tests of lgamma.
4423         * math/auto-libm-test-out: Regenerated.
4424         * sysdeps/i386/fpu/libm-test-ulps: Update.
4425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4428         log1p.
4429         * math/auto-libm-test-out: Regenerated.
4430         * sysdeps/i386/fpu/libm-test-ulps: Update.
4431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4435         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4436         Elf64_Chdr structs and ELFCOMPRESS constants.
4438 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4440         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4441         expm1.
4442         * math/auto-libm-test-out: Regenerated.
4443         * sysdeps/i386/fpu/libm-test-ulps: Update.
4444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4446         * math/auto-libm-test-in: Add more tests of erf and erfc.
4447         * math/auto-libm-test-out: Regenerated.
4448         * sysdeps/i386/fpu/libm-test-ulps: Update.
4449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4451 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4453         * config.h.in (HAVE_AARCH64_BE): Add.
4455 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4457         * math/auto-libm-test-in: Add more tests of csqrt.
4458         * math/auto-libm-test-out: Regenerated.
4459         * sysdeps/i386/fpu/libm-test-ulps: Update.
4460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4462         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4463         * math/auto-libm-test-out: Regenerated.
4464         * sysdeps/i386/fpu/libm-test-ulps: Update.
4465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4469 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4471         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4472         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4474         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4475         (euidaccess, eaccess): Define as weak aliases.
4477         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4478         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4479         but __suseconds_t is often 'long int' so some sources assume that
4480         type is being used (e.g. they use %ld to print tv_usec).
4482 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4484         [BZ #18007]
4485         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4486         (CVE-2014-8121)
4487         * nss/tst-nss-getpwent.c: New file.
4488         * nss/Makefile (tests): Add new test.
4490 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4492         [BZ #18346]
4493         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4494         exponents less than 48 as cases where high part of mantissa needs
4495         examining to determine whether argument is integral.
4496         * math/libm-test.inc (round_test_data): Add more tests.
4498 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4500         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4502 2015-04-27  David S. Miller  <davem@davemloft.net>
4504         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4505         __tls_get_addr.
4506         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4508 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4510         [BZ#18333]
4511         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4513 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4515         [BZ#18333]
4516         * time/tzset.c (parse_tzname): Return error on memory allocation
4517         failure.
4518         * test-skeleton.c (struct temp_name_list): Change type of name
4519         member to non-const.
4520         (add_temp_file): Create a copy of the file name.
4521         (delete_temp_files): Deallocate memory.
4522         (create_temp_file): Add comment.
4524 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4526         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4527         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4529 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4531         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4532         * sysdeps/arm/configure: Regenerated.
4534 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4536         [BZ #17715]
4537         * time/tzfile.c (__tzfile_read): Check for large values of
4538         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4539         * time/tzset.c (__tzstring_len): New function, based on the old
4540         __tzstring function.
4541         (__tzstring): Call __tzstring_len.
4542         (parse_tzname): New helper function extracted from
4543         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4544         the input string.
4545         (parse_offset): New helper function extracted from
4546         __tzset_parse_tz.  Replace switch with fallthrough with
4547         initialization before sscanf.
4548         (parse_rule): Likewise.
4549         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4550         new-style function definition.
4551         * timezone/Makefile (tests): Add tst-tzset.
4552         (tst-tzset.out): Dependencies on time zone files.
4553         (tst-tzset-ENV): Set TZDIR.
4554         (testdata/XT%): Copy crafted time zone files.
4555         * timezone/README: Mention crafted time zone files.
4556         * timezone/testdata/XT1, timezone/testdata/XT2,
4557         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4558         files.
4559         * timezone/tst-tzset.c: New test.
4561 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4563         * Makeconfig (+gccwarn): Remove -Winline.
4565 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4567         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4569 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4571         * NEWS: Mention sysconf() cache information support for s390.
4572         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4574 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4576         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4577         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4578         (__nearbyint): Likewise.
4579         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4580         (copysignl): Likewise.
4582 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4584         [BZ #18287]
4585         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4586         based on padding.  (CVE-2015-1781)
4588 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4590         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4591         libc-vdso.h.
4592         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4593         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4594         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4595         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4596         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4597         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4599         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4600         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4601         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4602         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4603         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4604         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4605         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4606         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4607         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4608         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4610         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4611         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4612         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4613         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4614         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4616 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4618         * stdlib/setenv.c (__add_to_environ):
4619         Dump core quickly if setenv (..., NULL, ...) is called.
4620         This time, do it the right way, and pacify GCC with a pragma.
4622 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4624         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4625         IMAP->l_prev cannot be null, and #if out the code for the contrary
4626         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4627         believe that NS (&_dl_ns[NSID]) could point outside the array.
4629         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4630         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4631         before using NSID as an index.
4633 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4635         [BZ #17825]
4636         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4637         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4638         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4640 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4642         Add preliminary port to Google Native Client on ARM.
4643         * abi-tags (.*-.*-nacl.*): New entry.
4644         * sysdeps/arm/nacl: New directory.
4645         * sysdeps/nacl: New directory.
4647 2015-04-16  David S. Miller  <davem@davemloft.net>
4649         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4650         lowlevellock-futex.h
4652 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4654         * sysdeps/tile/configure.ac: New file.
4655         * sysdeps/tile/configure: Regenerated.
4657 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4659         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4660         conditionals for weak_alias and libc_hidden_weak.
4661         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4662         libc_hidden_weak and weak_alias.
4663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4664         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4665         and weak_alias for static one.
4667 2015-04-15  David S. Miller  <davem@davemloft.net>
4669         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4671 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4673         [BZ #18206]
4674         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4675           Use signed comparision instead of substraction to avoid
4676           overflow bug.
4677         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4678           Take the sign of ret.
4679         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4680           Do not expect precise return values. Only the sign matters.
4681         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4682         * wcsmbs/test-wcsncmp.c: New File.
4683         * string/test-strncmp.c: Add wcsncmp support.
4685 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4687         [BZ #6792]
4688         * math/w_log1p.c: New file.
4689         * math/w_log1pf.c: Likewise.
4690         * math/w_log1pl.c: Likewise.
4691         * math/Makefile (libm-calls): Add w_log1p.
4692         * math/s_log1pl.c (log1pl): Remove weak_alias.
4693         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4694         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4695         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4696         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4697         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4698         [NO_LONG_DOUBLE] (log1pl): Likewise.
4699         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4700         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4701         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4702         (log1p): Remove long_double_symbol.
4703         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4704         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4705         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4706         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4707         remove weak_alias for corresponding log1p function.
4708         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4709         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4710         * sysdeps/ia64/fpu/w_log1p.c: New file.
4711         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4712         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4713         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4715 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4717         [BZ #18247]
4718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4719         decimal exponent by 1.
4720         * stdlib/tst-strtod-round-data: Add more tests.
4721         * stdlib/tst-strtod-round.c (tests): Regenerated.
4723 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4725         * math/auto-libm-test-in: Add more tests of clog and clog10.
4726         * math/auto-libm-test-out: Regenerated.
4727         * sysdeps/i386/fpu/libm-test-ulps: Update.
4728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4730 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4732         * Makeconfig (module-cppflags): Exclude all .v.i files.
4733         (skip-module-cppflags): Variable removed.
4735         * configure.ac (libc_config_ok): Initialize before reading
4736         preconfigure scripts, not after.
4737         * configure: Regenerated.
4739         * test-skeleton.c (TIMEOUT): Move #define to top level.
4740         (main): Grok environment variable TEST_DIRECT.  If set, print
4741         test expectation details into that file and then behave as if
4742         given --direct.
4744 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4746         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4747         warning on 32-bit.
4749 2015-04-08  David S. Miller  <davem@davemloft.net>
4751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4753 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4755         * math/auto-libm-test-in: Add more tests of atanh.
4756         * math/auto-libm-test-out: Regenerated.
4757         * sysdeps/i386/fpu/libm-test-ulps: Update.
4758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4760         * math/auto-libm-test-in: Add more tests of atan.
4761         * math/auto-libm-test-out: Regenerated.
4762         * sysdeps/i386/fpu/libm-test-ulps: Update.
4763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4767         * elf/pldd.c (main): Rewrite to use struct
4768         scratch_buffer instead of extend_alloca.
4769         * elf/pldd-xx.c (find_maps): Likewise.
4770         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4771         <alloca.h>.
4772         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4773         scratch_buffer instead of extend_alloca.
4774         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4775         grp/compat-initgroups.c.
4776         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4777         Rewrite to use struct scratch_buffer instead of extend_alloca.
4778         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4779         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4781 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4783         * math/auto-libm-test-in: Add more tests of cbrt.
4784         * math/auto-libm-test-out: Regenerated.
4785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4787         * math/auto-libm-test-in: Add more tests of cabs.
4788         * math/auto-libm-test-out: Regenerated.
4789         * sysdeps/i386/fpu/libm-test-ulps: Update.
4790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4792         [BZ #18210]
4793         [BZ #18211]
4794         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4795         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4796         computations.
4797         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4798         clog10.
4799         * math/auto-libm-test-out: Regenerated.
4800         * sysdeps/i386/fpu/libm-test-ulps: Update.
4801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803         [BZ #18197]
4804         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4805         (atan): Set FE_TONEAREST mode for internal computations.
4806         * math/auto-libm-test-in: Add more tests of atan.
4807         * math/auto-libm-test-out: Regenerated.
4809 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4811         [BZ #17930]
4812         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4814 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4816         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4818 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4820         * include/scratch_buffer.h: New file.
4821         * malloc/scratch_buffer_grow.c: Likewise.
4822         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4823         * malloc/scratch_buffer_set_array_size.c: Likewise.
4824         * malloc/tst-scratch_buffer.c: Likewise.
4825         * malloc/Makefile (routines): Add scratch_buffer_grow.
4826         (tests): Add test case.
4827         * malloc/Versions (GLIBC_PRIVATE): Export
4828         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4829         __libc_scratch_buffer_set_array_size.
4831 2015-04-06  Richard Henderson  <rth@redhat.com>
4833         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4834         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4836         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4837         unsigned int before printing.
4839 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4841         [BZ #17596]
4842         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4843         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4845 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4847         * include/libc-internal.h (libc_max_align_t): Define.
4849 2015-04-02  Andreas Schwab  <schwab@suse.de>
4851         [BZ #16850]
4852         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4854 2015-04-02  Mel Gorman  <mgorman@suse.de>
4856         [BZ #17195]
4857         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4858         as well as the main arena.
4860 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4862         [BZ #18185]
4863         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4864         sharing L2 cache to 2 for Silvermont/Knights Landing.
4866 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4868         [BZ #17711]
4869         * config.make.in (have-protected-data): New.
4870         * configure.ac: Check linker support for protected data symbol.
4871         * configure: Regenerated.
4872         * elf/Makefile (modules-names): Add tst-protected1moda and
4873         tst-protected1modb if $(have-protected-data) is yes.
4874         (tests): Add tst-protected1a and tst-protected1b if
4875         $(have-protected-data) is yes.
4876         ($(objpfx)tst-protected1a): New.
4877         ($(objpfx)tst-protected1b): Likewise.
4878         (tst-protected1modb.so-no-z-defs): Likewise.
4879         * elf/tst-protected1a.c: New file.
4880         * elf/tst-protected1b.c: Likewise.
4881         * elf/tst-protected1mod.h: Likewise.
4882         * elf/tst-protected1moda.c: Likewise.
4883         * elf/tst-protected1modb.c: Likewise.
4885 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4887         [BZ #17711]
4888         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4889         indicates it is called from do_lookup_x on relocation against
4890         protected data, skip the data definion in the executable from
4891         copy reloc.
4892         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4893         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4894         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4895         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4896         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4897         otherwise to 0.
4898         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4899         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4900         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4901         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4902         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4903         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4905 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4907         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4908         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4910 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4912         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4913         THREAD_SETMEM_NC.
4914         * sysdeps/x86_64/nptl/tls.h: Ditto.
4916 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4918         * dlfcn/tststatic.c (main): Converted to ...
4919         (do_test): ... this.
4920         (TEST_FUNCTION): New macro.
4921         Include test-skeleton.c.
4923 2015-03-26  Alan Modra  <amodra@gmail.com>
4925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4926         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4927         zero for undefined weak.
4928         (elf_machine_plt_conflict): Similarly.
4930 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4932         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4933         atanh.
4934         * math/auto-libm-test-out: Regenerated.
4935         * sysdeps/i386/fpu/libm-test-ulps: Update.
4936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4938         * math/auto-libm-test-in: Add another test of asin.
4939         * math/auto-libm-test-out: Regenerated.
4940         * sysdeps/i386/fpu/libm-test-ulps: Update.
4941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4943         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4944         Remove macro.
4945         (LLL_EBX_REG): Likewise.
4946         (LLL_ENTER_KERNEL): Likewise.
4948         * math/auto-libm-test-in: Add more tests of asin.
4949         * math/auto-libm-test-out: Regenerated.
4950         * sysdeps/i386/fpu/libm-test-ulps: Update.
4951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4953         [BZ #18138]
4954         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4955         libc_do_syscall_args): New structure.
4956         (INTERNAL_SYSCALL_MAIN_0): New macro.
4957         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4958         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4959         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4960         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4961         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4962         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4963         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4964         Replace conditional definitions by conditional definitions of ....
4965         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4966         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4967         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4968         (libpthread-sysdep_routines): Add libc-do-syscall.
4969         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4970         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4971         to __NR_futex not 240.
4973 2015-03-25  Alan Modra  <amodra@gmail.com>
4975         * NEWS: Advertise TLS optimization.
4976         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4977         (DT_PPC_NUM): Increment.
4978         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4979         (CHECK_STATIC_TLS): Use here.
4980         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4981         TLS descriptors.
4982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4983         * sysdeps/powerpc/dl-tls.c: New file.
4984         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4985         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4986         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4987         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4992 2015-03-25  Alan Modra  <amodra@gmail.com>
4994         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4995         for overlapping .opd entries" to "support...".
4996         * sysdeps/powerpc/powerpc64/configure: Regenerate
4998 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5000         * math/auto-libm-test-in: Add more tests of acos.
5001         * math/auto-libm-test-out: Regenerated.
5002         * sysdeps/i386/fpu/libm-test-ulps: Update.
5003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5005         * math/auto-libm-test-in: Add more tests of expm1.
5006         * math/auto-libm-test-out: Regenerated.
5007         * sysdeps/i386/fpu/libm-test-ulps: Update.
5008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5010 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5012         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5013         * math/auto-libm-test-out: Regenerated.
5014         * sysdeps/i386/fpu/libm-test-ulps: Update.
5015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5020         * math/auto-libm-test-in: Add more tests of log2.
5021         * math/auto-libm-test-out: Regenerated.
5022         * sysdeps/i386/fpu/libm-test-ulps: Update.
5023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5025 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5027         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5028         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5029         _IO_IS_APPENDING bit in READ_WRITE instead.
5031 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5033         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5034         (__determine_cpumask_size): Replace extend_alloca with a
5035         variable-length array.  Do not treat res == 0 as an error.
5037 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5039         [BZ #18100]
5040         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5041         and integer overflow.
5042         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5043         (main): Add integer overflow tests.
5044         * manual/pattern.texi (Calling Wordexp): Document additional use
5045         for WRDE_SYNTAX.
5047 2015-03-23  Alan Modra  <amodra@gmail.com>
5049         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5050         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5051         and false branch of conditional.
5052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5053         Likewise.
5055 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5057         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5058         libc-modules.h
5059         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5060         unused declaration of _hurd_intr_rpc_msg_in_trap.
5061         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5062         defined instead of whether it is non-zero.
5063         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5064         input constraint instead of both input and output constraint.  Use ecx
5065         clobber instead of %ecx.
5066         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5067         mutex_unlock): Use a statement expression instead of an expression list.
5068         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5069         type to vm_size_t instead of vm_address_t.
5070         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5071         defined instead of whether it is non-zero.
5072         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5073         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5074         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5075         comparisons with mapaddr.
5076         * nscd/nscd-client.h: Include <time.h>.
5077         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5078         9th parameter to __vm_region instead of int.
5079         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5080         * scripts/check-local-headers.sh (exclude): Add device/,
5081         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5082         cthreads.h.
5084 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5086         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5087         to account for alignment padding.
5088         * sysdeps/arm/memmove.S: Likewise.
5090 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5092         * sysdeps/unix/sysv/linux/generic/README: New file.
5094 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5096         [BZ #18138]
5097         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5098         (futex_abstimed_wait)
5099         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5100         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5101         of lll_futex_timed_wait.
5103 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5105         [BZ #17542]
5106         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5108 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5110         [BZ #17090]
5111         [BZ #17620]
5112         [BZ #17621]
5113         [BZ #17628]
5114         * NEWS: Update.
5115         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5116         entries with Static TLS too.  Skip entries past the end of the
5117         allocated DTV, from Alan Modra.
5118         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5119         Static TLS DTV entry set up from...
5120         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5121         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5122         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5123         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5124         for Static TLS.
5125         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5126         that the slot we find is associated with the given map before
5127         using its generation count.
5128         * nptl_db/db_info.c: Include ldsodefs.h.
5129         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5130         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5131         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5132         (link_map::l_tls_offset): New struct field.
5133         (dtv_t::counter): Likewise.
5134         (rtld_global): New struct.
5135         (_rtld_global): New rtld variable.
5136         (dl_tls_dtv_slotinfo_list): New rtld global field.
5137         (dtv_slotinfo_list): New struct.
5138         (dtv_slotinfo): Likewise.
5139         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5140         (td_lookup): Rename to...
5141         (td_mod_lookup): ... this.  Use new mod parameter instead of
5142         LIBPTHREAD_SO.
5143         * nptl_db/td_thr_tlsbase.c: Include link.h.
5144         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5145         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5146         addresses even if the DTV is out of date or missing them.
5147         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5148         index zero-length arrays.
5149         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5150         (td_lookup): Make it a macro implemented in terms of...
5151         (td_mod_lookup): ... this declaration.
5152         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5153         (DB_MAIN_VARIABLE): Likewise.
5155 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5157         [BZ #18134]
5158         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5160 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5162         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5164 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5166         [BZ #18128]
5167         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5168         (atomic_add, atomic_increment_and_test)
5169         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5171 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5173         * stdlib/setenv.c (__add_to_environ):
5174         Dump core quickly if setenv (..., NULL, ...) is called.
5176 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5178         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5179         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5180         all the necessary asm magic in one place.
5181         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5182         using those.
5184 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5186         [BZ #14906]
5187         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5188         traced file mtime. Use consistent log message.
5189         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5190         (register_traced_file): Call install_watches. Always set mtime.
5191         (invalidate_cache): Iterate over all trace files. Call install_watches.
5192         (inotify_check_files): Don't inline. Handle watching parent
5193         directories and configuration file movement in and out.
5194         (handle_inotify_events): New function.
5195         (main_loop_poll): Call handle_inotify_events.
5196         (main_loop_epoll): Likewise.
5197         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5198         (struct traced_file): Use array of inotify fds. Add parent directory,
5199         and basename.
5200         (struct database_dyn): Remove unused file_mtime.
5201         (init_traced_file): New inline function.
5202         (define_traced_file): New macro.
5203         * nss/nss_db/db-init.c: Use define_traced_file.
5204         (_nss_db_init): Use init_traced_file.
5205         * nss/nss_files/files-init.c: Use define_traced_file.
5206         (_nss_files_init): Use init_traced_file.
5208 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5210         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5211         [_LIBC]: Do not include <stdlib.h>.
5212         [!_LIBC] (abort): Remove declaration.
5213         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5214         _FP_STATIC_ASSERT instead of conditionally calling abort.
5215         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5216         (_FP_EXTEND_CNAN): Likewise.
5217         (FP_TRUNC): Likewise.
5218         (__FP_CLZ): Likewise.
5219         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5221 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5223         * manual/string.texi (XPG basename): Fix prototype.
5225 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5227         [BZ #18080]
5228         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5229         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5230         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5231         (__setcontext): Likewise.
5232         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5233         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5234         Call rt_sigprocmask syscall one time to set new signal mask
5235         and retrieve the current signal mask instead of two calls.
5236         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5237         (__swapcontext): Likewise.
5238         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5239         * stdlib/tst-setcontext2.c: New file.
5241 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5243         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5245 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5247         [BZ #18093]
5248         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5249         the wrong size.
5251 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5253         [BZ #18043]
5254         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5256 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5258         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5259         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5260         Remove define.
5261         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5262         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5263         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5264         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5265         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5266         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5267         define.
5268         * nptl_db/td_symbol_list.c (td_lookup): Remove
5269         HAVE_ASM_GLOBAL_DOT_NAME code.
5270         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5271         HAVE_ASM_GLOBAL_DOT_NAME check.
5272         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5273         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5274         (DOT_LABEL): Remove define.
5275         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5276         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5277         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5278         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5279         (__TLS_GET_ADDR): Likewise.
5280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5281         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5283 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5285         [BZ #18111]
5286         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5287         (_FPU_SETCW): Initialize cw from fpsr before storing.
5288         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5289         (fesetexceptflag): Rewrite using fpu_control.h.
5290         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5292 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5294         [BZ #18110]
5295         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5296         asms.
5297         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5299 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5301         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5302         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5303         abort.
5304         (_FP_FMA): Likewise.
5305         (_FP_DIV): Likewise.
5307 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5309         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5310         with 0 in that case.
5311         * Makefile (summarize-tests): New canned sequence, factored out of
5312         commands for targets tests and xtests.  Display summary lines that
5313         don't start with PASS: or XFAIL: rather than ones that do start with
5314         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5315         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5316         do start with ERROR: or FAIL:.
5317         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5318         (except for [$(build-shared) = yes]).
5319         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5320         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5321         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5322         * nptl/Makefile: Revert 2015-03-04 changes.
5323         [$(CXX) empty] (tests-unsupported): New variable.
5324         * debug/Makefile: Likewise.
5326         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5327         gnulib file.  Replace __attribute with __attribute__ throughout.
5329 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5331         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5333 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5335         [BZ #18104]
5336         * math/auto-libm-test-in: Add another test of pow.
5337         * math/auto-libm-test-out: Regenerated.
5339 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5341         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5342         $(config-cflags-nofma).
5344 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5346         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5347         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5348         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5349         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5350         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5351         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5352         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5353         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5354         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5355         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5356         Add comment on closing #endif.
5358 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5360         * posix/wordexp.c (CHAR_IN_SET): New macro.
5361         (parse_param): Use it.
5363 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5365         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5367 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5369         [BZ #18043]
5370         * posix/wordexp.c (parse_param): Fix buffer overflow.
5371         * posix/wordexp-test.c (test_case): Add test case.
5373 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5375         [BZ #18042]
5376         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5377         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5379 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5381         [BZ #18043]
5382         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5383         (do_bz18043): Delete.
5384         (at_page_end): New.
5385         (testit): Refactor to have words at the edge of unreadable page.
5387 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5389         [BZ #16734]
5390         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5391         Cleanup read-only streams as well.
5392         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5394 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5396         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5397         <bits/libc-lockP.h>
5399 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5401         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5402         on [__KERNEL__].
5403         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5404         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5405         * soft-fp/op-common.h (_FP_DECL): Likewise.
5407 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5409         * elf/ifuncdep2.c (global): Replace
5410         __attribute__((visibility("protected"))) with
5411         asm (".protected global").
5412         * elf/ifuncmod1.c (global): Likewise.
5413         * elf/ifuncmod5.c (global): Likewise.
5415 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5417         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5418         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5420 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5422         * manual/install.texi (Configuring and compiling):
5423         Document test-wrapper-env-only.
5424         * INSTALL: Regenerated.
5426 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5428         [BZ #18043]
5429         * posix/wordexp.c (parse_param): Fix buffer overflow.
5430         * posix/wordexp-test.c (do_bz18043): Add test case.
5432 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5434         * time/tst-strptime2.c (do_test): Ensure failing tests are
5435         reported correctly.
5436         * time/tst-strptime3.c (do_test): Likewise.
5438 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5440         Fix aio_error thread-safety.
5441         * sysdeps/pthread/aio_error.c: New file
5442         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5443         synchronization.
5445 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5447         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5448         (group_number, vfprintf): Use it.
5449         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5450         (JUMP, REF): Use it.
5451         (WORK_BUFFER_SIZE): New enum constant.
5452         (process_arg, vfprintf): Use it.
5454 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5456         * manual/errno.texi (Error Messages): Complete example function
5457         by adding missing #define.
5458         (program_invocation_name): Add statement indicating GNU
5459         extension and reference which header file declares the variable.
5460         (program_invocation_short_name): Likewise.
5462 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5464         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5465         compatibility note.
5467 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5469         * Makeconfig (test-wrapper-env-only): New variable.
5470         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5471         then use that with $(test-wrapper-env-only) rather than using
5472         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5474 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5476         [BZ #18082]
5477         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5478         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5479         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5480         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5481         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5482         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5483         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5484         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5485         Likewise.
5486         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5487         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5488         Likewise.
5489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5490         Likewise.
5491         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5492         Likewise.
5493         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5494         Likewise.
5495         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5497         Likewise.
5498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5499         Likewise.
5500         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5501         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5503 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5505         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5506         (ETH_ALEN): New macro.
5507         (struct ether_addr): Use it for length of ether_addr_octet.
5509         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5510         (setdb): Don't call __nss_configure_lookup for "rpc".
5511         (do_test): Don't call test_rpc.
5512         (output_rpcent, test_rpc): Functions moved ...
5513         * sunrpc/test-rpcent.c: ... to this new file.
5514         * sunrpc/Makefile (tests): Add it.
5516         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5517         __xpg_sigpause.
5518         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5519         * nptl/tst-signal6.c: Likewise.
5520         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5521         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5523         * configure.ac (libc_cv_cxx_link_ok): New check.
5524         Reset CXX to empty if it fails to link.
5525         * configure: Regenerated.
5526         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5527         bug-atexit3-lib only if $(CXX) is nonempty.
5528         * nptl/Makefile (tests): Likewise for tst-cancel24.
5529         (tests, tests-static): Likewise for tst-cancel24-static.
5530         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5531         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5532         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5533         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5535 2015-03-04  Andreas Schwab  <schwab@suse.de>
5537         [BZ #17631]
5538         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5539         for non-GCC compilers.
5540         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5541         Likewise.
5543 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5545         [BZ #17776]
5546         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5547         integer before bitwise and assembly operations.
5548         (feclearexcept): Likewise.
5549         * math/test-fenvinline.c: New file.
5550         * math/Makefile: Add test-fenvinline test.
5552 2015-03-03  Alan Modra  <amodra@gmail.com>
5554         [BZ #16512]
5555         * scripts/localplt.awk: Strip off symbol version.
5556         * NEWS: Mention bug fix.
5558 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5560         * sysdeps/pthread/timer_routines.c
5561         (timer_free_list, thread_free_list, thread_active_list): Make static.
5563 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5565         [BZ #17779]
5566         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5567         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5568         Undefine.
5569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5570         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5571         Likewise.
5572         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5573         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5574         Likewise.
5576 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5578         [BZ #18036]
5579         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5580         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5582 2015-03-02  Andreas Schwab  <schwab@suse.de>
5584         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5585         variable name.
5587 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5589         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5590         Return error status.
5592 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5594         [BZ #15969]
5595         * locale/findlocale.c (_nl_find_locale): Introduce const
5596         version of loc_name and drop unsafe type casts.
5598 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5600         * dlfcn/tststatic2.c (main): Converted to ...
5601         (do_test): ... this.
5602         (TEST_FUNCTION): New macro.
5603         Include test-skeleton.c.
5605 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5607         [BZ #17711]
5608         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5609         (tests-pie): Add vismain.
5610         (CFLAGS-vismain.c): New.
5611         * elf/vismain.c: Add comments for PIE requirement.
5613 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5615         [BZ #18046]
5616         [BZ #18047]
5617         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5618         0x1p-56L as threshold for just returning the argument.
5619         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5620         0x1p-32L as threshold for just returning the argument.
5621         * math/auto-libm-test-in: Add more tests of atanh.
5622         * math/auto-libm-test-out: Regenerated.
5623         * sysdeps/i386/fpu/libm-test-ulps: Update.
5624         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5626 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5628         * string/bcopy.c (bcopy): Call memmove for performance.
5630 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5632         * string/bzero.c (__bzero): Call memset for performance.
5634 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5636         [BZ #18068]
5637         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5638         to 00100000.
5640 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5642         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5644 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5646         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5647         (__kernel_standard): Use CSTR macro when setting exc.name.
5648         * sysdeps/ieee754/Makefile [$(subdir) = math]
5649         (CFLAGS-k_standard.c): Remove variable.
5651         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5652         setting p and q from "else if" to "else".
5653         (qzero): Likewise.
5654         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5655         (qone): Likewise.
5656         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5657         (qzerof): Likewise.
5658         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5659         (qonef): Likewise.
5660         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5661         (qzero): Likewise.
5662         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5663         (qone): Likewise.
5665         [BZ #18038]
5666         [BZ #18039]
5667         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5668         return pi/2 for arguments below 0x1p-113L.
5669         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5670         return pi/2 for arguments below 0x1p-106L.
5671         * math/auto-libm-test-in: Add more tests of acos.
5672         * math/auto-libm-test-out: Regenerated.
5674         [BZ #16351]
5675         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5676         (MO): New macro.
5677         (__ieee754_asin): Force underflow exception for results with small
5678         absolute value.
5679         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5680         (MO): New macro.
5681         (__ieee754_asinf): Force underflow exception for results with
5682         small absolute value.
5683         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5684         (__ieee754_asin): Force underflow exception for results with small
5685         absolute value.
5686         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5687         (__ieee754_asinf): Force underflow exception for results with
5688         small absolute value.
5689         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5690         (__ieee754_asinl): Force underflow exception for results with
5691         small absolute value.
5692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5693         (__ieee754_asinl): Force underflow exception for results with
5694         small absolute value.
5695         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5696         (__ieee754_asinl): Force underflow exception for results with
5697         small absolute value.
5698         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5699         Include <math.h>.
5700         * math/auto-libm-test-in: Do not mark underflow exceptions as
5701         possibly missing for bug 16351.
5702         * math/auto-libm-test-out: Regenerated.
5704         [BZ #18030]
5705         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5706         of power of 2 down when low part has opposite sign.
5707         * math/libm-test.inc (logb_test_data): Add more tests.
5709 2015-02-26  Andreas Schwab  <schwab@suse.de>
5711         [BZ #18032]
5712         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5713         over collating symbol inside a bracket expression.  Minor cleanup.
5714         * posix/tst-fnmatch3.c (do_test): Add test case.
5716 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #18029]
5719         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5720         Adjust exponent of power of 2 down when low part has opposite
5721         sign.
5722         * math/libm-test.inc (ilogb_test_data): Add more tests.
5724 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5726         [BZ #15969]
5727         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5728         the previous change.
5730         [BZ #15969]
5731         * locale/findlocale.c (_nl_find_locale): Retry archive search
5732         after alias expansion.
5734 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5736         * iconv/tst-iconv3.c (main): Converted to ...
5737         (do_test): ... this.
5738         (TEST_FUNCTION): New macro.
5739         Include test-skeleton.c.
5741         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5742         (convert): Make function static.
5743         (test_unalign): Likewise.  Add const to argument pointee types.
5744         (main): Replace with static function do_test.
5745         Print "Succeeded." only if RET is zero.
5746         (TEST_FUNCTION): New macro.
5747         Include test-skeleton.c.
5749         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5750         returns a null pointer.
5752 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5754         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5755         to __memcpy_ppc only for static builds.
5757 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #18020]
5760         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5761         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5762         * math/auto-libm-test-in: Add more tests of asinh.
5763         * math/auto-libm-test-out: Regenerated.
5764         * sysdeps/i386/fpu/libm-test-ulps: Update.
5765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5769         [BZ #15850]
5770         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5771         and ip6_mtuinfo definitions here.
5772         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5773         in this define too.  Update comment.
5775 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5777         * elf/sprof.c (load_shobj): Tweak error message to match others.
5779 2015-02-24  Kevin Easton  <kevin@guarana.org>
5781         [BZ #16145] (partial fix)
5782         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5783         to reduce lock contention.
5785 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5787         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5788         (struct timex): Update time comment.
5789         (ADJ_SETOFFSET): Define.
5791 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5793         [BZ #18019]
5794         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5795         2**56 not 2**28 as threshold for log (2x) formula.
5796         * math/auto-libm-test-in: Add more tests of acosh.
5797         * math/auto-libm-test-out: Regenerated.
5798         * sysdeps/i386/fpu/libm-test-ulps: Update.
5799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5801 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5803         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5804         parenthesis around the buf assignment.
5805         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5807 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5809         [BZ #16783]
5810         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5811         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5812         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5813         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5814         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5815         * math/libm-test.inc (scalb_test_data): Add more tests.
5817 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5819         [BZ #17916]
5820         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5821         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5823 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5825         [BZ #17523]
5826         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5827         * io/bits/fcntl2.h (open): Use it.
5828         (openat): Likewise.
5829         * io/open.c (__libc_open): Likewise.
5830         * io/open64.c (__libc_open64): Likewise.
5831         * io/open64_2.c (__open64_2): Likewise.
5832         * io/open_2.c (__open_2): Likewise.
5833         * io/openat.c (__openat): Likewise.
5834         * io/openat64.c (__openat64): Likewise.
5835         * io/openat64_2.c (__openat64_2): Likewise.
5836         * io/openat_2.c (__openat_2): Likewise.
5837         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5838         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5839         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5840         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5841         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5842         (__open_nocancel): Likewise.
5843         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5844         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5845         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5847 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849         [BZ #14841]
5850         * resolv/gethnamaddr.c (getanswer): Skip logging if
5851         RES_USE_DNSSEC is set.
5852         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5854 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5856         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5858 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5860         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5861         201304L, for Unicode 7.
5863 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5865         [BZ #17836]
5866         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5867         shared library.  Add gmon-start.os otherwise.
5868         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5869         $(objpfx)gmon-start.os if builing shared library.
5870         ($(objpfx)g$(static-start-installed-name)): Likewise.
5872 2015-02-23  Andreas Schwab  <schwab@suse.de>
5874         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5876 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5878         [BZ #17269]
5879         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5880         (enlarge_userbuf): Likewise.
5882 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5884         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5885         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5886         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5887         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5889 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5891         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5892         expression inside statement expression.
5894 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5896         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5897         <sysdeps/nptl/lowlevellock.h> and remove macros and
5898         functions that are now defined there.
5899         (SYS_futex): Remove.
5900         (lll_compare_and_swap): Remove.
5901         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5903 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #17999]
5906         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5907         instead of scandirat.
5908         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5909         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5910         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5911         __scandirat.
5912         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5913         (__scandirat): Declare.  Use libc_hidden_proto.
5914         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5915         Remove variable.
5916         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5918 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #15319]
5921         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5922         (MO): New macro.
5923         (__ieee754_atan2): For results with small absolute value, force
5924         underflow exception and remove excess range and precision from
5925         return value.
5926         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5927         (MO): New macro.
5928         (__ieee754_atan2f): For results with small absolute value, force
5929         underflow exception and remove excess range and precision from
5930         return value.
5931         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5932         (MO): New macro.
5933         (__atan): For results with small absolute value, force underflow
5934         exception and remove excess range and precision from return value.
5935         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5936         (MO): New macro.
5937         (__atanf): For results with small absolute value, force underflow
5938         exception and remove excess range and precision from return value.
5939         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5940         <math.h>.
5941         (__ieee754_atan2): Force underflow exception for results with
5942         small absolute value.
5943         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5944         <math_private.h>.
5945         (atan): Force underflow exception for results with small absolute
5946         value.
5947         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5948         (__atanf): Force underflow exception for results with small
5949         absolute value.
5950         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5951         <math.h>.
5952         (__atanl): Force underflow exception for results with small
5953         absolute value.
5954         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5955         (__atanl): Force underflow exception for results with small
5956         absolute value.
5957         * sysdeps/x86/fpu/bits/mathinline.h
5958         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5959         (__ieee754_atan2): Only define inline for long double.
5960         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5961         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5962         * math/auto-libm-test-in: Do not mark underflow exceptions as
5963         possibly missing for bug 15319.  Add more tests of atan2.
5964         * math/auto-libm-test-out: Regenerated.
5965         * math/libm-test.inc (casin_test_data): Do not mark underflow
5966         exceptions as possibly missing for bug 15319.
5967         (casinh_test_data): Likewise.
5968         * sysdeps/i386/fpu/libm-test-ulps: Update.
5970 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5972         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5973         * sysdeps/mips/bits/endian.h: Fix comments.
5975 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5977         [BZ #17996]
5978         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5979         (hdestroy_r): Likewise.
5980         (hsearch_r): Likewise.
5981         (__hcreate_r): Declare and use libc_hidden_proto.
5982         (__hdestroy_r): Likewise.
5983         (__hsearch_r): Likewise.
5984         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5985         (hcreate): Call __hcreate_r instead of hcreate_r.
5986         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5987         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5988         as weak alias of __hcreate_r.
5989         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5990         __hdestroy_r.
5991         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5992         __hsearch_r.
5993         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5994         Remove variable.
5995         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5996         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5997         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5998         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6000 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6002         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6003         arena_lock into a single arena_get.
6005 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6007         * dl-reloc.c: Inlucde libc-internal.h.
6008         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6009         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6010         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6011         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6012         (grow_heap): Likewise.
6013         * malloc/malloc.c: Include libc-internal.h.
6014         (do_check_malloc): Call powerof2.
6015         (sysmalloc): Use pagesize. Call ALIGN_UP.
6016         (systrim): Use pagesize.
6017         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6018         (__libc_valloc): Use pagesize.
6019         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6021 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #17991]
6024         * include/sys/resource.h (__getrlimit64): Declare.  Use
6025         libc_hidden_proto.
6026         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6027         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6028         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6029         getrlimit64.
6030         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6031         __getrlimit64.
6032         [!getrlimit64] (getrlimit64): Define as weak alias of
6033         __getrlimit64.  Use libc_hidden_weak.
6034         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6035         using __getrlimit64 not __new_getrlimit64.
6036         (__GI_getrlimit64): Likewise.
6037         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6038         Likewise.
6039         (__GI_getrlimit64): Likewise.
6040         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6042         (getrlimit): Add __getrlimit64 alias.
6043         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6044         Likewise.
6045         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6046         Remove variable.
6047         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6048         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6050 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6052         * libio/fileops.c: Add missing sys/mman.h
6053         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6055 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6057         * manual/math.texi (Errors in Math Functions): Clarify goals
6058         regarding inexact and underflow exceptions.
6060 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6062         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6063         * sysdeps/mips/memset.S: Ditto.
6065 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6067         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6069 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6071         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6072         (__v1longjmp): Remove versioned symbol.
6073         (__v1siglongjmp): Remove alias and versioned symbol.
6074         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6075         (__v2siglongjmp): Likewise.
6077 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6079         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6081 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6083         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6085 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6087         [BZ #17987]
6088         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6089         zero result does not depend on the sign resulting from
6090         subtraction.
6091         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6092         Likewise.
6093         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6094         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6095         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6096         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6097         * math/libm-test.inc (remquo_test_data): Add more tests.
6099 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6101         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6102         Problem reported by J William Piggott.
6104 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #17978]
6107         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6108         products 4 * y and 2 * y where those would overflow.
6109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6110         Likewise.
6111         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6112         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6113         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6114         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6115         * math/libm-test.inc (remquo_test_data): Add more tests.
6117         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6119         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6120         [defined _COMPILING_NEWLIB].
6121         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6122         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6124         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6125         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6127 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6129         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6130         acquired.
6132 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6134         [BZ #17792]
6135         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6136         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6137         HOST_STACK_END_ADDR): Likewise.
6139 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6141         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6142         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6143         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6145 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6147         * sysdeps/generic/c++-types.data: New file.
6148         * sysdeps/generic/ld.abilist: New file.
6149         * sysdeps/generic/libBrokenLocale.abilist: New file.
6150         * sysdeps/generic/libanl.abilist: New file.
6151         * sysdeps/generic/libc.abilist: New file.
6152         * sysdeps/generic/libcrypt.abilist: New file.
6153         * sysdeps/generic/libdl.abilist: New file.
6154         * sysdeps/generic/libm.abilist: New file.
6155         * sysdeps/generic/libpthread.abilist: New file.
6156         * sysdeps/generic/libresolv.abilist: New file.
6157         * sysdeps/generic/librt.abilist: New file.
6159 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6161         [BZ #17569]
6162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6163         Compute absolute value of x as modified by fmod, not original
6164         value of x.
6165         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6166         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6167         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6168         RUN_TEST_ffI_f1_mod8.
6169         (remquo_test_data): Add more tests.
6171 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6173         * sysdeps/init_array/pt-crti.S: New file.
6175 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6177         [BZ #17967]
6178         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6179         __builtin_fmaf instead of relying on contraction of a * b + c.
6181 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6183         [BZ #17969]
6184         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6185         node.
6187 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6189         [BZ #17964]
6190         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6191         __builtin_fma instead of relying on contraction of a * b + c.
6193 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6195         * Makeconfig (ASFLAGS): Add -Werror=undef.
6196         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6197         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6198         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6200         * Makeconfig (after-link): New variable.
6201         (+link-pie, +link-pie-tests): Use it.
6202         (+link-static, +link-static-tests): Likewise.
6203         (+link, +link-tests): Likewise.
6204         * Makerules (build-module, build-module-asneeded): Likewise.
6205         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6206         Likewise.
6207         * elf/Makefile ($(objpfx)ld.so): Likewise.
6209 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6211         [BZ #17965]
6212         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6213         both struct timeval and struct timespec.
6215 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #16560]
6218         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6219         and redefine.
6220         (__ieee754_exp2l): Do not multiply small fractional parts by
6221         M_LN2l.
6222         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6223         small argument.
6224         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6225         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6226         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6227         * math/auto-libm-test-in: Add more tests of exp2.
6228         * math/auto-libm-test-out: Regenerated.
6230 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6232         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6233         unaligned path.
6235 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6237         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6238         little endian.
6240 2015-02-12  Andreas Schwab  <schwab@suse.de>
6242         [BZ #15790]
6243         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6244         Filter out elision flags from value returned in kind.
6245         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6246         * nptl/tst-pthread-mutexattr.c: New file.
6248 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6250         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6251         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6252         into gnu-gnu, and update comment to refer to abi-tags.
6254 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6256         [BZ #15467]
6257         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6258         (__sincos): Set errno to EDOM for infinite argument.
6259         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6260         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6261         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6262         (__sincosl): Set errno to EDOM for infinite argument.
6263         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6264         (__sincosl): Set errno to EDOM for infinite argument.
6265         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6266         (__sincosl): Set errno to EDOM for infinite argument.
6267         * math/libm-test.inc (sincos_test_data): Test errno setting.
6269 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6271         * string/strxfrm_l.c: Remove #define STRCMP.
6272         * string/strcoll_l.c: Remove #define STRLEN.
6273         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6274         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6276 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6278         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6279         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6280         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6281         * sysdeps/mips/mips64/Makefile: ... here.
6282         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6283         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6284         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6285         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6286         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6287         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6288         * sysdeps/mips/mips64/n64/Implies: Likewise.
6290 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6292         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6293         <sys/time.h>, <string.h>, and <errno.h>.
6294         (dest_offset, dest_address, value, zero): Remove unused variables.
6295         (ldouble): Remove typedef.
6296         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6297         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6298         1).  Fix code style.
6299         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6300         (check): Function removed.
6301         (CHECK): New macro.
6302         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6303         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6304         Don't call set_sigaction_FP and remove_sigaction_FP here.
6305         (ldouble_test): Just use 'long double' as macro argument, no need for
6306         the 'ldouble' typedef.
6307         (do_test): Set up SIGFPE handler at start, using plain signal rather
6308         than sigaction.  Fix code style.
6310 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6312         [BZ #17949]
6313         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6314         jump label.
6316 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6318         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6319         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6321         * sysdeps/powerpc/configure.ac: Remove file.
6322         * sysdeps/powerpc/configure: Likewise.
6324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6325         [sysdep_routines]: Remove wordcopy-power6 object.
6326         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6327         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6328         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6329         (__memmove_ppc32): Likewise.
6330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6331         file.
6332         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6334         Remove preprocessor.
6336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6337         [sysdep_routines]: Remove wide chars objects.
6338         [wcsmbs]: New rule for wide char objects.
6340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6341         Remove wordcopy-power6 obejct.
6342         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6343         Use local call for wordcopy and memcpy symbols.
6344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6346         implementation for loader.
6347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6350         Remove wordcopy-power7 object.
6351         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6353         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6354         (_wordcopy_fwd_dest_aligned): Likewise.
6355         (_wordcopy_bwd_aligned): Likewise.
6356         (_wordcopy_bwd_dest_aligned): Likewise.
6358         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6359         Rewrite to call __memmove_ppc instead of include default
6360         implementation.
6362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6363         Remove wide chars objects.
6364         [wcsmbs]: New rule for wide char objects.
6366 2015-02-09  Andreas Schwab  <schwab@suse.de>
6368         [BZ #17912]
6369         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6370         in terms of __O_DIRECTORY.
6372 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6374         * time/getdate.c: Include <stdbool.h>.
6375         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6376         call PTR_MANGLE.
6377         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6378         PTR_DEMANGLE.
6380 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6382         Add ersatz _Static_assert on older C hosts
6383         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6384         pre-C11 C platform that is not known to support _Static_assert.
6386 2015-02-07  Richard Braun  <rbraun@sceen.net>
6388         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6389         sigstate.
6390         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6392 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6394         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6395         priority against unexistent AIO_PRIO_DELTA_MAX.
6396         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6397         instead of int.
6398         * misc/fchflags.c (fchflags): Likewise.
6399         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6400         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6401         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6402         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6403         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6404         Declare macros.
6405         [__USE_MISC] (chflags, fchflags): Declare functions.
6406         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6407         EINVAL when nfds is greater than FD_SETSIZE.
6408         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6409         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6410         45.
6411         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6412         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6413         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6414         MACH_RCV_TIMED_OUT.
6415         * hurd/hurd/signal.h (_hurd_self_sigstate,
6416         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6417         Explicit casts from void *.
6418         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6419         * abi-tags: Rename gnu-gnu os into gnu.
6421         [BZ #4719]
6422         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6423         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6424         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6425         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6426         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6427         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6429         [BZ #17944]
6430         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6431         duplicates ADDR->sun_path with sockaddr LEN limitation.
6432         * sysdeps/mach/hurd/connect.c: Include <string.h>
6433         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6434         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6435         * sysdeps/mach/hurd/sendto.c: Likewise.
6436         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6437         implementing it by hand.
6439 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6441         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6442         Use sfi_breg on ldr.
6443         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6444         Likewise.
6446         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6447         it's defined.
6448         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6449         Test SIGSETXID only if it's defined.
6451         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6453         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6454         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6456         * nptl/tst-align2.c: Moved ...
6457         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6458         * nptl/Makefile (tests): Remove tst-align2.
6459         * sysdeps/unix/sysv/linux/Makefile
6460         [$(subdir) = nptl] (tests): Add tst-align-clone.
6461         * nptl/tst-getpid1.c: Moved ...
6462         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6463         * nptl/tst-getpid2.c: Moved ...
6464         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6465         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6466         * sysdeps/unix/sysv/linux/Makefile
6467         [$(subdir) = nptl] (tests): ... here.
6468         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6469         * sysdeps/unix/sysv/linux/Makefile
6470         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6472         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6473         Drop trailing \n from perror argument.  Use return rather than exit.
6475         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6476         on [SA_SIGINFO].
6477         * nptl/tst-cancel21.c (do_test): Likewise.
6478         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6479         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6480         [!SA_SIGINFO]: Make it a stub test.
6482         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6483         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6485         * posix/tst-getlogin.c: Move to ...
6486         * login/tst-getlogin.c: ... here.
6487         * posix/Makefile (tests): Move tst-getlogin to ...
6488         * login/Makefile (tests): ... here.
6490         * libio/tst-atime.c (do_test): Move local variables SV and E
6491         inside [ST_NOATIME] conditional.
6493         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6495         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6497         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6498         (wait_code): New function replaces macro.
6499         Call nanosleep rather than syscall.
6501         * nptl/pt-system.c: Rewritten.  Put everything under
6502         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6503         Use IFUNC to redirect when possible.
6505         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6506         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6507         Use IFUNC to redirect when possible.
6509         * nptl/pt-fork.c: Rewritten.  Put everything under
6510         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6511         Use IFUNC to redirect when possible.
6512         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6515         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6516         unconditionally nowadays.  This included the only reference to
6517         __vdso_clock_gettime that appears outside libc proper.
6518         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6519         Remove version set (containing only __vdso_clock_gettime).
6520         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6521         Add attribute_hidden.
6522         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6523         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6524         libc_hidden_data_def.
6525         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6526         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6528         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6529         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6530         setrpcent, and getrpcport to ...
6531         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6532         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6533         getrpcbynumber_r, and getrpcent_r to ...
6534         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6535         * inet/getrpcbyname.c: Moved ...
6536         * sunrpc/getrpcbyname.c: ... here.
6537         * inet/getrpcbyname_r.c: Moved ...
6538         * sunrpc/getrpcbyname_r.c: ... here.
6539         * inet/getrpcbynumber.c: Moved ...
6540         * sunrpc/getrpcbynumber.c: ... here.
6541         * inet/getrpcbynumber_r.c: Moved ...
6542         * sunrpc/getrpcbynumber_r.c: ... here.
6543         * inet/getrpcent.c: Moved ...
6544         * sunrpc/getrpcent.c: ... here.
6545         * inet/getrpcent_r.c: Moved ...
6546         * sunrpc/getrpcent_r.c: ... here.
6547         * inet/Makefile (routines): Move those to ...
6548         * sunrpc/Makefile (routines): ... here.
6549         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6550         the $(subdirs) list.
6551         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6552         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6553         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6554         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6556         * elf/Makefile (routines): Include $(all-dl-routines), not just
6557         $(dl-routines).
6558         (rtld-routines): Likewise.  Use = rather than :=.
6559         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6560         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6561         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6562         * sysdeps/arm/Makefile: Likewise.
6563         * sysdeps/i386/Makefile: Likewise.
6564         * sysdeps/x86_64/Makefile: Likewise.
6565         * sysdeps/hppa/Makefile [$(subdir) = elf]
6566         (sysdep_routines, sysdep-rtld-routines): Don't add
6567         $(sysdep-dl-routines) to these.
6568         * sysdeps/ia64/Makefile: Likewise.
6569         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6570         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6571         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6572         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6573         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6574         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6575         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6576         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6577         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6578         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6579         these; sysdep-dl-routines alone is enough.
6581 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #17932]
6584         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6585         where multiplication results in zero and third argument is finite
6586         and nonzero.
6587         * math/auto-libm-test-in: Add more tests of fma.
6588         * math/auto-libm-test-out: Regenerated.
6590         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6591         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6592         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6593         (_FP_CMP_EQ): Likewise.
6594         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6596         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6597         extra argument CHECK_NAN.  Redefine as wrapper around
6598         _FP_EXTEND_CNAN.
6600 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6602         * version.h (RELEASE): Set to "stable".
6603         (VERSION): Set to "2.21"
6604         * include/features.h (__GLIBC_MINOR__): Set to 21.
6606         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6608 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6609             Paul Eggert  <eggert@cs.ucla.edu>
6611         [BZ #16618]
6612         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6613         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6614         size in bytes. Store needed elements in wpmax. Use needed size
6615         in bytes for extend_alloca.
6617 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6619         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6620         binutls 2.25, and texinfo 5.2.
6621         * INSTALL: Regenerate.
6622         * sysdeps/nios2/configure: Regenerate.
6623         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6624         * manual/contrib.texi: Update.
6625         * po/be.po: Update.
6626         * po/bg.po: Update.
6627         * po/ca.po: Update.
6628         * po/cs.po: Update.
6629         * po/da.po: Update.
6630         * po/de.po: Update.
6631         * po/el.po: Update.
6632         * po/eo.po: Update.
6633         * po/es.po: Update.
6634         * po/fi.po: Update.
6635         * po/fr.po: Update.
6636         * po/gl.po: Update.
6637         * po/hr.po: Update.
6638         * po/hu.po: Update.
6639         * po/ia.po: Update.
6640         * po/id.po: Update.
6641         * po/it.po: Update.
6642         * po/ja.po: Update.
6643         * po/ko.po: Update.
6644         * po/lt.po: Update.
6645         * po/nb.po: Update.
6646         * po/nl.po: Update.
6647         * po/pl.po: Update.
6648         * po/pt_BR.po: Update.
6649         * po/ru.po: Update.
6650         * po/rw.po: Update.
6651         * po/sk.po: Update.
6652         * po/sl.po: Update.
6653         * po/sv.po: Update.
6654         * po/tr.po: Update.
6655         * po/uk.po: Update.
6656         * po/vi.po: Update.
6657         * po/zh_CN.po: Update.
6658         * po/zh_TW.po: Update.
6660         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6661         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6662         * sysdeps/hppa/dl-irel.h: Remove #warning.
6663         * sysdeps/hppa/entry.h: Provide prototype for
6664         __canonicalize_funcptr_for_compare and cast argument.
6665         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6666         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6667         * sysdeps/hppa/sotruss-lib.c: New file.
6668         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6669         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6670         (atomic_compare_and_exchange_bool_acq): Likewise.
6671         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6672         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6674         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6675         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6676         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6678 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6680         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6681         called function in non-PIC case.
6683 2015-01-31  David S. Miller  <davem@davemloft.net>
6685         * sysdeps/sparc/sparc32/bits/atomic.h
6686         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6687         unlock not after it.
6688         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6689         volatile register usage warnings from the compiler.
6691         * sysdeps/sparc/nptl/sem_init.c: Delete.
6692         * sysdeps/sparc/nptl/sem_post.c: Delete.
6693         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6694         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6695         * sysdeps/sparc/sparc32/sem_init.c: New file.
6696         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6697         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6698         padding explicitly initialized.
6699         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6700         padding for in-semaphore spinlock.
6701         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6702         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6703         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6704         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6705         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6706         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6707         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6708         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6709         version.
6710         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6711         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6713 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6715         [BZ #17801]
6716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6717         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6718         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6719         New.
6720         (index_AVX_Fast_Unaligned_Load): Likewise.
6721         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6722         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6723         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6724         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6725         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6726         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6727         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6728         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6729         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6731 2015-01-29  Andreas Schwab  <schwab@suse.de>
6733         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6735 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6737         [BZ #17892]
6738         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6740 2015-01-28  Martin Sebor  <msebor@redhat.com>
6742         * math/README.libm-test: Clarify. Add "How to read the test output."
6744 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6746         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6747         Define to 0.
6749 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6751         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6752         (__HAVE_64B_ATOMICS): Define to 0.
6754 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6756         [BZ #17885]
6757         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6758         value to set as new flag.
6760         [BZ #16576]
6761         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6762         and use _ARCH_PPCSQ instead.
6763         (__ieee754_sqrt): Likewise.
6764         (__ieee754_sqrtf): Likewise.
6765         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6766         _ARCH_PPCSQ is defined.
6767         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6768         fsqrt instruction.
6769         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6770         _ARCH_PPCSQ is defined.
6771         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6772         fsqrts instruction.
6773         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6775 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6777         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6778         bug (GCC BZ #64739).
6780 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6782         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6783         Mark _retval as used.
6784         (lll_futex_wake_unlock): Likewise.
6785         (lll_futex_timed_wait_requeue_pi): Likewise.
6787         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6788         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6789         register variables.
6791         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6792         libm_hidden_def.
6794         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6795         (__bswap_64): Mark as __always_inline.
6797 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6799         [BZ #15378]
6800         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6801         when none of the search directories exist.
6803 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6805         [BZ #17869]
6806         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6807         power8 in .machine directive.
6809         [BZ #17868]
6810         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6811         set dependency from opd value.
6813 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6816         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6817         architecture.
6819 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6821         [BZ #17870]
6822         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6823         with uint64_t.
6824         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6825         (uint64_t) 1.
6826         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6827         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6828         Replace 1UL with (uint64_t) 1.
6829         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6830         int with uint64_t.
6832 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6834         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6835         (if_freenameindex): Likewise.
6837         * resource/getrlimit64.c: Add missing libc_hidden_def.
6839 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6841         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6842         __label__.
6843         (_FP_FMA): Likewise.
6844         (_FP_TO_INT_ROUND): Likewise.
6845         (_FP_FROM_INT): Likewise.
6847 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6849         [BZ #16418]
6850         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6851         Make code racy and cancel safe.
6853 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6855         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6856         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6857         attribution.
6859         * pwd/tst-getpw.c: Rewrite.
6861         [BZ #17702]
6862         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6863         (modules-names): Add moddummy1 and moddummy2.
6864         ($(objpfx)tst-rec-dlopen): Define.
6865         * dlfcn/moddummy1.c: New file.
6866         * dlfcn/moddummy2.c: New file.
6867         * dlfcn/tst-rec-dlopen.c: New file.
6868         * elf/dl-cache.c (_dl_load_cache_lookup):
6869         Return char*. Copy result with alloca/strcpy/strdup.
6870         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6871         returns char*. Free cached. If not saving realname
6872         free cached.
6873         * elf/dl-open.c (dl_open_worker): Do not assert that
6874         _r_debug->r_state is RT_CONSISTENT.
6875         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6876         returns char*.
6878 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6879             Carlos O'Donell  <carlos@redhat.com>
6881         [BZ #12674]
6882         * nptl/sem_waitcommon.c: New file.
6883         * nptl/sem_wait.c: Include sem_waitcommon.c.
6884         (__sem_wait_cleanup, do_futex_wait): Remove.
6885         (__new_sem_wait): Adapt.
6886         (__new_sem_trywait): New function.
6887         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6888         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6889         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6890         (sem_timedwait): Adapt.
6891         * nptl/sem_post.c (__new_sem_post): Adapt.
6892         (futex_wake): New function.
6893         (__old_sem_post): Add release MO fence.
6894         * nptl/sem_open.c (sem_open): Adapt.
6895         * nptl/sem_init.c (__new_sem_init): Adapt.
6896         (futex_private_if_supported): New function.
6897         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6898         (__old_sem_getvalue): Add using previous code.
6899         * sysdeps/nptl/internaltypes.h: Adapt.
6900         * nptl/tst-sem13.c (do_test): Adapt.
6901         * nptl/tst-sem11.c (main): Adapt.
6902         * nptl/sem_trywait.c: Remove.
6903         * nptl/DESIGN-sem.txt: Remove.
6904         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6905         (gen-as-const-headers): Remove structsem.sym.
6906         * nptl/structsem.sym: Remove.
6907         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6908         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6909         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6910         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6911         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6912         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6913         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6914         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6915         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6916         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6917         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6918         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6919         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6920         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6921         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6922         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6923         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6924         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6925         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6926         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6927         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6928         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6930 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6932         * INSTALL: Regenerated.
6934         * po/libc.pot: Regenerated.
6936 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6937             Sandra Loosemore  <sandra@codesourcery.com>
6938             Andrew Jenner  <andrew@codesourcery.com>
6939             Joseph Myers  <joseph@codesourcery.com>
6940             Nathan Sidwell  <nathan@codesourcery.com>
6942         * NEWS: Mention new Nios II port.
6943         * sysdeps/nios2/Implies: New file.
6944         * sysdeps/nios2/Makefile: New file.
6945         * sysdeps/nios2/Subdirs: New file.
6946         * sysdeps/nios2/Versions: New file.
6947         * sysdeps/nios2/__longjmp.S: New file.
6948         * sysdeps/nios2/abort-instr.h: New file.
6949         * sysdeps/nios2/backtrace.c: New file.
6950         * sysdeps/nios2/bits/endian.h: New file.
6951         * sysdeps/nios2/bits/fenv.h: New file.
6952         * sysdeps/nios2/bits/link.h: New file.
6953         * sysdeps/nios2/bits/setjmp.h: New file.
6954         * sysdeps/nios2/bsd-_setjmp.S: New file.
6955         * sysdeps/nios2/bsd-setjmp.S: New file.
6956         * sysdeps/nios2/configure: New generated file.
6957         * sysdeps/nios2/configure.ac: New file.
6958         * sysdeps/nios2/crti.S: New file.
6959         * sysdeps/nios2/crtn.S: New file.
6960         * sysdeps/nios2/dl-init.c: New file.
6961         * sysdeps/nios2/dl-machine.h: New file.
6962         * sysdeps/nios2/dl-sysdep.h: New file.
6963         * sysdeps/nios2/dl-tls.h: New file.
6964         * sysdeps/nios2/dl-trampoline.S: New file.
6965         * sysdeps/nios2/gccframe.h: New file.
6966         * sysdeps/nios2/gmp-mparam.h: New file.
6967         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6968         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6969         * sysdeps/nios2/ldsodefs.h: New file.
6970         * sysdeps/nios2/libc-tls.c: New file.
6971         * sysdeps/nios2/libm-test-ulps: New file.
6972         * sysdeps/nios2/machine-gmon.h: New file.
6973         * sysdeps/nios2/math-tests.h: New file.
6974         * sysdeps/nios2/math_private.h: New file.
6975         * sysdeps/nios2/memusage.h: New file.
6976         * sysdeps/nios2/nptl/Makefile: New file.
6977         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6978         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6979         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6980         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6981         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6982         * sysdeps/nios2/nptl/tls.h: New file.
6983         * sysdeps/nios2/preconfigure: New file.
6984         * sysdeps/nios2/s_fma.c: New file.
6985         * sysdeps/nios2/s_fmaf.c: New file.
6986         * sysdeps/nios2/setjmp.S: New file.
6987         * sysdeps/nios2/sfp-machine.h: New file.
6988         * sysdeps/nios2/sotruss-lib.c: New file.
6989         * sysdeps/nios2/stackguard-macros.h: New file.
6990         * sysdeps/nios2/stackinfo.h: New file.
6991         * sysdeps/nios2/start.S: New file.
6992         * sysdeps/nios2/sysdep.h: New file.
6993         * sysdeps/nios2/tls-macros.h: New file.
6994         * sysdeps/nios2/tst-audit.h: New file.
6995         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6996         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6997         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6998         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6999         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7000         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7001         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7002         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7003         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7004         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7005         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7006         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7007         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7008         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7009         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7010         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7011         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7012         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7013         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7014         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7015         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7016         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7017         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7018         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7019         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7020         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7021         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7022         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7023         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7024         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7025         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7026         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7027         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7028         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7029         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7030         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7031         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7032         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7033         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7034         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7035         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7036         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7037         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7038         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7040 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7042         [BZ #17844]
7043         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7044         (getutent): Use weak_alias in non SHARED case
7045         and default_symbol_version in SHARED case.
7046         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7047         (getutent_r, pututline): Likewise.
7048         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7049         (getutid): Likewise.
7050         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7051         (getutid_r): Likewise.
7052         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7053         (getutline): Likewise.
7054         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7055         (getutline_r): Likewise.
7056         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7057         (updwtmp): Likewise.
7059 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7061         [BZ #17848]
7062         * sysdeps/s390/s390-32/memcmp.S
7063         (memcmp_g5): Rename to __memcmp_g5.
7064         * sysdeps/s390/s390-32/memcpy.S
7065         (memcpy_g5): Rename to __memcpy_g5.
7066         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7067         (memcpy_mvcle) Rename to __memcpy_mvcle.
7068         * sysdeps/s390/s390-32/memset.S
7069         (memset_g5): Rename to __memset_g5.
7070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7071         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7072         and use prefixed functions.
7073         * sysdeps/s390/s390-32/multiarch/memcmp.S
7074         (memcmp_z196): Rename to __memcmp_z196.
7075         (memcmp_z10): Rename to __memcmp_z10.
7076         (memcmp): Set alias to __memcmp_g5.
7077         (bcmp): Set alias to __memcmp_g5.
7078         * sysdeps/s390/s390-32/multiarch/memcpy.S
7079         (memcpy_z196): Rename to __memcpy_z196.
7080         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7081         (memcpy_z10): Rename to __memcpy_z10.
7082         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7083         (memcpy): Set alias to __memcpy_g5.
7084         * sysdeps/s390/s390-32/multiarch/memset.S
7085         (memset_z196): Rename to __memset_z196.
7086         Jump to __memset_mvcle instead of memset_mvcle.
7087         (memset_z10): Rename to __memset_z10.
7088         Jump to __memset_mvcle instead of memset_mvcle.
7089         (memset_mvcle) Rename to __memset_mvcle.
7090         (memset): Set alias to __memset_g5.
7091         * sysdeps/s390/s390-64/memcmp.S
7092         (memcmp_z900): Rename to __memcmp_z900.
7093         * sysdeps/s390/s390-64/memcpy.S
7094         (memcpy_z900): Rename to __memcpy_z900.
7095         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7096         (memcpy_mvcle) Rename to __memcpy_mvcle.
7097         * sysdeps/s390/s390-64/memset.S
7098         (memset_z900): Rename to __memset_z900.
7099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7100         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7101         and use prefixed functions.
7102         * sysdeps/s390/s390-64/multiarch/memcmp.S
7103         (memcmp_z196): Rename to __memcmp_z196.
7104         (memcmp_z10): Rename to __memcmp_z10.
7105         (memcmp): Set alias to __memcmp_z900.
7106         (bcmp): Set alias to __memcmp_z900.
7107         * sysdeps/s390/s390-64/multiarch/memcpy.S
7108         (memcpy_z196): Rename to __memcpy_z196.
7109         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7110         (memcpy_z10): Rename to __memcpy_z10.
7111         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7112         (memcpy): Set alias to __memcpy_z900.
7113         * sysdeps/s390/s390-64/multiarch/memset.S
7114         (memset_z196): Rename to __memset_z196.
7115         Jump to __memset_mvcle instead of memset_mvcle.
7116         (memset_z10): Rename to __memset_z10.
7117         Jump to __memset_mvcle instead of memset_mvcle.
7118         (memset_mvcle) Rename to __memset_mvcle.
7119         (memset): Set alias to __memset_z900.
7121 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #17748]
7124         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7125         __fesetenv instead of fesetenv.
7127 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7129         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7130         macro.
7132 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7134         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7135         regression on LE.
7137         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7138         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7140         strncmp-power8 object.
7141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7142         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7143         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7144         * NEWS: Update.
7146 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7147             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7149         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7150         trailing byte check.
7152 2015-01-13  David S. Miller  <davem@davemloft.net>
7154         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7156 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7158         * login/logout.c (logout): Use memset rather than bzero.
7159         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7160         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7161         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7162         (_gethtbyaddr): Likewise.
7163         * locale/programs/simple-hash.c (bcopy): Macro removed.
7165 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7168         Add strcmp-power8 object.
7169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7170         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7171         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7172         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7173         __strcmp_power8 implementation.
7174         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7175         * NEWS: Update.
7177         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7178         Add strncpy-power8 and stpncpy-power8 objects.
7179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7180         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7181         implementations.
7182         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7183         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7184         __stpncpy_power8 implementation.
7185         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7186         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7187         __strncpy_power8 implementation.
7188         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7189         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7190         * NEWS: Update.
7192         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7193         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7194         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7197         strncat-power8 object.
7198         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7199         __strcat_power8 implementation.
7200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7201         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7202         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7203         optimized strcat for power8.
7205         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7206         strcpy-power8 and stpcpy-power8 objects.
7207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7208         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7209         implementations.
7210         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7211         multiarch stpcpy implementation for POWER8.
7212         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7213         multiarch strcpy implementation for POWER8.
7214         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7215         __strcpy_power8 function.
7216         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7217         stpcpy for POWER8.
7218         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7219         strcpy for POWER8.
7220         * NEWS: Update.
7222 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7224         [BZ #16009]
7225         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7226         weights and rules. Use do_xfrm_cached if data fits in cache,
7227         do_xfrm otherwise.  Moved former main loop to...
7228         * (do_xfrm_cached): New function.
7229         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7230         find_idx, find_position and stack_push.
7231         * (find_idx): New function.
7232         * (find_position): Likewise.
7233         * localedata/sort-test.sh: Added test run for do_xfrm.
7234         * localedata/xfrm-test.c (main): Added command line option
7235         -nocache to run the test with strings that are too large for
7236         the STRXFRM cache.
7238 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7240         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7241         variable to lll_futex_wake call, not the value itself.
7243 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7245         [BZ #17803]
7246         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7247         twom64.  Adjust value to 0x1p-64L.
7248         (__scalblnl): Only return standard underflowing result for K <=
7249         -64 not K <= -63; adjust exponent for underflowing result by 64
7250         not 63.
7251         * math/libm-test.inc (scalbn_test_data): Add more tests.
7252         (scalbln_test_data): Likewise.
7254         [BZ #17834]
7255         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7256         0x1p63L.
7257         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7258         not HX.
7259         * math/libm-test.inc (scalbn_test_data): Add more tests.
7260         (scalbln_test_data): Likewise.
7262 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7263             Stefani Seibold  <stefani@seibold.net>
7265         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7266         (sysdep_routines): Add dl-vdso here, ...
7267         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7268         (sysdep_routines): ... not here.
7269         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7270         fallback when vDSO is not presented.
7271         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7272         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7273         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7274         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7275         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7276         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7277         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7278         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7279         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7281         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7282         fallback configurable symbol when vDSO is not available.
7283         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7284         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7285         be able to redefine fallback symbol when vDSO is not available.
7286         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7287         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7289 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7291         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7292         (TLS_INIT_TP): Add tm_capable initialization.
7293         (TLS_DEFINE_INIT_TP): Likewise.
7294         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7295         TCB.
7296         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7297         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7298         calculation.
7299         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7300         transactoion is lock elision is built and TCB tm_capable is set.
7301         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7303         (INTERNAL_SYSCALL_NCS): Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7305         (INTERNAL_SYSCALL_NCS): Likewise.
7306         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7308         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7309         for powerpc.
7310         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7311         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7312         and remove it for 32 bits case.
7313         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7315         initialization.
7316         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7317         Disable lock elision with rdlocks if elision is not available.
7319         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7320         (sysdep_routines): Add lock elision objects.
7321         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7322         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7323         [pthread_mutex_t] (__elision): Add field.
7324         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7325         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7326         elision definitions for powerpc.
7327         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7328         implementation of lock elision for powerpc.
7329         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7330         implementation of timed lock elision for powerpc.
7331         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7332         implementation of trylock with lock elision for powerpc.
7333         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7334         implementaion of unlock for lock elision for powerpc.
7335         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7336         automatic enable lock elision for mutexes.
7337         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7338         transaction execution definitions for powerpc.
7339         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7340         definitions.
7341         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7342         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7343         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7344         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7345         * NEWS: Update.
7347 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7349         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7350         for #include of <shm-directory.h>.
7352 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7355         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7357 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7359         [BZ #17791]
7360         * NEWS: Mention bug fix.
7361         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7362         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7363         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7365 2015-01-09  Torvald Riegel <triegel@redhat.com>
7367         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7369 2015-01-09  Torvald Riegel <triegel@redhat.com>
7371         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7373 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7375         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7376         pointer and cast to uintptr_t.
7378 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7380         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7381         removed.
7382         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7384 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7386         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7387         of 0.
7389 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7391         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7392         <nptl/pthreadP.h> instead.
7393         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7395         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7396         already defined.
7397         [__SIGRTMIN] (init): Function removed.
7398         [__SIGRTMIN] (initialized): Variable removed.
7399         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7400         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7401         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7402         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7403         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7404         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7405         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7406         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7407         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7408         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7409         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7410         * sysdeps/nptl/allocrtsig.c: New file.
7411         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7412         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7413         * sysdeps/generic/testrtsig.h: File removed.
7415         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7416         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7418         * nptl/nptl-init.c (pthread_functions): Conditionalize
7419         .ptr__nptl_setxid initialization on [SIGSETXID].
7421         * sysdeps/nptl/sys/procfs.h: New file.
7422         * nptl_db/Makefile (headers): Add it.
7423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7425         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7426         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7427         * nptl/pthread_attr_setaffinity.c: Include it.
7428         * nptl/pthread_setattr_default_np.c: Likewise.
7429         * nptl/check-cpuset.h: New file.
7431 2015-01-08  Richard Henderson  <rth@redhat.com>
7433         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7434         (CFLAGS-tst-execstack-prog.c): Likewise.
7435         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7437 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7438             Sandra Loosemore  <sandra@codesourcery.com>
7439             Andrew Jenner  <andrew@codesourcery.com>
7440             Joseph Myers  <joseph@codesourcery.com>
7441             Nathan Sidwell  <nathan@codesourcery.com>
7443         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7444         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7445         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7446         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7447         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7448         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7449         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7450         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7451         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7452         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7453         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7454         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7455         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7456         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7457         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7458         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7459         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7461 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7463         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7464         timespec struct member in syscall macro.
7465         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7466         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7467         first timeval struct member in syscall macro.
7468         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7470 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7472         [BZ #17748]
7473         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7474         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7475         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7476         __feupdateenv and define as weak alias of __feupdateenv.  Use
7477         libm_hidden_weak.
7478         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7479         libm_hidden_def.
7480         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7481         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7482         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7483         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7484         libm_hidden_def.
7485         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7486         __feupdateenv and define as weak alias of __feupdateenv.  Use
7487         libm_hidden_weak.
7488         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7489         libm_hidden_def.
7490         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7491         __feupdateenv and define as weak alias of __feupdateenv.  Use
7492         libm_hidden_weak.
7493         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7494         libm_hidden_def.
7495         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7496         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7497         (__feupdateenv): Likewise.
7498         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7499         __feupdateenv and define as weak alias of __feupdateenv.  Use
7500         libm_hidden_weak.
7501         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7502         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7503         libm_hidden_def.
7504         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7505         function.
7506         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7507         libm_hidden_def.
7508         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7509         __feupdateenv instead of feupdateenv.
7510         (default_libc_feupdateenv_test): Likewise.
7511         (libc_feresetround_ctx): Likewise.
7513 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7516         prototype.
7518 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7520         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7521         COLL_SYM in a couple of places to avoid uninitialized variable
7522         wanings on tilegx gcc 4.8.2.
7524 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7526         * sysdeps/aarch64/strcpy.S: New file.
7527         * sysdeps/aarch64/stpcpy.S: New file.
7528         * NEWS: Updated.
7530 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7532         * sysdeps/aarch64/strrchr.S: New file.
7533         * NEWS: Updated.
7535 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7537         [BZ #17658]
7538         * stdlib/setenv.c: Fix memory leak when setting large,
7539         duplicate string.
7541 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7543         [BZ #17273]
7544         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7545         and tabs from buffer before parsing fstab entry.
7546         * misc/tst-mntent.c (main): Add test for mount entry with
7547         trailing spaces and tabs.
7549 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7551         [BZ #17748]
7552         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7553         * math/fesetround.c (fesetround): Rename to __fesetround and
7554         define as weak alias of __fesetround.  Use libm_hidden_weak.
7555         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7556         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7557         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7558         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7559         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7560         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7561         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7562         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7563         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7564         __fesetround_inline.
7565         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7566         __fesetround_inline instead of __fesetround.
7567         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7568         __fesetround and define as weak alias of __fesetround.  Use
7569         libm_hidden_weak.  Call __fesetround_inline instead of
7570         __fesetround.
7571         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7572         __fesetround and define as weak alias of __fesetround.  Use
7573         libm_hidden_weak.
7574         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7575         Likewise.
7576         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7577         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7578         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7579         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7580         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7581         __fesetround and define as weak alias of __fesetround.  Use
7582         libm_hidden_weak.
7583         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7584         __fesetround instead of fesetround.
7585         (default_libc_feholdexcept_setround): Likewise.
7586         (libc_feholdsetround_ctx): Likewise.
7587         (libc_feholdsetround_noex_ctx): Likewise.
7589         [BZ #17748]
7590         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7591         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7592         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7593         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7594         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7595         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7596         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7597         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7598         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7599         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7600         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7601         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7602         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7603         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7604         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7605         libm_hidden_def.
7606         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7607         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7608         Likewise.
7609         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7610         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7611         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7612         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7613         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7614         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7615         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7616         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7617         __fesetenv instead of fesetenv.
7618         (libc_feresetround_noex_ctx): Likewise.
7619         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7620         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7621         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7622         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7623         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7624         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7625         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7626         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7627         (__feupdateenv): Likewise.
7628         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7629         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7630         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7631         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7633 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7635         [BZ #17806]
7636         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7637         addresses have been freed.
7639 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7641         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7642         and nservall.
7644 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7646         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7647         Clean up check_pf allocation pattern. addresses
7649 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7651         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7652         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7653         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7654         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7655         * nptl/pthread_join.c (pthread_join): Likewise.
7656         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7657         * sysdeps/posix/waitid.c (__waitid): Likewise.
7658         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7659         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7660         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7661         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7663         Likewise.
7664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7665         (__libc_pread64): Likewise.
7666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7667         (__libc_pwrite): Likewise.
7668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7669         (__libc_pwrite64): Likewsie.
7670         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7671         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7672         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7673         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7674         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7675         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7676         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7678         Likewise.
7679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7680         (__libc_pread64): Likewise.
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7682         Likewise.
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7684         (__libc_pwrite64): Likewise.
7685         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7686         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7687         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7688         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7689         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7690         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7691         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7692         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7693         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7694         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7695         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7696         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7697         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7698         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7699         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7701         Likewise.
7703 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7705         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7706         (CFLAGS-test-double.c): Likewise.
7707         (CFLAGS-test-ldouble.c): Likewise.
7708         (CPPFLAGS-test-ifloat.c): Likewise.
7709         (CPPFLAGS-test-idouble.c): Likewise.
7710         (CPPFLAGS-test-ildoubl.c): Likewise.
7711         (CFLAGS-test-test-fenv.c): Remove variable.
7712         (CFLAGS-test-misc.c): Likewise.
7714 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7716         [BZ #17797]
7717         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7718         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7719         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7720         CLOCKS_PER_SEC == 1000000.
7721         * time/clocktest.c (main): Replace %ld with %jd and cast to
7722         intmax_t.
7724 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7726         * sysdeps/generic/unwind-resume.h: New file.
7727         * sysdeps/gnu/unwind-resume.c: Include it.
7728         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7729         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7730         argument list.
7731         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7732         global rather than static.
7733         (_Unwind_Resume): Update user.
7734         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7735         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7736         rather than static.  Add __attribute__ ((cold)).
7737         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7738         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7739         * sysdeps/arm/arm-unwind-resume.S: New file.
7740         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7741         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7742         * sysdeps/arm/Makefile [$(subdir) = csu]
7743         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7744         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7745         Add rt-arm-unwind-resume.
7746         [$(subdir) = nptl]
7747         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7748         Add pt-arm-unwind-resume.
7749         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7750         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7752 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7754         [BZ #17748]
7755         * include/fenv.h (__feholdexcept): Declare.  Use
7756         libm_hidden_proto.
7757         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7758         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7759         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7760         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7761         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7762         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7763         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7764         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7765         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7766         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7767         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7768         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7769         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7770         (feholdexcept): Likewise.
7771         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7772         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7773         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7774         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7775         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7776         __feholdexcept instead of feholdexcept.
7777         (default_libc_feholdexcept_setround): Likewise.
7779 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7781         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7782         to avoid using stl/str to align destination.
7784 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7786         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7788 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7790         [BZ #17796]
7791         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7792         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7793         Define as weak alias not strong alias.
7795 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7797         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7798         bltzal with addiupc.
7799         (RTLD_START): Ditto.
7801 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7803         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7804         for __vdso_* functions in declarations.
7805         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7806         definitions.
7807         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7808         INTERNAL_VSYSCALL): Use struct return types to check for error.
7810         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7811         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7812         function with cast from llround().
7813         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7814         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7815         Define.
7817 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7819         [BZ #17793]
7820         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7821         Define as weak alias not strong alias.
7823         [BZ #17635]
7824         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7825         ...
7826         * ctype/ctype-extn.c: ... here.
7827         (__isblank_l): Move to ...
7828         * ctype/ctype-c99_l.c: ... here.  New file.
7829         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7830         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7831         Remove variable.
7832         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7833         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7834         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7835         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7836         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7838         [BZ #17777]
7839         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7840         (posix_fadvise64): Define as weak alias not strong alias.
7841         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7842         (posix_fallocate64): Likewise.
7843         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7844         Remove variable.
7845         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7846         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7847         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7848         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7849         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7851 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7853         [BZ #16191]
7854         * NEWS: Mention bug fix.
7855         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7856         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7857         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7858         (HOST_STACK_END_ADDR): Likewise.
7860 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7862         [BZ #17748]
7863         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7864         * math/fegetround.c (fegetround): Rename to __fegetround and
7865         define as weak alias of __fegetround.  Use libm_hidden_weak.
7866         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7867         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7868         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7869         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7870         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7871         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7872         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7873         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7874         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7875         Undefine after rather than before function definition; use
7876         parentheses around function name in definition.
7877         (__fegetround): Also undefine macro after function definition.
7878         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7879         __fegetround and define as weak alias of __fegetround.  Use
7880         libm_hidden_weak.  Do not undefine as macro.
7881         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7882         Likewise.
7883         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7884         __fegetround and define as weak alias of __fegetround.  Use
7885         libm_hidden_weak.
7886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7887         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7888         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7889         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7890         __fegetround and define as weak alias of __fegetround.  Use
7891         libm_hidden_weak.
7892         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7893         __fegetround instead of fegetround.
7895         [BZ #17782]
7896         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7897         Condition macro definition on [__USE_MISC].
7899         [BZ #17781]
7900         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7901         (struct sigaction): Change type of sa_flags field to int.
7903         [BZ #17780]
7904         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7905         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7906         __glibc_reserved0.
7908         * nptl/version.c (banner): Use single year in copyright notice.
7910         * NEWS: Update copyright dates.
7911         * catgets/gencat.c (print_version): Likewise.
7912         * csu/version.c (banner): Likewise.
7913         * debug/catchsegv.sh: Likewise.
7914         * debug/pcprofiledump.c (print_version): Likewise.
7915         * debug/xtrace.sh (do_version): Likewise.
7916         * elf/ldconfig.c (print_version): Likewise.
7917         * elf/ldd.bash.in: Likewise.
7918         * elf/pldd.c (print_version): Likewise.
7919         * elf/sotruss.sh: Likewise.
7920         * elf/sprof.c (print_version): Likewise.
7921         * iconv/iconv_prog.c (print_version): Likewise.
7922         * iconv/iconvconfig.c (print_version): Likewise.
7923         * locale/programs/locale.c (print_version): Likewise.
7924         * locale/programs/localedef.c (print_version): Likewise.
7925         * login/programs/pt_chown.c (print_version): Likewise.
7926         * malloc/memusage.sh (do_version): Likewise.
7927         * malloc/memusagestat.c (print_version): Likewise.
7928         * malloc/mtrace.pl: Likewise.
7929         * manual/libc.texinfo: Likewise.
7930         * nptl/version.c (banner): Likewise.
7931         * nscd/nscd.c (print_version): Likewise.
7932         * nss/getent.c (print_version): Likewise.
7933         * nss/makedb.c (print_version): Likewise.
7934         * posix/getconf.c (main): Likewise.
7935         * scripts/test-installation.pl: Likewise.
7936         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7938 2015-01-02  Will Newton  <will.newton@linaro.org>
7940         * sysdeps/arm/armv7/configure: Removed.
7941         * sysdeps/arm/armv7/configure.ac: Likewise.
7943 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7945         * All files with FSF copyright notices: Update copyright dates
7946         using scripts/update-copyrights.
7947         * intl/plural.c: Regenerated.
7948         * locale/programs/charmap-kw.h: Likewise.
7949         * locale/programs/locfile-kw.h: Likewise.
7951 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7953         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7955 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7957         [BZ #17748]
7958         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7959         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7960         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7961         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7962         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7963         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7964         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7965         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7966         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7967         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7968         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7969         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7970         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7971         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7972         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7973         libm_hidden_def.
7974         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7975         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7976         Likewise.
7977         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7978         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7979         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7980         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7981         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7982         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7983         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7984         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7985         __fegetenv instead of fegetenv.
7986         (libc_feholdsetround_noex_ctx): Likewise.
7988 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7990         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7991         (Elf_MIPS_ABIFlags_v0): New structure.
7992         (EF_MIPS_FP64): Define.
7993         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7994         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7995         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7996         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7997         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7998         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7999         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8000         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8001         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8002         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8003         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8004         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8005         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8006         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8007         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8008         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8009         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8010         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8011         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8012         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8013         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8014         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8015         field.
8016         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8017         EF_MIPS_FP64.
8018         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8019         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8020         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8021         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8022         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8023         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8024         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8025         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8026         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8027         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8028         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8029         record the current FP ABI extension.
8030         (mips-mode-switch): Define to show if kernel headers support mode
8031         switching.
8032         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8033         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8034         supported SYSV ABI version to 3.
8035         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8036         feature.
8038 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8039             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8041         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8042         path.
8043         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8045 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8047         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8048         __fegetround and redefine to call __fegetround.  Remove condition
8049         on [!__NO_MATH_INLINES].
8050         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8051         function.
8052         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8053         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8054         Remove macro.
8055         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8056         instead of <fenv_libc.h>.
8057         (__llrintl): Call fegetround instead of __fegetround.
8058         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8059         instead of <fenv_libc.h>.
8060         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8061         (__lrintl): Call fegetround instead of __fegetround.
8062         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8063         instead of <fenv_libc.h>.
8064         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8065         (__rintl): Call fegetround instead of __fegetround.
8067 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8069         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8070         arrays.
8072 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8074         [BZ #17775]
8075         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8076         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8077         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8079 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8081         * sysdeps/i386/tls-macros.h: Include <features.h>.
8082         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8083         (TLS_IE): Likewise.
8084         (TLS_LD): Likewise.
8085         (TLS_GD): Likewise.
8086         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8087         define for GCC >= 5.0.
8089 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8091         * math/test-fenv.c (test_single_exception, set_single_exc,
8092         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8093         feexcp_mask_test, feenable_test, fe_single_test): Add
8094         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8095         case where they are not used.
8096         * math/libm-test.inc: Likewise.
8097         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8098         unused in the absence of FP rounding/exception support.
8099         * stdio-common/tst-printf-round.c: Likewise.
8100         * stdlib/tst-strtod-round.c: Likewise.
8101         * stdlib/tst-strtod-underflow.c: Likewise.
8103 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8105         [BZ #17723]
8106         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8107         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8108         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8109         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8110         libm_hidden_weak.
8111         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8112         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8113         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8114         libm_hidden_def.
8115         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8116         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8117         libm_hidden_weak.
8118         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8119         Likewise.
8120         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8121         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8122         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8123         libm_hidden_weak.
8124         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8125         libm_hidden_def.
8126         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8127         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8128         (__feraiseexcept): Likewise.
8129         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8130         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8131         libm_hidden_weak.
8132         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8133         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8134         libm_hidden_def.
8135         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8136         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8137         Use libm_hidden_def.
8138         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8139         libm_hidden_def.
8140         (feraiseexcept): Define as weak not strong alias.  Use
8141         libm_hidden_weak.
8142         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8143         New inline function.  Factored out of ...
8144         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8145         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8146         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8147         feraiseexcept.
8148         * math/w_acos.c (__acos): Likewise.
8149         * math/w_asin.c (__asin): Likewise.
8150         * math/w_ilogb.c (__ilogb): Likewise.
8151         * math/w_j0.c (y0): Likewise.
8152         * math/w_j1.c (y1): Likewise.
8153         * math/w_jn.c (yn): Likewise.
8154         * math/w_log.c (__log): Likewise.
8155         * math/w_log10.c (__log10): Likewise.
8156         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8157         * sysdeps/aarch64/fpu/math_private.h
8158         (libc_feupdateenv_test_aarch64): Likewise.
8159         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8160         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8161         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8162         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8163         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8164         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8165         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8166         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8167         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8168         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8170 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8172         [BZ #17732]
8173         * io/test-utime.c (main): Replace %ld with %jd and cast to
8174         intmax_t.
8175         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8176         * nptl/tst-mutex5.c: Include <stdint.h>.
8177         (do_test): Replace %ld with %jd and cast to intmax_t.
8178         * posix/tst-regex.c (run_test): Likewise.
8179         (run_test_backwards): Likewise.
8180         * rt/tst-clock.c: Include <stdint.h>.
8181         (clock_test): Replace %ld with %jd and cast to intmax_t.
8182         * rt/tst-cpuclock1.c: Include <stdint.h>.
8183         (do_test): Replace %lu with %ju and cast to uintmax_t.
8184         * rt/tst-cpuclock2.c: Include <stdint.h>.
8185         (do_test): Replace %lu with %ju and cast to uintmax_t.
8186         * rt/tst-mqueue1.c: Include <stdint.h>.
8187         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8188         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8189         intmax_t.
8190         * rt/tst-mqueue4.c (do_test): Likewise.
8191         * rt/tst-timer4.c: Include <stdint.h>.
8192         (check_ts): Replace %ld with %jd and cast to intmax_t.
8193         (do_test): Likewise.
8194         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8195         and cast to intmax_t.
8196         * sysdeps/pthread/tst-timer.c (main): Likewise.
8197         * time/clocktest.c (main): Likewise.
8198         * time/tst-posixtz.c (do_test): Likewise.
8199         * timezone/tst-timezone.c (main): Likewise.
8201 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8202             H.J. Lu  <hongjiu.lu@intel.com>
8204         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8205         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8206         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8207         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8208         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8209         version if bit_Fast_Unaligned_Load is set.
8210         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8211         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8212         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8213         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8214         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8215         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8217         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8218         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8219         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8220         to 4.
8221         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8222         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8223         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8224         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8226 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8228         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8229         instead of #if to avoid a Wundef warning.
8230         * stdlib/tst-limits.c (do_test): Likewise.
8232         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8233         parallel other exception macros.
8234         (fegetenv): Convert from macro to extern inline so that it applies
8235         retroactively to inline functions already seen by the compiler.
8236         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8238         * posix/Makefile (before-compile): Use $(objpfx) for
8239         posix-conf-vars-def.h.
8241 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8243         * posix/getconf.c (main): Use size_t for type of I.
8244         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8245         NSPEC.
8247         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8248         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8249         * posix/posix-envs.def: Likewise.
8250         * sysdeps/posix/sysconf.c: Likewise.
8251         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8252         (specs): Remove array.
8253         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8254         array.
8256         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8257         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8258         (__sysconf): Use CONF_IS_* macros.
8260         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8261         ($(objpfx)posix-conf-vars-def.h): New target.
8262         * posix/posix-conf-vars.list: New file.
8263         * posix/posix-conf-vars.h: New file.
8264         * posix/confstr.c: Include posix-conf-vars.h.
8265         (confstr): Use CONF_IS_* macros.
8266         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8267         CONF_IS_* macros.
8268         * scripts/gen-posix-conf-vars.awk: New file.
8270 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8272         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8273         fegetround): Add no-op macros to avoid linknamespace issues.
8275         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8276         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8278         * sysdeps/unix/sysv/linux/tile/sysdep.h
8279         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8280         assembly-specific section to avoid a redefinition warning.
8282         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8283         long before casting to pointer to avoid a cast warning.
8285 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8287         * sysdeps/tile/tilegx/Implies: New file.
8289 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8291         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8293 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8295         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8297 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8300         not define.
8301         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8302         <kernel-features.h>.
8303         (__utimes) [__NR_utimes]: Make code unconditional.
8304         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8305         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8306         (__ASSUME_UTIMES): Do not undefine.
8307         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8308         (__ASSUME_UTIMES): Likewise.
8309         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8310         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8311         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8312         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8314 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8316         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8318 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8320         [BZ #17747]
8321         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8322         alias to weak alias for j0l, y0l.
8323         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8324         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8326         [BZ #17746]
8327         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8328         conversion.
8330 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8332         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8333         to zero if not already defined.
8335 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8337         [BZ #17724]
8338         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8339         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8340         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8341         (char *) casts added.
8342         * sysdeps/ieee754/k_standardf.c: New file.
8343         * sysdeps/ieee754/k_standardl.c: Likewise.
8344         * math/Makefile (libm-support): Remove k_standard.
8345         (libm-calls): Add k_standard.
8347 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8349         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8350         Optimize to avoid an unnecessary FPCR read.
8352 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8354         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8355         Optimize to reduce FPCR/FPSR accesses.
8357 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8359         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8360         Call libc_fetestexcept_aarch64.
8362 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8364         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8365         Call libc_fesetround_aarch64.
8367 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8369         [BZ #17733]
8370         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8371         (__bind): Do not define as weak alias.
8372         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8373         define.
8374         (__getsockname): Do not define as weak alias.
8376 2014-12-22  Will Newton  <will.newton@linaro.org>
8378         * manual/install.texi: Document that we require bison 2.7
8379         or above.
8380         * INSTALL: Regenerate.
8381         * configure.ac: Use AC_CHECK_PROG_VER instead of
8382         AC_PATH_PROG when checking for bison and check for
8383         version 2.7 or above.
8384         * configure: Regenerate.
8386 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8388         [BZ #17745]
8389         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8390         * sysdeps/tile/ffsll.c (ffsll): To here.
8392         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8394 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8396         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8397         if not defined.
8398         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8399         definition.
8400         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8401         hidden ___tls_get_addr.
8402         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8403         hidden __tls_get_addr.
8404         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8405         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8406         Likewise.
8408 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8410         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8411         _dl_init call.
8413 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8415         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8416         from "call _dl_init@PLT".
8417         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8419 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8421         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8422         guarantees.
8424 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8426         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8428 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8430         [BZ #17744]
8431         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8432         strnlen.
8434 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8436         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8437         of multu on MIPSr6.
8438         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8439         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8440         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8441         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8442         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8444 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8446         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8447         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8448         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8449         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8450         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8451         mips32r6/mips64r6.
8452         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8454 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8456         * string/strncat.c (STRNCAT): Simplify implementation.
8458 2014-12-19  David S. Miller  <davem@davemloft.net>
8460         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8461         access the quad as both a long double and as a series of 4 words.
8463         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8464         link_map->l_info array access.
8466 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8468         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8470         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8471         * math/atest-exp2.c (TIMEOUT): Likewise.
8472         * math/atest-sincos.c (TIMEOUT): Likewise.
8474 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8476         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8477         -Wno-error with -fno-builtin-lround.
8479 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8481         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8482         Contains futex constants and functions moved over from ...
8483         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8484         <lowlevellock-futex.h>.
8485         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8486         (lll_timedwait_tid): Add comments and parentheses around macro
8487         arguments.
8489 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8491         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8492         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8493         (__lll_private_flag): Remove.
8494         (lll_futex_wait): Likewise.
8495         (lll_futex_timed_wait): Likewise.
8496         (lll_futex_wake): Likewise.
8497         (lll_futex_requeue): Likewise.
8498         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8499         (__lll_timedwait_tid): Spell out argument names.
8500         (lll_timedwait_tid): Add comments and parentheses around macro
8501         arguments.
8502         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8503         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8505 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8507         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8508         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8509         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8510         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8511         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8512         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8513         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8514         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8515         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8516         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8517         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8521         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8522         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8523         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8524         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8525         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8527 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8529         * sysdeps/x86_64/x32/Makefile: New file.
8531 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8533         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8534         1L with (mp_limb_t) 1.
8536 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8538         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8539         * nptl/libc_pthread_init.c: ... here.
8540         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8541         * nptl/register-atfork.c: ... here.
8543         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8544         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8545         Use assert_perror to check its return value.
8546         (__gai_create_helper_thread): Likewise.
8548         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8550         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8552 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8554         [BZ #17725]
8555         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8556         __profil_counter.
8557         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8558         Likewise.
8559         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8560         Likewise.
8561         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8564         (profil_counter): Likewise.
8565         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8566         (profil_counter): Likewise.
8567         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8568         Likewise.
8569         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8570         Likewise.
8571         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8572         (profil_counter): Likewise.
8573         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8574         Likewise.
8575         [!__profil_counter] (profil_counter): Define as weak alias of
8576         __profil_counter.
8577         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8578         (profil_counter): Rename to __profil_counter.
8579         [!__profil_counter] (profil_counter): Define as weak alias of
8580         __profil_counter.
8581         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8582         (profil_counter): Rename to __profil_counter.
8583         [!__profil_counter] (profil_counter): Define as weak alias of
8584         __profil_counter.
8585         * sysdeps/posix/profil.c: Update comment referring to
8586         profil_counter.
8587         (__profil): Use __profil_counter instead of profil_counter.
8588         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8589         __profil_counter.  Use __profil_counter_ushort and
8590         __profil_counter_uint in definitions.
8591         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8592         instead of profil_counter_uint and profil_counter_ushort.
8594         [BZ #17722]
8595         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8596         define as weak alias of __inet_makeaddr.
8597         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8598         as weak alias of __inet_addr.
8599         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8600         as weak alias of __inet_pton.  Use libc_hidden_weak.
8601         * include/arpa/inet.h (__inet_pton): Declare.  Use
8602         libc_hidden_proto.
8603         (inet_makeaddr): Don't use libc_hidden_proto.
8604         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8605         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8606         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8607         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8608         Remove variable.
8609         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8610         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8612 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8614         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8616 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8618         * stdio-common/bug-vfprintf-nargs.c (do_test):
8619         Cast value to intptr_t to avoid format warning
8620         for usage with PRIdPTR printing macro.
8622 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8624         * libio/tst-widetext.c (do_test):
8625         Use format type %td instead of %Zd for ptrdiff_t
8626         in order to avoid format warning.
8628 2014-12-17  Andreas Schwab  <schwab@suse.de>
8630         * nscd/mem.c (gc): Add size_t cast to match printf format.
8632 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8634         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8635         (init): Apply PTR_MANGLE to pointers before storing them.
8636         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8637         before using them.
8639 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8641         [BZ #17719]
8642         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8643         define as weak alias of __memrchr.
8644         (__memrchr): Do not define as strong alias of memrchr.
8645         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8646         Remove variable.
8647         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8648         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8649         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8651         [BZ #17717]
8652         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8653         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8654         (if_indextoname): Rename to __if_indextoname and define as weak
8655         alias of __if_indextoname.  Use libc_hidden_weak.
8656         (if_freenameindex): Rename to __if_freenameindex and define as
8657         weak alias of __if_freenameindex.
8658         (if_nameindex): Rename to __if_nameindex and define as weak alias
8659         of __if_nameindex.
8660         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8661         __if_nametoindex and define as weak alias of __if_nametoindex.
8662         Use libc_hidden_weak.
8663         (if_freenameindex): Rename to __if_freenameindex and define as
8664         weak alias of __if_freenameindex.
8665         (if_nameindex): Rename to __if_nameindex and define as weak alias
8666         of __if_nameindex.
8667         (if_indextoname): Rename to __if_indextoname and define as weak
8668         alias of __if_indextoname.  Use libc_hidden_weak.
8669         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8670         __if_nametoindex and define as weak alias of __if_nametoindex.
8671         Use libc_hidden_weak.
8672         (if_freenameindex): Rename to __if_freenameindex and define as
8673         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8674         (if_nameindex_netlink): Use __if_freenameindex instead of
8675         if_freenameindex.
8676         (if_nameindex): Rename to __if_nameindex and define as weak alias
8677         of __if_nameindex.  Use libc_hidden_weak.
8678         (if_indextoname): Rename to __if_indextoname and define as weak
8679         alias of __if_indextoname.  Use libc_hidden_weak.
8680         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8681         libc_hidden_proto.
8682         [!_ISOMAC] (__if_freenameindex): Likewise.
8683         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8684         if_nametoindex.
8685         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8686         variable.
8687         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8688         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8689         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8690         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8691         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8692         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8693         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8695         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8696         Remove variable.
8697         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8698         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8700 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8702         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8703         subscript above bounds'
8705         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8706         bounds.
8708 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8710         * libio/tst-fopenloc.c: Use test-skeleton.c.
8712         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8713         (entry): Rename to ITEM.
8714         (do_test, comp): Adjust.
8716         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8718 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8720         * string/tester.c: Include <libc-internal.h>.
8721         (test_memset): Ignore -Wmemset-transposed-args.
8723 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8725         * misc/tst-mntent2.c (do_test): Fix warning.
8727 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8729         * elf/tst-unique4lib.cc(a): Mark as used.
8731 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8733         [BZ #17630]
8734         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8735         names.
8737 2014-12-16  Allan McRae  <allan@archlinux.org>
8739         * stdio-common/Makefile (tests): Re-add bug26.
8741 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8743         [BZ #17657]
8744         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8745         static array.
8747 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8749         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8750         (__lll_lock_wait): Likewise.
8751         (__lll_timedlock_wait): Likewise.
8752         (__lll_timedwait_tid): Likewise.
8753         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8754         (__lll_robust_timedlock_wait): Likewise.
8755         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8756         (lll_cond_trylock): Likewise.
8757         (__lll_lock): Likewise.
8758         (__lll_robust_lock): Likewise.
8759         (__lll_cond_lock): Likewise.
8760         (lll_robust_cond_lock): Likewise.
8761         (__lll_timedlock): Likewise.
8762         (__lll_robust_timedlock): Likewise.
8763         (__lll_unlock): Likewise.
8764         (__lll_robust_unlock): Likewise.
8765         (lll_wait_tid): Likewise.
8766         (lll_timedwait_tid): Likewise.
8768 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8770         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8772 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8774         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8776 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8778         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8779         * stdio-common/tst-sprintf.c: Likewise.
8781 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8783         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8785 2014-12-15  Jeff Law  <law@redhat.com>
8787         [BZ #16617]
8788         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8789         on the heap.  (CVE-2012-3406)
8790         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8791         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8792         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8794 2014-12-15  Will Newton  <will.newton@linaro.org>
8796         * manual/install.texi: Bump required version of texinfo
8797         to 4.7 from 4.5.
8798         * INSTALL: Regenerated.
8799         * configure.ac: Check for makeinfo version 4.7 and above.
8800         * configure: Regenerated.
8802 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8804         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8805         PREFIX, string constant to insert between directory and name.
8806         * sysdeps/posix/shm_open.c: Update caller.
8807         * sysdeps/posix/shm_unlink.c: Likewise.
8808         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8809         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8810         (SEM_SHM_PREFIX): New macro.
8811         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8812         [$(have-thread-library) = no].
8813         * nptl/Makefile (libpthread-routines): Add shm-directory.
8814         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8815         * sysdeps/nptl/shm-directory.h: New file.
8816         * sysdeps/posix/shm-directory.c
8817         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8818         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8819         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8820         INTERNAL_SYSCALL.
8821         (__where_is_shmfs): Function removed.
8822         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8823         Variables removed.
8824         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8825         Use SHM_GET_NAME.
8826         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8828         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8829         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8830         unconditional for use inside libpthread.
8831         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8833 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8835         * nptl/pthread_getaffinity.c: New file.
8836         * nptl/pthread_setaffinity.c: New file.
8837         * nptl/pthread_getname.c: New file.
8838         * nptl/pthread_setname.c: New file.
8840         * nptl/pthread_create.c (START_THREAD_DEFN)
8841         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8843 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8844             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8846         * resolv/res_send.c (send_vc): Disable warning resplen may
8847         be used uninitialized.
8849 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8851         * nptl/tst-mutex6.c
8852         (ATTR_NULL): New define checks ATTR against NULL.
8853         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8854         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8856 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8858         [BZ #17581]
8859         * malloc/hooks.c
8860         (mem2mem_check): Revert my previous change.
8861         (malloc_check_get_size): Revert my previous change.
8862         (mem2chunk_check): Revert my previous change.
8864 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8866         * sysdeps/posix/shm-directory.c: New file.
8867         * sysdeps/posix/shm-directory.h: New file.
8868         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8869         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8870         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8871         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8872         Transmute EPERM to EACCES.
8873         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8874         from ...
8875         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8876         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8878 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8880         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8881         pointer and cast to uintptr_t.
8882         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8883         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8884         Add cast to avoid warning.
8885         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8887 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8889         * nptl/semaphore.h: Move to ...
8890         * sysdeps/pthread/semaphore.h: ... here.
8891         * Makefile (installed-headers): Change nptl/semaphore.h to
8892         sysdeps/pthread/semaphore.h.
8894 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8896         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8897         generated error format strings.
8899         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8900         -Wformat-extra-args warnings for scanf formats.
8901         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8902         test of zero-length format (duh).
8903         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8904         corner-case scanf format test.
8905         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8906         generated fprintf format string.
8907         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8908         corner-case sprintf format tests.
8909         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8910         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8911         -Wformat-extra-args warnings throughout.
8912         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8913         (CFLAGS-scanf4.c): Likewise.
8914         (CFLAGS-scanf7.c): Likewise.
8915         (CFLAGS-tst-sprintf.c): Likewise.
8916         (CFLAGS-tst-printf.c): Likewise.
8917         (CFLAGS-tst-printfsz.c): Likewise.
8919 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8921         * include/cpio.h: New file.
8922         * include/fmtmsg.h: Likewise.
8924         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8925         corresponding format argument to size_t.
8926         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8927         arguments.
8928         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8929         corresponding format argument to size_t.
8930         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8931         arguments.
8932         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8933         corresponding format argument to size_t.
8934         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8935         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8936         (CFLAGS-tst-mbswcs2.c): Likewise.
8937         (CFLAGS-tst-mbswcs3.c): Likewise.
8938         (CFLAGS-tst-mbswcs4.c): Likewise.
8939         (CFLAGS-tst-mbswcs5.c): Likewise.
8940         (CFLAGS-tst-trans.c): Likewise
8942 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8944         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8945         rather than assuming they won't contain any '%'s.
8947 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8949         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8950         inhibit_loop_to_libcall to avoid recursive calls.
8951         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8952         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8954 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8956         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8957         prototype.
8959 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8961         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8962         integer value instead of boolean.
8964 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8966         * malloc/malloc.c: Fix powerof2 check.
8968 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8970         * locale/programs/locfile.h (maybe_swap_uint32):
8971         Remove inline and add unused attribute.
8973 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8976         Truncating assembler expression to a .long expression.
8978 2014-12-11  Andreas Schwab  <schwab@suse.de>
8980         * elf/rtld.c (struct map_args): Constify str member.
8981         (do_preload): Constify fname argument.
8983 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8985         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8986         constants definition.
8988 2014-12-11  Andreas Schwab  <schwab@suse.de>
8990         [BZ #16657]
8991         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8992         FORCE_ELISION instead of DO_ELISION.
8993         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8994         Remove.
8995         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8996         Likewise.
8998         * iconvdata/gconv-modules: Remove duplicate entry.
9000 2014-12-11  Will Newton  <will.newton@linaro.org>
9002         Merge gettext 0.19.3 into intl/.
9004         This involves a number of cosmetic changes to comments
9005         and ANSI function definitions and prototypes throughout
9006         all the files. The gettext copyright header is used but
9007         with the date ranges taken from the glibc copy.
9009         * NEWS: Add gettext merge to 2.21.
9010         * intl/bindtextdom.c: Switch to gettext copyright.
9011         Use ANSI definitions and prototypes.
9012         Use gl_* locking primitives rather than __libc_* ones.
9013         Use __builtin_expect rather than __glibc_likely/unlikely.
9014         * intl/dcgettext.c: Switch to gettext copyright.
9015         Use ANSI definitions and prototypes.
9016         * intl/dcigettext.c: Switch to gettext copyright.
9017         Use ANSI definitions and prototypes.
9018         (INTDIV0_RAISES_SIGFPE): New define.
9019         Use gl_* locking primitives rather than __libc_* ones.
9020         Include eval-plural.h instead of plural-eval.c.
9021         Use __builtin_expect rather than __glibc_likely/unlikely.
9022         * intl/dcngettext.c: Switch to gettext copyright.
9023         Use ANSI definitions and prototypes.
9024         * intl/dgettext.c: Likewise.
9025         * intl/dngettext.c: Likewise.
9026         * intl/plural-eval.c: Renamed to...
9027         * intl/eval-plural.h: ...this.
9028         * intl/explodename.c: Switch to gettext copyright.
9029         Use ANSI definitions and prototypes.
9030         (_nl_explode_name): Use strchr instead of __rawmemchr.
9031         * intl/finddomain.c: Switch to gettext copyright.
9032         Use ANSI definitions and prototypes.
9033         Use gl_* locking primitives rather than __libc_* ones.
9034         (_nl_find_domain): Use malloc rather than alloca for
9035         allocation of temporary locale name.
9036         * intl/gettext.c: Switch to gettext copyright.
9037         Use ANSI definitions and prototypes.
9038         * intl/gettextP.h: Switch to gettext copyright.
9039         Use ANSI definitions and prototypes.
9040         Use gl_* locking primitives rather than __libc_* ones.
9041         * intl/gmo.h: Switch to gettext copyright.
9042         (struct sysdep_string): Move struct segment_pair outside of
9043         struct definition.
9044         * intl/hash-string.c: Use ANSI definitions and prototypes.
9045         * intl/hash-string.h: Switch to gettext copyright.
9046         Use ANSI definitions and prototypes.
9047         * intl/l10nflist.c: Switch to gettext copyright.
9048         Use ANSI definitions and prototypes.
9049         (_nl_normalize_codeset): Avoid integer overflow.
9050         * intl/loadinfo.h: Switch to gettext copyright.
9051         Use ANSI definitions and prototypes.
9052         (LIBINTL_DLL_EXPORTED): New define.
9053         (PATH_SEPARATOR): New define.
9054         * intl/loadmsgcat.c: Switch to gettext copyright.
9055         * intl/localealias.c: Switch to gettext copyright.
9056         Use ANSI definitions and prototypes.
9057         (_nl_expand_alias): Use PATH_SEPARATOR.
9058         * intl/ngettext.c: Switch to gettext copyright.
9059         Use ANSI definitions and prototypes.
9060         * intl/plural-exp.c: Likewise.
9061         * intl/plural-exp.h: Switch to gettext copyright.
9062         Use ANSI definitions and prototypes.
9063         (struct expression): Move definition of enum operator outside
9064         of struct definition.
9065         * intl/plural.c: Regenerate.
9066         * intl/plural.y: Switch to gettext copyright.
9067         Use ANSI definitions and prototypes.
9068         Port to bison 3.0.
9069         * intl/textdomain.c: Switch to gettext copyright.
9070         Use ANSI definitions and prototypes.
9071         Use gl_* locking primitives rather than __libc_* ones.
9073 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9075         * debug/warning-nop.c: Add used atrribute.
9077 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9079         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9081         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9082         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9083         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9085 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9086             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9088         [BZ #17634]
9089         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9090         Undefine after defining function.  Define as weak alias of
9091         __wcschr.  Use libc_hidden_weak.
9092         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9093         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9094         (libc_hidden_def): Also define __GI___wcschr alias.
9095         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9096         __wcschr and define as weak alias of __wcschr.
9097         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9098         __wcschr.
9099         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9100         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9101         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9102         libc_hidden_weak.  Do not use libc_hidden_def.
9103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9104         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9105         __GI___wcschr alias.
9106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9107         [IS_IN (libc)] (wcschr): Define as macro expanding to
9108         __redirect_wcschr.
9109         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9110         [IS_IN (libc)] (__wcschr_power6): Likewise.
9111         [IS_IN (libc)] (__wcschr_power7): Likewise.
9112         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9113         instead of wcschr.
9114         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9115         __libc_wcschr.
9116         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9117         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9118         __wcschr and define as weak alias of __wcschr.  Use
9119         libc_hidden_builtin_def.
9120         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9121         as weak alias of __wcschr.  Use libc_hidden_weak.
9122         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9123         wcschr.
9124         * time/era.c (_nl_init_era_entries): Likewise.
9125         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9126         variable.
9127         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9128         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9130 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9132         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9133         format for long int variable.
9135 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9137         [BZ #10672]
9138         * manual/search.texi: (Array Sort Function): Remove claim how to make
9139         qsort stable.
9141 2014-12-10  Andreas Schwab  <schwab@suse.de>
9143         [BZ #12847]
9144         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9145         user-controlled locks.
9147 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9149         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9150         register.
9152 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9154         * configure.ac (--disable-werror): New configure option.
9155         (enable_werror): New AC_SUBST.
9156         * configure: Regenerated.
9157         * config.make.in (enable-werror): New variable.
9158         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9159         -Wno-error=undef.
9160         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9161         * manual/install.texi (Configuring and compiling): Document
9162         --disable-werror.
9163         * INSTALL: Regenerated.
9164         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9165         (CFLAGS-tst-chk2.c): Likewise.
9166         (CFLAGS-tst-chk3.c): Likewise.
9167         (CFLAGS-tst-chk4.cc): Likewise.
9168         (CFLAGS-tst-chk5.cc): Likewise.
9169         (CFLAGS-tst-chk6.cc): Likewise.
9170         (CFLAGS-tst-lfschk1.c): Likewise.
9171         (CFLAGS-tst-lfschk2.c): Likewise.
9172         (CFLAGS-tst-lfschk3.c): Likewise.
9173         (CFLAGS-tst-lfschk4.cc): Likewise.
9174         (CFLAGS-tst-lfschk5.cc): Likewise.
9175         (CFLAGS-tst-lfschk6.cc): Likewise.
9177         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9178         (main): Disable -Wdeprecated-declarations around calls to
9179         register_printf_function.
9181         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9182         (do_test): Disable -Wdiv-by-zero around some calls to
9183         fwrite_unlocked and fread_unlocked.
9185         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9186         (DIAG_POP_NEEDS_COMMENT): Likewise.
9187         (_DIAG_STR1): Likewise.
9188         (_DIAG_STR): Likewise.
9189         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9190         * stdio-common/bug21.c: Include <libc-internal.h>.
9191         (do_test): Disable -Wformat around call to sscanf.
9192         * stdio-common/scanf14.c: Include <libc-internal.h>.
9193         (main): Disable -Wformat around some calls to scanf functions.
9195 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9197         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9199 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9201         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9202         stack variable alignment.
9204 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9206         [BZ #17682]
9207         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9208         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9209         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9210         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9211         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9212         __getrlimit instead of getrlimit.
9213         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9214         __gettimeofday instead of gettimeofday.
9215         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9216         Likewise.
9217         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9218         Likewise.
9219         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9220         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9221         Remove variable.
9222         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9223         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9225 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9227         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9228         for wide-character tests.
9230 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9232         * io/openat64.c: #include <libc-internal.h>
9233         (__openat64): Prototypify.  Use ignore_value on MODE.
9234         * io/openat.c: Likewise.
9235         * misc/reboot.c: #include <libc-internal.h>
9236         (reboot): Prototypify.  Use ignore_value on HOWTO.
9237         * misc/ptrace.c: #include <libc-internal.h>
9238         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9240 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9242         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9243         XPG4, UNIX98 and XOPEN2K.
9244         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9245         Remove variable.
9246         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9248 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9250         * libio/fileops.c: Use ISO C style for function definitions.
9251         * libio/iofopen.c: Likewise.
9252         * libio/wfileops.c: Likewise.
9254         [BZ #17653]
9255         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9256         offset on EOF.
9257         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9258         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9259         (fgets_func): Function pointer to fgets and fgetws.
9260         (do_ftell_test): Add test to verify ftell value after read
9261         EOF.
9262         (do_test): Set fgets_func.
9264         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9265         O_TRUNC flag for w and w+ modes.
9266         (do_rewind_test): Likewise.
9267         (do_ftell_test): Likewise.
9268         (do_write_test): Likewise.
9270         [BZ #17647]
9271         * libio/fileops.c (do_ftell): Seek only when there are
9272         unflushed writes.
9273         * libio/wfileops.c (do_ftell_wide): Likewise.
9274         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9275         test case.
9276         (do_one_test): Call it.
9278 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9280         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9281         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9282         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9283         Remove variable.
9284         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9285         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9286         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9288 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9290         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9291         Remove variable.
9292         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9294         [BZ #17668]
9295         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9296         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9297         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9298         __freeifaddrs.  Use libc_hidden_weak.
9299         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9300         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9301         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9302         __freeifaddrs.  Use libc_hidden_weak.
9303         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9304         __getifaddrs and define as weak alias of __getifaddrs.  Use
9305         libc_hidden_weak.
9306         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9307         __freeifaddrs.  Use libc_hidden_weak.
9308         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9309         Remove variable.
9310         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9311         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9313 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9315         [BZ #17601]
9316         * sysdeps/mips/start.S (__start): Use indirect jump to call
9317         __libc_start_main.
9319 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9321         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9323         * nptl/tst-mutex1.c: Include <stdbool.h>.
9324         [!ATTR] (ATTR_NULL): New macro.
9325         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9326         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9327         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9329         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9330         to char *.
9332         [BZ #17665]
9333         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9334         Change conditional to [__USE_MISC].
9336         [BZ #17664]
9337         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9338         fgets_unlocked.
9339         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9340         __fgets_unlocked.
9341         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9342         fgets_unlocked.
9343         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9344         Remove variable.
9345         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9346         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9347         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9348         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9349         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9350         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9351         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9352         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9353         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9355         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9357 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9360         Remove strpbrk objects.
9361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9362         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9363         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9364         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9365         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9366         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9368         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9369         Remove strcspn objects.
9370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9371         (__libc_ifunc_impl_list): Remove strcspn implementation.
9372         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9373         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9374         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9375         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9377         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9378         Remove strspn objetcs.
9379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9380         (__libc_ifunc_impl_list): Remove strspn implementation.
9381         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9382         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9383         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9384         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9386 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9388         [BZ #17581]
9389         * malloc/hooks.c
9390         (mem2mem_check): Add a terminator to the chain of checking blocks.
9391         (malloc_check_get_size): Use it here.
9392         (mem2chunk_check): Ditto.
9394 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9396         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9397         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9399 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9401         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9403         * nptl/nptl-init.c: Include libc-internal.h.
9404         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9406         * elf/ldconfig.c (search_dir): Expand comment.
9408 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9410         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9411         variable.
9412         (linknamespace-symlist-stdlibs-tests): Likewise.
9413         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9414         instead of $(objpfx)symlist-stdlibs.
9415         (linknamespace-libs-isoc): New variable.
9416         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9417         (linknamespace-libs-ISO): New variable.
9418         (linknamespace-libs-ISO99): Likewise.
9419         (linknamespace-libs-ISO11): Likewise.
9420         (linknamespace-libs-XPG3): Likewise.
9421         (linknamespace-libs-XPG4): Likewise.
9422         (linknamespace-libs-POSIX): Likewise.
9423         (linknamespace-libs-UNIX98): Likewise.
9424         (linknamespace-libs-XOPEN2K): Likewise.
9425         (linknamespace-libs-POSIX2008): Likewise.
9426         (linknamespace-libs-XOPEN2K8): Likewise.
9427         ($(objpfx)symlist-stdlibs): Replace by
9428         $(linknamespace-symlist-stdlibs-tests).  Use
9429         $(linknamespace-libs-$*) as set of libraries.
9430         ($(linknamespace-header-tests)): Update dependencies.  Use
9431         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9432         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9433         * conform/linknamespace.pl: Remove comment about considering
9434         definitions of symbols from irrelevant libraries.
9436 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9438         [BZ #13862]
9439         * elf/dl-tls.c: Include <atomic.h>.
9440         (oom): Remove #ifdef SHARED/#endif.
9441         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9442         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9443         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9444         big enough.
9445         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9446         * nptl/Makefile (tests): Add tst-stack4.
9447         (modules-names): Add tst-stack4mod.
9448         ($(objpfx)tst-stack4): New.
9449         (tst-stack4mod.sos): Likewise.
9450         ($(objpfx)tst-stack4.out): Likewise.
9451         ($(tst-stack4mod.sos)): Likewise.
9452         (clean): Likewise.
9453         * nptl/tst-stack4.c: New file.
9454         * nptl/tst-stack4mod.c: Likewise.
9456 2014-11-27  J. Brown  <jb999@gmx.de>
9458         * sysdeps/x86/bits/string.h: Add recent CPUs.
9460 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9462         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9463         sigblock.
9465         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9466         feof.
9468         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9469         variable.
9471 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9473         * nscd/connections.c: Include libc-internal.h because of macro
9474         usage ignore_value.
9476 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9478         * string/bits/string3.h (__warn_memset_zero_len): Don't
9479         declare for gcc newer than 5.0.
9480         (memset): Don't test for zero-length __LEN for gcc newer than
9481         5.0.
9483 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9485         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9486         size_t for %zu format.
9488         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9489         difference, not %ju.
9491 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9493         * include/libc-internal.h (ignore_value): New macro.
9494         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9495         with ignore_value.
9497         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9498         definition.
9500         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9501         pthread_cleanup_push to void *.
9503         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9504         Undefine.
9506         [BZ #16619]
9507         [BZ #16740]
9508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9509         instead of 1L << 52.
9511         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9512         * libio/bug-rewind2.c (do_test): Likewise.
9514         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9515         * debug/test-strcpy_chk-ifunc.c: Likewise.
9516         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9517         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9518         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9519         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9520         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9521         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9522         * Rules [$(multi-arch) = no] (tests): Do not filter out
9523         $(tests-ifunc).
9524         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9525         * debug/Makefile (tests-ifunc): Remove variable.
9526         (tests): Do not add $(tests-ifunc).
9527         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9528         (tests): Do not add $(tests-ifunc).
9529         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9530         [TEST_IFUNC]: Remove conditionals.
9531         * string/test-string.h (TEST_IFUNC): Remove macro.
9532         [TEST_IFUNC]: Remove conditionals.
9534         * string/test-strchr.c [!WIDE] (L): New macro.
9535         [WIDE] (L): Likewise.
9536         (check1): Use CHAR instead of char.  Use L on string and character
9537         constants.
9539 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9541         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9542         tests.
9543         * sysdeps/powerpc/bits/atomic.h
9544         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9545         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9546         (atomic_exchange_and_add_acq): Likewise.
9547         (atomic_exchange_and_add_rel): Likewise.
9548         * sysdeps/powerpc/powerpc32/bits/atomic.h
9549         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9550         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9551         * sysdeps/powerpc/powerpc64/bits/atomic.h
9552         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9553         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9555 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9557         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9558         Change synchronization of __sched_fifo_min_prio and
9559         __sched_fifo_max_prio.
9560         * nptl/pthread_mutexattr_getprioceiling.c
9561         (pthread_mutexattr_getprioceiling): Likewise.
9562         * nptl/pthread_mutexattr_setprioceiling.c
9563         (pthread_mutexattr_setprioceiling): Likewise.
9564         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9565         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9566         Likewise.
9568 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9570         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9571         void.
9573 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9575         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9576         third argument const.
9578 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9580         fnmatch: work around GCC compiler warning bug with uninit var
9581         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9582         This works around a bug with x86-64 GCC 4.9.2 and earlier
9583         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9584         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9585         used uninitialized in this function [-Wmaybe-uninitialized]".
9587 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9589         * posix/bug-regex31.c (main): Return RES not 0.
9591 2014-11-25  Anton Blanchard <anton@samba.org>
9593         * sysdeps/powerpc/bits/atomic.h
9594         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9596 2014-11-24  Sterling Augustine  <saugustine@google.com>
9598         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9600 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9602         [BZ #17608]
9603         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9605 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9607         [BZ #17633]
9608         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9609         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9610         variable.
9611         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9612         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9614 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9616         * string/strncpy.c (strncpy): Improve performance by using memset.
9618 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9620         * string/strcpy.c (strcpy):
9621         Improve performance by using strlen and memcpy.
9623 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9625         * string/strcoll_l.c (get_next_seq): __always_inline.
9626         * string/strcoll_l.c (do_compare): __always_inline.
9628 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9630         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9631         defined.
9632         * include/mqueue.h: Likewise.
9633         * include/stdlib.h: Likewise.
9635         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9636         (get_null_defines): Adjust.
9637         * sunrpc/Makefile: Adjust comment.
9638         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9639         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9640         (CFLAGS-interp.c): Likewise.
9641         (CFLAGS-ldconfig.c): Likewise.
9642         (CPPFLAGS-.os): Likewise.
9643         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9644         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9645         * extra-modules.mk (extra-modules.mk): Likewise.
9646         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9647         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9648         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9649         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9650         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9651         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9652         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9653         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9654         * iconvdata/Makefile (CPPFLAGS): Likewise.
9655         (cpp-srcs-left): Add libof for all iconvdata routines.
9656         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9657         * include/assert.h: Likewise.
9658         * include/ctype.h: Likewise.
9659         * include/errno.h: Likewise.
9660         * include/libc-symbols.h: Likewise.
9661         * include/math.h: Likewise.
9662         * include/netdb.h: Likewise.
9663         * include/resolv.h: Likewise.
9664         * include/stdio.h: Likewise.
9665         * include/stdlib.h: Likewise.
9666         * include/string.h: Likewise.
9667         * include/sys/stat.h: Likewise.
9668         * include/wctype.h: Likewise.
9669         * intl/l10nflist.c: Likewise.
9670         * libidn/idn-stub.c: Likewise.
9671         * libio/libioP.h: Likewise.
9672         * nptl/libc_multiple_threads.c: Likewise.
9673         * nptl/pthreadP.h: Likewise.
9674         * posix/regex_internal.h: Likewise.
9675         * resolv/res_hconf.c: Likewise.
9676         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9677         * sysdeps/arm/memmove.S: Likewise.
9678         * sysdeps/arm/sysdep.h: Likewise.
9679         * sysdeps/generic/_itoa.h: Likewise.
9680         * sysdeps/generic/symbol-hacks.h: Likewise.
9681         * sysdeps/gnu/errlist.awk: Likewise.
9682         * sysdeps/gnu/errlist.c: Likewise.
9683         * sysdeps/i386/i586/memcpy.S: Likewise.
9684         * sysdeps/i386/i586/memset.S: Likewise.
9685         * sysdeps/i386/i686/memcpy.S: Likewise.
9686         * sysdeps/i386/i686/memmove.S: Likewise.
9687         * sysdeps/i386/i686/mempcpy.S: Likewise.
9688         * sysdeps/i386/i686/memset.S: Likewise.
9689         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9690         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9691         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9692         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9693         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9694         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9695         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9696         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9697         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9699         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9700         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9701         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9702         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9703         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9704         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9705         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9706         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9707         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9708         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9709         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9710         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9711         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9712         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9713         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9714         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9715         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9716         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9717         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9718         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9719         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9720         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9722         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9724         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9725         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9726         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9727         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9728         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9729         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9730         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9731         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9732         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9733         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9734         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9735         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9736         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9737         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9738         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9739         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9740         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9741         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9742         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9743         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9744         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9745         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9746         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9747         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9748         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9749         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9750         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9751         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9752         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9753         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9754         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9755         * sysdeps/posix/closedir.c: Likewise.
9756         * sysdeps/posix/opendir.c: Likewise.
9757         * sysdeps/posix/readdir.c: Likewise.
9758         * sysdeps/posix/rewinddir.c: Likewise.
9759         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9760         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9761         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9762         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9763         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9764         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9771         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9772         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9773         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9774         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9775         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9776         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9777         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9778         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9779         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9781         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9782         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9787         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9794         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9795         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9796         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9797         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9798         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9799         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9800         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9801         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9803         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9804         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9805         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9806         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9807         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9808         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9809         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9810         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9812         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9813         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9816         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9817         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9819         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9820         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9821         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9822         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9823         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9824         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9825         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9826         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9827         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9828         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9829         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9830         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9831         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9832         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9833         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9834         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9835         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9836         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9837         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9838         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9839         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9840         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9841         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9842         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9843         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9844         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9845         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9846         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9847         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9848         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9849         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9850         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9851         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9852         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9854         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9855         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9857         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9858         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9860         * sysdeps/unix/alpha/sysdep.S: Likewise.
9861         * sysdeps/unix/alpha/sysdep.h: Likewise.
9862         * sysdeps/unix/make-syscalls.sh: Likewise.
9863         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9865         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9866         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9867         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9868         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9870         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9871         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9872         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9874         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9875         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9876         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9877         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9878         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9879         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9880         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9881         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9882         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9883         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9885         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9886         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9887         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9888         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9892         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9893         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9897         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9898         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9902         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9903         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9904         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9905         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9906         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9907         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9910         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9914         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9915         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9916         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9919         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9921         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9922         * sysdeps/x86_64/memcpy.S: Likewise.
9923         * sysdeps/x86_64/memmove.c: Likewise.
9924         * sysdeps/x86_64/memset.S: Likewise.
9925         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9926         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9927         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9928         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9929         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9931         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9932         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9933         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9934         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9935         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9936         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9937         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9938         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9939         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9940         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9941         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9942         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9943         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9944         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9945         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9946         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9949         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9950         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9951         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9952         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9953         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9954         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9955         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9956         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9957         * sysdeps/x86_64/strcmp.S: Likewise.
9959         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9961         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9962         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9963         * elf/rtld-Rules: Likewise.
9964         * elf/setup-vdso.h: Likewise.
9965         * include/assert.h: Likewise.
9966         * include/bits/stdlib-float.h: Likewise.
9967         * include/errno.h: Likewise.
9968         * include/sys/stat.h: Likewise.
9969         * include/unistd.h: Likewise.
9970         * sysdeps/aarch64/setjmp.S: Likewise.
9971         * sysdeps/alpha/setjmp.S: Likewise.
9972         * sysdeps/arm/__longjmp.S: Likewise.
9973         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9974         * sysdeps/arm/setjmp.S: Likewise.
9975         * sysdeps/arm/sysdep.h: Likewise.
9976         * sysdeps/generic/_itoa.h: Likewise.
9977         * sysdeps/generic/dl-sysdep.h: Likewise.
9978         * sysdeps/generic/ldsodefs.h: Likewise.
9979         * sysdeps/i386/dl-tls.h: Likewise.
9980         * sysdeps/i386/setjmp.S: Likewise.
9981         * sysdeps/m68k/setjmp.c: Likewise.
9982         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9983         * sysdeps/mach/hurd/opendir.c: Likewise.
9984         * sysdeps/posix/getcwd.c: Likewise.
9985         * sysdeps/posix/opendir.c: Likewise.
9986         * sysdeps/posix/profil.c: Likewise.
9987         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9988         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9989         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9990         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9991         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9992         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9993         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9994         * sysdeps/s390/dl-tls.h: Likewise.
9995         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9996         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9997         * sysdeps/sh/sh3/setjmp.S: Likewise.
9998         * sysdeps/sh/sh4/setjmp.S: Likewise.
9999         * sysdeps/unix/alpha/sysdep.h: Likewise.
10000         * sysdeps/unix/arm/sysdep.S: Likewise.
10001         * sysdeps/unix/i386/sysdep.S: Likewise.
10002         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10003         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10004         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10005         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10007         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10008         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10009         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10010         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10011         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10012         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10013         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10014         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10017         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10020         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10021         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10022         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10025         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10026         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10027         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10029         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10030         * sysdeps/x86_64/setjmp.S: Likewise.
10032         * include/math.h: Use IS_IN instead of IS_IN_libm.
10033         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10034         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10035         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10036         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10037         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10038         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10039         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10040         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10042         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10043         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10044         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10045         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10046         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10047         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10048         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10049         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10050         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10051         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10052         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10053         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10054         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10055         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10056         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10057         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10058         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10060         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10061         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10062         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10063         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10064         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10065         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10067         Likewise.
10068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10069         Likewise.
10070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10071         Likewise.
10072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10073         Likewise.
10074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10075         Likewise.
10076         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10077         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10078         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10079         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10080         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10087         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10088         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10089         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10090         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10091         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10092         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10093         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10094         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10095         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10096         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10097         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10100         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10102         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10104         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10105         * nptl/pthreadP.h: Likewise.
10106         * nptl_db/structs.def: Likewise.
10107         * sysdeps/arm/sysdep.h: Likewise.
10108         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10109         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10110         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10111         * sysdeps/unix/alpha/sysdep.h: Likewise.
10112         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10113         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10114         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10115         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10116         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10117         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10119         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10120         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10121         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10122         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10123         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10124         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10125         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10129         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10130         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10131         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10133         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10134         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10135         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10136         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10137         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10139         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10140         * nptl/pthreadP.h: Likewise.
10141         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10142         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10143         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10144         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10145         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10146         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10147         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10148         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10149         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10150         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10151         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10152         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10154         Likewise.
10155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10156         Likewise.
10157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10159         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10162         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10163         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10164         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10166         * dlfcn/dladdr.c: Use IS_IN.
10167         * dlfcn/dladdr1.c: Likewise.
10168         * dlfcn/dlclose.c: Likewise.
10169         * dlfcn/dlerror.c: Likewise.
10170         * dlfcn/dlinfo.c: Likewise.
10171         * dlfcn/dlmopen.c: Likewise.
10172         * dlfcn/dlopen.c: Likewise.
10173         * dlfcn/dlsym.c: Likewise.
10174         * dlfcn/dlvsym.c: Likewise.
10176         * include/ifaddrs.h: Use IS_IN.
10177         * inet/check_pf.c: Likewise.
10178         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10179         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10181         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10182         IS_IN_ldconfig.
10183         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10184         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10186         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10187         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10188         IS_IN (libc).
10190         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10192         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10193         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10194         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10195         * include/libc-symbols.h (IS_IN_LIB): New macro.
10196         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10197         * include/netdb.h: Likewise.
10198         * include/stap-probe.h: Remove all uses of IN_LIB.
10200         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10201         instead of IN_MODULE.
10202         * include/libc-symbols.h (IN_MODULE): Define using
10203         MODULE_NAME.
10204         (PASTE_NAME, PASTE_NAME1): New macros.
10205         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10206         of IN_LIB.
10207         (STAP_PROBE_ASM): Likewise.
10209 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10211         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10212         __mach_init in dlopened libc.
10214 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10216         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10217         * sysdeps/arm/preconfigure: Regenerate.
10219 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10221         * nptl/pthread_create.c (__pthread_create_2_1): Set
10222         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10223         when copying values from IATTR into PD.
10225 2014-11-21  Will Newton  <will.newton@linaro.org>
10226             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10228         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10229         Refactor inline-asm.  Also add comment.
10231         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10232         ElfW macro instead of hardcoded Elf64 types.
10233         (la_aarch64_gnu_pltenter): Likewise.
10234         * sysdeps/aarch64/dl-machine.h
10235         (elf_machine_runtime_setup): Use ElfW(Addr).
10237         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10238         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10239         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10240         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10241         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10242         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10243         (R_AARCH64_TLS_DTPMOD): This.
10244         (R_AARCH64_TLS_DTPREL64): Rename to ...
10245         (R_AARCH64_TLS_DTPREL): This.
10246         (R_AARCH64_TLS_TPREL64): Rename to ...
10247         (R_AARCH64_TLS_TPREL): This.
10248         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10249         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10250         R_AARCH64_TLS_TPREL64.
10251         (elf_machine_rela): Likewise.
10253 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10255         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10256         by setting it to 0.  64b atomics are not supported currently.
10258 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10260         [BZ #16469]
10261         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10262         search domain names.
10264 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10266         [BZ #16469]
10267         * NEWS: Update.
10268         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10269         trailing dot.
10270         * posix/tst-getaddrinfo5.c: New.
10271         * posix/Makefile (tests): Add it.
10273 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10275         [BZ #14498]
10276         * NEWS: Fixed.
10277         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10278         after parsing line but before break_if_match.
10279         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10280         if there is a protocol mismatch.
10282 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10284         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10285         because the potential race is on the user-supplied stream.
10287 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10289         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10290         string literal if not passed a buffer.
10291         * manual/job.texi (ctermid): Update reasoning, note deviation
10292         from posix, suggest mtasurace when not passed a buffer, for
10293         future non-preliminary safety notes.
10295 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10297         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10298         of not passing it a buffer.
10299         Reported by Peng Haitao.
10301 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10303         * manual/Makefile ($(objpfx)stamp-summary): Require
10304         check-safety.sh to pass.
10305         * manual/check-safety.sh: Wish for verification that every
10306         @deftypefn and @deftypefun is followed by a @safety remark.
10308 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10310         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10312         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10313         PTHREAD_CANCEL_ASYNCHRONOUS.
10314         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10315         send SIGCANCEL.
10317         * nptl/default-sched.h: New file.
10318         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10319         * nptl/pthread_create.c: Include it.
10320         (__pthread_create_2_1): Use collect_default_sched instead of making
10321         Linux syscalls here directly.
10323 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10325         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10326         __pthread_once): Use C11 atomics.
10328 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10330         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10332 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10334         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10335         atomic_thread_fence_acquire, atomic_thread_fence_release,
10336         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10337         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10338         atomic_compare_exchange_weak_relaxed,
10339         atomic_compare_exchange_weak_acquire,
10340         atomic_compare_exchange_weak_release,
10341         atomic_exchange_acquire, atomic_exchange_release,
10342         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10343         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10344         atomic_fetch_and_acquire,
10345         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10347 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10349         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10350         USE_ATOMIC_COMPILER_BUILTINS): Define.
10351         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10353         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10355         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10357         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10359         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10361         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10363         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10365         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10367         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10369         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10371         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10373         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10375         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10377         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10379         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10380         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10381         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10383         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10385         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10386         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10387         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10388         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10389         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10390         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10392 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10394         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10395         the sched_priority value here.  It was already checked when the user
10396         called pthread_attr_setschedparam.
10398         * nptl/tst-bad-schedattr.c: New file.
10399         * nptl/Makefile (tests): Add it.
10401 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10402             Florian Weimer  <fweimer@redhat.com>
10403             Joseph Myers  <joseph@codesourcery.com>
10404             Adam Conrad  <adconrad@0c3.net>
10405             Andreas Schwab  <schwab@suse.de>
10406             Brooks  <bmoses@google.com>
10408         [BZ #17625]
10409         * wordexp-test.c (__dso_handle): Add prototype.
10410         (__register_atfork): Likewise.
10411         (__app_register_atfork): New function.
10412         (registered_forks): New global.
10413         (register_fork): New function.
10414         (test_case): Add 3 new tests for WRDE_CMDSUB.
10415         (main): Call __app_register_atfork.
10416         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10417         fork count is non-zero fail the test.
10418         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10419         is set.
10420         (parse_dollars): Remove check for WRDE_NOCMD.
10421         (parse_dquote): Likewise.
10423 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10425         * Makeconfig (built-modules): List non-library modules to be
10426         built.
10427         (module-cppflags): Include libc-modules.h for
10428         everything except shlib-versions.v.i.
10429         (CPPFLAGS): Use it.
10430         (before-compile): Add libc-modules.h.
10431         ($(common-objpfx)libc-modules.h,
10432         $(common-objpfx)libc-modules.stmp): New targets.
10433         (common-generated): Add libc-modules.h and libc-modules.stmp.
10434         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10435         * include/libc-symbols.h: Don't include libc-modules.h.
10436         * include/libc-modules.h: Remove file.
10437         * scripts/gen-libc-modules.awk: New script to generate
10438         libc-modules.h.
10439         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10440         Depend on libc-modules.stmp.
10442         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10444         * Makeconfig (in-module): Get value of libof set for the
10445         translation unit.
10446         (CPPFLAGS): Use $(in-module).
10447         * Makerules: Don't suffix routine names for nonlib.
10448         * include/libc-modules.h: New file.
10449         * include/libc-symbols.h: Include libc-modules.h
10450         (IS_IN): New macro to replace IS_IN_* macros.
10451         * elf/Makefile: Set libof-* for each routine.
10452         * elf/rtld-Rules: Likewise.
10453         * extra-modules.mk: Likewise.
10454         * iconv/Makefile: Likewise.
10455         * iconvdata/Makefile: Likewise.
10456         * locale/Makefile: Likewise.
10457         * malloc/Makefile: Likewise.
10458         * nss/Makefile: Likewise.
10459         * sysdeps/gnu/Makefile: Likewise.
10460         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10461         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10462         * sysdeps/s390/s390-64/Makefile: Likewise.
10463         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10464         CPPFLAGS for nscd instead of nonlib.
10466 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10468         * nptl/createthread.c: New file.
10470         * nptl/createthread.c: Moved ...
10471         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10473         * nptl/createthread.c: Add proper top-line comment.
10474         (do_clone): Folded into ...
10475         (create_thread): ... here.  Take new arguments STOPPED_START and
10476         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10477         increment __nptl_threads, do event-reporting logic, do
10478         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10479         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10480         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10481         just send SIGCANCEL.
10482         * nptl/pthread_create.c: Forward-declare create_thread before
10483         including createthread.c.
10484         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10485         declaration, and new macro START_THREAD_SELF to replace argument.
10486         Remove return statement.
10487         (report_thread_creation): New function.
10488         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10489         synchronization logic, and __nptl_nthreads increment here, around
10490         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10491         PD->parent_cancelhandling here, before create_thread.  When
10492         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10493         __deallocate_stack, and ENOMEM translation here.
10495 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #17616]
10498         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10499         (mptwo): Rename to __mptwo.
10500         (__inv): Use __mptwo instead of mptwo.
10501         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10502         (mptwo): Rename to __mptwo.
10503         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10504         of mpone and __mptwo instead of mptwo.
10505         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10506         instead of mpone.
10507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10508         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10509         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10510         of mpone and __mptwo instead of mptwo.
10511         (__mpranred): Use __mpone instead of mpone.
10512         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10513         variable.
10514         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10515         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10516         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10517         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10518         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10519         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10520         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10521         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10522         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10523         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10524         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10525         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10526         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10527         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10528         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10529         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10530         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10531         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10532         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10534 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10536         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10537         replace BSD Handler xref with BSD Signal Handling.
10539 2014-11-17  Richard Henderson  <rth@redhat.com>
10541         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10542         (_FP_PACK_RAW_2): Remove.
10543         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10544         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10545         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10546         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10547         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10548         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10549         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10550         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10551         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10552         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10553         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10554         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10555         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10556         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10557         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10558         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10560 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10562         * signal/signal.h [__USE_MISC]
10563         (struct sigvec): Remove type.
10564         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10565         (sigvec): Remove declaration.
10566         * sysdeps/posix/sigvec.c: Moved ...
10567         * signal/sigvec.c: ... here, replacing old file.
10568         (struct sigvec): New type, copied from old signal.h definition.
10569         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10570         (__sigvec): Convert definition to prototype.
10571         (sigvec): Replace weak_alias with compat_symbol.
10572         * signal/Versions (libc: GLIBC_2.21): New version set.
10573         * include/signal.h: Remove __sigvec declaration.
10574         * sysdeps/unix/bsd/sigvec.c: Remove file.
10575         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10576         * manual/signal.texi (BSD Handler): Remove subsection.
10577         Move siginterrupt up to ...
10578         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10579         (Blocking in BSD): Fold subsection into its parent.
10580         * NEWS: Mention sigvec removal.
10582 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10584         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10585         (DLA_FMS): Make definition conditional only on [__FMA4__].
10586         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10587         definition.
10589         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10590         Make definition conditional only on [PROF].
10591         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10592         definition.
10593         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10594         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10596         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10597         !__GNUC__].
10598         * include/signal.h (__sigpause): Move declaration above call to
10599         libc_hidden_proto.
10600         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10601         variable.
10602         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10603         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10605 2014-11-14  David S. Miller  <davem@davemloft.net>
10607         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10608         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10610 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10612         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10613         * configure: Regenerated.
10614         * manual/install.texi (Tools for Compilation): Document a
10615         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10616         compiler verified to work.
10617         * INSTALL: Regenerated.
10619         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10620         redeclare with asm name.
10621         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10622         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10623         including <string.h>.
10624         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10625         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10626         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10627         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10628         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10630         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10632 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10634         * stdlib/strtol.c (__strtol): Use prototype definition.
10636         [BZ #17594]
10637         * stdlib/strtol.c (SYM__): New macro.
10638         (SYM__1): Likewise.
10639         (__strtol): Likewise.
10640         (strtol): Rename to __strtol and define as weak alias of
10641         __strtol.  Use libc_hidden_weak.
10643 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10645         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10646         Use numbered labels in inline assembly.
10648 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10650         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10651         Add setjmp LIBC_PROBE.
10652         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10653         Likewise.
10654         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10655         Add longjmp, longjmp_target LIBC_PROBE.
10656         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10657         Likewise.
10659 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10661         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10662         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10663         to get rid of unused variable warning.
10665 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10667         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10668         Check for unwind_backtrace ==  NULL only in SHARED case.
10669         (__backchain_backtrace): Compile only in SHARED case.
10670         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10671         Likewise.
10672         (__backchain_backtrace): Declare as static.
10674 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10676         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10677         (__libc_multiple_threads_ptr): Variable moved ...
10678         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10680 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10682         * conform/GlibcConform.pm: New file.
10683         * conform/conformtest.pl: Use GlibcConform module.
10684         * conform/linknamespace.pl: New file.
10685         * conform/list-header-symbols.pl: Likewise.
10686         * conform/Makefile (linknamespace-symlists-base): New variable.
10687         (linknamespace-symlists-tests): Likewise.
10688         (linknamespace-header-base): Likewise.
10689         (linknamespace-header-tests): Likewise.
10690         (tests-special): Add new tests.
10691         ($(linknamespace-symlists-tests)): New rule.
10692         (linknamespace-libs): New variable.
10693         ($(objpfx)symlist-stdlibs): New rule.
10694         ($(linknamespace-header-tests)): Likewise.
10695         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10696         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10697         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10698         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10699         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10700         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10701         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10702         (test-xfail-ISO/math.h/linknamespace): Likewise.
10703         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10704         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10705         (test-xfail-ISO/time.h/linknamespace): Likewise.
10706         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10707         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10708         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10709         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10710         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10711         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10712         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10713         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10714         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10715         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10716         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10717         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10718         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10719         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10720         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10721         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10722         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10723         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10724         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10725         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10726         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10727         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10728         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10729         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10730         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10731         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10732         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10733         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10734         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10735         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10736         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10737         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10738         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10739         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10740         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10741         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10742         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10743         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10744         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10745         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10746         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10747         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10748         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10749         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10750         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10751         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10752         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10753         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10754         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10755         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10756         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10757         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10758         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10759         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10760         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10761         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10762         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10763         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10764         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10765         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10766         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10767         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10768         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10769         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10770         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10771         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10772         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10773         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10774         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10775         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10776         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10777         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10778         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10779         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10780         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10781         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10782         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10783         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10784         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10785         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10786         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10787         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10788         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10789         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10790         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10791         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10792         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10793         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10794         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10795         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10796         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10797         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10798         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10799         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10800         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10801         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10802         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10803         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10804         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10805         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10806         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10807         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10808         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10809         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10810         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10811         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10812         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10813         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10814         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10815         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10816         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10817         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10818         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10819         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10820         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10821         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10822         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10823         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10824         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10825         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10826         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10827         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10828         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10829         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10830         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10831         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10832         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10833         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10834         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10835         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10836         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10837         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10838         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10839         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10840         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10841         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10842         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10843         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10844         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10845         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10846         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10847         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10848         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10849         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10850         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10851         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10852         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10853         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10854         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10855         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10857         [BZ #17589]
10858         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10859         of fgets_unlocked.
10861         [BZ #17585]
10862         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10863         (memmem): Rename to __memmem and define as weak alias of
10864         __memmem.  Use libc_hidden_weak.
10865         (__memmem): Use libc_hidden_def.
10866         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10867         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10868         memmem.
10870         [BZ #17582]
10871         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10872         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10873         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10874         and define as weak alias of __fgets_unlocked.  Use
10875         libc_hidden_weak.
10876         (__fgets_unlocked): Use libc_hidden_def.
10877         * include/stdio.h (__fgets_unlocked): Declare.  Use
10878         libc_hidden_proto.
10879         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10880         __fgets_unlocked instead of fgets_unlocked.
10881         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10882         (GET_NPROCS_CONF_PARSER): Likewise.
10883         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10884         (GET_NPROCS_CONF_PARSER): Likewise.
10886         [BZ #17574]
10887         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10888         weak alias of __wmemset.  Use libc_hidden_weak.
10889         (__wmemset): Use libc_hidden_def.
10890         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10891         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10892         of wmemset.
10894         [BZ #17573]
10895         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10896         with asm name __mempcpy.
10897         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10899         [BZ #17572]
10900         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10901         and define as weak alias of __rawmemchr.
10902         (__rawmemchr): Do not define as strong alias of rawmemchr.
10904         [BZ #17571]
10905         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10906         alias of __qsort_r.
10907         (qsort): Call __qsort_r instead of qsort_r.
10908         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10909         (__qsort_r): Declare.  Call libc_hidden_proto.
10910         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10911         instead of qsort_r.
10912         * nscd/gai.c (__qsort_r): Define to qsort_r.
10913         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10914         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10915         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10917         [BZ #17570]
10918         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10919         define as weak alias of __malloc_info.
10921         [BZ #17584]
10922         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10923         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10924         (__rewinddir): Use libc_hidden_def.
10925         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10926         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10927         (__rewinddir): Use libc_hidden_def.
10928         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10929         weak alias of __rewinddir.  Don't use libc_hidden_def.
10930         (__rewinddir): Use libc_hidden_def.
10931         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10932         (__rewinddir): Use libc_hidden_proto.
10933         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10934         rewinddir.
10935         (__getcwd): Use __rewinddir instead of rewinddir.
10937         [BZ #17583]
10938         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10939         alias of __fileno.  Use libc_hidden_weak.
10940         (__fileno): Use libc_hidden_def.
10941         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10942         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10943         alias of __ftello.
10944         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10945         __ftello.
10946         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10947         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10948         libc_hidden_def.
10949         (fread_unlocked): Don't use libc_hidden_ver.
10950         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10951         and define as weak alias of __fread_unlocked.  Don't use
10952         libc_hidden_def.
10953         (__fread_unlocked): Use libc_hidden_def.
10954         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10955         (ftello): Don't use libc_hidden_proto.
10956         (__ftello): Declare.  Use libc_hidden_proto.
10957         (fread_unlocked): Don't use libc_hidden_proto.
10958         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10959         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10960         and __ftello instead of fileno, fread_unlocked and ftello.
10962 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10964         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10965         GOT12.
10966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10967         Likewise.
10968         (_dl_start_user): Likewise.
10969         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10971 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10972             Siddhesh Poyarekar  <siddhesh@redhat.com>
10974         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10975         Move argv and envp down instead of moving argc up.
10976         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10978 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10980         [BZ #17506]
10981         * test-skeleton.c (main): Return successful if one of
10982         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10983         * string/tst-strcoll-overflow.c: Define expected status.
10985 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10987         [BZ #17475]
10988         * locale/iso-639.def: Define Bhili and Tulu language codes.
10990 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10992         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10994 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10996         [BZ #17555]
10997         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10999 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11001         * configure.ac: Updated check of minimal required version to
11002         2.22.
11003         * manual/install.texi (Tools for Compilation): Updated version
11004         number.
11005         * configure: Regenerated.
11006         * INSTALL: Likewise.
11008 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11010         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11011         __tls_get_addr.
11013 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11015         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11016         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11017         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11018         libc_hidden_weak.
11019         (waitpid): Define as alias of __waitpid.
11020         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11021         __waitpid.
11022         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11023         libc_hidden_weak.
11024         (waitpid): Define as alias of __waitpid.
11025         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11026         __libc_waitpid alias.
11027         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11029         Likewise.
11030         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11031         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11032         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11033         alias.
11034         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11035         __waitpid.
11036         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11037         libc_hidden_weak.
11038         (waitpid): Define as alias of __waitpid.
11040 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11042         * manual/llio.texi: Add comment that write safety has been
11043         fixed in Linux.
11045         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11046         (localplt-build-dso): Add elf/ld.so.
11047         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11048         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11049         and free for ld.so.
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11051         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11053         Likewise.
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11055         Likewise.
11056         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11057         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11058         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11059         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11060         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11061         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11062         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11063         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11064         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11065         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11066         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11068 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11070         [BZ #14132]
11071         * include/libc-symbols.h (INTUSE): Remove macro.
11072         (INTDEF): Likewise.
11073         (INTVARDEF): Likewise.
11074         (_INTVARDEF): Likewise.
11075         (INTDEF2): Likewise.
11076         (INTVARDEF2): Likewise.
11077         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11078         rtld_hidden_def instead of INTVARDEF.
11079         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11080         (_dl_starting_up_internal): Remove declaration.
11081         (_dl_starting_up): Use rtld_hidden_proto.
11082         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11083         declaration.
11084         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11085         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11086         _dl_starting_up.
11087         * elf/dl-writev.h (_dl_writev): Likewise.
11088         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11089         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11090         _dl_starting_up_internal.
11092 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11094         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11095         test-skeleton.c.
11097 2014-11-05  Will Newton  <will.newton@linaro.org>
11099         * benchtests/Makefile: (bench-malloc): Add malloc thread
11100         scalability benchmark.
11101         * benchtests/bench-malloc-threads.c: New file.
11103 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11105         * sysdeps/aarch64/strchrnul.S: New file.
11107 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11109         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11110         definition.
11111         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11112         Likwise.
11113         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11114         Likewise.
11115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11116         Likewise.
11117         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11118         Likewise.
11119         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11120         Likewise.
11122 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11124         * catgets/test-gencat.c: Use test-skeleton.c.
11125         * catgets/tst-catgets.c: Likewise.
11126         * csu/tst-empty.c: Likewise.
11127         * elf/tst-audit2.c: Likewise.
11128         * elf/tst-global1.c: Likewise.
11129         * elf/tst-pathopt.c: Likewise.
11130         * elf/tst-piemod1.c: Likewise.
11131         * elf/tst-tls10.c: Likewise.
11132         * elf/tst-tls11.c: Likewise.
11133         * elf/tst-tls12.c: Likewise.
11134         * gnulib/tst-gcc.c: Likewise.
11135         * iconvdata/tst-e2big.c: Likewise.
11136         * iconvdata/tst-loading.c: Likewise.
11137         * iconv/tst-iconv1.c: Likewise.
11138         * iconv/tst-iconv2.c: Likewise.
11139         * inet/test-inet6_opt.c: Likewise.
11140         * inet/tst-gethnm.c: Likewise.
11141         * inet/tst-network.c: Likewise.
11142         * inet/tst-ntoa.c: Likewise.
11143         * intl/tst-codeset.c: Likewise.
11144         * intl/tst-gettext2.c: Likewise.
11145         * intl/tst-gettext3.c: Likewise.
11146         * intl/tst-ngettext.c: Likewise.
11147         * intl/tst-translit.c: Likewise.
11148         * io/test-stat.c: Likewise.
11149         * libio/test-fmemopen.c: Likewise.
11150         * libio/tst-freopen.c: Likewise.
11151         * libio/tst-sscanf.c: Likewise.
11152         * libio/tst-ungetwc1.c: Likewise.
11153         * libio/tst-ungetwc2.c: Likewise.
11154         * libio/tst-widetext.c: Likewise.
11155         * localedata/tst-ctype.c: Likewise.
11156         * localedata/tst-digits.c: Likewise.
11157         * localedata/tst-leaks.c: Likewise.
11158         * localedata/tst-mbswcs1.c: Likewise.
11159         * localedata/tst-mbswcs2.c: Likewise.
11160         * localedata/tst-mbswcs3.c: Likewise.
11161         * localedata/tst-mbswcs4.c: Likewise.
11162         * localedata/tst-mbswcs5.c: Likewise.
11163         * localedata/tst-setlocale.c: Likewise.
11164         * localedata/tst-trans.c: Likewise.
11165         * localedata/tst-wctype.c: Likewise.
11166         * localedata/tst-xlocale1.c: Likewise.
11167         * login/tst-grantpt.c: Likewise.
11168         * malloc/tst-calloc.c: Likewise.
11169         * malloc/tst-malloc.c: Likewise.
11170         * malloc/tst-mallocstate.c: Likewise.
11171         * malloc/tst-mcheck.c: Likewise.
11172         * malloc/tst-mtrace.c: Likewise.
11173         * malloc/tst-obstack.c: Likewise.
11174         * math/atest-exp2.c: Likewise.
11175         * math/atest-exp.c: Likewise.
11176         * math/atest-sincos.c: Likewise.
11177         * math/test-matherr.c: Likewise.
11178         * math/test-misc.c: Likewise.
11179         * math/test-powl.c: Likewise.
11180         * math/tst-definitions.c: Likewise.
11181         * misc/tst-dirname.c: Likewise.
11182         * misc/tst-efgcvt.c: Likewise.
11183         * misc/tst-fdset.c: Likewise.
11184         * misc/tst-hsearch.c: Likewise.
11185         * misc/tst-mntent2.c: Likewise.
11186         * nptl/tst-sem7.c: Likewise.
11187         * nptl/tst-sem8.c: Likewise.
11188         * nptl/tst-sem9.c: Likewise.
11189         * nss/test-netdb.c: Likewise.
11190         * posix/tst-fnmatch.c: Likewise.
11191         * posix/tst-getlogin.c: Likewise.
11192         * posix/tst-gnuglob.c: Likewise.
11193         * posix/tst-mmap.c: Likewise.
11194         * pwd/tst-getpw.c: Likewise.
11195         * resolv/tst-inet_ntop.c: Likewise.
11196         * rt/tst-timer.c: Likewise.
11197         * stdio-common/test-fseek.c: Likewise.
11198         * stdio-common/test-popen.c: Likewise.
11199         * stdio-common/test-vfprintf.c: Likewise.
11200         * stdio-common/tst-cookie.c: Likewise.
11201         * stdio-common/tst-fileno.c: Likewise.
11202         * stdio-common/tst-gets.c: Likewise.
11203         * stdio-common/tst-obprintf.c: Likewise.
11204         * stdio-common/tst-perror.c: Likewise.
11205         * stdio-common/tst-sprintf2.c: Likewise.
11206         * stdio-common/tst-sprintf3.c: Likewise.
11207         * stdio-common/tst-sprintf.c: Likewise.
11208         * stdio-common/tst-swprintf.c: Likewise.
11209         * stdio-common/tst-tmpnam.c: Likewise.
11210         * stdio-common/tst-unbputc.c: Likewise.
11211         * stdio-common/tst-wc-printf.c: Likewise.
11212         * stdlib/tst-environ.c: Likewise.
11213         * stdlib/tst-fmtmsg.c: Likewise.
11214         * stdlib/tst-limits.c: Likewise.
11215         * stdlib/tst-rand48-2.c: Likewise.
11216         * stdlib/tst-rand48.c: Likewise.
11217         * stdlib/tst-random2.c: Likewise.
11218         * stdlib/tst-random.c: Likewise.
11219         * stdlib/tst-strtol.c: Likewise.
11220         * stdlib/tst-strtoll.c: Likewise.
11221         * stdlib/tst-tls-atexit.c: Likewise.
11222         * stdlib/tst-xpg-basename.c: Likewise.
11223         * string/test-ffs.c: Likewise.
11224         * string/tst-bswap.c: Likewise.
11225         * string/tst-inlcall.c: Likewise.
11226         * string/tst-strtok.c: Likewise.
11227         * string/tst-strxfrm.c: Likewise.
11228         * sysdeps/x86_64/tst-audit10.c: Likewise.
11229         * sysdeps/x86_64/tst-audit3.c: Likewise.
11230         * sysdeps/x86_64/tst-audit4.c: Likewise.
11231         * sysdeps/x86_64/tst-audit5.c: Likewise.
11232         * time/tst-ftime_l.c: Likewise.
11233         * time/tst-getdate.c: Likewise.
11234         * time/tst-mktime3.c: Likewise.
11235         * time/tst-mktime.c: Likewise.
11236         * time/tst-posixtz.c: Likewise.
11237         * time/tst-strptime2.c: Likewise.
11238         * time/tst-strptime3.c: Likewise.
11239         * wcsmbs/tst-btowc.c: Likewise.
11240         * wcsmbs/tst-mbrtowc.c: Likewise.
11241         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11242         * wcsmbs/tst-wchar-h.c: Likewise.
11243         * wcsmbs/tst-wcpncpy.c: Likewise.
11244         * wcsmbs/tst-wcrtomb.c: Likewise.
11245         * wcsmbs/tst-wcsnlen.c: Likewise.
11246         * wcsmbs/tst-wcstof.c: Likewise.
11248 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11250         [BZ #14132]
11251         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11252         INTDEF.
11253         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11254         declaration.
11255         (_dl_mcount): Use rtld_hidden_proto.
11256         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11257         _dl_mcount.
11258         * elf/rtld.c (_rtld_global_ro): Likewise.
11260         [BZ #14132]
11261         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11262         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11263         of _dl_init_internal.
11264         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11265         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11266         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11267         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11268         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11269         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11270         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11271         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11272         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11273         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11274         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11275         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11276         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11277         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11278         * sysdeps/tile/dl-start.S (_start): Likewise.
11279         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11280         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11282         [BZ #14132]
11283         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11284         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11285         (rtld_progname): Make macro definition unconditional.
11286         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11287         INTDEF.
11288         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11289         (dl_main): Likewise.
11290         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11291         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11292         instead of _dl_argv_internal.
11293         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11294         __GI__dl_argv instead of INTUSE(_dl_argv).
11295         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11296         __GI__dl_argv instead of _dl_argv_internal.
11298         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11299         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11300         macro.
11301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11302         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11303         New macro.
11304         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11305         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11306         macro.
11307         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11308         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11310 2014-11-04  Andreas Schwab  <schwab@suse.de>
11312         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11314 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11316         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11317         mtvsrd instruction in binary form.
11319 2014-11-03  Andreas Schwab  <schwab@suse.de>
11321         [BZ #17522]
11322         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11323         for less than MB_LEN_MAX use a local buffer of that size.
11324         * libio/tst-fputws.c: New file.
11325         * libio/Makefile (tests): Add tst-fputws.
11327 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11329         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11330         the size of the fpu_fr.fpu_dregs[] array.
11332 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11334         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11335         (__nanosleep): Do not define as alias.
11336         (nanosleep): Define as alias of __nanosleep.
11337         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11338         __libc_nanosleep name.
11340 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11342         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11343         install.texi in comment.
11345 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11347         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11348         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11349         ... add here and use lwsync or sync ...
11350         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11351         ... and add here using lwsync.
11353 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11355         * elf/dl-machine-reject-phdr.h: New file.
11356         * elf/dl-load.c: #include that.
11357         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11358         if that returned true.
11360 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11362         [BZ #17496]
11363         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11364         gen-as-const-headers chunk.  Add a big scare comment after the last
11365         safe place to touch before-compile.
11367 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11369         * manual/install.texi (Tools for Compilation): Update autoconf
11370         version requirements.
11371         * INSTALL: Regenerated.
11373         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11374         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11375         (__libc_pselect): Likewise.
11377         [BZ #14138]
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11383 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11385         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11386         correct barrier instruction.
11387         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11388         Likewise.
11389         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11390         Likewise.
11392 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11394         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11395         after defining inlines.  Instead, just use parens to defeat macro
11396         expansion of __isctype in its declaration.
11398 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11400         * include/sys/uio.h (__libc_readv): Remove declaration.
11401         (__libc_writev): Likewise.
11402         * misc/readv.c (__libc_readv): Rename to __readv.
11403         (__readv): Do not define as alias.
11404         (readv): Define as alias of __readv.
11405         * misc/writev.c (__libc_writev): Rename to __writev.
11406         (__writev): Do not define as alias.
11407         (writev): Define as alias of __writev.
11408         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11409         (__readv): Do not define as alias.
11410         (readv): Define unconditionally as alias of __readv.
11411         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11412         (__writev): Do not define as alias.
11413         (writev): Define unconditionally as alias of __writev.
11414         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11415         name.
11416         (writev): Do not define __libc_writev name.
11418 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11420         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11421         (convert_charseq): New function, broken out of ...
11422         (use_from_charmap): ... here.  Call it.
11423         (use_to_charmap): Use convert_charseq and free instead of duplicating
11424         its code with a variable-length stack struct.
11426 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11428         * include/fcntl.h (__libc_creat): Remove declaration.
11429         * io/creat.c (__libc_creat): Rename to creat.
11430         (creat): Do not define as alias.
11431         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11432         of creat instead of __libc_creat.
11433         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11434         to creat.
11435         (creat): Do not define as alias.
11436         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11437         __libc_creat.
11438         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11439         __libc_creat name.
11440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11441         Likewise.
11443 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11445         * manual/llio.texi: Add comments discussing why write() may be
11446         considered MT-unsafe on Linux.
11448 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11450         * dl-load.c (local_strdup): Remove.
11451         (expand_dynamic_string_token): Use __strdup.
11452         (decompose_rpath): Likewise.
11453         (_dl_map_object): Likewise.
11455 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11457         [BZ #14132]
11458         * sysdeps/generic/unwind-dw2-fde.c
11459         (__register_frame_info_bases_internal): Do not declare.
11460         (__register_frame_info_table_bases_internal): Likewise.
11461         (__deregister_frame_info_bases_internal): Likewise.
11462         (__register_frame_info_bases): Declare and use hidden_proto before
11463         definition.  Use hidden_def instead of INTDEF.
11464         (__register_frame_info_table_bases): Likewise.
11465         (__deregister_frame_info_bases): Likewise.
11466         (__register_frame_info): Do not use INTUSE.
11467         (__register_frame): Likewise.
11468         (__register_frame_info_table): Likewise.
11469         (__register_frame_table): Likewise.
11470         (__deregister_frame_info): Likewise.
11471         (__deregister_frame): Likewise.
11473 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11476         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11477         not undefine.
11478         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11479         Likewise.
11480         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11481         Likewise.
11483 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11485         [BZ #14138]
11486         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11487         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11488         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11489         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11490         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11491         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11492         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11493         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11494         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11495         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11496         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11497         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11498         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11499         syscall.
11500         (setfsuid): Likewise.
11501         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11502         (setfsuid): Likewise.
11503         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11504         (setfsuid): Likewise.
11505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11506         Likewise.
11507         (setfsuid): Likewise.
11508         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11509         (setfsuid): Likewise.
11510         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11511         Likewise.
11512         (setfsuid): Likewise.
11514 2014-10-27  Andreas Schwab  <schwab@suse.de>
11516         [BZ #17501]
11517         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11518         check for Slow_SSE4_2 feature bit.
11519         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11520         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11521         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11522         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11524 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11526         * configure.ac: Validate compiler version with a empirical test of
11527         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11528         $CC -v output.
11529         * configure: Regenerated.
11531         * inet/htons.c (htons): Prototypify.
11532         * inet/htonl.c (htonl): Likewise.
11534 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11536         * string/strncat.c (strncat): Improve performance by using strlen.
11538 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11540         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11542 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11544         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11545         Call libc_fetestexcept_aarch64.
11547 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11549         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11550         Call libc_feholdexcept_aarch64.
11552 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11554         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11555         Call get_rounding_mode.
11557 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11559         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11560         Simplify logic.
11562 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11564         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11565         Simplify logic.
11567 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11569         [BZ #14138]
11570         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11571         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11572         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11573         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11574         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11575         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11576         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11577         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11578         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11579         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11580         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11581         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11582         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11583         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11584         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11585         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11586         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11587         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11588         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11589         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11590         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11592         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11594         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11595         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11596         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11597         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11598         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11599         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11600         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11601         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11602         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11603         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11604         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11605         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11606         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11607         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11608         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11609         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11610         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11611         syscall.
11612         (geteuid): Likewise.
11613         (getgid): Likewise.
11614         (getuid): Likewise.
11615         (getresgid): Likewise.
11616         (getresuid): Likewise.
11617         (getgroups): Likewise.
11618         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11619         (geteuid): Likewise.
11620         (getgid): Likewise.
11621         (getuid): Likewise.
11622         (getresgid): Likewise.
11623         (getresuid): Likewise.
11624         (getgroups): Likewise.
11625         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11626         (geteuid): Likewise.
11627         (getgid): Likewise.
11628         (getuid): Likewise.
11629         (getresgid): Likewise.
11630         (getresuid): Likewise.
11631         (getgroups): Likewise.
11632         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11633         Likewise.
11634         (geteuid): Likewise.
11635         (getgid): Likewise.
11636         (getuid): Likewise.
11637         (getresgid): Likewise.
11638         (getresuid): Likewise.
11639         (getgroups): Likewise.
11640         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11641         (geteuid): Likewise.
11642         (getgid): Likewise.
11643         (getuid): Likewise.
11644         (getresgid): Likewise.
11645         (getresuid): Likewise.
11646         (getgroups): Likewise.
11647         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11648         Likewise.
11649         (geteuid): Likewise.
11650         (getgid): Likewise.
11651         (getuid): Likewise.
11652         (getgroups): Likewise.
11654         [BZ #14138]
11655         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11656         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11657         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11658         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11659         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11660         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11661         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11662         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11663         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11665         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11666         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11667         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11668         __chown.
11669         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11670         (lchown): Likewise.
11671         (fchown): Likewise.
11672         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11673         Likewise.
11674         (lchown): Likewise.
11675         (fchown): Likewise.
11676         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11677         (lchown): Likewise.
11678         (fchown): Likewise.
11679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11680         Likewise.
11681         (lchown): Likewise.
11682         (fchown): Likewise.
11684 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11686         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11687         Simplify logic.
11689 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11691         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11692         Cleanup logic.
11694 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11696         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11697         Remove unused include.
11699 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11701         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11702         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11703         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11704         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11706 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11707             Helge Deller <deller@gmx.de>
11709         [BZ #17508]
11710         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11711         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11712         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11714 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11716         [BZ #14132]
11717         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11718         Remove macro definition.
11719         (__ashrdi3_v_glibc20): Likewise.
11720         (__lshrdi3_v_glibc20): Likewise.
11721         (__cmpdi2_v_glibc20): Likewise.
11722         (__ucmpdi2_v_glibc20): Likewise.
11723         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11724         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11725         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11726         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11727         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11728         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11730 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11732         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11733         old GNU extension [0] syntax.
11734         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11735         alloca rather than an array member with variable length.
11736         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11737         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11738         (parse_opt): ... here.  Likewise use alloca there.
11739         Validate the -i argument before checking for rootness.
11740         (send_shutdown): New function, broken out of ...
11741         (parse_opt): ... here.
11743 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11745         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11746         macro to get at the _rt_local_ro field.
11747         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11748         ([PIC] case) or _dl_hwcap ([!PIC] case).
11749         * sysdeps/arm/setjmp.S: Likewise.
11751         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11752         * sysdeps/arm/configure.ac: New check to define it.
11753         * sysdeps/arm/configure: Regenerated.
11754         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11755         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11756         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11757         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11758         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11759         Use move/movt pair instead of a load.
11760         (LDST_GLOBAL): Macro removed.
11761         (LDR_GLOBAL): New macro replaces it.
11762         (LDR_HIDDEN): New macro.
11763         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11764         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11766         * setjmp/tst-setjmp-static.c: New file.
11767         * setjmp/Makefile (tests): Add it.
11768         (tests-static): New variable.
11770 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11772         [BZ #17485]
11773         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11775 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11777         [BZ #14132]
11778         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11780 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11782         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11784 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11786         * io/fts.c (dirent_not_directory): New function.
11787         (fts_build): Call it.
11789 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11791         * nptl/version.c (__nptl_main): Use normal __write rather than
11792         INTERNAL_SYSCALL.
11793         (banner): Update copyright years.
11795         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11796         gettimeofday.
11797         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11798         * nptl/pthread_cond_timedwait.c: Likewise.
11799         * nptl/pthread_mutex_timedlock.c: Likewise.
11800         * nptl/sem_timedwait.c: Likewise.
11802         * sysdeps/nptl/bits/libc-lock.h
11803         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11804         (__libc_lock_init_recursive): Return void, not 0.
11805         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11806         (__libc_rwlock_init): Likewise.
11807         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11809 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11811         [BZ #15215]
11812         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11813         (__pthread_once_slow): ... here.
11814         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11815         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11817 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11819         [BZ #15215]
11820         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11821         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11822         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11823         * nptl/pthread_once.c (__pthread_once): Likewise.
11824         Update comments.
11826 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11828         [BZ #14138]
11829         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11830         name.
11831         (writev): Use __libc_writev as strong name.
11832         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11833         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11835 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11837         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11839         * sysdeps/i386/nptl/tls.h
11840         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11841         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11842         New macros.
11843         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11844         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11845         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11846         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11847         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11848         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11850         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11851         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11852         on [__NR_futex].
11853         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11854         broken out of ...
11855         (__pthread_mutex_init): ... here.  Call it.
11856         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11857         Conditionalize PI cases on [__NR_futex].
11858         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11859         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11860         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11862         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11863         conditional on [SIGSETXID].
11864         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11865         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11866         is defined.  Likewise for SIGSETXID.
11867         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11868         Conditionalize definitions on [SIGSETXID].
11869         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11870         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11871         unblocking on [SIGCANCEL].
11873         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11874         [__NR_set_robust_list].
11876 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11878         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11879         (do_compare): Likewise.
11881 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11883         [BZ #15884]
11884         * string/strcoll_l.c: Don't include stdio.h.
11885         (coll_seq): Remove members idxarr and rulearr.
11886         (get_next_seq_cached): Remove function.
11887         (get_next_seq): Likewise.
11888         (get_next_seq_nocache): Rename to get_next_seq.
11889         (do_compare): Remove function.
11890         (do_compare_nocache): Rename to do_compare.
11891         (STRCOLL): Remove weight and rules cache.
11893 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11895         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11896         * sysdeps/arm/sfp-machine.h: ... to here.
11897         * sysdeps/arm/Implies: Remove arm/soft-fp.
11899 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11901         * conform/data/sys/utsname.h-data (*_t): Allow.
11902         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11903         [POSIX] (WEXITED): Do not expect constant.
11904         [POSIX] (WSTOPPED): Likewise.
11905         [POSIX] (WNOHANG): Likewise.
11906         [POSIX] (WNOWAIT): Likewise.
11907         [POSIX] (siginfo_t): Do not expect type or elements.
11908         [POSIX] (pid_t): Do not expect type.
11909         [POSIX] (signal.h): Do not allow header.
11910         [POSIX] (sys/resource.h): Likewise.
11911         [POSIX] (si_*): Do not allow pattern.
11912         [POSIX] (W*): Likewise.
11913         [POSIX] (P_*): Likewise.
11914         [POSIX] (BUS_*): Likewise.
11915         [POSIX] (CLD_*): Likewise.
11916         [POSIX] (FPE_*): Likewise.
11917         [POSIX] (ILL_*): Likewise.
11918         [POSIX] (POLL_*): Likewise.
11919         [POSIX] (SEGV_*): Likewise.
11920         [POSIX] (SI_*): Likewise.
11921         [POSIX] (TRAP_*): Likewise.
11922         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11923         variable.
11925 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11927         [BZ #12926]
11928         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11929         infinite loop when __recvmsg returns 0.
11931 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11933         * CANCEL-FCT-WAIVE: Remove file.
11934         * CANCEL-FILE-WAIVE: Likewise.
11936         [BZ #14132]
11937         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11938         instead of INTVARDEF.
11939         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11940         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11941         rtld_hidden_data_def instead of INTVARDEF.
11942         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11943         * elf/dl-deps.c (expand_dst): Likewise.
11944         * elf/dl-load.c (_dl_dst_count): Likewise.
11945         (_dl_dst_substitute): Likewise.
11946         (decompose_rpath): Likewise.
11947         (_dl_init_paths): Likewise.
11948         (open_path): Likewise.
11949         (_dl_map_object): Likewise.
11950         * elf/rtld.c (dl_main): Likewise.
11951         (process_dl_audit): Likewise.
11952         (process_envvars): Likewise.
11953         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11954         Remove declaration.
11955         (__libc_enable_secure): Use rtld_hidden_proto.
11957 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11959         * elf/dl-load.c
11960         (add_path): New function broken out of _dl_rtld_di_serinfo.
11961         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11963 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11965         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11966         parentheses around macro arguments.
11967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11970         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11971         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11972         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11973         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11974         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11975         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11976         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11978         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11979         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11980         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11981         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11982         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11983         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11986         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11991         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11993         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11995         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11996         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11997         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11998         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11999         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12000         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12001         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12002         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12003         Likewise.
12004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12006         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12010         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12011         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12012         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12014         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12015         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12016         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12022         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12025         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12026         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12027         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12029         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12030         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12031         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12032         (_FP_FRAC_SRS_1): Likewise.
12033         (_FP_FRAC_CLZ_1): Likewise.
12034         (_FP_MUL_MEAT_1_imm): Likewise.
12035         (_FP_MUL_MEAT_1_wide): Likewise.
12036         (_FP_MUL_MEAT_1_hard): Likewise.
12037         (_FP_SQRT_MEAT_1): Likewise.
12038         (_FP_FRAC_ASSEMBLE_1): Likewise.
12039         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12040         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12041         (__FP_CLZ_2): Likewise.
12042         (_FP_MUL_MEAT_2_wide): Likewise.
12043         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12044         (_FP_MUL_MEAT_2_gmp): Likewise.
12045         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12046         (_FP_SQRT_MEAT_2): Likewise.
12047         (_FP_FRAC_ASSEMBLE_2): Likewise.
12048         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12049         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12050         (_FP_FRAC_CLZ_4): Likewise.
12051         (_FP_MUL_MEAT_4_wide): Likewise.
12052         (_FP_MUL_MEAT_4_gmp): Likewise.
12053         (_FP_SQRT_MEAT_4): Likewise.
12054         (_FP_FRAC_ASSEMBLE_4): Likewise.
12055         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12056         * soft-fp/op-common.h (_FP_CMP): Likewise.
12057         (_FP_CMP_EQ): Likewise.
12058         (_FP_CMP_UNORD): Likewise.
12059         (_FP_TO_INT): Likewise.
12060         (_FP_FROM_INT): Likewise.
12061         [!__FP_CLZ] (__FP_CLZ): Likewise.
12062         (_FP_DIV_HELP_imm): Likewise.
12063         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12064         Likewise.
12065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12066         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12069         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12070         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12072         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12076         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12077         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12078         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12079         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12080         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12081         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12087         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12088         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12094         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12095         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12096         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12097         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12098         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12099         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12100         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12101         (FP_UNPACK_RAW_SP): Likewise.
12102         (FP_PACK_RAW_S): Likewise.
12103         (FP_PACK_RAW_SP): Likewise.
12104         (FP_UNPACK_S): Likewise.
12105         (FP_UNPACK_SP): Likewise.
12106         (FP_UNPACK_SEMIRAW_S): Likewise.
12107         (FP_UNPACK_SEMIRAW_SP): Likewise.
12108         (FP_PACK_S): Likewise.
12109         (FP_PACK_SP): Likewise.
12110         (FP_PACK_SEMIRAW_S): Likewise.
12111         (FP_PACK_SEMIRAW_SP): Likewise.
12112         (_FP_SQRT_MEAT_S): Likewise.
12113         (FP_CMP_S): Likewise.
12114         (FP_CMP_EQ_S): Likewise.
12115         (FP_CMP_UNORD_S): Likewise.
12116         (FP_TO_INT_S): Likewise.
12117         (FP_FROM_INT_S): Likewise.
12119         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12121         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12122         (FP_EX_INVALID_IMZ): Likewise.
12123         (FP_EX_INVALID_IMZ_FMA): Likewise.
12124         (FP_EX_INVALID_ISI): Likewise.
12125         (FP_EX_INVALID_ZDZ): Likewise.
12126         (FP_EX_INVALID_IDI): Likewise.
12127         (FP_EX_INVALID_SQRT): Likewise.
12128         (FP_EX_INVALID_CVI): Likewise.
12129         (FP_EX_INVALID_VC): Likewise.
12130         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12131         "invalid" exceptions.
12132         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12133         (_FP_ADD_INTERNAL): Likewise.
12134         (_FP_MUL): Likewise.
12135         (_FP_FMA): Likewise.
12136         (_FP_DIV): Likewise.
12137         (_FP_CMP_CHECK_NAN): Likewise.
12138         (_FP_SQRT): Likewise.
12139         (_FP_TO_INT): Likewise.
12140         (FP_EXTEND): Likewise.
12142 2014-10-09  Allan McRae  <allan@archlinux.org>
12144         * po/fr.po: Update French translation from translation project.
12146 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12148         [BZ #14132]
12149         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12150         of INTDEF.
12151         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12152         (__cxa_atexit): Use libc_hidden_proto.
12153         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12155         [BZ #14132]
12156         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12157         declaration.
12158         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12159         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12160         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12161         [!_ISOMAC] (__iswctype_internal): Likewise.
12162         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12163         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12164         alias.
12165         (fcntl): Remove __fcntl_internal alias.
12166         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12167         __connect_internal alias.
12168         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12169         Likewise.
12171         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12172         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12173         FP_DENORM_ZERO.
12174         (_FP_CHECK_FLUSH_ZERO): New macro.
12175         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12176         (_FP_CMP): Likewise.
12177         (_FP_CMP_EQ): Likewise.
12178         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12179         FP_DENORM_ZERO.
12180         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12181         (FP_TRUNC): Likewise.
12183         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12184         treated as invalid conversion, not as normal exponent.
12186         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12187         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12188         (_FP_CMP_EQ): Likewise.
12189         (_FP_CMP_UNORD): Likewise.
12190         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12191         (FP_CMP_EQ_D): Likewise.
12192         (FP_CMP_UNORD_D): Likewise.
12193         * soft-fp/extended.h (FP_CMP_E): Likewise.
12194         (FP_CMP_EQ_E): Likewise.
12195         (FP_CMP_UNORD_E): Likewise.
12196         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12197         (FP_CMP_EQ_Q): Likewise.
12198         (FP_CMP_UNORD_Q): Likewise.
12199         * soft-fp/single.h (FP_CMP_S): Likewise.
12200         (FP_CMP_EQ_S): Likewise.
12201         (FP_CMP_UNORD_S): Likewise.
12202         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12203         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12204         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12205         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12206         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12207         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12208         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12209         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12210         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12211         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12212         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12213         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12214         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12215         to FP_CMP_Q.
12216         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12217         FP_CMP_Q.
12218         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12219         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12220         FP_CMP_EQ_Q.
12221         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12222         FP_CMP_Q.
12223         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12224         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12225         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12226         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12227         FP_CMP_EQ_Q.
12228         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12229         FP_CMP_Q.
12230         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12231         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12232         FP_CMP_EQ_Q.
12233         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12234         FP_CMP_Q.
12235         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12236         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12237         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12238         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12239         FP_CMP_EQ_Q.
12241         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12242         a subnormal result, set the underflow exception if trapping on
12243         underflow is enabled.
12244         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12245         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12246         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12247         redefine to 0.
12248         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12249         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12250         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12251         * soft-fp/extendxftf2.c (__extendxftf2): Use
12252         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12254         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12255         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12256         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12257         FP_HANDLE_EXCEPTIONS.
12258         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12259         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12260         FP_HANDLE_EXCEPTIONS.
12261         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12262         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12263         FP_HANDLE_EXCEPTIONS.
12264         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12265         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12266         FP_HANDLE_EXCEPTIONS.
12268 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #14132]
12271         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12272         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12273         use INTUSE.
12274         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12275         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12276         Remove alias.
12277         (__adjtimex): Define using libc_hidden_ver.
12278         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12279         Remove declaration.
12280         (ntp_gettime): Call __adjtimex directly.
12281         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12282         Remove declaration.
12283         (ntp_gettimex): Call __adjtimex directly.
12284         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12285         __adjtimex_internal alias.
12287 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12289         [BZ #17460]
12290         * nscd/nscd.c (more_help): Rewrite list of tables collection
12291         using xstrdup and asprintf.
12293         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12295 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12296             Roland McGrath  <roland@hack.frob.com>
12298         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12299         (do_lookup_unique): ... local function 'enter' here; update callers.
12301 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12303         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12304         compat_symbol calls on [SHARED].
12305         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12306         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12307         Remove.
12308         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12309         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12310         (oldsetrlimit): Remove.
12311         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12313         (lchown): New syscall entry.
12314         (oldsetrlimit): Remove.
12315         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12316         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12317         (oldsetrlimit): Remove.
12318         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12320         [BZ #14138]
12321         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12322         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12323         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12324         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12325         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12326         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12327         (fchown): Likewise.
12328         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12329         (fchown): Likewise.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12331         Likewise.
12333 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12335         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12336         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12337         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12338         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12339         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12340         Likewise.
12341         (__old_sem_post): Likewise.
12343 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12345         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12346         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12347         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12348         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12349         Use INLINE_VSYSCALL macro.
12350         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12351         __vdso_clock_gettime.
12352         * sysdeps/unix/sysv/linux/tile/init-first.c
12353         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12354         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12355         __vdso_clock_gettime.
12357         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12358         to set up frame more cleanly.
12360         * sysdeps/tile/memcmp.c: New file.
12362         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12364         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12365         * sysdeps/tile/tilegx/strcasestr.c: New file.
12366         * sysdeps/tile/tilegx/strnlen.c: New file.
12367         * sysdeps/tile/tilegx/strstr.c: New file.
12369         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12371 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12373         * nptl/tst-setuid3.c: Write errors to stdout.
12375 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12377         * elf/dl-deps.c
12378         (preload): New functions broken out of _dl_map_object_deps.
12379         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12381 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #14138]
12384         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12385         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12387 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12389         * sysdeps/mips/strcmp.S: New.
12391 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12393         [BZ #14138]
12394         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12395         (linkat): Likewise.
12396         (mkdirat): Likewise.
12397         (readlinkat): Likewise.
12398         (renameat): Likewise.
12399         (symlinkat): Likewise.
12400         (unlinkat): Likewise.
12401         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12402         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12403         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12404         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12405         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12406         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12407         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12409 2014-09-30  Will Newton  <will.newton@linaro.org>
12411         * math/math.h: Define long double math functions if
12412         _LIBC_TEST is defined.
12413         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12415         * localedata/Makefile: Move assignment to tests-special
12416         into an ifdef testing run-built-tests.
12417         * timezone/Makefile: Likewise.
12419 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12421         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12422         with $(BASH) not $(SHELL).
12424 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12425             Matthew LeGendre  <legendre1@llnl.gov>
12427         [BZ #17411]
12428         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12429         l_reloc_result.
12431 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12433         * stdio-common/printf_fp.c
12434         (hack_digit): New function, broken out of ...
12435         (__printf_fp): ... local function here.  Update call sites.
12436         hack_digit now takes an additional parameter that is a pointer
12437         to a struct of the referenced locals.  Those locals moved inside
12438         the struct and references updated.
12440 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12442         * aclocal.m4: Require autoconf 2.69.
12443         * configure: Regenerated.
12444         * sysdeps/aarch64/configure: Likewise.
12445         * sysdeps/alpha/configure: Likewise.
12446         * sysdeps/arm/armv7/configure: Likewise.
12447         * sysdeps/arm/configure: Likewise.
12448         * sysdeps/ia64/configure: Likewise.
12449         * sysdeps/mach/configure: Likewise.
12450         * sysdeps/mips/configure: Likewise.
12451         * sysdeps/s390/configure: Likewise.
12452         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12455         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12456         file.
12457         * sysdeps/ia64/configure.ac: Likewise.
12459 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12462         specify symbol version for ld.so.  Do not include entry for
12463         libpthread.
12464         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12465         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12466         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12468         [BZ #14171]
12469         * Makeconfig [$(build-shared) = yes]
12470         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12471         makefiles.
12472         [$(build-shared) = yes && $(soversions.mk-done) = t]
12473         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12474         [$(build-shared) = yes && $(soversions.mk-done) = t]
12475         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12476         to Makerules.
12477         [$(build-shared) = yes && $(soversions.mk-done) = t]
12478         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12479         here.
12480         [$(build-shared) = yes && $(soversions.mk-done) = t]
12481         (common-generated): Don't append gnu/lib-names.h and
12482         gnu/lib-names.stmp here.
12483         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12484         (lib-names-h-abi): New variable.
12485         [$(build-shared) = yes && $(soversions.mk-done) = t]
12486         (lib-names-stmp-abi): Likewise.
12487         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12488         abi-variants] (before-compile): Append
12489         $(common-objpfx)$(lib-names-h-abi).
12490         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12491         abi-variants] (common-generated): Append gnu/lib-names.h.
12492         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12493         abi-variants] (install-others-nosubdir): Depend on
12494         $(inst_includedir)/$(lib-names-h-abi).
12495         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12496         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12497         [$(build-shared) = yes && $(soversions.mk-done) = t]
12498         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12499         [$(build-shared) = yes && $(soversions.mk-done) = t]
12500         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12501         [$(build-shared) = yes && $(soversions.mk-done) = t]
12502         (common-generated): Append $(lib-names-h-abi) and
12503         $(lib-names-stmp-abi).
12504         * scripts/lib-names.awk: Do not handle multi being set.
12505         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12506         Remove variable.
12507         (abi-lp64_be-ld-soname): Likewise.
12508         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12509         Likewise.
12510         (abi-hard-ld-soname): Likewise.
12511         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12512         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12513         Remove variable.
12514         (abi-o32_hard-ld-soname): Likewise.
12515         (abi-o32_soft_2008-ld-soname): Likewise.
12516         (abi-o32_hard_2008-ld-soname): Likewise.
12517         (abi-n32_soft-ld-soname): Likewise.
12518         (abi-n32_hard-ld-soname): Likewise.
12519         (abi-n32_soft_2008-ld-soname): Likewise.
12520         (abi-n32_hard_2008-ld-soname): Likewise.
12521         (abi-n64_soft-ld-soname): Likewise.
12522         (abi-n64_hard-ld-soname): Likewise.
12523         (abi-n64_soft_2008-ld-soname): Likewise.
12524         (abi-n64_hard_2008-ld-soname): Likewise.
12525         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12526         Likewise.
12527         (abi-64-v2-ld-soname): Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12529         ld.so entries.
12530         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12531         variable.
12532         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12533         entry.
12534         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12535         variable.
12536         (abi-64-ld-soname): Likewise.
12537         (abi-x32-ld-soname): Likewise.
12538         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12539         entry.
12540         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12542 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12544         [BZ #14138]
12545         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12546         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12547         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12548         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12550         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12551         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12552         syscall entry for GLIBC_2.2 symbol version.
12553         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12554         Likewise.
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12556         (setrlimit): Likewise.
12557         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12558         Likewise.
12560 2014-09-23  Will Newton  <will.newton@linaro.org>
12562         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12563         _LINUX_ARM_SYSDEP_H include guard too.
12564         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12565         define.
12567 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12569         * sysdeps/unix/sysv/linux/eventfd.c:
12570         Make first argument unsigned.
12571         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12572         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12574 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12576         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12577         * socket/sys/socket.h: Likewise
12578         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12580 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12582         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12584 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12586         * time/tst-ftime.c: New test.
12587         * time/Makefile (tests): Add tst-ftime.
12589 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12591         * soft-fp/extended.h: Fix comment formatting.
12592         * soft-fp/op-1.h: Likewise.
12593         * soft-fp/op-2.h: Likewise.
12594         * soft-fp/op-4.h: Likewise.
12595         * soft-fp/op-8.h: Likewise.
12596         * soft-fp/op-common.h: Likewise.
12597         * soft-fp/soft-fp.h: Likewise.
12599         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12601 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12603         [BZ #6652]
12604         * Makeconfig (soversions-default-setname): Remove variable.
12605         ($(common-objpfx)soversions.i): Don't pass default_setname to
12606         soversions.awk.
12607         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12608         oldest_abi to abi-versions.awk.
12609         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12610         * config.make.in (oldest-abi): Remove variable.
12611         * configure.ac (--enable-oldest-abi): Remove configure option.
12612         * configure: Regenerated.
12613         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12614         text.
12615         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12616         * scripts/soversions.awk: Do not handle default_setname variable.
12617         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12618         variable.
12619         * sysdeps/mach/hurd/configure: Regenerated.
12620         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12621         variable.
12622         * sysdeps/unix/sysv/linux/configure: Regenerated.
12624 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12626         * elf/Makefile (CFLAGS-interp.c): Remove.
12627         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12628         path string.
12629         * elf/interp.c: Include generated runtime-linker.h
12631         * Makerules (lib%.so): Don't include $(+interp) in
12632         prerequisites.
12633         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12634         * dlfcn/eval.c: Remove file.
12636         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12637         macros.
12639         [BZ #17266]
12640         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12641         4.2 and newer.
12643         [BZ #17370]
12644         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12646 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12647             Jakub Jelinek  <jakub@redhat.com>
12649         [BZ #17266]
12650         * libio/stdio.h: Check definition of __fortify_function
12651         instead of __extern_always_inline to include bits/stdio2.h.
12652         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12653         check if __extern_always_inline is defined.
12654         [__USE_MISC || __USE_XOPEN]: Likewise.
12655         [__USE_ISOC99] Likewise.
12656         * misc/sys/cdefs.h (__fortify_function): Define only if
12657         __extern_always_inline is defined.
12658         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12659         __extern_always_inline and __extern_inline only for g++-4.3
12660         and newer or a compatible gcc.
12662 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12664         [BZ #17371]
12665         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12666         last change to handle zero prefix length.
12668 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12670         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12671         _SC_REGEX_VERSION.
12673         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12674         _POSIX_RAW_SOCKETS.
12676 2014-09-13  Allan McRae  <allan@archlinux.org>
12678         * po/ru.po: Update Russian translation from translation project.
12680 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12682         * locale/programs/locale.c (show_locale_vars): Inline local function
12683         into its sole call site.  Clean up some style nits.
12684         (print_item): New function, broken out of ...
12685         (show_info): ... local function here.  Clean up style nits.
12687         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12688         out of ...
12689         (set_class_defaults): ... local function set_default here.
12690         Define set_default as a macro locally to pass constant parameters.
12691         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12692         rather than a shared local.
12694         * stdlib/rpmatch.c (try): New function, broken out of ...
12695         (rpmatch): ... local function here.  Also, prototypify definition.
12697 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12699         * scripts/soversions.awk: Do not handle configuration names.
12700         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12701         vendor and os variables to soversions.awk.
12702         * configure.ac: Do not modify gnu-* host_os.
12703         * configure: Regenerated
12704         * shlib-versions: Remove first column with configuration names.
12705         * nptl/shlib-versions: Likewise.
12706         * nptl_db/shlib-versions: Likewise.
12707         * sysdeps/hppa/shlib-versions: Likewise.
12708         * sysdeps/m68k/shlib-versions: Likewise.
12709         * sysdeps/mach/hurd/shlib-versions: Likewise.
12710         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12711         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12712         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12713         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12714         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12715         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12716         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12717         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12719         Likewise.
12720         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12721         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12722         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12723         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12724         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12725         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12726         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12727         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12730         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12732         Regenerated.
12733         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12735         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12737         * shlib-versions: Remove OS-specific entries.  Moved to files in
12738         sysdeps.
12739         * sysdeps/mach/hurd/shlib-versions: New file.
12740         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12742         * nptl/shlib-versions: Remove architecture-specific entries.
12743         Moved to files in sysdeps.
12744         * shlib-versions: Likewise.
12745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12746         file.
12747         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12748         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12749         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12750         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12752         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12753         (UDP_NO_CHECK6_RX): Likewise.
12755 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12757         * sysdeps/posix/sysconf.c (__sysconf): Spell
12758         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12760 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12762         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12763         loading.
12764         * iconv/Versions (__gconv_transliterate): Export for use from
12765         gconv modules.
12766         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12767         (struct __gconv_trans_data, __gconv_trans_fct,
12768         __gconv_trans_context_fct, __gconv_trans_query_fct,
12769         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12770         definitions.
12771         (struct __gconv_step_data): Remove __trans member.
12772         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12773         longer hidden.  Remove unused trans_data argument.
12774         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12775         (__gconv_translit_find): Remove declaration.
12776         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12777         prototype.
12778         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12779         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12780         trans_data argument.  Add hidden definition.
12781         (__gconv_translit_find): Remove.
12782         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12783         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12784         * iconv/skeleton.c: Remove transliteration initialization.
12785         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12786         __gconv_step_data initialization.
12787         * libio/iofwide.c (__libio_translit_): Remove.
12788         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12789         * wcsmbs/btowc.c (__btowc): Likewise.
12790         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12791         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12792         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12793         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12794         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12795         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12796         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12797         * wcsmbs/wctob.c (wctob): Likewise.
12799 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12801         [BZ #16194]
12802         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12803         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12804         register usage.
12805         * sysdeps/x86/Makefile: Adjust.
12807 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12808             Roland McGrath  <roland@hack.frob.com>
12810         * locale/weight.h: Add include guard.
12811         (findidx): Make static rather than auto; take new parameters
12812         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12813         * locale/weightwc.h: Likewise.
12814         * posix/fnmatch_loop.c
12815         (FCT): Change type of EXTRA from int32_t to wint_t.
12816         Don't include either header inside the function.
12817         Call FINDIDX rather than findidx, and pass new arguments.
12818         #undef FINDIDX at the end of the file.
12819         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12820         FINDIDX before including fnmatch_loop.c for the non-wide version.
12821         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12822         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12823         for the wide version.
12824         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12825         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12826         Pass new arguments to findidx.
12827         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12828         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12829         Don't #include it inside the function.  Pass new arguments to findidx.
12830         * posix/regex_internal.h
12831         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12832         (re_string_elem_size_at): Don't #include it inside the function.
12833         Pass new arguments to findidx.
12834         * string/strcoll_l.c: #include WEIGHT_H at top level.
12835         (get_next_seq): Don't #include it inside the function.
12836         Pass new arguments to findidx.
12837         (get_next_seq_nocache): Likewise.
12838         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12839         (STRXFRM): Don't #include it inside the function.
12840         Pass new arguments to findidx.
12842 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12844         [BZ #17344]
12845         * malloc/malloc.c (unlink): Turn asserts into a call to
12846         malloc_printerr.
12848 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12850         [BZ #17370]
12851         * libio/wfileops (do_ftell_wide): Free OUT.
12853 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12855         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12857 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12859         [BZ #17363]
12860         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12861         group if the current group is empty.
12863 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12865         * benchtests/bench-memset.c (test_main): Add more test from size
12866         from 32 to 512 bytes.
12867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12868         Add POWER8 memset object.
12869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12870         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12871         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12872         implementation.
12873         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12874         Likewise.
12875         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12876         multiarch POWER8 memset optimization.
12877         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12878         POWER8 memset optimization.
12880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12881         Remove bzero multiarch objects.
12882         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12883         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12884         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12885         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12886         Remove define.
12887         [__bzero]: Redefine to specific name.
12888         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12889         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12890         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12891         define.
12892         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12893         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12895 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12897         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12898         warnings into errors.
12900         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12901         __cxa_thread_atexit_impl prototype.
12903 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12905         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12906         Fix capitalization of error message.
12908 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12910         * sysdeps/mips/preconfigure: Modify ABI tests.
12912 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12914         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12916 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12917             Carlos O'Donell  <carlos@systemhalted.org>
12919         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12920         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12921         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12922         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12923         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12925         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12926         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12927         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12928         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12930         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12934         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12936         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12938         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12939         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12940         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12941         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12942         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12943         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12944         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12945         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12946         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12947         Deconditionalize the code that was previously under [RESET_PID].
12948         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12949         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12950         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12951         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12952         include sysdep.h.
12954 2014-09-08  Allan McRae  <allan@archlinux.org>
12956         * version.h (RELEASE): Set to "development".
12957         (VERSION): Set to "2.20.90"
12959 2014-09-07  Allan McRae  <allan@archlinux.org
12961         * version.h (RELEASE): Set to "stable".
12962         (VERSION): Set to "2.20"
12963         * include/features.h (__GLIBC_MINOR__): Set to 20.
12965         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12966         Liebler.
12968         * po/ko.po: Update Korean translation from translation project.
12970 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12972         [BZ #17354]
12973         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12974         macro for handling signed relocations.
12976 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12978         [BZ #17325]
12979         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12980         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12981         assert.
12982         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12983         * iconvdata/ibm935.c (BODY): Likewise.
12984         * iconvdata/ibm937.c (BODY): Likewise.
12985         * iconvdata/ibm939.c (BODY): Likewise.
12986         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12987         assert.
12988         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12989         script.
12990         * iconvdata/run-iconv-test.sh: New test loop for checking for
12991         decoder crashers.
12993 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12995         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12996         libm_hidden_ver.
12998 2014-09-01  Allan McRae  <allan@archlinux.org>
13000         * po/eo.po: Update Esperanto translation from translation project.
13002         * po/ca.po: Update Catalan translation from translation project.
13004 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13006         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13007         __proc_dostop call.
13009 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13011         [BZ #17319]
13012         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13013         to call set_thread_area instead of hand written asm.
13014         (__NR_set_thread_area): Removed define.
13015         (TLS_FLAG_WRITABLE): Likewise.
13016         (__ASSUME_SET_THREAD_AREA): Remove check.
13017         (TLS_EBX_ARG): Remove define.
13018         (TLS_LOAD_EBX): Likewise.
13020 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13022         Simplify atomicity of socket creation in bind.
13024         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13025         looking up the name after linking the file.
13027 2014-08-27  Allan McRae  <allan@archlinux.org>
13029         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13031 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13033         [BZ #17187]
13034         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13035         trans_compare, open_translit, __gconv_translit_find):
13036         Remove module loading code.
13038 2014-08-26  Allan McRae  <allan@archlinux.org>
13040         * po/vi.po: Update Vietnamese translation from translation project.
13042         * po/uk.po: Update Ukrainian translation from translation project.
13044         * po/fr.po: Update French translation from translation project.
13046         * po/ru.po: Update Russian translation from translation project.
13048         * po/pl.po: Update Polish translation from translation project.
13050         * po/cs.po: Update Czech translation from translation project.
13052         * po/de.po: Update German translation from translation project.
13054         * po/bg.po: Update Bulgarian translation from translation project.
13056         * po/sv.po: Update Sweedish translation from translation project.
13058         * po/nl.po: Update Dutch translation from translation project.
13060         * po/es.po: Update Spanish translation from translation project.
13062 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13064         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13066         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13067         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13068         (CPPFLAGS-iconvconfig): Likewise.
13069         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13071         * include/libc-symbols.h: Remove unnecessary check for
13072         NOT_IN_libc.
13073         * nptl/pthreadP.h: Likewise.
13074         * sysdeps/aarch64/setjmp.S: Likewise.
13075         * sysdeps/alpha/setjmp.S: Likewise.
13076         * sysdeps/arm/sysdep.h: Likewise.
13077         * sysdeps/i386/setjmp.S: Likewise.
13078         * sysdeps/m68k/setjmp.c: Likewise.
13079         * sysdeps/posix/getcwd.c: Likewise.
13080         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13081         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13082         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13083         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13084         * sysdeps/sh/sh3/setjmp.S: Likewise.
13085         * sysdeps/sh/sh4/setjmp.S: Likewise.
13086         * sysdeps/unix/alpha/sysdep.h: Likewise.
13087         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13089         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13090         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13095         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13098         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13100         * sysdeps/x86_64/setjmp.S: Likewise.
13102 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13104         [BZ #17263]
13105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13106         <stdint.h>.
13107         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13108         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13110 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13112         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13114         [BZ #17262]
13115         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13116         and __x86_64__ when disabling x87 inline functions.
13118 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13120         [BZ #17259]
13121         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13122         asm statement with __cpuid_count.
13124 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13126         * configure.ac: Change __ehdr_start code to dereference the struct.
13127         Run readelf on the output to look for relocations.
13128         * configure: Regenerated.
13130 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #17261]
13133         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13134         value to 0.
13135         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13137 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13139         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13141 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13143         [BZ #16892]
13144         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13145         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13147 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13149         * malloc/malloc.c: Fix typo in comment.
13151 2014-08-09  Allan McRae  <allan@archlinux.org>
13153         * Regenerate libc.po.
13155 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13157         * intl/tst-gettext2.sh: Check every lang file for creation.
13159 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13161         * sysdeps/aarch64/fpu/math_private.h
13162         (libc_feholdsetround_noex_aarch64_ctx): New function.
13164 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13166         * sysdeps/arm/armv6/strcpy.S (strcpy):
13167         Fix performance issue in misaligned cases.
13169 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13171         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13172         Move definition from termios.h.
13173         (struct termio): Likewise.
13174         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13175         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13176         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13177         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13178         Likewise.
13179         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13180         Move definition to ioctl-types.h
13181         (struct termio): Likewise.
13182         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13183         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13184         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13185         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13186         Likewise.
13188 2014-08-05  Richard Henderson  <rth@redhat.com>
13190         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13191         exceptions.
13192         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13193         Add fraiseexcpt.
13194         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13195         Use __feraiseexcept.
13196         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13197         Protect libm symbols with IS_IN_libm.
13199         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13201 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13203         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13205 2014-08-04  Will Newton  <will.newton@linaro.org>
13207         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13208         file.
13210 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13212         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13213         variants for each function.
13215 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13217         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13218         appended ...
13219         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13220         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13221         appended ...
13222         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13223         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13224         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13225         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13226         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13227         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13228         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13229         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13230         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13231         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13232         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13235         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13236         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13237         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13238         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13239         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13240         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13241         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13242         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13243         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13244         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13245         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13246         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13247         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13248         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13249         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13250         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13251         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13252         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13253         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13254         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13255         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13256         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13257         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13258         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13259         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13260         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13261         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13262         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13264         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13266         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13267         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13268         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13269         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13270         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13272         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13273         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13274         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13275         Update #include.
13276         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13277         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13279 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13281         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13282         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13283         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13284         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13285         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13286         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13288 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13290         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13291         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13292         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13293         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13295 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13297         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13298         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13299         (__libc_vfork): Define function under this name.
13300         (__vfork): Define as an alias.
13301         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13302         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13304 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13306         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13307         that was previously under [RESET_PID].
13308         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13310 2014-08-04  Andreas Schwab  <schwab@suse.de>
13312         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13314 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13316         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13317         (main): Likewise.
13319 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13321         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13323 2014-08-01  Richard Henderon  <rth@redhat.com>
13325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13326         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13327         typo in exact zero test.
13328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13329         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13332 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13334         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13335         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13336         * sysdeps/arm/sysdep.h: ... here.
13337         [!__ASSEMBLER__]: Include <stdint.h>.
13339 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13341         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13342         (HAVE_WCTYPE_H): Likewise.
13343         (HAVE_ISWCTYPE): Likewise.
13344         (ENABLE_NLS): Likewise.
13345         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13346         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13348         * posix/regex_internal.c: Check if DEBUG is defined and is
13349         set.
13351         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13352         (HAVE_MBSRTOWCS): Likewise.
13353         * posix/fnmatch.c: Include string.h unconditionally.
13355 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13357         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13358         reversal.
13360 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13362         * sysdeps/generic/safe-fatal.h: New file.
13363         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13364         * nptl/forward.c: Include it.
13365         (__pthread_unwind): Use __safe_fatal as default action, rather
13366         than a bogus use of INTERNAL_SYSCALL that could never work.
13368         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13369         * configure.ac (libc_cv_builtin_trap): New test.
13370         * configure: Regenerated.
13371         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13372         (ABORT_INSTRUCTION): Define using __builtin_trap.
13374         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13375         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13376         * sysdeps/nptl/nptl-signals.h: New file.
13377         * nptl/pthreadP.h: Include <nptl-signals.h>.
13379 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13381         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13382         (ONE_DIRECTION): Define.
13383         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13384         (ONE_DIRECTION): Define.
13385         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13386         (ONE_DIRECTION): Define.
13388 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13390         * sysdeps/s390/Makefile: Delete file.
13391         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13392         * sysdeps/s390/__longjmp.c: Delete file.
13393         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13394         Remove fields __flags and __reserved.
13395         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13396         and add versioning.
13397         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13398         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13399         * sysdeps/s390/rtld-setjmp.S: Likewise.
13400         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13401         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13402         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13403         * sysdeps/s390/s390-32/setjmp.S: ... here.
13404         Add versioning.
13405         (__sigsetjmp): Remove setting __flags field.
13406         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13407         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13408         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13409         * sysdeps/s390/s390-64/setjmp.S: ... here.
13410         Add versioning.
13411         (__sigsetjmp): Remove setting __flags field.
13412         * sysdeps/s390/setjmp.S: Delete file.
13413         * sysdeps/s390/sigjmp.c: Likewise.
13414         * sysdeps/s390/v1-longjmp.c: Likewise.
13415         * sysdeps/s390/v1-setjmp.h: Likewise.
13416         * sysdeps/s390/v1-sigjmp.c: Likewise.
13417         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13418         Remove v1-longjmp_chk.
13419         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13420         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13421         Include debug/longjmp_chk.c and add versioning.
13422         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13423         Include nptl/pt-longjmp.c and add versioning.
13424         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13425         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13426         Include __longjmp.c.
13427         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13428         Move to ...
13429         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13430         (__getcontext): Remove setting __flags field.
13431         Add versioning.
13432         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13433         Don't restore upper high grps.
13434         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13435         Likewise.
13436         (__swapcontext): Remove setting uc_flags field.
13437         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13438         Delete file.
13439         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13440         Include __longjmp.c.
13441         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13442         Move to ...
13443         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13444         (__getcontext): Remove setting __flags field.
13445         Add versioning.
13446         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13447         (__swapcontext): Remove setting uc_flags field.
13448         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13449         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13450         Remove fields uc_high_gprs and __reserved.
13451         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13452         New file with reverted content.
13453         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13454         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13455         Regenerated.
13456         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13457         Regenerated.
13459 2014-07-31  Andreas Schwab  <schwab@suse.de>
13461         * config.h.in (HAVE_IFUNC): Define to 0.
13462         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13463         definedness.
13465 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13468         memmove-avx-unaligned, memcpy-avx-unaligned and
13469         mempcpy-avx-unaligned.
13470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13471         Add tests for AVX memcpy functions.
13472         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13473         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13474         memcpy_chk.
13475         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13476         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13477         memmove_chk.
13478         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13479         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13480         mempcpy_chk.
13481         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13482         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13483         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13485 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13487         [BZ #17213]
13488         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13489         powerpc64le.
13491 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13493         [BZ #16839]
13494         * manual/llio.texi: Add section about open file description locks.
13495         * manual/examples/ofdlocks.c: Example of open file description
13496         lock usage.
13497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13498         F_OFD_SETLK, and F_OFD_SETLKW.
13500 2014-07-23  Allan McRae  <allan@archlinux.org>
13502         * po/es.po: Update Spanish translation from translation project.
13504 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13506         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13508 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13510         [BZ #17078]
13511         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13512         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13513         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13515 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #17088]
13518         * math/fesetenv.c (__fesetenv)
13519         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13520         * math/feupdateenv.c (__feupdateenv)
13521         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13523         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13524         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13525         (__ASSUME_SOCKETCALL): Do not define.
13527         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13528         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13529         (__ASSUME_SOCKETCALL): Do not define.
13530         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13531         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13532         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13533         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13535         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13536         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13537         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13539         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13540         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13541         (__ASSUME_SOCKETCALL): Do not define.
13542         (__ASSUME_IPC64): Define unconditionally.
13543         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13544         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13545         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13546         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13547         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13548         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13549         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13550         Likewise.
13552         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13553         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13554         (__ASSUME_SOCKETCALL): Do not define.
13555         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13556         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13557         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13558         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13559         (__ASSUME_REQUEUE_PI): Define unconditionally.
13560         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13561         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13562         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13563         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13564         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13565         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13567         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13568         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13569         (__ASSUME_SOCKETCALL): Do not define.
13570         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13571         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13572         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13573         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13574         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13575         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13577         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13578         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13579         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13580         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13581         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13582         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13583         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13584         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13585         (__ASSUME_GETCPU_SYSCALL): Likewise.
13587         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13588         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13589         cases for individual architectures.
13590         * sysdeps/gnu/configure: Regenerated.
13591         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13592         LIBC_SLIBDIR_RTLDDIR.
13593         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13594         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13595         LIBC_SLIBDIR_RTLDDIR.
13596         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13598         LIBC_SLIBDIR_RTLDDIR.
13599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13600         Regenerated.
13601         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13602         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13603         file.
13604         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13605         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13606         file.
13607         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13608         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13609         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13610         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13612         * sysdeps/aarch64/shlib-versions: Move to ...
13613         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13614         * sysdeps/alpha/shlib-versions: Move to ...
13615         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13616         * sysdeps/arm/shlib-versions: Move to ...
13617         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13618         * sysdeps/hppa/shlib-versions: Move all contents except for
13619         libgcc_s entry to ...
13620         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13621         entry from ...
13622         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13623         * sysdeps/ia64/shlib-versions: Move to ...
13624         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13625         entry from ...
13626         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13627         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13628         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13629         * sysdeps/microblaze/shlib-versions: Move to ...
13630         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13631         * sysdeps/mips/shlib-versions: Move to ...
13632         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13633         entry from ...
13634         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13635         * sysdeps/tile/shlib-versions: Move to ...
13636         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13637         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13638         from ...
13639         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13640         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13641         entry from ...
13642         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13644 2014-07-17  Will Newton  <will.newton@linaro.org>
13646         * sysdeps/arm/bits/atomic.h
13647         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13648         (__arch_compare_and_exchange_bool_16_int): Likewise.
13649         (__arch_compare_and_exchange_bool_64_int): Likewise.
13651         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13652         into an #else block.
13654 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13656         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13657         just Linux configurations.  Test empirically that the compiler sets
13658         __ARM_EABI__, rather than using the tuple to decide.
13659         * sysdeps/arm/preconfigure: Regenerated.
13660         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13661         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13662         contents appended ...
13663         * sysdeps/arm/configure.ac: ... here.
13664         * sysdeps/arm/configure: Regenerated.
13666 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13668         * nptl/pthread_kill.c: New file.
13669         * nptl/pthread_sigmask.c: New file.
13670         * nptl/pthread_sigqueue.c: New file.
13672         * sysdeps/nptl/lowlevellock.h: New file.
13673         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13674         * sysdeps/nptl/lowlevellock-futex.h: New file.
13676         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13677         Remove dead declarations.
13679 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13681         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13682         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13683         config-cflags-avx2.
13684         * sysdeps/x86_64/configure.ac: Likewise.
13685         * sysdeps/i386/configure: Regenerated.
13686         * sysdeps/x86_64/configure: Likewise.
13687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13688         memset-avx2 only if config-cflags-avx2 is yes.
13689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13690         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13691         defined.
13692         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13693         only if HAVE_AVX2_SUPPORT is defined.
13694         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13696 2014-07-14  Alan Modra  <amodra@gmail.com>
13698         [BZ #17153]
13699         * elf/elf.h (DT_PPC64_NUM): Correct value.
13700         * NEWS: Add to fixed bug list.
13702 2014-07-13  Jim Meyering  <meyering@fb.com>
13704         [BZ 17150]
13705         regex: don't deref NULL upon heap allocation failure
13706         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13707         failure in one more place.
13708         To trigger the segfault, configure grep -with-included-regex,
13709         build it, and run these commands:
13710         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13712 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13714         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13716 2014-07-11  Richard Henderson  <rth@redhat.com>
13718         * sysdeps/aarch64/libm-test-ulps: Update.
13720 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13722         [BZ #17135]
13723         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13724         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13725         (__nptl_setxid): Initialize error member.  Call
13726         __nptl_setxid_error.
13727         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13728         * nptl/descr.h (struct xid_command): Add error member.
13729         * nptl/tst-setuid3.c: New file.
13730         * nptl/Makefile (tests): Add it.
13732 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13734         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13735         New define.
13736         (__lll_trylock): Use __lll_base_trylock.
13737         (__lll_cond_trylock): Likewise.
13739 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13741         * nptl/pthread_create.c (start_thread): Use atomic_or and
13742         lll_futex_wake directly rather than lll_robust_dead.
13743         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13744         (lll_robust_dead): Macro removed.
13745         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13746         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13747         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13748         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13750         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13751         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13752         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13753         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13754         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13756         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13761         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13762         Use atomic_compare_and_exchange_val_acq directly rather than
13763         lll_robust_trylock.
13764         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13765         (__lll_robust_trylock, lll_robust_trylock): Removed.
13766         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13767         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13768         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13770         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13771         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13772         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13773         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13775         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13776         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13777         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13778         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13781 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13783         * manual/locale.texi (Locale Names): New section documenting
13784         locale name syntax.  Adjust menu and node chaining accordingly.
13785         (Choosing Locale): Reference Locale Names, Locale Categories.
13786         Mention setting LC_ALL=C.  Reflect that name syntax is now
13787         documented.
13788         (Locale Categories): New section title.  Reference Locale Names.
13789         LC_ALL is an environment variable, but not a category.
13790         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13791         description, now in Locale Name.  Reference that section.  Locale
13792         name syntax is now documented.
13794 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13796         [BZ #17137]
13797         * locale/findlocale.c (name_present, valid_locale_name): New
13798         functions.
13799         (_nl_find_locale): Use the loc_name variable to store name
13800         candidates.  Call name_present and valid_locale_name to check and
13801         validate locale names.  Return an error if the locale is invalid.
13803 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13805         * locale/setlocale.c (setlocale): Use strdup for allocating
13806         composite name copy.
13808 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13810         Sync up with gnulib.
13811         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13812         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13813         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13814         and _GL_ARG_NONNULL.
13815         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13816         [!_LIBC]: Include code for Windows and Cygwin.
13817         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13818         Include prototype for int strerror_r.
13819         [!_LIBC] (is_open): New function.
13820         (flush_stdout): New function.
13821         (print_errno_message): Use it.
13822         (error): Likewise.
13823         (error_at_line): Likewise.
13824         (error_tail) Add function attribute macros.  Use
13825         __builtin_expect.
13827         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13829         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13831         * io/ftw.c: Include sys/param.h unconditionally.
13833         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13835         [BZ #17125]
13836         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13837         libc_freeres_ptr.
13838         (freecache): New function to free CACHE on exit.
13840         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13841         initialization.
13843 2014-07-09  David S. Miller  <davem@davemloft.net>
13845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13847         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13848         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13849         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13850         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13851         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13852         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13853         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13854         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13855         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13856         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13857         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13858         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13859         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13861 2014-07-09  Andreas Schwab  <schwab@suse.de>
13863         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13864         output.
13865         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13866         (do_test): Likewise.
13868         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13870 2014-07-09  Will Newton  <will.newton@linaro.org>
13872         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13873         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13874         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13875         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13876         * sysdeps/hppa/start.S (_start): Likewise.
13878 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13882         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13883         defined.
13885 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13887         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13888         after checking that it is non-NULL.
13890         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13892 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13894         * sysdeps/powerpc/memmove.c: Remove file.
13895         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13896         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13898         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13900         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13901         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13902         string memmove instead of removed powerpc one.
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13905         [weak_alias]: Fix compiler warning due trailing data.
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13907         [weak_alias]: Likewise.
13908         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13909         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13912         (__libc_ifunc_impl_list): Add memmove functions.
13914 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13916         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13917         Remove code.
13918         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13919         Likewise
13920         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13921         Likewise
13922         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13923         Likewise
13924         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13925         Likewise
13926         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13927         Likewise
13928         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13929         Likewise
13930         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13931         Likewise
13932         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13933         Likewise
13934         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13935         Likewise
13936         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13937         Likewise
13938         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13939         Likewise
13940         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13941         Likewise
13942         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13943         Likewise
13944         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13945         Likewise
13946         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13947         Likewise
13948         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13949         Likewise
13951 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13953         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13954         to avoid alignment traps in non-cacheable memory.
13955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13958         multiarch objects.
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13960         file: multiarch power7 memmove.
13961         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13962         multiarch default memmove.
13963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13964         multiarch memove for powerpc32/power4.
13966         * string/bcopy.c: Use full path to include memmove.c.
13967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13968         multiarch objects.
13969         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13970         bcopy for powerpc64.
13971         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13972         bcopy for powerpc64.
13973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13974         and memmove implementations.
13975         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13976         optimized multiarch memmove for POWER7/powerpc64.
13977         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13978         default multiarch memmove for powerpc64.
13979         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13980         multiarch for powerpc64.
13981         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13982         for POWER7/powerpc64.
13983         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13984         memmove for POWER7/powerpc64.
13986         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13987         glibc default one.
13989         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13990         __ELF_NATIVE_CLASS equal to 64.
13992 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13994         * sysdeps/nptl/lowlevellock.h: File removed.
13996         * NEWS: NPTL is no longer an add-on!
13997         * nptl/internaltypes.h: Moved ...
13998         * sysdeps/nptl/internaltypes.h: ... here.
13999         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14000         * sysdeps/nptl/fork.c: Likewise.
14001         * sysdeps/nptl/gai_misc.h: Likewise.
14002         * sysdeps/nptl/librt-cancellation.c: Likewise.
14003         * sysdeps/nptl/jmp-unwind.c: Likewise.
14004         * sysdeps/nptl/setxid.h: Likewise.
14005         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14006         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14007         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14008         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14009         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14010         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14011         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14012         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14013         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14014         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14015         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14016         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14017         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14018         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14019         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14020         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14021         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14022         * nptl/Makeconfig: Moved ...
14023         * sysdeps/nptl/Makeconfig: ... here.
14024         * nptl/configure: File removed.
14025         * nptl/ANNOUNCE: File removed.
14026         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14027         * sysdeps/unix/sysv/linux/configure: Regenerated.
14029         * nptl/Makefile (routines): Add libc_pthread_init,
14030         libc_multiple_threads, register-atfork and unregister-atfork.
14031         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14032         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14033         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14034         pthread-pi-defines.sym, structsem.sym.
14035         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14036         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14037         [$(subdir) = nptl] (tests): Add tst-setgetname.
14038         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14039         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14040         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14041         [!LIBC_SIGACTION]: Remove aliases.
14042         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14043         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14044         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14045         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14046         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14047         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14048         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14050         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14051         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14052         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14053         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14054         __libc_allocate_rtsig_private.
14055         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14056         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14057         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14058         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14059         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14060         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14061         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14062         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14063         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14064         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14065         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14066         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14067         * nptl/internaltypes.h: ... here.
14068         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14069         * sysdeps/nptl/jmp-unwind.c: ... here.
14070         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14071         * nptl/libc-lowlevellock.c: ... here.
14072         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14073         * nptl/libc_multiple_threads.c: ... here.
14074         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14075         * nptl/libc_pthread_init.c: ... here.
14076         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14077         * nptl/lowlevelbarrier.sym: ... here.
14078         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14079         * nptl/lowlevelcond.sym: ... here.
14080         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14081         * nptl/lowlevellock.c: ... here.
14082         * nptl/lowlevellock.h: Moved ...
14083         * sysdeps/nptl/lowlevellock.h: ... here.
14084         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14085         * nptl/lowlevelrobustlock.c: ... here.
14086         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14087         * nptl/lowlevelrobustlock.sym: ... here.
14088         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14089         * nptl/lowlevelrwlock.sym: ... here.
14090         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14091         * nptl/pt-fork.c: ... here.
14092         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14093         * nptl/pthread-pi-defines.sym: ... here.
14094         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14095         * nptl/pthread_attr_getaffinity.c: ... here.
14096         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14097         * nptl/pthread_attr_setaffinity.c: ... here.
14098         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14099         * nptl/pthread_mutex_cond_lock.c: ... here.
14100         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14101         Update #include.
14102         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14103         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14104         * nptl/pthread_once.c: ... here, replacing old file.
14105         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14106         * nptl/pthread_yield.c: ... here.
14107         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14108         * nptl/register-atfork.c: ... here.
14109         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14110         * nptl/sem_post.c: ... here.
14111         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14112         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14113         * nptl/sem_timedwait.c: ... here.
14114         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14115         * nptl/sem_trywait.c: ... here.
14116         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14117         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14118         * nptl/sem_wait.c: ... here.
14119         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14120         * nptl/structsem.sym: ... here.
14121         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14122         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14123         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14124         * nptl/unregister-atfork.c: ... here.
14125         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14126         * nptl/unwindbuf.sym: ... here.
14127         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14128         * sysdeps/nptl/fork.c: ... here.
14129         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14130         * sysdeps/nptl/fork.h: ... here.
14131         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14132         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14133         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14134         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14135         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14136         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14137         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14138         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14139         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14140         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14141         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14142         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14143         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14144         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14145         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14146         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14147         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14148         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14149         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14150         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14151         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14152         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14153         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14154         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14155         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14156         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14157         * sysdeps/unix/sysv/linux/raise.c: ... here.
14158         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14159         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14160         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14161         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14162         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14163         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14164         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14165         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14166         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14167         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14168         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14169         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14170         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14171         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14172         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14174 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         * sysdeps/generic/memcopy.h: Add comment for
14177         MEMCPY_OK_FOR_FWD_MEMMOVE.
14179 2014-07-04  Will Newton  <will.newton@linaro.org>
14181         * string/memchr.c: Merge from gnulib.
14182         [_LIBC]: Remove conditionals.
14183         (__ptr_t): Remove define.
14184         (LONG_MAX_32_BITS): Likewise.
14185         (LONG_MAX): Likewise.
14186         (MEMCHR): Use ANSI prototype and optimize algorithm.
14188         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14190 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14192         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14193         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14195         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14196         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14197         in a bare environment with no <stdlib.h> installed.
14198         * sysdeps/nptl/configure: Regenerated.
14200         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14202         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14203         AC_EGREP_CPP for kernel header checks, so they only succeed if
14204         including <linux/version.h> actually works right.
14205         * sysdeps/unix/sysv/linux/configure: Regenerated.
14207         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14208         value so it's not diagnosed as unused.
14210         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14211         thing) with "ifeq ($(subdir),rt)".
14213 2014-07-03  Richard Henderson  <rth@redhat.com>
14215         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14216         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14217         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14219         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14220         (math_force_eval): New.
14222         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14223         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14225         * sysdeps/alpha/fpu/s_round.c: Remove file.
14226         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14228         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14229         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14230         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14231         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14232         (_dl_start, print_statistics): Likewise.
14233         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14234         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14236         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14237         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14238         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14239         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14240         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14241         (HP_SMALL_TIMING_AVAIL): Define.
14242         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14243         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14244         (HP_SMALL_TIMING_AVAIL): Define.
14245         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14246         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14248         * sysdeps/aarch64/hp-timing.h: New file.
14250         * sysdeps/generic/hp-timing.h: Remove dead comment.
14251         * sysdeps/generic/hp-timing-common.h: New file.
14252         * sysdeps/alpha/hp-timing.h: Include it.
14253         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14254         * sysdeps/i386/i686/hp-timing.h: Likewise.
14255         * sysdeps/ia64/hp-timing.h: Likewise.
14256         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14257         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14258         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14259         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14260         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14261         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14262         (hp_timing_t): New.
14264         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14265         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14266         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14267         * elf/rtld.c (_dl_start_final): Likewise.
14268         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14269         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14270         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14271         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14272         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14273         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14274         (HP_TIMING_DIFF_INIT): Remove.
14275         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14277         (HP_TIMING_DIFF_INIT): Remove.
14278         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14279         * sysdeps/i386/i686/hp-timing.c: Remove file.
14280         * sysdeps/x86_64/hp-timing.c: Remove file.
14281         * sysdeps/ia64/hp-timing.c: Remove file.
14282         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14283         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14284         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14285         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14287         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14288         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14289         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14290         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14291         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14292         (HP_TIMING_ACCUM): Remove.
14293         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14294         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14295         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14297         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14298         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14299         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14300         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14301         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14302         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14303         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14304         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14306         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14308 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14310         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14312 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14314         Sync up with gettext.
14315         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14316         [_MSC_VER]: Include malloc.h
14317         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14318         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14319         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14320         TEMP_FAILURE_RETRY.  Cast return of alloca.
14321         [!_LIBC] Call gl_rwlock_init.
14322         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14324 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14326         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14327         before checking its value.
14329 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14331         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14333         * debug/memcpy_chk.c: Don't include pagecopy.h.
14334         * debug/mempcpy_chk.c: Likewise.
14335         * string/memcpy.c: Likewise.
14336         * string/memmove.c: Likewise.
14337         * sysdeps/powerpc/memmove.c: Likewise.
14338         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14339         definition of PAGE_COPY_FWD_MAYBE here...
14340         * sysdeps/generic/pagecopy.h: ... from here.
14341         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14343 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14344             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14346         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14348         optimizations.
14349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14350         (__libc_ifunc_impl_list): Likewise.
14351         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14352         multiarch strcat for PPC64.
14353         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14354         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14356 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14358         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14360 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14362         * intl/loadmsgcat.c: Remove declaration of
14363         get_sysdep_segment_value.
14364         (get_sysdep_segment_value): Use ISO C style.
14365         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14366         semicolon.  Fix typo and formatting in comment.
14367         (_nl_unload_domain): Use ISO C style.
14369         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14371 2014-07-02  Will Newton  <will.newton@linaro.org>
14373         * malloc/obstack.c: Merge from gnulib master.
14374         [HAVE_CONFIG_H]: Remove conditional code.
14375         [!_LIBC]: Include config.h.
14376         [!ELIDE_CODE]: Don't include inttypes.h, include
14377         stdint.h unconditionally.
14378         (print_and_abort): Mark as _Noreturn.
14379         (_obstack_allocated_p): Mark as __attribute_pure__.
14380         (obstack_free): Rename to __obstack_free.
14381         [!__attribute__]: Remove conditional code.
14382         * malloc/obstack.h: Merge from gnulib master.
14383         [__cplusplus]: Move conditional down.
14384         [!__attribute_pure__]: Define __attribute_pure__ here
14385         if it is not already defined.
14386         (_obstack_memory_used): Mark as __attribute_pure__.
14387         [!__obstack_free]: Define as obstack_free.
14388         [__GNUC__]: Remove check for ancient NeXT gcc.
14390 2014-07-02  Will Newton  <will.newton@linaro.org>
14391             Paul Eggert  <eggert@cs.ucla.edu>
14393         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14395 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14397         * resolv/gethnamaddr.c: Add comment warning that the file is
14398         not maintained.
14400 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14402         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14403         entries.
14405         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14406         entry for aio_cancel and aio_cancel64.
14407         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14408         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14409         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14411         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14412         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14414         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14415         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14416         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14417         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14418         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14419         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14421 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14423         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14424         * nptl/pthread_mutex_lock.c: Likewise.
14425         * nptl/pthread_mutex_timedlock.c: Likewise.
14426         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14428 2014-07-01  Richard henderson  <rth@redhat.com>
14430         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14431         (__isnan, __isnanl): Remove.
14432         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14434         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14436 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14438         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14440 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14442         * resolv/nss_dns/dns-host.c (getanswer_r)
14443         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14445 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14447         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14448         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14449         undefine.
14450         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14451         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14453 2014-07-01  Roland McGrath <roland@hack.frob.com>
14455         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14456         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14458         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14459         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14461         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14462         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14463         ... here.
14464         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14465         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14467         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14468         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14469         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14470         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14472         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14473         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14474         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14475         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14476         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14477         Moved ...
14478         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14479         ... here.
14480         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14481         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14482         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14483         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14484         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14485         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14486         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14487         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14488         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14489         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14490         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14491         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14492         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14493         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14494         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14495         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14496         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14497         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14498         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14499         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14500         ... here.
14501         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14502         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14503         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14504         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14505         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14506         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14507         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14508         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14510 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14512         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14513         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14514         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14515         Add sysdep.
14517 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14521 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14523         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14524         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14526         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14528         * sysdeps/arm/libm-test-ulps: Regenerated.
14530 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14531             Roland McGrath <roland@hack.frob.com>
14533         * test-skeleton.c (signal_handler): Kill the whole process group
14534         before killing the child individually.
14535         (main): Report any failure on `setpgid'.
14537 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14539         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14540         from _TLS_H to _ARM_NPTL_TLS_H.
14541         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14542         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14544 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14546         [BZ #16539]
14547         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14548         (__expm1l): Return argument unchanged when small but not
14549         subnormal.
14551         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14552         include macro name.
14553         (_FP_UNPACK_RAW_1_P): Likewise.
14554         (_FP_PACK_RAW_1): Likewise.
14555         (_FP_PACK_RAW_1_P): Likewise.
14556         (_FP_MUL_MEAT_1_wide): Likewise.
14557         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14558         (_FP_MUL_MEAT_1_hard): Likewise.
14559         (_FP_DIV_MEAT_1_imm): Likewise.
14560         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14561         (_FP_DIV_MEAT_1_udiv): Likewise.
14562         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14563         (_FP_UNPACK_RAW_2): Likewise.
14564         (_FP_UNPACK_RAW_2_P): Likewise.
14565         (_FP_PACK_RAW_2): Likewise.
14566         (_FP_PACK_RAW_2_P): Likewise.
14567         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14568         (_FP_MUL_MEAT_2_wide): Likewise.
14569         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14570         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14571         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14572         (_FP_MUL_MEAT_2_gmp): Likewise.
14573         (_FP_DIV_MEAT_2_udiv): Likewise.
14574         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14575         (_FP_FRAC_SRL_4): Likewise.
14576         (_FP_FRAC_SRST_4): Likewise.
14577         (_FP_FRAC_SRS_4): Likewise.
14578         (_FP_UNPACK_RAW_4): Likewise.
14579         (_FP_UNPACK_RAW_4_P): Likewise.
14580         (_FP_PACK_RAW_4): Likewise.
14581         (_FP_PACK_RAW_4_P): Likewise.
14582         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14583         (_FP_MUL_MEAT_4_wide): Likewise.
14584         (_FP_MUL_MEAT_4_gmp): Likewise.
14585         (umul_ppppmnnn): Likewise.
14586         (_FP_DIV_MEAT_4_udiv): Likewise.
14587         (__FP_FRAC_ADD_4): Likewise.
14588         (__FP_FRAC_SUB_3): Likewise.
14589         (__FP_FRAC_SUB_4): Likewise.
14590         (__FP_FRAC_DEC_3): Likewise.
14591         (__FP_FRAC_DEC_4): Likewise.
14592         (__FP_FRAC_ADDI_4): Likewise.
14593         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14594         (_FP_FRAC_SRL_8): Likewise.
14595         (_FP_FRAC_SRS_8): Likewise.
14597         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14598         include macro name.
14599         (FP_UNPACK_RAW_EP): Likewise.
14600         (FP_PACK_RAW_E): Likewise.
14601         (FP_PACK_RAW_EP): Likewise.
14602         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14603         (_FP_ISSIGNAN): Likewise.
14604         (_FP_ADD_INTERNAL): Likewise.
14605         (_FP_FMA): Likewise.
14606         (_FP_CMP): Likewise.
14607         (_FP_SQRT): Likewise.
14608         (_FP_TO_INT): Likewise.
14609         (_FP_FROM_INT): Likewise.
14610         (FP_EXTEND): Likewise.
14611         (_FP_DIV_MEAT_N_loop): Likewise.
14613 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14615         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14616         throughout.
14618 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14620         [BZ #17097]
14621         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14622         result with correct sign in case of exponents that produce
14623         overflow except for X very close to 1.
14625 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14627         mktime: merge #if/#ifdef usage from glibc
14628         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14629         as that works with both Glibc's and Gnulib's style.
14630         See thread starting at Siddhesh Poyarekar's bug report at:
14631         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14633 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14635         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14636         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14637         * sysdeps/tile/tilegx/memmove.c: Remove file.
14639 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14641         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14642         abi-name definition.
14643         * scripts/soversions.awk: Do not handle or generate ABI lines.
14644         * shlib-versions: Remove ABI entries.
14645         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14646         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14648 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14651         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14652         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14653         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14655         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14657         Moved ...
14658         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14659         ... here.
14660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14661         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14663         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14665         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14667         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14669         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14671         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14673         Moved ...
14674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14676         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14678         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14680         Moved ...
14681         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14683         Moved ...
14684         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14686         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14688         Moved ...
14689         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14691         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14693         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14695         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14697         Moved ...
14698         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14700         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14701         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14702         Moved ...
14703         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14705         Moved ...
14706         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14708         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14709         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14710         Moved ...
14711         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14712         ... here.
14713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14714         Identical file removed.
14715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14716         Moved ...
14717         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14719         Identical file removed.
14720         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14721         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14723         Moved ...
14724         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14725         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14726         Identical file removed.
14727         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14728         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14729         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14730         Identical file removed.
14731         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14732         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14734         Identical file removed.
14735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14736         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14738         Identical file removed.
14739         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14740         Moved ...
14741         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14743         Identical file removed.
14744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14745         Moved ...
14746         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14750         Identical file removed.
14751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14752         Moved ...
14753         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14754         ... here.
14755         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14756         Identical file removed.
14757         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14758         Moved ...
14759         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14761         Identical file removed.
14762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14763         Moved ...
14764         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14770         Moved ...
14771         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14772         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14775         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14776         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14777         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14778         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14779         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14781 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14783         [BZ #17092]
14784         * nscd/nscd.c (monitor_child): Return exit status of child
14785         instead of return value from wait syscall.
14787 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14789         * configure.ac (libc_commonpagesize): Remove variable.
14790         (libc_relro_required): Likewise.
14791         (libc_cv_z_relro): Remove configure test.
14792         * configure: Regenerated.
14793         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14794         variable.
14795         (libc_relro_required): Likewise.
14796         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14797         (libc_relro_required): Likewise.
14798         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14799         (libc_relro_required): Likewise.
14800         * sysdeps/arm/preconfigure: Regenerated.
14801         * sysdeps/ia64/preconfigure: Remove file.
14802         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14803         variable.
14804         (libc_relro_required): Likewise.
14806         [BZ #16561]
14807         [BZ #16562]
14808         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14809         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14810         recompute overflowing results in original rounding mode.
14811         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14812         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14813         recompute overflowing results in original rounding mode.
14814         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14815         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14816         recompute overflowing results in original rounding mode.
14817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14818         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14819         recompute overflowing results in original rounding mode.
14820         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14821         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14822         recompute overflowing results in original rounding mode.
14823         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14824         (libc_feholdsetround_ctx): New macro.
14825         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14826         * sysdeps/i386/fpu/libm-test-ulps: Update.
14827         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14829 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14831         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14832         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14833         corresponding .cpsetup call.
14835 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14837         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14838         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14839         * sysdeps/arm/Makefile [$(subdir) = csu]
14840         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14841         (static-only-routines): Add aeabi_read_tp here.
14842         (shared-only-routines): Add libc-aeabi_read_tp here.
14843         (CFLAGS-libc-start.c): Add -fexceptions here.
14844         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14845         (sysdep_routines, static-only-routines, shared-only-routines):
14846         Don't add to these here.
14847         (CFLAGS-libc-start.c): Likewise.
14849         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14850         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14851         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14852         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14853         * sysdeps/arm/Makefile [$(subdir) = rt]
14854         (librt-sysdep_routines, librt-shared-only-routines):
14855         Append rt-aeabi_unwind_cpp_pr1 here.
14856         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14857         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14858         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14859         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14860         Append nptl-aeabi_unwind_cpp_pr1 here.
14861         (tests): Filter out tst-cleanupx4 here.
14862         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14863         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14864         Don't do those here.
14866 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14868         * scripts/list-sources.sh: Do not handle ports specially.
14870 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14872         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14873         * sysdeps/arm/feupdateenv.c: Likewise.
14875         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14877 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14879         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14880         trailing whitespace removed.
14881         * scripts/config.guess: Update to version 2014-03-23.
14882         * scripts/config.sub: Update to version 2014-05-01
14883         * scripts/install-sh: Update to version 2013-12-25.23.
14884         * scripts/move-if-change: Update from gnulib.
14886 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14888         * debug/memmove_chk.c: Remove pagecopy.h include.
14890 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14892         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14893         identical to gnulib mktime.
14895 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14897         * configure.ac: Do not test for machine being rs6000.  Do not test
14898         for powerpc*-*soft.
14899         * configure: Regenerated.
14901         [BZ #11505]
14902         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14903         test.
14904         * configure: Regenerated.
14905         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14906         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14907         Remove configure test.
14908         * sysdeps/arm/configure: Regenerated.
14909         * sysdeps/nptl/configure.ac: Do not check
14910         libc_cv_asm_cfi_directives.
14911         * sysdeps/nptl/configure: Regenerated.
14912         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14913         * sysdeps/x86_64/nptl/configure: Remove generated file.
14914         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14915         unconditional.
14916         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14918 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14920         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14921         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14922         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14923         it is defined.
14925         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14926         instead of whether it is defined.
14927         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14928         * sysdeps/hppa/dl-machine.h: Likewise.
14929         * sysdeps/ia64/dl-machine.h: Likewise.
14930         * sysdeps/m68k/dl-machine.h: Likewise.
14931         * sysdeps/microblaze/dl-machine.h: Likewise.
14932         * sysdeps/mips/dl-machine.: Likewise.
14933         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14934         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14935         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14936         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14937         * sysdeps/sh/dl-machine.h: Likewise.
14938         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14939         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14940         * sysdeps/tile/dl-machine.h: Likewise.
14941         * sysdeps/x86_64/dl-machine.h: Likewise.
14943         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14944         code.
14945         (verify_persistent_db): Likewise.
14947 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14950         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14952         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14954         Moved ...
14955         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14956         ... here.
14957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14958         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14960         Identical file removed.
14961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14962         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14964         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14966         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14968         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14970         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14972         Moved ...
14973         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14975         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14977         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14979         Moved ...
14980         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14982         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14984         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14986         Identical file removed.
14987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14988         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14990         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14992         Moved ...
14993         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14994         ... here.
14995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14996         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14998         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15000         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15002         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15004         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15006         Moved ...
15007         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15009         Moved ...
15010         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15012         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15014         Moved ...
15015         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15017         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15020         folded into ...
15021         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15022         * sysdeps/unix/sysv/linux/s390/Versions
15023         (libpthread: GLIBC_2.19): New version set.
15024         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15025         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15026         (librt: GLIBC_2.3.3): New version set.
15027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15028         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15029         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15030         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15031         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15032         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15033         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15034         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15035         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15036         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15037         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15038         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15039         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15040         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15041         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15042         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15043         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15044         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15045         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15046         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15047         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15051         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15052         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15053         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15054         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15055         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15056         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15057         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15058         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15067         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15069         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15071         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15073         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15074         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15075         (__libc_vfork): Define the function under this name.
15076         [!NOT_IN_libc] (__vfork): Make this an alias.
15077         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15079         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15080         (__libc_vfork): Define the function under this name.
15081         [!NOT_IN_libc] (__vfork): Make this an alias.
15082         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15083         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15084         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15087         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15089         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15090         code that was previously under [RESET_PID].
15091         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15092         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15095         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15096         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15098         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15100         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15101         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15102         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15103         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15104         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15105         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15106         Moved ...
15107         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15108         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15109         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15110         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15111         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15112         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15113         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15114         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15115         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15116         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15117         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15118         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15119         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15120         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15121         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15122         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15123         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15124         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15125         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15127         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15128         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15129         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15130         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15131         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15132         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15133         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15134         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15135         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15137 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15139         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15140         that was previously under [RESET_PID].
15141         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15143 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15145         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15146         not undefine and redefine.
15147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15148         [O_CLOEXEC]: Make code unconditional.
15149         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15150         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15151         <kernel-features.h>.
15152         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15153         conditional variable definition.
15154         (shm_open) [O_CLOEXEC]: Make code unconditional.
15155         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15156         code.
15158         * configure.ac (USE_REGPARMS): Don't define here.
15159         * configure: Regenerated.
15160         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15161         * sysdeps/i386/configure: Regenerated.
15163         * nptl/createthread.c: Don't include kernel-features.h.
15164         * nptl/pthread_cancel.c: Likewise.
15165         * nptl/pthread_condattr_setclock.c: Likewise.
15166         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15167         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15168         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15169         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15170         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15171         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15172         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15175         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15176         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15177         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15178         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15179         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15180         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15181         * nscd/gai.c: Likewise.
15182         * nss/nss_db/db-open.c: Likewise.
15183         * sysdeps/generic/ldsodefs.h: Likewise.
15184         * sysdeps/sh/nptl/tls.h: Likewise.
15185         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15186         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15187         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15188         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15189         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15190         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15191         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15192         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15193         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15194         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15195         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15196         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15197         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15198         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15199         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15200         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15201         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15202         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15203         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15204         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15207         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15208         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15210         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15213         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15214         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15215         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15216         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15217         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15218         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15219         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15220         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15221         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15222         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15223         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15224         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15225         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15226         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15227         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15228         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15229         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15230         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15231         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15232         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15233         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15234         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15235         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15236         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15237         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15238         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15239         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15240         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15241         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15242         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15265         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15266         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15267         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15268         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15269         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15270         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15271         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15272         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15273         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15274         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15275         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15276         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15277         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15278         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15279         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15280         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15282         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15283         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15284         * sysdeps/unix/sysv/linux/system.c: Likewise.
15285         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15286         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15287         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15288         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15289         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15290         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15291         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15293         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15294         * configure: Regenerated.
15295         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15297         * configure.ac (base_machine): Do not set specially for particular
15298         machines here.
15299         * configure: Regenerated.
15300         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15301         settings from configure.ac.
15302         * sysdeps/i386/preconfigure: New file.
15303         * sysdeps/s390/preconfigure: Likewise.
15304         * sysdeps/sh/preconfigure: Likewise.
15305         * sysdeps/sparc/preconfigure: Likewise.
15307 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15309         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15310         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15311         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15312         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15313         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15314         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15315         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15316         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15317         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15318         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15319         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15320         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15321         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15322         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15323         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15324         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15325         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15326         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15327         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15329         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15330         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15331         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15332         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15333         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15334         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15335         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15336         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15337         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15338         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15339         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15340         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15341         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15342         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15343         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15344         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15345         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15346         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15347         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15348         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15350         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15356         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15357         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15358         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15359         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15360         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15362         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15363         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15364         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15366         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15369         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15371         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15373         Moved ...
15374         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15375         ... here.
15376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15377         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15379         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15381         Moved ...
15382         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15384         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15386         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15388         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15390         Moved ...
15391         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15393         Moved ...
15394         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15396         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15398         Moved ...
15399         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15401         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15403         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15405         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15407         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15409         Moved ...
15410         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15411         ... here.
15412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15413         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15415         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15417         Moved ...
15418         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15420         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15422         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15424         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15426         Moved ...
15427         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15429         Moved ...
15430         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15432         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15434         Moved ...
15435         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15437         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15439         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15441 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15443         * timezone/checktab.awk: Update from tzcode 2014e.
15444         * timezone/private.h: Likewise.
15445         * timezone/tzfile.h: Likewise.
15446         * timezone/zdump.c: Likewise.
15447         * timezone/zic.c: Likewise.
15449         * sysdeps/unix/sysv/linux/kernel-features.h
15450         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15451         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15452         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15453         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15454         Remove conditional code.
15456 2014-06-25  Will Newton  <will.newton@linaro.org>
15458         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15459         (_dl_arm_cap_flags): Add HWCAP2 values.
15460         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15461         (_DL_HWCAP_COUNT): Increase to 37.
15462         (_DL_HWCAP_LAST): New define.
15463         (_DL_HWCAP2_LAST): New define.
15464         (_dl_procinfo): Add support for printing
15465         AT_HWCAP2 entries.
15466         (_dl_string_hwcap): Use _dl_hwcap_string.
15468 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15474         * README: Do not mention ports directory.
15476         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15477         Remove macro.
15478         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15479         <kernel-features.h>.
15480         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15481         conditional variable definition.
15482         (__futimes): Update comment.
15483         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15484         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15486         [BZ #16560]
15487         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15488         arguments close to 0.
15489         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15490         Likewise.
15491         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15492         Likewise.
15493         * math/auto-libm-test-in: Add more tests of exp10.
15494         * math/auto-libm-test-out: Regenerated.
15495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15497         * sysdeps/unix/sysv/linux/kernel-features.h
15498         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15499         * sysdeps/unix/sysv/linux/readv.c: Do not include
15500         <kernel-features.h>.
15501         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15502         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15503         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15504         unconditional.
15505         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15506         conditional code.
15507         * sysdeps/unix/sysv/linux/writev.c: Do not include
15508         <kernel-features.h>.
15509         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15510         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15511         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15512         unconditional.
15513         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15514         conditional code.
15516 2014-06-25  Will Newton  <will.newton@linaro.org>
15518         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15519         comment changes throughout the file.  Remove checks
15520         for HAVE_*_H definitions that are not required.
15521         (__gen_tempname): Call abort if an unknown kind value is
15522         passed.
15524 2014-06-25  Andreas Schwab  <schwab@suse.de>
15526         [BZ #17086]
15527         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15528         scalbln, scalblnf, scalblnl in libc.
15530 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15532         [BZ #17086]
15533         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15534         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15535         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15537 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15539         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15540         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15541         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15542         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15543         Update #include.
15544         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15545         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15546         Update #include.
15547         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15548         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15549         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15550         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15551         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15552         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15553         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15554         * sysdeps/x86/bits/semaphore.h: ... here.
15555         * sysdeps/x86/nptl/elide.h: Moved ...
15556         * sysdeps/x86/elide.h: ... here.
15557         * sysdeps/x86_64/nptl/Implies: File removed.
15558         * sysdeps/i386/nptl/Implies: File removed.
15560 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15562         [BZ #16539]
15563         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15564         return the argument for normal arguments with exponent below -64.
15565         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15566         Likewise.
15567         * math/auto-libm-test-in: Add another test of expm1.
15568         * math/auto-libm-test-out: Regenerated.
15570         [BZ #16287]
15571         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15572         calling __erfcl for arguments at least 16.
15573         * math/auto-libm-test-in: Add more tests of erf.
15574         * math/auto-libm-test-out: Regenerated.
15576         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15577         individual architectures.
15578         * sysdeps/unix/sysv/linux/configure: Regenerated.
15579         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15580         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15581         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15582         (ldd_rewrite_script): Define variable.
15583         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15585         file.
15586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15587         generated file.
15588         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15589         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15590         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15591         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15592         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15593         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15594         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15595         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15597 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15599         [BZ #17084]
15600         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15601         Rename member __data.d to __data.__elision_data.
15603 2014-06-24  Wilco  <wdijkstr@arm.com>
15605         * NEWS: Add 16918 to fixed bug list.
15607 2014-06-24  Wilco  <wdijkstr@arm.com>
15609         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15611 2014-06-24  Wilco  <wdijkstr@arm.com>
15613         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15614         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15615         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15616         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15617         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15618         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15619         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15620         Use _FPU_MASK_RM.
15622 2014-06-24  Wilco  <wdijkstr@arm.com>
15624         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15626 2014-06-24  Wilco  <wdijkstr@arm.com>
15628         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15629         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15630         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15631         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15633 2014-06-24  Wilco  <wdijkstr@arm.com>
15635         [BZ #16918]
15636         * sysdeps/arm/feupdateenv.c (feupdateenv):
15637         Rewrite to reduce FPSCR accesses and fix return value.
15639 2014-06-24  Wilco  <wdijkstr@arm.com>
15641         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15642         Optimize to avoid unnecessary FPSCR writes.
15643         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15644         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15645         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15646         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15648 2014-06-24  Wilco  <wdijkstr@arm.com>
15650         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15651         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15652         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15653         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15654         Call libc_fetestexcept_vfp.
15655         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15656         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15657         __SOFTFP__ ifdef so that they can be built for softfp.
15659 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15662         argument type signed char.
15664         * Makerules (check-abi): Dump diff of symlist if the test
15665         fails.
15667 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15669         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15670         using abort.
15672         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15673         Remove unused variable ST.
15675 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15677         [BZ #16354]
15678         [BZ #17061]
15679         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15680         small arguments before calling __expm1.
15681         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15682         small arguments before calling __expm1f.
15683         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15684         small arguments before calling __expm1l.
15685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15686         Likewise.
15687         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15688         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15689         spurious underflow for some cosh tests.
15690         * math/auto-libm-test-out: Regenerated.
15691         * sysdeps/i386/fpu/libm-test-ulps: Update.
15693         [BZ #17050]
15694         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15695         (__ieee754_y1): Set errno if return value overflows.
15696         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15697         (__ieee754_y1f): Set errno if return value overflows.
15698         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15699         (__ieee754_y1l): Set errno if return value overflows.
15700         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15701         (__ieee754_y1l): Set errno if return value overflows.
15702         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15703         * math/auto-libm-test-out: Regenerated.
15705         * math/gen-auto-libm-tests.c: Document use of
15706         ignore-zero-inf-sign.
15707         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15708         (input_flags): Add ignore-zero-inf-sign.
15709         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15710         * math/gen-libm-test.pl (generate_testfile): Handle
15711         ignore-zero-inf-sign.
15712         * math/auto-libm-test-in: Mark some cpow tests with
15713         ignore-zero-inf-sign and some with xfail-rounding.
15714         * math/auto-libm-test-out: Regenerated.
15715         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15716         * sysdeps/i386/fpu/libm-test-ulps: Update.
15717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15719         [BZ #16315]
15720         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15721         overflowing or underflowing operations take place with sign of
15722         result.
15723         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15724         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15725         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15726         (__ieee754_pow): Recompute overflowing and underflowing results in
15727         original rounding mode.
15728         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15729         (__powl_helper): Allow negative argument X and scale negated value
15730         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15731         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15732         overflowing or underflowing operations take place with sign of
15733         result.
15734         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15735         Include <math.h>.
15736         * math/auto-libm-test-in: Add more tests of pow.
15737         * math/auto-libm-test-out: Regenerated.
15738         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15739         (pow_tonearest_test_data): Remove.
15740         (pow_test_tonearest): Likewise.
15741         (pow_towardzero_test_data): Likewise.
15742         (pow_test_towardzero): Likewise.
15743         (pow_downward_test_data): Likewise.
15744         (pow_test_downward): Likewise.
15745         (pow_upward_test_data): Likewise.
15746         (pow_test_upward): Likewise.
15747         (main): Don't call removed functions.
15748         * sysdeps/i386/fpu/libm-test-ulps: Update.
15749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15754         Moved ...
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15757         Moved ...
15758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15760         Moved ...
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15763         Moved ...
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15766         File removed.
15767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15768         File removed.
15769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15770         File removed.
15771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15772         File removed.
15773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15774         File removed.
15775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15776         File removed.
15777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15778         File removed.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15780         File removed.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15782         File removed.
15783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15784         File removed.
15785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15786         File removed.
15787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15788         File removed.
15789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15790         Moved ...
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15793         Moved ...
15794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15795         ... here.
15796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15797         Moved ...
15798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15800         Moved ...
15801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15803         Moved ...
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15806         Moved ...
15807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15809         Moved ...
15810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15812         Moved ...
15813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15815         Moved ...
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15819         ... here.
15820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15821         Moved ...
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15824         Moved ...
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15826         ... here.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15828         Moved ...
15829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15830         ... here.
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15832         Moved ...
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15834         ... here.
15835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15836         Moved ...
15837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15839         Moved ...
15840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15844         Moved ...
15845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15846         ... here.
15847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15848         Moved ...
15849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15850         ... here.
15851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15852         Moved ...
15853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15855         Moved ...
15856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15858         Moved ...
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15861         Moved ...
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15864         Moved ...
15865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15866         ... here.
15867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15868         Moved ...
15869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15871         Moved ...
15872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15874         Moved ...
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15877         Moved ...
15878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15882         Moved ...
15883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15885         Moved ...
15886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15888         Moved ...
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15890         ... here.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15892         Moved ...
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15894         ... here.
15895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15896         Moved ...
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15898         ... here.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15900         Moved ...
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15903         Moved ...
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15906         Moved ...
15907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15909         Moved ...
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15911         ... here.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15913         Moved ...
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15915         ... here.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15917         Moved ...
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15919         ... here.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15921         Moved ...
15922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15924         Moved ...
15925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15927 2014-06-23  Will Newton  <will.newton@linaro.org>
15928             Wilco  <wdijkstr@arm.com>
15930         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15931         implementation.  Include get-rounding-mode.h.
15932         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15933         [!libc_feholdsetround_noex_ctx]: Define
15934         libc_feholdsetround_noex_ctx.
15935         [!libc_feholdsetround_noexf_ctx]: Define
15936         libc_feholdsetround_noexf_ctx.
15937         [!libc_feholdsetround_noexl_ctx]: Define
15938         libc_feholdsetround_noexl_ctx.
15939         (libc_feholdsetround_ctx): New function.
15940         (libc_feresetround_ctx): New function.
15941         (libc_feholdsetround_noex_ctx): New function.
15942         (libc_feresetround_noex_ctx): New function.
15944 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15946         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15947         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15948         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15949         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15950         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15951         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15953         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15954         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15955         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15956         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15957         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15958         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15960         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15962         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15964         Moved ...
15965         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15966         ... here.
15967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15968         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15970         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15971         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15972         Moved ...
15973         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15975         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15979         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15981         Moved ...
15982         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15984         Moved ...
15985         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15989         Moved ...
15990         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15994         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15995         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15996         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15998         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16000         Moved ...
16001         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16002         ... here.
16003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16004         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16006         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16008         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16010         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16012         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16013         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16014         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16016         Moved ...
16017         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16025         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16026         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16027         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16028         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16030         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16031         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16032         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16033         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16034         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16035         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16039         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16040         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16041         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16043         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16044         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16045         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16049         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16055         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16059 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16062         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16063         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16064         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16065         (IPV6_PMTUDISC_INTERFACE): Likewise.
16066         (IPV6_PMTUDISC_OMIT): Likewise.
16068 2014-06-23  Andreas Schwab  <schwab@suse.de>
16070         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16071         Remove unused errout label.
16073 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16075         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16076         macro: hardware supports Vector Crypto instructions.
16078 2014-06-23  Will Newton  <will.newton@linaro.org>
16080         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16081         rather than __builtin_expect.
16083         * elf/dl-lookup.c (undefined_msg): Remove variable.
16084         (_dl_lookup_symbol_x): Replace undefined_msg with string
16085         literal.
16087         * elf/dl-lookup.c (do_lookup_unique): New function.
16088         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16089         to a separate function.
16091 2014-06-23  Andreas Schwab  <schwab@suse.de>
16093         [BZ #17079]
16094         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16095         before reading the next line.
16097 2014-06-23  Will Newton  <will.newton@linaro.org>
16099         * test-skeleton.c (signal_handler): Use printf and %m
16100         rather than perror.  Use printf rather than fprintf to
16101         stderr.  Use puts rather than fputs to stderr.
16102         (main): Likewise.
16104 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16106         * nscd/nscd.c (thread_info_t): Remove typedef.
16107         (thread_info): Remove variable.
16109 2014-06-21  Allan McRae  <allan@archlinux.org>
16111         * NEWS: Mention CVE-2014-4043.
16113 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16115         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16116         * nptl/smp.h: ... here.
16118         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16120         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16121         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16122         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16123         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16125         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16126         * nptl/stack-aliasing.h: New file.
16127         * sysdeps/i386/i686/stack-aliasing.h: New file.
16128         * sysdeps/i386/i686/nptl/Makefile: File removed.
16129         * sysdeps/x86_64/stack-aliasing.h: New file.
16130         * sysdeps/x86_64/nptl/Makefile
16131         (CFLAGS-pthread_create.c): Variable removed.
16133         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16134         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16135         old file.
16136         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16137         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16138         old file.
16140 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16142         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16143         (__ASSUME_SIGFRAME_V2): Remove macro.
16144         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16145         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16146         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16147         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16148         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16149         Declare as function.  Remove conditional macro definitions.
16150         (__default_rt_sa_restorer): Likewise.
16151         (__default_sa_restorer_v1): Remove declaration.
16152         (__default_sa_restorer_v2): Likewise.
16153         (__default_rt_sa_restorer_v1): Likewise.
16154         (__default_rt_sa_restorer_v2): Likewise.
16155         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16156         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16157         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16159 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16161         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16162         (libpthread-routines): Add sysdep.
16163         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16164         * sysdeps/unix/sysv/linux/sparc/Versions
16165         (libpthread: GLIBC_2.3.3): New version set.
16166         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16167         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16168         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16169         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16170         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16171         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16172         Moved ...
16173         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16175         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16176         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16177         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16178         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16179         * sysdeps/sparc/nptl/sem_init.c: ... here.
16180         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16181         * sysdeps/sparc/nptl/sem_post.c: ... here.
16182         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16183         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16184         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16185         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16186         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16187         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16188         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16189         (libpthread-routines): Add cpu_relax.
16190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16191         File removed.
16192         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16193         (librt: GLIBC_2.3.3): New version set.
16194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16195         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16196         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16197         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16200         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16202         Moved ...
16203         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16205         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16207         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16209         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16211         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16213         Moved ...
16214         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16215         Update #include.
16216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16217         Moved ...
16218         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16219         Update #include.
16220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16221         Moved ...
16222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16223         Update #include.
16224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16225         Moved ...
16226         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16227         Update #include.
16228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16229         Moved ...
16230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16231         Update #include.
16232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16233         Moved ...
16234         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16235         Update #include.
16236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16237         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16243         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16245         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16247         Moved ...
16248         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16250         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16252         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16254 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16256         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16257         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16258         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16259         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16260         * nscd/nscd.c: Likewise.
16261         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16262         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16263         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16264         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16266         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16267         <kernel-features.h>.
16268         (init_mq_netlink): Remove conditional have_sock_cloexec
16269         definitions.  Remove code conditional on have_sock_cloexec < 0.
16270         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16271         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16272         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16273         <kernel-features.h>.
16274         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16275         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16277 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16280         Add tests for memset_chk and memset.
16282         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16283         with AVX2_Usable.
16285 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16287         [BZ #16046]
16288         * elf/tst-dl-iter-static.c: New file.
16289         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16291         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16292         error.
16294 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16296         * sysdeps/unix/sysv/linux/kernel-features.h
16297         (__ASSUME_F_GETOWN_EX): Remove macro.
16298         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16299         <kernel-features.h>.
16300         (miss_F_GETOWN_EX): Remove variable or macro.
16301         (do_fcntl): Do not check miss_F_GETOWN_EX.
16302         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16304         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16305         Remove macro.
16306         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16307         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16308         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16310         * sysdeps/unix/sysv/linux/kernel-features.h
16311         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16312         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16313         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16314         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16316 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16318         [BZ #17075]
16319         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16320         Fix calculation of the symbol's value.
16321         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16322         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16323         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16324         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16325         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16326         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16327         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16328         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16329         (modules-names): Add `tst-armtlsdescmod',
16330         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16331         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16332         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16333         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16334         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16335         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16336         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16337         ($(objpfx)tst-armtlsdescloc): New dependency.
16338         ($(objpfx)tst-armtlsdescextnow): Likewise.
16339         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16340         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16341         TLS scheme support.
16342         * sysdeps/arm/configure: Regenerate.
16344 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16346         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16347         (__atfct_seterrno_2): Likewise.
16348         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16349         <kernel-features.h>.
16350         (__ASSUME_ATFCTS): Do not undefine and redefine.
16351         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16352         (__have_atfcts): Remove conditional definition.
16353         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16354         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16355         unreachable if [__ASSUME_ATFCTS].
16356         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16357         not undefine and redefine.
16358         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16359         <kernel-features.h>.
16360         (faccessat) [__NR_faccessat]: Make code unconditional.
16361         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16362         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16363         <kernel-features.h>.
16364         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16365         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16366         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16367         <kernel-features.h>.
16368         (fchownat) [__NR_fchownat]: Make code unconditional.
16369         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16370         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16371         <kernel-features.h>.
16372         (futimesat) [__NR_futimesat]: Make code unconditional.
16373         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16374         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16375         <kernel-features.h>.
16376         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16377         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16378         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16379         <kernel-features.h>.
16380         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16381         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16382         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16383         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16384         <kernel-features.h>.
16385         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16386         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16387         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16388         <kernel-features.h>.
16389         (linkat) [__NR_linkat]: Make code unconditional.
16390         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16391         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16392         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16393         <kernel-features.h>.
16394         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16395         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16396         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16397         <kernel-features.h>.
16398         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16399         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16400         * sysdeps/unix/sysv/linux/openat.c: Do not include
16401         <kernel-features.h>.
16402         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16403         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16404         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16405         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16406         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16407         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16408         <kernel-features.h>.
16409         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16410         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16411         result of INLINE_SYSCALL directly, not via int variable.
16412         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16413         <kernel-features.h>.
16414         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16415         (renameat) [__NR_renameat]: Make code unconditional.
16416         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16417         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16418         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16419         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16420         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16421         (__ASSUME_ATFCTS): Do not undefine and redefine.
16422         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16423         <kernel-features.h>.
16424         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16425         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16426         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16427         <kernel-features.h>.
16428         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16429         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16430         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16431         (__ASSUME_ATFCTS): Do not undefine and redefine.
16432         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16433         <kernel-features.h>.
16434         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16435         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16436         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16437         <kernel-features.h>.
16438         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16439         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16441 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16443         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16445 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16447         [BZ #17069]
16448         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16449         constructed tree before returning error.
16450         * posix/bug-regexp36.c: Expand test case.
16452 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16454         [BZ #6803]
16455         * math/libm-test.inc (scalbln_test_date):
16456         Add errno expectations.
16457         * math/w_scalblnf.c: New File.
16458         Add wrapper which checks for setting errno to ERANGE.
16459         Add weak_alias for corresponding scalbln function.
16460         * math/w_scalbln.c: Likewise.
16461         * math/w_scalblnl.c: Likewise.
16462         * math/Makefile (libm-calls): Add w_scalbln.
16463         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16464         Remove weak_alias for corresponding scalbln function.
16465         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16467         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16468         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16469         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16470         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16471         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16472         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16473         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16474         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16475         Remove long_double_symbol for scalblnl function in libm, libc.
16476         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16477         Add wrapper which checks for setting errno to ERANGE.
16478         Add long_double_symbol for scalblnl function in libm, libc.
16479         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16480         Remove long_double_symbol for scalblnl in libm.
16481         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16482         Add wrapper which checks for setting errno to ERANGE.
16483         Add long_double_symbol for scalblnl function in libm.
16484         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16485         Do not use wrapper because of own implementation.
16487 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16489         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16490         3 bytes for __pad1 for x32.
16491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16493 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16494             H.J. Lu  <hongjiu.lu@intel.com>
16496         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16497         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16498         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16499         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16500         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16502 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16504         [BZ #17069]
16505         * posix/regcomp.c (parse_expression): Deallocate partially
16506         constructed tree before returning error.
16507         * posix/Makefile.c (tests): Add bug-regex36.
16508         (generated): Add bug-regex36.mtrace.
16509         (tests-special): Add $(objpfx)bug-regex36-mem.out
16510         (bug-regex36-ENV): New variable.
16511         ($(objpfx)bug-regex36-mem.out): New rule.
16512         * posix/bug-regex36.c: New file.
16514 2014-06-19  Will Newton  <will.newton@linaro.org>
16516         * malloc/malloc.c (systrim): If extra is zero then return
16517         early.
16519 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16521         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16523 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16525         * sysdeps/aarch64/strchr.S: New file.
16527 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16529         [BZ #17022]
16530         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16531         from arguments -2 or below.
16532         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16533         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16535 2014-06-18  Andreas Schwab  <schwab@suse.de>
16537         [BZ #17062]
16538         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16539         of a bracket expr not to run off the end of the string.
16540         * posix/Makefile (tests): Add tst-fnmatch3.
16541         * posix/tst-fnmatch3.c: New file.
16543 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16545         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16546         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16547         [$(cross-compiling) = no]: Likewise.
16548         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16549         [$(cross-compiling) = no]: Likewise.
16551 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16553         [BZ #17031]
16554         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16555         double, adjusted for any remainder from the high double.
16556         * math/libm-test.inc (nearbyint): Add tests.
16557         (rint): Likewise.
16559 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16561         * nptl/sysdeps/powerpc/Makefile: Moved ...
16562         * sysdeps/powerpc/nptl/Makefile: ... here.
16563         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16564         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16565         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16566         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16567         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16568         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16569         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16570         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16571         * nptl/sysdeps/powerpc/tls.h: Moved ...
16572         * sysdeps/powerpc/nptl/tls.h: ... here.
16574 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16576         [BZ #16681]
16577         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16578         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16579         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16580         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16581         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16582         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16583         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16584         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16585         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16587 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16589         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16591 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16593         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16594         defined operator.
16596         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16597         $TIMEOUTFACTOR.
16599 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16601         [BZ #17058]
16602         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16603         non-executed part of the test.
16605 2014-06-16  Andreas Schwab  <schwab@suse.de>
16607         * string/bits/string2.h (strdup, strndup): Update feature guard.
16609 2014-06-14  David S. Miller  <davem@davemloft.net>
16611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16613 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16615         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16616         that was previously under [RESET_PID].
16617         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16619         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16620         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16621         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16622         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16623         (__libc_vfork): New strong alias.
16624         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16626 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16628         * sysdeps/generic/elide.h: New file.
16630 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16632         * Makefile (installed-headers): Adjust path of pthread.h header.
16634 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16636         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16637         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16639         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16641         * nptl/sysdeps/s390/Makefile: Moved ...
16642         * sysdeps/s390/nptl/Makefile: ... here.
16643         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16644         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16645         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16646         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16647         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16648         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16649         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16650         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16651         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16652         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16653         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16654         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16655         * nptl/sysdeps/s390/tls.h: Moved ...
16656         * sysdeps/s390/nptl/tls.h: ... here.
16658         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16659         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16661 2014-06-13  David S. Miller  <davem@davemloft.net>
16663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16666         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16670         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16671         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16672         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16673         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16674         Remove RESET_PID cpp guards.
16675         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16676         Remove RESET_PID cpp guards.
16677         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16679 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16681         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16682         __sp to uintptr_t.
16684 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16687         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16689         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16693         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16696         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16698         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16699         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16700         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16702         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16704         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16707         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16708         (pthread_rwlock_rdlock): Add elision.
16709         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16710         (pthread_rwlock_wrlock): Add elision.
16711         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16712         (pthread_rwlock_trywrlock): Add elision.
16713         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16714         (pthread_rwlock_tryrdlock): Add elision.
16715         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16716         (pthread_rwlock_tryrdlock): Add elision unlock.
16717         * nptl/sysdeps/pthread/pthread.h:
16718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16719         (PTHREAD_RWLOCK_INITIALIZER,
16720         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16721         Handle new elision field.
16722         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16723         * sysdeps/arm/nptl/bits/pthreadtypes.h
16724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16725         * sysdeps/sh/nptl/bits/pthreadtypes.h
16726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16727         * sysdeps/tile/nptl/bits/pthreadtypes.h
16728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16729         * sysdeps/a/nptl/bits/pthreadtypes.h
16730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16733         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16735         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16737         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16739         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16741         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16743         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16745         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16747         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16748         (elision_init): Set try_xbegin to zero when no RTM.
16749         * sysdeps/x86/nptl/bits/pthreadtypes.h
16750         (pthread_rwlock_t): Change __pad1 to __rwelision.
16751         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16753 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16755         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16756         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16757         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16758         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16760 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16762         [BZ #16996]
16763         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16764         that the cached result has been set before returning it.
16766 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16768         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16769         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16770         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16771         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16772         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16773         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16775         * nptl/sysdeps/sparc/Makefile: Moved ...
16776         * sysdeps/sparc/nptl/Makefile: ... here.
16777         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16778         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16779         * nptl/sysdeps/sparc/tls.h: Moved ...
16780         * sysdeps/sparc/nptl/tls.h: ... here.
16781         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16782         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16783         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16784         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16785         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16786         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16787         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16788         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16789         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16790         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16791         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16792         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16793         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16794         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16795         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16796         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16797         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16798         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16799         Update #include.
16800         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16801         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16802         Update #include.
16803         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16804         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16805         Update #include.
16806         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16808         Update #include.
16810         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16812         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16813         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16815         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16816         (struct list_links): Type removed.
16817         (struct thread_node, struct timer_node): Replace struct list_links
16818         with struct list_head.
16819         (list_unlink_ip): Likewise.
16820         * sysdeps/pthread/timer_routines.c
16821         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16822         (list_append, list_insbefore): Likewise.
16823         (list_init): Function removed.
16824         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16825         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16826         * sysdeps/pthread/Makefile: ... here, new file.
16828         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16829         * sysdeps/nptl/Implies: ... here.
16830         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16831         * nptl/sysdeps/pthread/list.h: Moved ...
16832         * include/list.h: ... here.
16833         * nptl/sysdeps/pthread/createthread.c: Moved ...
16834         * nptl/createthread.c: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16836         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16837         * nptl/pt-longjmp.c: ... here.
16838         * nptl/sysdeps/pthread/Makefile: Moved ...
16839         * sysdeps/nptl/Makefile: ... here.
16840         * nptl/sysdeps/pthread/Subdirs: Moved ...
16841         * sysdeps/nptl/Subdirs: ... here.
16842         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16843         * sysdeps/nptl/aio_misc.h: ... here.
16844         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16845         * sysdeps/nptl/bits/libc-lock.h: ... here.
16846         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16847         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16848         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16849         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16850         * nptl/sysdeps/pthread/configure: Moved ...
16851         * sysdeps/nptl/configure: ... here.
16852         * nptl/sysdeps/pthread/configure.ac: Moved ...
16853         * sysdeps/nptl/configure.ac: ... here.
16854         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16855         * sysdeps/nptl/gai_misc.h: ... here.
16856         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16857         * sysdeps/nptl/librt-cancellation.c: ... here.
16858         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16859         * sysdeps/nptl/malloc-machine.h: ... here.
16860         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16861         * sysdeps/nptl/pthread-functions.h: ... here.
16862         * nptl/sysdeps/pthread/pthread.h: Moved ...
16863         * sysdeps/nptl/pthread.h: ... here.
16864         * nptl/sysdeps/pthread/setxid.h: Moved ...
16865         * sysdeps/nptl/setxid.h: ... here.
16866         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16867         * sysdeps/nptl/sigfillset.c: ... here.
16868         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16869         * sysdeps/nptl/tcb-offsets.h: ... here.
16870         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16871         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16872         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16873         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16874         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16875         * sysdeps/pthread/allocalim.h: ... here.
16876         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16877         * sysdeps/pthread/bits/sigthread.h: ... here.
16878         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16879         * sysdeps/pthread/flockfile.c: ... here.
16880         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16881         * sysdeps/pthread/ftrylockfile.c: ... here.
16882         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16883         * sysdeps/pthread/funlockfile.c: ... here.
16884         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16885         * sysdeps/pthread/posix-timer.h: ... here.
16886         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16887         * sysdeps/pthread/timer_create.c: ... here.
16888         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16889         * sysdeps/pthread/timer_delete.c: ... here.
16890         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16891         * sysdeps/pthread/timer_getoverr.c: ... here.
16892         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16893         * sysdeps/pthread/timer_gettime.c: ... here.
16894         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16895         * sysdeps/pthread/timer_routines.c: ... here.
16896         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16897         * sysdeps/pthread/timer_settime.c: ... here.
16898         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16899         * sysdeps/pthread/tst-timer.c: ... here.
16900         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16901         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16903         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16904         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16906         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16907         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16908         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16909         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16910         Update #include target.
16911         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16912         * sysdeps/i386/i686/nptl/Makefile: ... here.
16913         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16914         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16915         Update #include target.
16916         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16917         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16918         * nptl/sysdeps/i386/Makefile: Moved ...
16919         * sysdeps/i386/nptl/Makefile: ... here.
16920         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16921         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16922         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16923         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16924         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16925         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16926         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16927         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16928         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16929         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16930         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16931         * nptl/sysdeps/i386/tls.h: Moved ...
16932         * sysdeps/i386/nptl/tls.h: ... here.
16934         * sysdeps/sh/Makefile [$(subdir) = csu]
16935         (gen-as-const-headers): Add tcb-offsets.sym.
16936         * nptl/sysdeps/sh/Makefile: File removed.
16937         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16938         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16939         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16940         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16941         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16942         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16943         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16944         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16945         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16946         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16947         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16948         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16949         * nptl/sysdeps/sh/tls.h: Moved ...
16950         * sysdeps/sh/nptl/tls.h: ... here.
16951         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16952         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16953         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16954         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16955         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16956         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16957         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16958         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16959         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16960         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16962         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16964         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16966         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16968         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16970         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16972         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16975         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16976         Moved ...
16977         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16978         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16979         Moved ...
16980         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16982         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16983         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16984         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16985         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16986         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16987         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16988         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16989         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16990         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16991         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16992         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16993         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16994         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16995         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16996         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16997         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16998         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17000 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17002         * posix/spawn_faction_addopen.c: Include string.h.
17004 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17006         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17007         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17008         * nptl/sysdeps/x86_64/Makefile: Moved ...
17009         * sysdeps/x86_64/nptl/Makefile: ... here.
17010         * nptl/sysdeps/x86_64/configure: Moved ...
17011         * sysdeps/x86_64/nptl/configure: ... here.
17012         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17013         * sysdeps/x86_64/nptl/configure.ac: ... here.
17014         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17015         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17016         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17017         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17018         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17019         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17020         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17021         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17022         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17023         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17024         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17025         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17026         * nptl/sysdeps/x86_64/tls.h: Moved ...
17027         * sysdeps/x86_64/nptl/tls.h: ... here.
17028         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17029         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17030         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17031         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17033         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17035 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17039 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17041         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17042         type.
17043         [POSIX] (off_t): Likewise.
17044         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17045         [POSIX] (S_ISBLK): Require macro.
17046         [POSIX] (S_ISCHR): Likewise.
17047         [POSIX] (S_ISDIR): Likewise.
17048         [POSIX] (S_ISFIFO): Likewise.
17049         [POSIX] (S_ISREG): Likewise.
17050         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17051         optional-macro.
17052         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17053         type.
17054         [POSIX] (time_t): Likewise.
17055         [POSIX] (timer_t): Likewise.
17057 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17059         [BZ #17048]
17060         * posix/spawn_int.h (struct __spawn_action): Make the path string
17061         non-const to support deallocation.
17062         * posix/spawn_faction_addopen.c
17063         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17064         * posix/spawn_faction_destroy.c
17065         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17066         path in all spawn_do_open actions.
17067         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17068         posix_spawn_file_actions_addopen.
17070 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17072         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17073         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17074         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17075         conditional code always true.
17076         (__libc_vfork): New alias.
17078 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17080         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17081         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17083         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17085         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17086         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17088         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17089         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17091         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17092         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17094 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17096         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17097         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17098         multiarch strcmp for PPC64.
17099         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17100         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17102         multiarch optimizations.
17103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17104         (__libc_ifunc_impl_list): Likewise.
17106 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17108         * benchtests/scripts/validate_benchout.py: New script.
17109         * benchtests/Makefile (bench-func): Call it.
17110         * benchtests/scripts/benchout.schema.json: New file.
17112 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17114         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17115         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17116         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17117         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17118         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17119         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17120         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17121         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17122         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17123         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17124         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17125         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17126         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17127         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17128         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17129         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17131         Moved ...
17132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17133         ... here.
17134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17135         Moved ...
17136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17138         Moved ...
17139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17140         ... here.
17141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17142         Moved ...
17143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17144         ... here.
17145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17146         Moved ...
17147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17149         Moved ...
17150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17151         ... here.
17152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17153         Moved ...
17154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17155         ... here.
17156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17157         Moved ...
17158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17160         Moved ...
17161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17162         ... here.
17163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17164         Moved ...
17165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17166         ... here.
17167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17168         Moved ...
17169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17170         ... here.
17171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17172         Moved ...
17173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17175         Moved ...
17176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17177         ... here.
17178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17179         Moved ...
17180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17181         ... here.
17182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17183         Moved ...
17184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17185         ... here.
17186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17187         Moved ...
17188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17190         Moved ...
17191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17192         ... here.
17193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17194         Moved ...
17195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17196         ... here.
17197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17198         Moved ...
17199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17201         Moved ...
17202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17203         ... here.
17204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17205         Moved ...
17206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17208         Moved ...
17209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17211         Moved ...
17212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17213         ... here.
17214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17215         Moved ...
17216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17217         ... here.
17218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17219         Moved ...
17220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17221         ... here.
17222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17223         Moved ...
17224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17226         Moved ...
17227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17228         ... here.
17229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17230         Moved ...
17231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17232         ... here.
17233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17234         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17236         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17238         Moved ...
17239         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17240         ... here.
17241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17242         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17244         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17246         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17248         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17250         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17252         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17254         Moved ...
17255         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17257         Moved ...
17258         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17260         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17262         Moved ...
17263         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17265         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17266         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17267         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17268         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17269         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17271 2014-06-10  Wilco  <wdijkstr@arm.com>
17273         * math/test-fenv-return.c: New file.
17274         * math/Makefile: Add new test test-fenv-return.
17276 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17278         [BZ #17042]
17279         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17280         when x - 1 is zero.
17281         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17282         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17283         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17284         0.0L for an argument of 1.0L.
17285         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17286         Likewise.
17287         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17288         value when x - 1 is zero.
17289         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17290         * sysdeps/i386/fpu/libm-test-ulps: Update.
17291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17295         [BZ #15119]
17296         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17298 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17300         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17301         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17303 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17305         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17306         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17308         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17309         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17311         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17312         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17314         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17315         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17317         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17318         if not already defined.
17319         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17320         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17321         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17322         (TLS_INIT_TP): Use it.
17323         (TLS_DEFINE_INIT_TP): New macro.
17324         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17326 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17328         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17329         constant.
17330         [POSIX] (IXANY): Likewise.
17331         [POSIX] (OLCUC): Likewise.
17332         [POSIX || POSIX2008] (CBAUD): Do not allow.
17333         [POSIX || POSIX2008] (DEFECHO): Likewise.
17334         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17335         [POSIX || POSIX2008] (ECHOKE): Likewise.
17336         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17337         [POSIX || POSIX2008] (EXTA): Likewise.
17338         [POSIX || POSIX2008] (EXTB): Likewise.
17339         [POSIX || POSIX2008] (FLUSHO): Likewise.
17340         [POSIX || POSIX2008] (LOBLK): Likewise.
17341         [POSIX || POSIX2008] (PENDIN): Likewise.
17342         [POSIX || POSIX2008] (SWTCH): Likewise.
17343         [POSIX || POSIX2008] (VDISCARD): Likewise.
17344         [POSIX || POSIX2008] (VDSUSP): Likewise.
17345         [POSIX || POSIX2008] (VLNEXT): Likewise.
17346         [POSIX || POSIX2008] (VREPRINT): Likewise.
17347         [POSIX || POSIX2008] (VSTATUS): Likewise.
17348         [POSIX || POSIX2008] (VWERASE): Likewise.
17349         (B*): Change to B[0123456789]*.
17350         * conform/data/time.h-data [POSIX || UNIX98]
17351         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17352         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17353         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17354         [POSIX] (tm_*): Do not allow.
17356 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17358         * Makefile (install): Don't set LANGUAGE.
17359         * Makefile.in (install): Likewise.
17360         * assert/Makefile (test-assert-ENV): Remove variable.
17361         (test-assert-perr-ENV): Likewise.
17362         * elf/Makefile (neededtest4-ENV): Likewise.
17363         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17364         [$(cross-compiling) = no]: Don't set LANGUAGE.
17365         * io/ftwtest-sh (LANG): Remove variable.
17366         * libio/Makefile (tst-widetext-ENV): Likewise.
17367         * manual/install.texi (Running make install): Don't refer to
17368         environment settings for make install.
17369         * INSTALL: Regenerated.
17370         * nptl/tst-tls6.sh: Don't set LANG.
17371         * posix/globtest.sh (LANG): Remove variable.
17372         * string/Makefile (tester-ENV): Likewise.
17373         (inl-tester-ENV): Likewise.
17374         (noinl-tester-ENV): Likewise.
17375         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17376         [$(cross-compiling) = no]: Don't set LANGUAGE.
17377         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17378         without explicit environment settings.
17380 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17382         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17383         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17384         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17385         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17387 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17389         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17390         other files in the crypt directory.
17391         * crypt/crypt.c: Remove duplicate includes.
17392         * crypt/crypt-entry.c: Likewise.
17393         * crypt/crypt_util.c: Likewise.
17395 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17397         * Makeconfig (run-program-env): New variable.
17398         (run-program-prefix-before-env): Likewise.
17399         (run-program-prefix-after-env): Likewise.
17400         (run-program-prefix): Define in terms of new variables.
17401         (built-program-cmd-before-env): New variable.
17402         (built-program-cmd-after-env): Likewise.
17403         (built-program-cmd): Define in terms of new variables.
17404         (test-program-prefix-before-env): New variable.
17405         (test-program-prefix-after-env): Likewise.
17406         (test-program-prefix): Define in terms of new variables.
17407         (test-program-cmd-before-env): New variable.
17408         (test-program-cmd-after-env): Likewise.
17409         (test-program-cmd): Define in terms of new variables.
17410         * Rules (make-test-out): Use $(run-program-env).
17411         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17412         (help): Do not mention environment variables.  Mention
17413         --timeoutfactor option.
17414         (timeoutfactor): New variable.
17415         (blacklist_exports): Remove function.
17416         (exports): Remove variable.
17417         (command): Do not include ${exports}.
17418         * manual/install.texi (Configuring and compiling): Do not mention
17419         test wrappers preserving environment variables.  Mention that last
17420         assignment to a variable must take precedence.
17421         * INSTALL: Regenerated.
17422         * benchtests/Makefile (run-bench): Use $(run-program-env).
17423         * catgets/Makefile ($(objpfx)test1.cat): Use
17424         $(built-program-cmd-before-env), $(run-program-env) and
17425         $(built-program-cmd-after-env).
17426         ($(objpfx)test2.cat): Do not specify environment variables
17427         explicitly.
17428         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17429         $(run-program-env) and $(built-program-cmd-after-env).
17430         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17431         $(run-program-env) and $(test-program-cmd-after-env).
17432         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17433         explicitly.
17434         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17435         run_program_env and test_program_cmd_after_env arguments.
17436         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17437         * elf/tst-pathopt.sh: Use run_program_env argument.
17438         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17439         $(test-wrapper-env) and $(run-program-env).
17440         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17441         run_program_env arguments.
17442         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17443         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17444         $(test-program-prefix-before-env), $(run-program-env) and
17445         $(test-program-prefix-after-env).
17446         ($(objpfx)tst-gettext2.out): Likewise.
17447         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17448         run_program_env and test_program_prefix_after_env arguments.
17449         * intl/tst-gettext2.sh: Likewise.
17450         * intl/tst-gettext4.sh: Do not set environment variables
17451         explicitly.
17452         * intl/tst-gettext6.sh: Likewise.
17453         * intl/tst-translit.sh: Likewise.
17454         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17455         $(test-program-prefix-before-env), $(run-program-env) and
17456         $(test-program-prefix-after-env).
17457         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17458         run_program_env and test_program_prefix_after_env arguments.
17459         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17460         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17461         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17462         explicitly with each use of ${test_wrapper_env}.
17463         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17464         $(test-program-prefix-before-env), $(run-program-env) and
17465         $(test-program-prefix-after-env).
17466         * posix/tst-getconf.sh: Do not set environment variables
17467         explicitly.
17468         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17469         run_program_env and test_program_prefix_after_env arguments.
17470         * stdio-common/tst-printf.sh: Do not set environment variables
17471         explicitly.
17472         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17473         $(test-program-prefix-before-env), $(run-program-env) and
17474         $(test-program-prefix-after-env).
17475         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17476         run_program_env and test_program_prefix_after_env arguments.
17477         Split $test calls into $test_pre and $test.
17478         * timezone/Makefile (build-testdata): Use
17479         $(built-program-cmd-before-env), $(run-program-env) and
17480         $(built-program-cmd-after-env).
17482 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17484         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17485         strlen for non SHARED builds.
17487 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17489         * nptl/allocatestack.c (check_list): Inlined function...
17490         (__reclaim_stacks): ... here.
17492 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17494         [BZ #15698]
17495         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17496         memory overrun.
17498 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17500         * Rules (make-test-out): Include
17501         LOCPATH=$(common-objpfx)localedata in default environment.
17502         * debug/Makefile (tst-chk1-ENV): Remove variable.
17503         (tst-chk2-ENV): Likewise.
17504         (tst-chk3-ENV): Likewise.
17505         (tst-chk4-ENV): Likewise.
17506         (tst-chk5-ENV): Likewise.
17507         (tst-chk6-ENV): Likewise.
17508         (tst-lfschk1-ENV): Likewise.
17509         (tst-lfschk2-ENV): Likewise.
17510         (tst-lfschk3-ENV): Likewise.
17511         (tst-lfschk4-ENV): Likewise.
17512         (tst-lfschk5-ENV): Likewise.
17513         (tst-lfschk6-ENV): Likewise.
17514         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17515         (tst-iconv7-ENV): Likewise.
17516         * intl/Makefile (LOCPATH-ENV): Likewise.
17517         (tst-codeset-ENV): Likewise.
17518         (tst-gettext3-ENV): Likewise.
17519         (tst-gettext5-ENV): Likewise.
17520         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17521         (tst-fopenloc-ENV): Likewise.
17522         (tst-fgetws-ENV): Remove variable.
17523         (tst-ungetwc1-ENV): Likewise.
17524         (tst-ungetwc2-ENV): Likewise.
17525         (bug-ungetwc2-ENV): Likewise.
17526         (tst-swscanf-ENV): Likewise.
17527         (bug-ftell-ENV): Likewise.
17528         (tst-fgetwc-ENV): Likewise.
17529         (tst-fseek-ENV): Likewise.
17530         (tst-ftell-partial-wide-ENV): Likewise.
17531         (tst-ftell-active-handler-ENV): Likewise.
17532         (tst-ftell-append-ENV): Likewise.
17533         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17534         (tst-regexloc-ENV): Likewise.
17535         (bug-regex1-ENV): Likewise.
17536         (tst-regex-ENV): Likewise.
17537         (tst-regex2-ENV): Likewise.
17538         (bug-regex5-ENV): Likewise.
17539         (bug-regex6-ENV): Likewise.
17540         (bug-regex17-ENV): Likewise.
17541         (bug-regex18-ENV): Likewise.
17542         (bug-regex19-ENV): Likewise.
17543         (bug-regex20-ENV): Likewise.
17544         (bug-regex22-ENV): Likewise.
17545         (bug-regex23-ENV): Likewise.
17546         (bug-regex25-ENV): Likewise.
17547         (bug-regex26-ENV): Likewise.
17548         (bug-regex30-ENV): Likewise.
17549         (bug-regex32-ENV): Likewise.
17550         (bug-regex33-ENV): Likewise.
17551         (bug-regex34-ENV): Likewise.
17552         (bug-regex35-ENV): Likewise.
17553         (tst-rxspencer-ENV): Likewise.
17554         (tst-rxspencer-no-utf8-ENV): Likewise.
17555         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17556         (tst-sscanf-ENV): Likewise.
17557         (tst-swprintf-ENV): Likewise.
17558         (tst-swscanf-ENV): Likewise.
17559         (test-vfprintf-ENV): Likewise.
17560         (scanf13-ENV): Likewise.
17561         (bug14-ENV): Likewise.
17562         (tst-grouping-ENV): Likewise.
17563         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17564         (tst-strtod3-ENV): Likewise.
17565         (tst-strtod4-ENV): Likewise.
17566         (tst-strtod5-ENV): Likewise.
17567         (testmb2-ENV): Likewise./
17568         * string/Makefile (tst-strxfrm-ENV): Likewise.
17569         (tst-strxfrm2-ENV): Likewise.
17570         (bug-strcoll1-ENV): Likewise.
17571         (test-strcasecmp-ENV): Likewise.
17572         (test-strncasecmp-ENV): Likewise.
17573         * time/Makefile (tst-strptime-ENV): Likewise.
17574         (tst-ftime_l-ENV): Likewise.
17575         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17576         (tst-mbrtowc-ENV): Likewise.
17577         (tst-wcrtomb-ENV): Likewise.
17578         (tst-mbrtowc2-ENV): Likewise.
17579         (tst-c16c32-1-ENV): Likewise.
17580         (tst-mbsnrtowcs-ENV): Likewise.
17582 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17584         * manual/resource.texi (How to get information about the memory
17585         subsystem?): Fix typo.
17586         Reported by Peon de la Parra Ivan <peon@keba.com>
17588 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17590         [BZ #16882]
17591         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17592         (pthread_spin_lock): Branch out of spin loop to proper location.
17593         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17594         (pthread_spin_lock): Likewise.
17596         * nptl/tst-spin4.c: New test.
17597         * nptl/Makefile (tests): Add tst-spin4.
17599 2014-06-03  Andreas Schwab  <schwab@suse.de>
17601         [BZ #15946]
17602         * resolv/res_send.c (send_dg): Reload file descriptor after
17603         calling reopen.
17605 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17607         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17609 2014-06-03  Richard Henderson  <rth@redhat.com>
17611         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17612         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17613         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17614         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17615         in the SAVE_PID block.
17616         (__libc_vfork): New alias.
17617         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17619         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17620         child in registers, not on the stack.  Remove RESET_PID conditionals.
17621         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17623 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17625         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17627 2014-06-03  Wilco  <wdijkstr@arm.com>
17629         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17630         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17631         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17632         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17633         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17634         Likewise.
17636 2014-06-03  Wilco  <wdijkstr@arm.com>
17638         * sysdeps/aarch64/fpu/math_private.h
17639         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17640         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17641         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17642         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17643         Fix declarations.
17645 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17647         * crypt/crypt-private.h: Include ufc-crypt.h.
17648         (__b64_from_24bit): Declare extern.
17649         * crypt/crypt_util.c(__b64_from_24bit): New function.
17650         (b64t): New static const variable.
17651         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17652         (b64t): Remove variable.
17653         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17654         * crypt/sha256-crypt.c: Include crypt-private.h.
17655         (b64t): Remove variable.
17656         (__sha256_crypt_r): Remove b64_from_24bit and replace
17657         with __b64_from_24bit.
17658         * crypt/sha512-crypt.c: Likewise.
17660 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17662         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17663         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17664         Label the code __libc_vfork rather than __vfork.
17665         [!NOT_IN_libc] (vfork): Define as weak alias.
17666         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17667         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17668         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17670 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17672         * malloc/malloc.c (malloc_info): Fix format specifier for
17673         n_mmaps.
17675 2014-06-02  Wilco  <wdijkstr@arm.com>
17677         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17678         FPCR write.
17680 2014-06-02  Wilco  <wdijkstr@arm.com>
17682         [BZ #17009]
17683         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17684         Rewrite to reduce FPCR/FPSR accesses.
17686 2014-06-01  David S. Miller  <davem@davemloft.net>
17688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17690 2014-05-31  David S. Miller  <davem@davemloft.net>
17692         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17693         to occur in round to nearest mode when |x| >= 2.0
17695 2014-05-30  Richard Henderson  <rth@twiddle.net>
17697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17698         (PSEUDO_RET_NOERRNO): Remove.
17699         (ret): Don't redefine.
17700         (ret_NOERRNO): Define in terms of ret.
17701         (ret_ERRVAL): Likewise.
17703         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17704         use of PSEUDO_RET; perform the error check directly.
17706 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17708         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17709         with __int128_t.
17711 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17713         * malloc/malloc (malloc_info): Fix formatting.
17715 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17716             Roland McGrath  <roland@hack.frob.com>
17718         * malloc/malloc (malloc_info): Also print mmapped statistics.
17720 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17722         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17723         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17725 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17727         * malloc/malloc.c (malloc_info): Inline mi_arena.
17729 2014-05-29  Richard Henderson  <rth@twiddle.net>
17731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17732         Remove comma before expanding ASM_ARGS_##nr.
17733         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17734         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17735         of ASM_ARGS_##nr.
17736         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17737         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17738         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17739         (ASM_ARGS_1): Add leading comma.
17741         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17742         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17743         to __errno_location.
17744         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17745         Remove the expected plt for __errno_location.
17747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17748         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17749         call to __read_tp.
17751         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17752         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17753         it and break it down.
17754         (DOCARGS_0, DOCARGS_1): Do nothing.
17755         (DOCARGS_2): Update to store into the new stack frame.
17756         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17757         (UNDOCARGS_1): Update to restore from the new stack frame.
17758         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17759         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17762         (SINGLE_THREAD_P): New parameter for result regno.
17763         (PSEUDO): Update to match; use cbz instead of beq.
17765         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17766         Use ENTRY to define the _nocancel entry point.  Share the syscall
17767         and syscall error check paths with the cancel path.
17768         (PSEUDO_END): New.
17770         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17771         whitespace; tabs before and after asm mnemonics.
17773 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17775         [BZ #15132]
17776         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17777         Call fstat64 or stat64 internally, depending on arguments passed.
17778         Replace stat buffer argument with file descriptor argument.
17779         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17780         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17781         Pass fd to __internal_statvfs instead of calling fstat64.
17782         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17783         Pass fd to __internal_statvfs64 instead of calling fstat64.
17784         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17785         Pass -1 to __internal_statvfs instead of calling stat64.
17786         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17787         Pass -1 to __internal_statvfs64 instead of calling stat64.
17789 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17791         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17792         that was previously under [RESET_PID].
17793         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17795         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17796         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17798 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17800         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17802         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17803         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17805 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17807         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17809 2014-05-27  Andreas Schwab  <schwab@suse.de>
17811         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17812         TLS_INIT_TP macro.
17813         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17814         * elf/rtld.c (init_tls, dl_main): Likewise.
17815         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17816         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17817         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17818         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17819         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17820         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17821         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17822         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17823         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17824         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17825         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17826         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17827         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17828         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17829         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17830         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17831         * sysdeps/generic/tls.h: Update description.
17833 2014-05-27  Will Newton  <will.newton@linaro.org>
17835         [BZ #16990]
17836         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17837         and restore r2 rather than just restoring.
17839 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17841         [BZ #16724]
17842         * libio/tst-ftell-append.c: New test case.
17843         * libio/Makefile (tests): Add test case.
17844         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17845         append mode.
17846         * libio/wfileops.c (do_ftell_wide): Likewise.
17848 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17853         ...
17854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17856         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17857         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17859         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17861         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17863         Moved ...
17864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17866         Moved ...
17867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17869         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17871         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17873         ...
17874         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17875         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17878         here.
17879         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17880         ...
17881         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17883         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17885         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17886         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17887         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17888         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17891         merge into ...
17892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17894         ...
17895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17897         ...
17898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17900         Moved ...
17901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17902         here.
17903         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17904         Moved ...
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17907         Moved ...
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17911         conditional [RESET_PID].
17912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17914         removed.
17915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17916         removed.
17918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17919         <tcb-offsets.h>.
17920         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17921         (__libc_vfork): New strong alias.
17922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17923         removed.
17924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17925         Removed.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17928         <tcb-offsets.h>.
17929         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17930         (__libc_vfork): New strong alias.
17931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17932         removed.
17933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17934         removed.
17936 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17938         * malloc/malloc.c (mi_arena): New function.
17939         (malloc_info): Remove nested function mi_arena. Call non-nosted
17940         function mi_arena.
17942 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17944         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17945         by insrwi.
17946         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17947         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17948         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17949         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17950         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17951         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17952         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17954 2014-05-26  Andreas Schwab  <schwab@suse.de>
17956         [BZ #16984]
17957         * locale/programs/repertoire.c (repertoire_read): Add slash
17958         between I18NPATH element and file name.
17959         * locale/programs/locfile.c (locfile_read): Likewise.
17961 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17963         * nptl/pthread_mutexattr_settype.c
17964         (__pthread_mutexattr_settype):
17965         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17967 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17969         * nptl/tst-mutex5 (do_test):
17970         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17972 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17974         * benchtests/README: Document 'init' directive.
17975         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17976         BENCH_INIT.
17977         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17978         (parse_file): Recognize 'init' directive.
17980 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17982         [BZ #16796]
17983         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17984         alignment of struct pthread.
17986 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988         [BZ #16878]
17989         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17990         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17991         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17992         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17994 2014-05-25  Richard Henderson  <rth@twiddle.net>
17996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17997         (SINGLE_THREAD_P_PIC): Remove.
17998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17999         (SINGLE_THREAD_P_PIC): Remove.
18001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18002         branch to syscall error ...
18003         (PSEUDO): ... here.
18004         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18005         from __local_syscall_error to .Lsyscall_error.
18006         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18007         (SYSCALL_ERROR): Update label name.
18009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18010         Do not use DOARGS/UNDOARGS.
18011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18012         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18013         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18014         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18015         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18018         block comment.
18020         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18021         define if !NOT_IN_libc.
18022         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18023         define with non-default symbol versions.
18025 2014-05-23  Richard Henderson  <rth@twiddle.net>
18027         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18028         (vfork, __vfork): Define via compat_symbol.
18030         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18031         [!HAVE_IFUNC] (vfork_compat): Remove.
18032         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18034 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18036         [BZ #16978]
18037         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18038         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18039         variable.
18041 2014-05-23  Richard Henderson  <rth@twiddle.net>
18043         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18044         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18045         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18046         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18048         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18049         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18050         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18051         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18052         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18053         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18054         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18055         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18056         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18057         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18058         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18059         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18060         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18061         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18062         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18063         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18064         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18065         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18066         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18067         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18068         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18069         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18070         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18071         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18072         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18073         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18074         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18075         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18076         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18077         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18078         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18079         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18080         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18081         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18082         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18083         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18084         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18085         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18086         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18087         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18088         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18089         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18090         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18091         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18092         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18093         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18095         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18097         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18099         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18100         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18101         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18102         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18103         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18105         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18106         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18107         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18108         before exiting on error.
18109         (__libc_vfork): New strong alias.
18110         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18111         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18113         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18114         that was previously under [RESET_PID].
18115         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18117         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18119 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18121         [BZ #16977]
18122         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18123         value when x - 1 is zero.
18124         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18125         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18126         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18127         0.0L for an argument of 1.0L.
18128         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18129         Likewise.
18130         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18131         value when x - 1 is zero.
18132         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18133         * sysdeps/i386/fpu/libm-test-ulps: Update.
18134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18138         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18139         alphasort and versionsort.
18141 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18143         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18144         macro.
18145         [copysignf]: Likewise.
18147 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18149         * crypt/md5-crypt.c: Fix formatting.
18151 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18153         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18154         (b64_from_24bit): New function.
18156 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18158         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18159         libc_hidden_builtin_def to ifunc.
18160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18161         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18163 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18165         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18166         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18168 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18170         * nscd/Depend (linuxthreads): Remove.
18171         (nptl): Add.
18172         * resolv/Depend (linuxthreads): Remove.
18173         * rt/Depend (linuxthreads): Remove.
18175         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18176         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18177         $(common-objpfx)elf/.
18178         (link-libc-before-gnulib): Likewise.
18179         (elfobjdir): Remove variable.
18180         * Makefile (install): Use $(elf-objpfx) instead of
18181         $(common-objpfx)elf/.
18182         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18183         $(elfobjdir)/.
18184         (link-libc-deps): Likewise.
18185         ($(common-objpfx)libc.so): Likewise.
18186         ($(common-objpfx)linkobj/libc.so): Likewise.
18187         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18188         instead of $(common-objpfx)elf/.
18189         (symbolic-link-list): Likewise.
18190         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18191         [$(cross-compiling) = no]: Likewise.
18192         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18193         $(elfobjdir)/.
18194         (static-gnulib-arch): Likewise.
18195         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18196         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18197         $(common-objpfx)elf/.
18199 2014-05-21  Richard Henderson  <rth@redhat.com>
18201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18202         (SINGLE_THREAD_P): Use the correct width load.  Fold
18203         into the ldr offset.
18205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18206         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18208 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18210         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18211         (libgcc_s_resume): Use __attribute_used__.
18212         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18213         Likewise.
18215 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18217         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18218         optimization when used with float constants.
18220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18222 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18224         [BZ #16915]
18225         * locale/nl_langinfo_l.c: Make direct reference to every
18226         _nl_current_CATEGORY symbol.
18227         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18228         (tests-static): Add tst-langinfo-static.
18229         (tests-special): Add tst-langinfo-static.out.
18230         ($(objpfx)tst-langinfo.out): Redirect output.
18231         ($(objpfx)tst-langinfo-static.out): New.
18232         * localedata/tst-langinfo.sh: Send output to stdout.
18233         * localedata/tst-langinfo-static.c: New file.
18235         [BZ #16965]
18236         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18237         when the shift amount is modulo the limb size.
18239 2014-05-20  Richard Henderson  <rth@redhat.com>
18241         [BZ #16967]
18242         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18243         Change type of sa_flags from unsigned int to int.
18245         [BZ #16966]
18246         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18248         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18250 2014-05-20  Will Newton  <will.newton@linaro.org>
18252         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18253         Test the return value of the system call in the nocancel case.
18255 2014-05-20  Will Newton  <will.newton@linaro.org>
18256             Yvan Roux  <yvan.roux@linaro.org>
18258         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18259         #include of asm/ptrace.h.
18260         (PTRACE_GET_THREAD_AREA): Remove #undef.
18261         (PTRACE_GETHBPREGS): Likewise.
18262         (PTRACE_SETHBPREGS): Likewise.
18263         (struct user_regs_struct): New structure.
18264         (struct user_fpsimd_struct): New structure.
18265         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18266         #include of asm/ptrace.h and second #include of sys/user.h.
18267         (PTRACE_GET_THREAD_AREA): Remove #undef.
18268         (PTRACE_GETHBPREGS): Likewise.
18269         (PTRACE_SETHBPREGS): Likewise.
18270         (ELF_NGREG): Use new struct user_regs_struct.
18271         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18273 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18278 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18280         [BZ #16958]
18281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18282         membar to avoid block loads/stores to overlap previous stores.
18284 2014-05-17  Richard Henderson  <rth@redhat.com>
18286         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18287         Create the __##syscall_name##_nocancel entry point.
18288         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18289         Remove; let the sysdep-cancel.h code create it.
18291 2014-05-17  David S. Miller  <davem@davemloft.net>
18293         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18294         Protect with __USE_GNU.
18295         (TIOCSET_TEMPT): Likewise.
18296         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18297         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18298         these are already provided in bits/ioctl-types.h
18300 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18302         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18303         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18305         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18306         Use wait4 regardless of [__NR_waitpid].
18308 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18310         PR libgcc/60166
18311         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18312         (_FP_NANSIGN_Q): Set the quiet bit.
18314 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18316         * benchtests/Makefile
18317         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18318         not $(common-objpfx)math/libm.so.
18319         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18320         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18321         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18322         $(common-objpfx)dlfcn/libdl.so.
18323         ($(objpfx)tst-audit8): Depend on $(libm), not
18324         $(common-objpfx)math/libm.so.
18325         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18326         not $(common-objpfx)dlfcn/libdl.so.
18327         * math/Makefile
18328         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18329         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18330         [$(build-shared) = yes].
18331         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18332         $(common-objpfx)nptl/libpthread.so.
18333         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18334         $(common-objpfx)math/libm.so$(libm.so-version) or
18335         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18336         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18337         $(common-objpfx)dlfcn/libdl.so.
18338         * setjmp/Makefile (link-libm): Remove variable.
18339         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18340         * stdio-common/Makefile (link-libm): Remove variable.
18341         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18342         * stdlib/Makefile (link-libm): Remove variable.
18343         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18344         ($(objpfx)tst-strtod-round): Likewise.
18345         ($(objpfx)tst-tininess): Likewise.
18346         ($(objpfx)tst-strtod-underflow): Likewise.
18347         ($(objpfx)tst-strtod6): Likewise.
18348         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18349         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18350         $(common-objpfx)dlfcn/libdl.so.
18352 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18354         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18355         BSD terminal modes definitions.
18357 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18359         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18360         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18362         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18363         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18364         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18365         Don't do #include_next.
18366         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18367         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18368         Don't do #include_next.
18369         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18370         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18371         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18372         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18374 2014-05-16  Allan McRae  <allan@archlinux.org>
18376         * po/sv.po: Update Swedish translation from translation project.
18378         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18379         in sed expression.
18381 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18383         [BZ #16917]
18384         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18385         errno if the TIOCGPTN ioctl fails with an error different than
18386         EINVAL.
18387         * login/tst-ptsname.c: New file.
18388         * login/Makefile (tests): Add tst-ptsname.
18390         [BZ #16943]
18391         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18392         and prlimit64.
18394 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18396         [BZ #16849]
18397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18398         herrno to return EAI_AGAIN.
18400 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18402         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18403         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18404         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18405         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18406         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18407         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18408         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18409         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18411         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18412         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18413         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18414         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18415         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18416         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18417         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18418         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18419         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18420         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18421         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18422         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18423         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18424         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18425         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18426         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18427         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18428         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18429         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18430         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18431         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18433         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18435         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18437         Moved ...
18438         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18440         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18442         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18444         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18446         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18448         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18450         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18452         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18454         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18456         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18458         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18460         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18462         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18464         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18466         Moved ...
18467         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18469         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18471         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18473         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18475         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18477         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18479         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18481         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18483         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18485         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18487         Moved ...
18488         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18490         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18492         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18493         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18494         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18495         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18496         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18498         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18500         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18502         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18503         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18504         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18505         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18506         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18508         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18510         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18512         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18514         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18517         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18520         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18522         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18524         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18525         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18527         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18528         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18529         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18530         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18531         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18533         Moved ...
18534         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18536         Moved ...
18537         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18539         Moved ...
18540         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18542         Moved ...
18543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18544         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18545         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18546         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18547         Moved ...
18548         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18549         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18550         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18551         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18552         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18553         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18554         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18555         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18556         Moved ...
18557         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18558         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18559         Moved ...
18560         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18561         ... here.
18562         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18563         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18564         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18565         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18567         Moved ...
18568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18569         ... here.
18570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18571         Moved ...
18572         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18573         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18574         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18575         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18576         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18577         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18578         Moved ...
18579         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18581         Moved ...
18582         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18584         Moved ...
18585         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18587         Moved ...
18588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18589         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18590         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18591         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18592         Moved ...
18593         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18594         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18595         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18596         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18597         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18598         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18599         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18600         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18601         Moved ...
18602         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18603         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18604         Moved ...
18605         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18606         ... here.
18607         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18608         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18609         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18610         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18612         Moved ...
18613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18614         ... here.
18615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18616         Moved ...
18617         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18618         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18619         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18620         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18621         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18622         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18623         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18624         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18625         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18627         Moved ...
18628         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18629         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18630         Moved ...
18631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18632         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18633         Moved ...
18634         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18636         Moved ...
18637         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18638         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18639         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18640         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18641         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18642         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18643         Moved ...
18644         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18645         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18646         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18648         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18649         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18650         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18651         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18652         Moved ...
18653         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18654         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18655         Moved ...
18656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18657         ... here.
18658         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18659         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18660         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18661         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18663         Moved ...
18664         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18665         ... here.
18666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18667         Moved ...
18668         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18669         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18670         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18671         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18672         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18673         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18674         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18675         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18676         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18677         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18678         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18680         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18681         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18683         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18684         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18686         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18687         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18688         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18689         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18690         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18691         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18692         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18693         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18694         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18695         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18696         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18697         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18699         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18700         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18702         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18704         Moved ...
18705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18709         Moved ...
18710         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18712         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18714         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18716         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18721         Moved ...
18722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18726         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18728         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18729         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18730         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18731         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18732         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18733         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18734         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18735         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18736         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18737         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18738         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18740         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18741         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18742         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18743         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18744         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18746         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18747         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18748         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18749         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18750         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18751         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18752         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18753         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18754         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18755         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18757         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18758         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18760         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18761         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18762         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18763         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18765         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18767         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18768         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18769         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18770         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18771         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18772         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18773         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18775         Update #include.
18776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18777         Likewise.
18778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18779         Likewise.
18780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18781         Likewise.
18782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18783         Likewise.
18784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18785         Likewise.
18786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18787         Likewise.
18788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18789         Likewise.
18790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18791         Likewise.
18792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18793         Likewise.
18794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18800         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18802         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18804         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18806         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18808         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18810         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18811         that was previously under [RESET_PID].
18812         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18813         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18814         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18816         * sysdeps/i386/nptl/Implies: New file.
18817         * sysdeps/x86_64/nptl/Implies: New file.
18818         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18819         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18820         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18821         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18823         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18824         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18825         (__libc_vfork): New strong alias.
18826         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18827         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18829         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18830         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18831         (__libc_vfork): New strong alias.
18832         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18833         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18835         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18836         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18837         (__libc_vfork): New strong alias.
18838         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18839         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18840         * nptl/pt-vfork.c: New file.
18841         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18842         (libpthread: GLIBC_2.20): New version set (empty).
18844 2014-05-14  Will Newton  <will.newton@linaro.org>
18846         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18847         rather than #if.
18849 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18851         [BZ #16564]
18852         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18853         arguments with exponent 65 or above.
18854         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18855         arguments 0x1p113L or above.
18856         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18857         to arguments 0x1p107L or above.
18858         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18859         positive arguments with exponent 65 or above.
18860         * math/auto-libm-test-in: Add more tests of log1p.
18861         * math/auto-libm-test-out: Regenerated.
18863         [BZ #16928]
18864         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18865         non-finite arguments is +0.
18866         * math/s_cacosf.c (__cacosf): Likewise.
18867         * math/s_cacosl.c (__cacosl): Likewise.
18868         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18872         [BZ #16927]
18873         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18874         value.
18875         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18876         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18877         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18878         for explicit high bit of mantissa when testing for argument equal
18879         to 1.
18880         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18881         * sysdeps/i386/fpu/libm-test-ulps: Update.
18882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18884         [BZ #16516]
18885         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18886         (__erf): Scale by 16 instead of 8 in potentially underflowing
18887         case.  Ensure exception if result actually underflows.
18888         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18889         (__erff): Scale by 16 instead of 8 in potentially underflowing
18890         case.  Ensure exception if result actually underflows.
18891         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18892         (efx8): Remove variable.
18893         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18894         case.  Ensure exception if result actually underflows.
18895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18896         (efx8): Remove variable.
18897         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18898         case.  Ensure exception if result actually underflows.
18899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18900         (efx8): Remove variable.
18901         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18902         case.  Ensure exception if result actually underflows.
18903         * math/auto-libm-test-in: Add more tests of erf.
18904         * math/auto-libm-test-out: Regenerated.
18906 2014-05-14  Andreas Schwab  <schwab@suse.de>
18908         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18909         Remove code conditionalized on USE___THREAD.
18911         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18912         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18913         not definedness.
18915 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18918         Define unconditionally.
18919         (__ASSUME_O_CLOEXEC): Likewise.
18920         (__ASSUME_SOCK_CLOEXEC): Likewise.
18921         (__ASSUME_IN_NONBLOCK): Likewise.
18922         (__ASSUME_PIPE2): Likewise.
18923         (__ASSUME_EVENTFD2): Likewise.
18924         (__ASSUME_SIGNALFD4): Likewise.
18925         (__ASSUME_DUP3): Likewise.
18926         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18927         (__ASSUME_DUP3): Do not define.
18928         (__ASSUME_EVENTFD2): Likewise.
18929         (__ASSUME_IN_NONBLOCK): Likewise.
18930         (__ASSUME_O_CLOEXEC): Likewise.
18931         (__ASSUME_PIPE2): Likewise.
18932         (__ASSUME_SIGNALFD4): Likewise.
18933         (__ASSUME_SOCK_CLOEXEC): Likewise.
18934         (__ASSUME_UTIMES): Undefine.
18935         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18936         (__ASSUME_UTIMES): Do not define.
18937         (__ASSUME_O_CLOEXEC): Likewise.
18938         (__ASSUME_SOCK_CLOEXEC): Likewise.
18939         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18940         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18941         0x020621].
18942         (__ASSUME_PIPE2): Likewise.
18943         (__ASSUME_EVENTFD2): Likewise.
18944         (__ASSUME_SIGNALFD4): Likewise.
18945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18946         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18947         Do not define.
18948         (__ASSUME_EVENTFD2): Likewise.
18949         (__ASSUME_SIGNALFD4): Likewise.
18950         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18951         (__ASSUME_32BITUIDS): Likewise.
18952         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18953         (__ASSUME_IPC64): Likewise.
18954         (__ASSUME_ST_INO_64_BIT): Likewise.
18955         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18956         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18957         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18958         (__ASSUME_UTIMES): Do not define.
18959         (__ASSUME_PSELECT): Likewise.
18960         (__ASSUME_PPOLL): Likewise.
18961         (__ASSUME_O_CLOEXEC): Likewise.
18962         (__ASSUME_SOCK_CLOEXEC): Likewise.
18963         (__ASSUME_IN_NONBLOCK): Likewise.
18964         (__ASSUME_PIPE2): Likewise.
18965         (__ASSUME_EVENTFD2): Likewise.
18966         (__ASSUME_SIGNALFD4): Likewise.
18967         (__ASSUME_DUP3): Likewise.
18968         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18969         (__ASSUME_UTIMES): Likewise.
18970         (__ASSUME_O_CLOEXEC): Likewise.
18971         (__ASSUME_SOCK_CLOEXEC): Likewise.
18972         (__ASSUME_IN_NONBLOCK): Likewise.
18973         (__ASSUME_PIPE2): Likewise.
18974         (__ASSUME_EVENTFD2): Likewise.
18975         (__ASSUME_SIGNALFD4): Likewise.
18976         (__ASSUME_DUP3): Likewise.
18977         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18978         (__ASSUME_UTIMES): Likewise.
18979         (__ASSUME_O_CLOEXEC): Likewise.
18980         (__ASSUME_SOCK_CLOEXEC): Likewise.
18981         (__ASSUME_IN_NONBLOCK): Likewise.
18982         (__ASSUME_PIPE2): Likewise.
18983         (__ASSUME_EVENTFD2): Likewise.
18984         (__ASSUME_SIGNALFD4): Likewise.
18985         (__ASSUME_DUP3): Likewise.
18986         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18987         Likewise.
18988         (__ASSUME_UTIMES): Likewise.
18989         (__ASSUME_EVENTFD2): Likewise.
18990         (__ASSUME_SIGNALFD4): Likewise.
18991         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18992         (__ASSUME_O_CLOEXEC): Likewise.
18993         (__ASSUME_SOCK_CLOEXEC): Likewise.
18994         (__ASSUME_IN_NONBLOCK): Likewise.
18995         (__ASSUME_PIPE2): Likewise.
18996         (__ASSUME_EVENTFD2): Likewise.
18997         (__ASSUME_SIGNALFD4): Likewise.
18998         (__ASSUME_DUP3): Likewise.
18999         (__ASSUME_UTIMES): Undefine.
19001         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19002         feclearexcept.  Remove symbol versioning code.
19003         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19004         symbol versioning code.
19005         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19006         symbol versioning code.
19007         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19008         feupdateenv.  Remove symbol versioning code.
19009         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19010         fegetexceptflag.  Remove symbol versioning code.
19011         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19012         fesetexceptflag.  Remove symbol versioning code.
19013         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19014         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19015         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19016         (__posix_fadvise64_l32): Remove prototype.
19017         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19018         code.
19020 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19022         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19023         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19024         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19025         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19027 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19029         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19030         current working directory
19032 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19034         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19035         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19036         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19037         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19038         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19039         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19040         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19041         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19042         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19043         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19044         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19045         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19046         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19047         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19048         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19049         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19050         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19051         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19052         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19053         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19054         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19055         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19056         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19057         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19058         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19059         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19061         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19063         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19064         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19065         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19066         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19067         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19068         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19069         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19070         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19071         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19072         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19073         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19074         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19075         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19077         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19078         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19080         * sysdeps/unix/sysv/linux/arm/Makefile
19081         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19082         Add rt-aeabi_unwind_cpp_pr1.
19083         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19084         Add nptl-aeabi_unwind_cpp_pr1.
19085         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19086         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19087         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19088         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19089         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19090         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19092         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19093         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19094         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19095         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19097         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19098         Deconditionalize the code that was previously under [RESET_PID].
19099         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19101         * sysdeps/generic/exit-thread.h: New file.
19102         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19103         * include/unistd.h (__exit_thread): Remove declaration.
19104         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19105         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19106         * csu/libc-start.c: Include <exit-thread.h>.
19107         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19108         * nptl/pthread_create.c: Include <exit-thread.h>.
19109         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19110         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19111         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19112         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19113         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19114         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19115         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19116         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19117         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19118         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19119         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19120         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19121         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19122         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19123         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19124         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19125         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19127 2014-05-13  Andreas Schwab  <schwab@suse.de>
19129         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19131 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19133         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19134         (__ASSUME_UTIMES): Do not condition on kernel version.
19135         (__ASSUME_PSELECT): Define unconditionally.
19136         (__ASSUME_PPOLL): Likewise.
19137         (__ASSUME_ATFCTS): Likewise.
19138         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19139         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19140         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19141         (__ASSUME_UTIMENSAT): Define unconditionally.
19142         (__ASSUME_PRIVATE_FUTEX): Likewise.
19143         (__ASSUME_FALLOCATE): Likewise.
19144         (__ASSUME_O_CLOEXEC): Likewise.
19145         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19146         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19147         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19148         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19149         (__ASSUME_IN_NONBLOCK): Likewise.
19150         (__ASSUME_PIPE2): Likewise.
19151         (__ASSUME_EVENTFD2): Likewise.
19152         (__ASSUME_SIGNALFD4): Likewise.
19153         (__ASSUME_DUP3): Likewise.
19154         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19155         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19156         (__ASSUME_AT_RANDOM): Likewise.
19157         (__ASSUME_PREADV): Likewise.
19158         (__ASSUME_PWRITEV): Likewise.
19159         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19160         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19161         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19162         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19163         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19164         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19165         (__ASSUME_O_CLOEXEC): Define unconditionally.
19166         (__ASSUME_PSELECT): Do not undefine conditionally.
19167         (__ASSUME_PPOLL): Likewise.
19168         (__ASSUME_ATFCTS): Likewise.
19169         (__ASSUME_SET_ROBUST_LIST): Likewise.
19170         (__ASSUME_UTIMENSAT): Likewise.
19171         (__ASSUME_FDATASYNC): Define unconditionally.
19172         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19173         (__ASSUME_SIGFRAME_V2): Likewise.
19174         )__ASSUME_EVENTFD2): Likewise.
19175         (__ASSUME_SIGNALFD4): Likewise.
19176         (__ASSUME_PSELECT): Do not undefine conditionally.
19177         (__ASSUME_PPOLL): Likewise.
19178         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19179         (__ASSUME_PSELECT): Define unconditionally.
19180         (__ASSUME_PPOLL): Likewise.
19181         (__ASSUME_O_CLOEXEC): Likewise.
19182         (__ASSUME_SOCK_CLOEXEC): Likewise.
19183         (__ASSUME_IN_NONBLOCK): Likewise.
19184         (__ASSUME_PIPE2): Likewise.
19185         (__ASSUME_EVENTFD2): Likewise.
19186         (__ASSUME_SIGNALFD4): Likewise.
19187         (__ASSUME_DUP3): Likewise.
19188         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19189         (__ASSUME_O_CLOEXEC): Likewise.
19190         (__ASSUME_SOCK_CLOEXEC): Likewise.
19191         (__ASSUME_IN_NONBLOCK): Likewise.
19192         (__ASSUME_PIPE2): Likewise.
19193         (__ASSUME_EVENTFD2): Likewise.
19194         (__ASSUME_SIGNALFD4): Likewise.
19195         (__ASSUME_DUP3): Likewise.
19196         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19197         (__ASSUME_EVENTFD2): Likewise.
19198         (__ASSUME_SIGNALFD4): Likewise.
19199         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19201 2014-05-12  Andreas Schwab  <schwab@suse.de>
19203         [BZ #16932]
19204         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19205         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19206         than maximum RPC packet size.
19207         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19208         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19209         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19210         (_nss_nis_getservbyport_r): Likewise.
19212 2014-05-12  Will Newton  <will.newton@linaro.org>
19214         * malloc/Makefile (tests): Add tst-mallopt.
19215         * malloc/tst-mallopt.c: New file.
19217 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19219         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19220         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19222 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19224         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19225         (tst-tlsmod6.so): Likewise.
19227 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19229         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19231 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19233         [BZ #16064]
19234         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19235         and <dl-procinfo.h>.
19236         (__fegetenv): Save SSE state in envp->__eip if supported.
19237         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19238         envp->__eip if supported.
19239         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19240         and <dl-procinfo.h>.
19241         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19242         __data_offset and __data_selector in environment to 0.  Set SSE
19243         state if supported.
19244         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19245         test-fenv-sse.
19246         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19247         -mfpmath=sse.
19248         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19250 2014-05-09  Will Newton  <will.newton@linaro.org>
19252         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19253         and libc_relro_required for ARM.
19254         * sysdeps/arm/preconfigure: Regenerate.
19256 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19257             Stefan Liebler  <stli@linux.vnet.ibm.com>
19259         * config.make.in (enable-lock-elision): New Makefile variable.
19260         * configure.ac: Likewise.
19261         * configure: Regenerate.
19262         * sysdeps/s390/configure.ac:
19263         Add check for gcc transactions support.
19264         * sysdeps/s390/configure: Regenerate.
19265         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19266         Build elision files if enabled.
19267         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19268         Add lock elision support for s390.
19269         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19270         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19271         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19272         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19273         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19274         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19276         Likewise.
19277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19278         Likewise.
19279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19280         Likewise.
19281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19282         Likewise.
19283         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19284         (__lll_timedlock_elision, __lll_lock_elision)
19285         (__lll_unlock_elision, __lll_trylock_elision)
19286         (lll_timedlock_elision, lll_lock_elision)
19287         (lll_unlock_elision, lll_trylock_elision): Add.
19288         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19289         (pthread_mutex_t): Add lock elision support for s390.
19291 2014-05-14  Wilco  <wdijkstr@arm.com>
19293         * sysdeps/arm/fclrexcpt.c: Cleanup.
19294         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19295         * sysdeps/arm/feenablxcpt.c: Cleanup.
19296         * sysdeps/arm/fegetenv.c: Cleanup.
19297         * sysdeps/arm/fegetexcept.c: Cleanup.
19298         * sysdeps/arm/fegetround.c: Cleanup.
19299         * sysdeps/arm/feholdexcpt.c: Cleanup.
19300         * sysdeps/arm/fesetenv.c: Cleanup.
19301         * sysdeps/arm/fesetround.c: Cleanup.
19302         * sysdeps/arm/feupdateenv.c: Cleanup.
19303         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19304         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19305         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19306         * sysdeps/arm/ftestexcept.c: Cleanup.
19307         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19308         * sysdeps/arm/setfpucw.c: Cleanup.
19310 2014-05-09  Will Newton  <will.newton@linaro.org>
19312         * sysdeps/arm/armv7/strcmp.S: New file.
19313         * NEWS: Mention addition of ARMv7 optimized strcmp.
19315 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19317         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19318         look for %.ac rather than %.in.
19320         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19321         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19322         * sysdeps/mach/hurd/configure: Regenerated.
19323         * sysdeps/unix/sysv/linux/configure: Regenerated.
19325         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19327 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19329         [BZ# 16922]
19330         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19331         (LONG_SUB): Ditto.
19332         (PTR_SUB): Ditto.
19334 2014-05-07  Andreas Schwab  <schwab@suse.de>
19336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19337         when skipping over non-matching result from nscd.
19339 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19341         [BZ #16876]
19342         * nptl/sockperf.c (client): Check socket return value.
19344         [BZ #16877]
19345         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19346         nscd security class.
19348 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19350         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19351         * sysdeps/arm/unwind.h: ... here.
19353 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19355         [BZ# 16916]
19356         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19357         Define.
19359 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19361         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19362         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19363         multiarch strncpy for PPC64.
19364         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19365         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19367         multiarch optimizations.
19368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19369         (__libc_ifunc_impl_list): Likewise.
19370         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19371         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19372         multiarch stpncpy for PPC64.
19373         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19374         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19376 2014-05-06  Andreas Schwab  <schwab@suse.de>
19378         [BZ #16912]
19379         * gmon/mcount.c (_MCOUNT_DECL): Use
19380         atomic_compare_and_exchange_bool_acq instead of
19381         catomic_compare_and_exchange_bool_acq.
19383 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19385         * elf/Makefile (others, install-bin): Remove pldd.
19386         (pldd-modules): Variable removed.
19387         ($(objpfx)pldd): Target removed.
19388         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19389         (others, install-bin): Append pldd here.
19390         ($(objpfx)pldd): New target.
19392         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19393         to 0, so the first #if test emitted later doesn't see it undefined.
19394         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19395         * sysdeps/gnu/errlist.c: Regenerated.
19397 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19399         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19400         [libc_hidden_builtin_def]: Define to empty value.
19401         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19402         [libc_hidden_builtin_def]: Likewise.
19403         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19404         [libc_hidden_builtin_def]: Likewise.
19405         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19406         [libc_hidden_builtin_def]: Likewise.
19407         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19408         __redirect_memcpy and define ifunc as default hidden symbol.
19409         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19410         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19412 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19414         * locale/iso-4217.def: Reintroduce XDR currency.
19416 2014-05-04  Allan McRae  <allan@archlinux.org>
19418         * po/eo.po: Update Esperanto translation from translation project.
19420 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19422         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19423         and FEATURE_INDEX_MAX to 1.
19424         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19426 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19428         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19429         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19430         * iconvdata/big5.c (ONE_DIRECTION): Define.
19431         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19432         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19433         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19434         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19435         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19436         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19437         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19438         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19439         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19440         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19441         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19442         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19443         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19444         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19445         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19446         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19447         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19448         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19449         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19450         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19451         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19452         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19453         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19454         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19455         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19456         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19457         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19458         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19459         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19460         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19461         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19462         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19463         * iconvdata/johab.c (ONE_DIRECTION): Define.
19464         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19465         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19466         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19467         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19468         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19469         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19470         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19471         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19472         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19473         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19475 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19477         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19478         (_IO_JUMPS_OFFSET): Define to 0.
19480         * nptl/sysdeps/pthread/bits/libc-lock.h
19481         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19482         (__libc_lock_define_initialized_recursive): Always define using
19483         initializer.  Modern compilers treat uninitialized (implicit zero) and
19484         explicit zero initializers the same (i.e. put the datum in bss).
19486 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19488         * nscd/nscd-client.h: Include <string.h>.
19490 2014-05-01  David S. Miller  <davem@davemloft.net>
19492         [BZ #16885]
19493         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19494         multiple zero bytes exist at the end of a string.
19495         Reported by Aurelien Jarno <aurelien@aurel32.net>
19497         * string/test-strcmp.c (check): Add explicit test for situations where
19498         there are multiple zero bytes after the first.
19500 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19502         [BZ #16890]
19503         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19504         when compiling wprintf.
19505         * stdio-common/tstdiomisc.c (t3): New function.
19506         (main): Call it.
19508 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19510         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19511         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19512         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19513         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19515 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19517         * stdlib/longlong.h: Updated from GCC.
19519 2014-05-01  Will Newton  <will.newton@linaro.org>
19520             Bernard Ogden  <bernie.ogden@linaro.org>
19522         * NEWS: Update fixed bug list.
19524         [BZ #15119]
19525         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19527 2014-04-30  David S. Miller  <davem@davemloft.net>
19529         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19530         (libc_feholdexcept_setround_sparc_ctx): New function.
19531         (libc_fesetenv_sparc_ctx): Likewise.
19532         (libc_feupdateenv_sparc_ctx): Likewise.
19533         (libc_feholdsetround_sparc_ctx): Likewise.
19534         (libc_feholdexcept_setround_ctx): Define.
19535         (libc_feholdexcept_setroundf_ctx): Likewise.
19536         (libc_feholdexcept_setroundl_ctx): Likewise.
19537         (libc_fesetenv_ctx): Likewise.
19538         (libc_fesetenvf_ctx): Likewise.
19539         (libc_fesetenvl_ctx): Likewise.
19540         (libc_feupdateenv_ctx): Likewise.
19541         (libc_feupdateenvf_ctx): Likewise.
19542         (libc_feupdateenvl_ctx): Likewise.
19543         (libc_feresetround_ctx): Likewise.
19544         (libc_feresetroundf_ctx): Likewise.
19545         (libc_feresetroundl_ctx): Likewise.
19546         (libc_feholdsetround_ctx): Likewise.
19547         (libc_feholdsetroundf_ctx): Likewise.
19548         (libc_feholdsetroundl_ctx): Likewise.
19550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19551         with __USE_GNU instead of XOPEN cpp guards.
19553         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19554         0.
19556         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19557         with XOPEN cpp guards.
19559 2014-04-30  Julian Brown  <julian@codesourcery.com>
19561         [BZ #16888]
19562         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19563         handling.
19565 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19567         [BZ #9894]
19568         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19569         Change to 2.6.32.
19570         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19571         * sysdeps/unix/sysv/linux/configure: Regenerated.
19572         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19573         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19574         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19575         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19576         * README: Update reference to required Linux kernel version.
19577         * manual/install.texi (Linux): Update reference to required Linux
19578         kernel headers version.
19579         * INSTALL: Regenerated.
19581         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19582         header inclusion.
19583         [POSIX] (limits.h): Likewise.
19584         [POSIX] (math.h): Likewise.
19585         [POSIX] (sys/wait.h): Likewise.
19586         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19587         function.
19588         [POSIX] (stddef.h): Do not allow header inclusion.
19590 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19592         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19594 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19596         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19597         Return immediately after lll_futex_wake.
19599 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19601         [BZ #16791]
19602         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19603         structure.
19604         (datahead_init_pos): Call datahead_init_common early.
19605         (datahead_init_neg): Likewise.
19607         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19608         datahead_init_neg): New functions.
19609         * nscd/aicache.c (addhstaiX): Use them.
19610         * nscd/grpcache.c (cache_addgr): Likewise.
19611         * nscd/hstcache.c (cache_addhst): Likewise.
19612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19613         * nscd/netgroupcache.c (do_notfound): Likewise.
19614         (addgetnetgrentX): Likewise.
19615         (addinnetgrX): Likewise.
19616         * nscd/pwdcache.c (cache_addpw): Likewise.
19617         * nscd/servicescache.c (cache_addserv): Likewise.
19619 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19620             Atsushi Onoe  <atsushi@onoe.org>
19622         [BZ #14308]
19623         [BZ #12994]
19624         [BZ #13651]
19625         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19626         one response is valid.
19627         * resolv/res_send.c (send_dg): Check for validity of other
19628         response if the current response is a referral.
19630 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19632         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19634 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19636         [BZ #16823]
19637         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19638         Always divide by positive zero when computing -Inf result.
19639         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19640         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19642 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19644         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19645         FPSCR if value do not change.
19646         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19647         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19648         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19649         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19650         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19651         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19652         function.
19654 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19656         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19657         * sysdeps/unix/sysv/linux/hppa: Move directory from
19658         ports/systeps/unix/sysv/linux/hppa.
19659         * README: Update listing for hppa-*-linux-gnu.
19661 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19663         [BZ #16754]
19664         * manual/stdio.texi (Hook functions): Fix types of stream hook
19665         functions.
19666         [BZ #16854]
19667         * socket/sys/socket.h: Fix typo in comment.
19669 2014-04-28  Wilco  <wdijkstr@arm.com>
19671         * sysdeps/arm/fenv_private.h: New file.
19672         * sysdeps/arm/math_private.h: New file.
19673         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19675 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19677         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19678         with __int128_t.
19679         (La_x86_64_retval): Likewise.
19681 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19683         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19684         fpsr if value didn't change.
19685         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19686         to fpcr if value didn't change.
19687         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19688         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19689         fpsr or fpcr if value didn't change.
19690         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19691         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19692         fpcr if value didn't change.
19693         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19694         to fpsr if value didn't change.
19696 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19698         * nptl/tst-sem3.c: Use test-skeleton.c
19699         (main): Rename to do_test.  Use return instead of
19700         exit.
19701         * nptl/tst-sem4.c: Use test-skeleton.c
19702         (main): Rename to do_test.
19704 2014-04-22  David S. Miller  <davem@davemloft.net>
19706         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19707         (struct sigaction): New struct member __glibc_reserved0, change
19708         type of sa_flags to int.
19710 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19712         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19713         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19715 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19717         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19718         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19720 2014-04-22  Will Newton  <will.newton@linaro.org>
19721             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19723         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19724         (__longjmp): Add longjmp and longjmp_target SystemTap
19725         probes.
19726         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19727         (__sigsetjmp): Add setjmp SystemTap probe.
19729 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19731         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19732         match manual order.
19734 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19736         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19738         * sysdeps/powerpc/fpu/fenv_private.h
19739         (libc_feholdexcept_setroundl_ctx): Define to
19740         libc_feholdexcept_setround_ppc_ctx.
19741         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19742         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19743         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19744         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19746 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19748         * sysdeps/aarch64/math-tests.h: New file.
19750 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19752         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19753         New.
19754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19755         Check and set bit_AVX2_Usable.
19756         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19757         macro.
19758         (bit_AVX2): Likewise.
19759         (index_AVX2_Usable): Likewise.
19760         (CPUID_AVX2): Likewise.
19761         (HAS_AVX2): Likewise.
19763 2014-04-17  Will Newton  <will.newton@linaro.org>
19765         * manual/setjmp.texi (System V contexts): Add note that
19766         calling setcontext on a context created by a call to a
19767         signal handler is undefined.  Update text to note that
19768         setcontext from a signal handler is possible but not
19769         recommended.
19771         [BZ #16629]
19772         * stdlib/tst-setcontext.c: Include signal.h.
19773         (main): Check that the signal stack before and
19774         after swapcontext is the same.
19776         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19777         Re-implement to restore registers in user code and avoid
19778         rt_sigreturn system call.
19780 2014-04-17  Wilco  <wdijkstr@arm.com>
19782         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19783         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19784         * math/test-fenv.c: Skip exception trap tests on targets which only
19785         support non-stop mode.
19787 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19788             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19790         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19791         (libc_feholdsetround_aarch64_ctx)
19792         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19793         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19794         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19795         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19796         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19797         (libc_feresetround_noexl_ctx): Define.
19799 2014-04-16  Richard Henderson  <rth@redhat.com>
19801         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19803         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19804         unwind tables.
19806         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19807         const from the non-libc, non-ldso copy.
19809         * sysdeps/alpha/libm-test-ulps: Regenerate.
19811 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19812             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19814         * sysdeps/aarch64/fpu/math_private.h: New file.
19816 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19818         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19820 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19822         [BZ #16275]
19823         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19824         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19826         Intel MPX bound registers before _dl_profile_fixup.
19827         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19828         registers after _dl_profile_fixup.  Save and restore bound
19829         registers bnd0/bnd1 when calling _dl_call_pltexit.
19830         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19831         (LR_BND_OFFSET): Likewise.
19832         (LRV_BND0_OFFSET): Likewise.
19833         (LRV_BND1_OFFSET): Likewise.
19835 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19837         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19838         to...
19839         * sysdeps/mach/hurd/i386/tls.h: ... here.
19840         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19841         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19842         fields.
19844 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19846         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19848 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19850         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19852 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19854         [BZ #14770]
19855         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19856         * sysdeps/s390/configure: Regenerate.
19858         [BZ #16824]
19859         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19860         Set round-to-nearest internally to reduce error accumulation.
19862 2014-04-16  Alan Modra  <amodra@gmail.com>
19864         [BZ #16740]
19865         [BZ #16619]
19866         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19867         * math/libm-test.inc (frexp_test_data): Add tests.
19868         * NEWS: Update fixed bug list.
19870 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19872         * benchtests/Makefile: Depend on libraries in build directory.
19873         (bench-math): Separate out math tests.
19874         (bench-pthread): Separate out pthread tests.
19875         (bench): Include math and pthread tests.
19877 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19879         [BZ #16831]
19880         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19881         _dl_debug_initialize.
19883         * configure.ac: Remove SELinux header check.
19884         * configure: Regenerate.
19885         * nscd/selinux.c (perms): Array of const char* to permission names.
19886         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19887         default policy. Call string_to_security_class and string_to_av_perm to
19888         translate strings. Enforce default policy and call avs_has_perm with
19889         results of translated strings.
19891 2014-04-13  David S. Miller  <davem@davemloft.net>
19893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19895 2014-04-12  Allan McRae  <allan@archlinux.org>
19897         [BZ #16838]
19898         * manual/string.texi (Collation Functions): Fix qsort argument
19899         order in example.
19900         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19902 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19904         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19905         Make the test a no-op if there are no exceptions defined.
19907 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19909         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19910         enable-hardcoded-path-in-tests
19912 2014-04-11  Will Newton  <will.newton@linaro.org>
19914         * benchtests/Makefile (extra-objs): Add json-lib.o.
19915         (bench-func): Tidy up JSON output.
19916         * benchtests/bench-skeleton.c: Include json-lib.h.
19917         (main): Use JSON library functions to do output of
19918         benchmark results.
19919         * benchtests/bench-timing-type.c (main): Output the
19920         timing type simply, leaving formatting to the user.
19921         * benchtests/json-lib.c: New file.
19922         * benchtests/json-lib.h: Likewise.
19924 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19926         [BZ #15215]
19927         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19928         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19929         memory barriers.  Add comments.
19930         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19931         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19932         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19933         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19934         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19935         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19937 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19939         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19940         * sysdeps/s390/s390-64/configure.ac: ... this ...
19941         * sysdeps/s390/configure.ac: ... to here.
19942         * sysdeps/s390/s390-32/configure: Delete file.
19943         * sysdeps/s390/s390-64/configure: Delete file.
19944         * sysdeps/s390/configure: Regenerate.
19946 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19948         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19950 2014-04-11  Will Newton  <will.newton@linaro.org>
19952         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19953         to zero if it is not defined elsewhere.  (mtrim): Test
19954         the value of MALLOC_DEBUG with #if rather than #ifdef.
19956 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19958         * benchtests/pthread_once-inputs: New file.
19959         * benchtests/pthread_once-source.c: New file.
19960         * benchtests/README: Update documentation.
19962 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19963             H.J. Lu  <hongjiu.lu@intel.com>
19965         [BZ #16275]
19966         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19967         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19968         * sysdeps/x86_64/configure: Regenerated.
19969         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19970         macro.
19971         (REGISTER_SAVE_RAX): Likewise.
19972         (REGISTER_SAVE_RCX): Likewise.
19973         (REGISTER_SAVE_RDX): Likewise.
19974         (REGISTER_SAVE_RSI): Likewise.
19975         (REGISTER_SAVE_RDI): Likewise.
19976         (REGISTER_SAVE_R8): Likewise.
19977         (REGISTER_SAVE_R9): Likewise.
19978         (REGISTER_SAVE_BND0): Likewise.
19979         (REGISTER_SAVE_BND1): Likewise.
19980         (REGISTER_SAVE_BND2): Likewise.
19981         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19982         bound registers when calling _dl_fixup.
19984 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19986         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19987         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19988         of its definition.
19989         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19990         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19991         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19992         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19993         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19994         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19995         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19997 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19999         [BZ #15514]
20000         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20001         pathconf(_PC_NAME_MAX).
20003 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20005         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20006         Remove macro usage.
20007         (__PTHREAD_SPINS): Move definition to ...
20008         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20009         (__PTHREAD_SPINS): ... here.
20010         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20011         (__PTHREAD_SPIN): Likewise.
20012         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20013         (__PTHREAD_SPIN): Likewise.
20014         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20015         (__PTHREAD_SPIN): Likewise.
20016         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20017         (__PTHREAD_SPIN): Likewise.
20018         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20019         (__PTHREAD_SPIN): Likewise.
20020         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20021         (__PTHREAD_SPIN): Likewise.
20022         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20023         (__PTHREAD_SPIN): Likewise.
20024         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20025         (__PTHREAD_SPIN): Likewise.
20026         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20027         (__PTHREAD_SPIN): Likewise.
20028         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20029         (__PTHREAD_SPIN): Likewise.
20030         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20031         (__PTHREAD_SPIN): Likewise.
20032         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20033         (__PTHREAD_SPIN): Likewise.
20035         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20036         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20037         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20038         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20039         imply folder.
20040         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20041         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20042         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20043         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20044         correct imply path.
20045         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20046         strlen symbol for non multi-arch builds.
20047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20048         missing hidden_def and weak_alias.
20050 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20052         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20054 2014-04-07  Will Newton  <will.newton@linaro.org>
20056         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20057         and contents.  [!_LIBC] Remove #ifndef and contents.
20058         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20059         * string/memccpy.c (__memccpy): Use ANSI prototype.
20060         * string/memfrob.c (memfrob): Likewise.
20061         * string/strcoll.c (STRCOLL): Likewise.
20062         * string/strlen.c (strlen): Likewise.
20063         * string/strtok.c (STRTOK): Likewise.
20064         * string/strcat.c: Remove unused #include of memcopy.h.
20065         (strcat): Use ANSI prototype.
20066         * string/strchr.c: Remove unused #include of memcopy.h.
20067         (strchr): Use ANSI prototype.
20068         * string/strcmp.c: Remove unused #include of memcopy.h.
20069         (strcmp): Use ANSI prototype.
20070         * string/strcpy.c: Remove unused #include of memcopy.h.
20071         (strcpy): Use ANSI prototype.
20073 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20076         * config.make.in (config-extra-cppflags): Set it from
20077         libc_extra_cppflags.
20078         * configure.ac (libc_extra_cflags): Make it accumulate over
20079         configure fragments.
20080         (libc_extra_cppflags): New flag.
20081         * configure. Regenerate.
20082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20083         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20084         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20087         [BZ #16815]
20088         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20089         result for FE_DOWNWARD rounding mode.
20090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20091         Likewise.
20092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20094 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20096         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20097         in function argument name.
20099 2014-04-03  David Svoboda  <svoboda@cert.org>
20101         [BZ #5666]
20102         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20103         explicitly.
20105 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20107         * elf/dl-unmap-segments.h: New file.
20108         * sysdeps/generic/ldsodefs.h
20109         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20110         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20111         * elf/dl-fptr.c: Likewise.
20112         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20113         * sysdeps/aarch64/tlsdesc.c: Likewise.
20114         * sysdeps/arm/tlsdesc.c: Likewise.
20115         * sysdeps/i386/tlsdesc.c: Likewise.
20116         * sysdeps/tile/dl-runtime.c: Likewise.
20117         * sysdeps/x86_64/tlsdesc.c: Likewise.
20118         * elf/dl-load.h: New file.
20119         * elf/dl-load.c: Include it.
20120         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20121         Macros moved to dl-load.h.
20122         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20123         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20124         Use _dl_unmap_segments in place of __munmap.
20125         Break out segment-mapping loop into ...
20126         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20128 2014-04-03  Will Newton  <will.newton@linaro.org>
20130         * elf/dl-lookup.c (do_lookup_x): Remove comment
20131         referring to nested function and move variable
20132         declarations down to before first use.
20134 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20136         [BZ #16799]
20137         [BZ #16800]
20138         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20139         with 0 numerator.
20140         * math/s_catanf.c (__catanf): Likewise.
20141         * math/s_catanh.c (__catanh): Likewise.
20142         * math/s_catanhf.c (__catanhf): Likewise.
20143         * math/s_catanhl.c (__catanhl): Likewise.
20144         * math/s_catanl.c (__catanl): Likewise.
20145         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20146         by positive zero when computing -Inf result.
20147         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20148         (catanh_test): Likewise.
20149         * sysdeps/i386/fpu/libm-test-ulps: Update.
20150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20152         [BZ #16789]
20153         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20154         instead of using underflowing value in computing result.
20155         * math/s_clog10.c (__clog10): Likewise.
20156         * math/s_clog10f.c (__clog10f): Likewise.
20157         * math/s_clog10l.c (__clog10l): Likewise.
20158         * math/s_clogf.c (__clogf): Likewise.
20159         * math/s_clogl.c (__clogl): Likewise.
20160         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20161         (clog10_test): Likewise.
20162         * sysdeps/i386/fpu/libm-test-ulps: Update.
20163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20165 2014-04-02  Alan Modra  <amodra@gmail.com>
20167         [BZ #16739]
20168         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20169         output when value is near a power of two.  Use int64_t for lx and
20170         remove casts.  Use decimal rather than hex exponent constants.
20171         Don't use long double multiplication when double will suffice.
20172         * math/libm-test.inc (nextafter_test_data): Add tests.
20173         * NEWS: Add 16739 and 16786 to bug list.
20175         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20177         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20179 2014-04-01  Will Newton  <will.newton@linaro.org>
20181         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20182         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20184 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20186         [BZ #13347]
20187         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20188         * nptl/tst-setuid2.c: New file.
20189         * nptl/Makefile (xtests): Add tst-setuid2.
20191 2014-04-01  Alan Modra  <amodra@gmail.com>
20193         [BZ #16786]
20194         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20196 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20198         [BZ #6803]
20199         [BZ #6804]
20200         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20201         set errno as appropriate.
20202         * math/w_scalbf.c (__scalbf): Likewise.
20203         * math/w_scalbl.c (__scalbl): Likewise.
20204         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20205         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20206         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20207         Add more NaN tests.
20209         [BZ #16349]
20210         * math/w_atan2.c: Include <errno.h>.
20211         (__atan2): Set errno for result underflowing to zero.
20212         * math/w_atan2f.c: Include <errno.h>.
20213         (__atan2f): Set errno for result underflowing to zero.
20214         * math/w_atan2l.c: Include <errno.h>.
20215         (__atan2l): Set errno for result underflowing to zero.
20216         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20217         tests.
20218         * math/auto-libm-test-out: Regenerated.
20220 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20222         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20223         Encode instruction correctly in little endian.
20224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20225         Likewise.
20226         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20227         Likewise.
20228         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20229         Likewise.
20230         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20231         Likewise.
20233 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20235         [BZ #9894]
20236         * sysdeps/unix/sysv/linux/kernel-features.h
20237         [__sparc__ && !__arch64__ && !__sparc_v9__]
20238         (__ASSUME_SET_ROBUST_LIST): Do not define.
20239         [__sparc__ && !__arch64__ && !__sparc_v9__]
20240         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20241         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20242         Likewise.
20243         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20244         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20245         (__ASSUME_REQUEUE_PI): Likewise.
20246         (__ASSUME_SET_ROBUST_LIST): Likewise.
20247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20248         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20249         Undefine.
20250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20251         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20252         Likewise.
20253         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20254         Likewise.
20255         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20256         Likewise.
20257         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20258         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20259         Undefine.
20260         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20261         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20262         Likewise.
20264         [BZ #16648]
20265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20266         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20267         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20269 2014-03-31  Will Newton  <will.newton@linaro.org>
20271         * benchtests/Makefile (bench): Add ffs and ffsll to list
20272         of tests.
20273         * benchtests/ffs-inputs: New file.
20274         * benchtests/ffsll-inputs: Likewise.
20276 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20278         [BZ #16770]
20279         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20280         too large before casting to int.
20281         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20282         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20283         * math/libm-test.inc (scalb_test_data): Add more tests.
20285 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20287         * benchtests/Makefile (DETAILED_OPT): New make option.
20288         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20289         set.
20290         * benchtests/bench-skeleton.c: Include stdbool.h.
20291         (main): Store and print timings per input.
20292         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20293         member to each argument value.
20294         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20295         (_print_arg_data): Initialize per-input timing to 0.
20297         * benchtests/Makefile (timing-type): New binary.
20298         (bench-clean): Also remove bench-timing-type.
20299         (bench): New target for timing-type.
20300         (bench-func): Print output in JSON format.
20301         * benchtests/bench-skeleton.c (main): Print output in JSON
20302         format.
20303         * benchtests/bench-timing-type.c: New file.
20304         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20305         (TIMING_PRINT_STATS): Remove.
20306         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20307         name separately.
20309         * benchtests/bench-modf.c: Remove.
20310         * benchtests/modf-inputs: New inputs file.
20312 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #16362]
20315         * math/s_clog10.c (M_PI_LOG10E): New macro.
20316         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20317         imaginary parts are 0.
20318         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20319         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20320         imaginary parts are 0.
20321         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20322         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20323         imaginary parts are 0.
20324         * math/libm-test.inc (clog10_test_data): Update expected results
20325         for when real and imaginary parts are 0.
20327 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20329         * elf/dl-load.c: Finish conversion of __builtin_expect into
20330         __glibc_{un}likely.
20332 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #16348]
20335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20336         1+x for argument with exponent below -67.
20337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20338         Likewise.
20339         * math/auto-libm-test-in: Add more tests of exp.
20340         * math/auto-libm-test-out: Regenerated.
20342 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20344         [BZ #16759]
20345         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20346         (nscd_getnetgrent): Use it.
20348         [BZ #16760]
20349         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20350         of stpcpy.
20352 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20354         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20355         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20356         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20357         (lll_robust_unlock): Remove out of line section. Use cfi
20358         intrinsics.
20359         (LLL_STUB_UNWIND_INFO*): Remove.
20360         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20361         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20362         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20363         (lll_robust_unlock): Remove out of line section. Use cfi
20364         intrinsics.
20365         (LLL_STUB_UNWIND_INFO*): Remove.
20367 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20369         [BZ #16758]
20370         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20371         blank values.
20373 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20375         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20377 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20379         [BZ #16198]
20380         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20381         fnstenv.
20382         * math/test-fenv-preserve.c: New file.
20383         * math/Makefile (tests): Add test-fenv-preserve.
20385 2014-03-26  Will Newton <will.newton@linaro.org>
20387         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20389 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20391         * scripts/versionlist.awk: Partition the version sets and emit all
20392         GLIBC_* (sorted) before all others (sorted).
20394 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20396         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20397         GLIBC_2.2.5 version.
20399 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20401         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20402         calls.
20404         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20405         previous change.
20407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20409 2014-03-25  Andreas Schwab  <schwab@suse.de>
20411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20412         label to be used after in6ailist is initialized.
20414 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20416         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20417         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20419 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20421         [BZ #16357]
20422         [BZ #16599]
20423         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20424         min_plus_half.
20425         (fp_formats): Update initializers.
20426         (init_fp_formats): Initialize new field.
20427         (output_for_one_input_case): Allow underflow for results up to
20428         min_plus_half.
20429         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20430         * math/auto-libm-test-in: Don't mark some underflows from asin and
20431         atanh as spurious.
20432         * math/auto-libm-test-out: Regenerated.
20433         * sysdeps/i386/fpu/libm-test-ulps: Update.
20434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20436 2014-03-25  Andreas Schwab  <schwab@suse.de>
20438         * libio/Makefile (tst-ftell-partial-wide-ENV)
20439         (tst-ftell-active-handler-ENV): Define.
20441 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20443         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20445 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20447         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20449 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20451         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20452         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20453         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20455 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20457         [BZ #16634]
20458         * elf/dl-load.c (open_verify): Add mode parameter.
20459         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20460         (open_path): Change from boolean 'secure' to complete flag 'mode'
20461         (_dl_map_object): Adjust.
20462         * elf/Makefile (tests): Add tst-dlopen-aout.
20463         * elf/tst-dlopen-aout.c: New test.
20465 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20467         [BZ #16714]
20468         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20469         (struct stat): Rename member pad0 to __glibc_reserved0.
20471         [BZ #16712]
20472         * sysdeps/s390/s390-32/bits/wordsize.h
20473         (__WORDSIZE32_SIZE_ULONG): New define.
20474         * sysdeps/s390/s390-64/bits/wordsize.h
20475         (__WORDSIZE32_SIZE_ULONG): Likewise.
20476         * sysdeps/generic/stdint.h (SIZE_MAX):
20477         Define as UL if __WORDSIZE32_SIZE_ULONG.
20479         [BZ #16713]
20480         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20481         (__glibc_reserved0): New variable.
20482         (sa_flags): Change type to int.
20484         * posix/Makefile (before-compile): Use += before-compile instead
20485         of a :=.
20487         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20488         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20490 2014-03-20  Andreas Schwab  <schwab@suse.de>
20492         [BZ #16743]
20493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20494         non-matching result from nscd.
20496 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20498         * scripts/bench.py: Moved to ...
20499         * benchtests/scripts/bench.py: ... here.
20500         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20502 2014-03-24  Andreas Schwab  <schwab@suse.de>
20504         [BZ #16002]
20505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20506         alloca_account and account alloca use for struct in6ailist.
20508 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20510         [BZ #16284]
20511         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20512         rounding mode to recompute results that overflow to infinity or
20513         underflow to zero.
20514         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20515         bug 16284.
20516         * math/auto-libm-test-out: Regenerated.
20517         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20518         (ccosh_test): Likewise.
20519         (csin_test_data): Use plus_oflow.
20520         (csin_test): Use ALL_RM_TEST.
20521         (csinh_test_data): Use plus_oflow.
20522         (csinh_test): Use ALL_RM_TEST.
20523         * sysdeps/i386/fpu/libm-test-ulps: Update.
20524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20528         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20529         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20530         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20532         [BZ #16731]
20533         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20534         when x - 1 is zero.
20535         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20536         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20537         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20538         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20539         argument is 1.
20540         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20541         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20542         zero.
20543         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20544         * sysdeps/i386/fpu/libm-test-ulps: Update.
20545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20549         * scripts/bench.pl: Remove file.
20550         * scripts/bench.py: New benchmark script.
20551         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20552         * benchtests/README: Mention python dependency.
20553         * scripts/pylintrc: New file.
20554         * scripts/pylint: New file.
20556         * bits/mathdef.h: Use #ifdef instead of #if.
20557         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20558         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20559         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20560         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20561         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20562         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20564 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20565             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20567         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20569         and strpbrk-ppc64 objects.
20570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20571         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20573         multiarch strpbrk for POWER7.
20574         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20575         multiarch strpbrk for PPC64.
20576         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20577         ifunc selector.
20578         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20579         strpbrk for POWER7.
20581 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20583         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20584         (atan_test): Likewise.
20585         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20586         (atanh_test): Use ALL_RM_TEST.
20587         (atan2_test_data): Likewise.
20588         (cabs_test): Likewise.
20589         (cacosh_test): Likewise.
20590         (carg_test): Likewise.
20591         (casin_test): Likewise.
20592         (casinh_test): Likewise.
20593         (cbrt_test): Likewise.
20594         (csqrt_test): Likewise.
20595         (erf_test): Likewise.
20596         (erfc_test): Likewise.
20597         (pow10_test): Likewise.
20598         (exp2_test): Likewise.
20599         (hypot_test): Likewise.
20600         (j0_test): Likewise.
20601         (j1_test): Likewise.
20602         (lgamma_test): Likewise.
20603         (gamma_test): Likewise.
20604         (sincos_test): Likewise.
20605         (tanh_test): Likewise.
20606         (y0_test): Likewise.
20607         (y1_test): Likewise.
20608         * sysdeps/i386/fpu/libm-test-ulps: Update.
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20611 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20613         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20615         and strcspn-ppc64 objects.
20616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20617         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20618         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20619         multiarch strcspn for POWER7.
20620         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20621         multiarch strcspn for PPC64.
20622         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20623         ifunc selector.
20624         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20625         strcspn for POWER7.
20627 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20629         * math/gen-libm-test.pl (generate_testfile): Expect only function
20630         name as argument to AUTO_TESTS_* and pass results for all rounding
20631         modes to parse_args.
20632         (parse_auto_input): Separate inputs of automatic tests from
20633         outputs before storing in %auto_tests.
20634         * math/libm-test.inc (acos_test_data): Update call to
20635         AUTO_TESTS_f_f.
20636         (acos_test): Use ALL_RM_TEST.
20637         (acos_tonearest_test_data): Remove.
20638         (acos_test_tonearest): Likewise.
20639         (acos_towardzero_test_data): Likewise.
20640         (acos_test_towardzero): Likewise.
20641         (acos_downward_test_data): Likewise.
20642         (acos_test_downward): Likewise.
20643         (acos_upward_test_data): Likewise.
20644         (acos_test_upward): Likewise.
20645         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20646         (asin_test_data): Likewise.
20647         (asin_test): Use ALL_RM_TEST.
20648         (asin_tonearest_test_data): Remove.
20649         (asin_test_tonearest): Likewise.
20650         (asin_towardzero_test_data): Likewise.
20651         (asin_test_towardzero): Likewise.
20652         (asin_downward_test_data): Likewise.
20653         (asin_test_downward): Likewise.
20654         (asin_upward_test_data): Likewise.
20655         (asin_test_upward): Likewise.
20656         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20657         (atan_test_data): Likewise.
20658         (atanh_test_data): Likewise.
20659         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20660         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20661         (carg_test_data): Likewise.
20662         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20663         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20664         (ccosh_test_data): Likewise.
20665         (cexp_test_data): Likewise.
20666         (clog_test_data): Likewise.
20667         (clog10_test_data): Likewise.
20668         (cos_test_data): Update call to AUTO_TESTS_f_f.
20669         (cos_test): Use ALL_RM_TEST.
20670         (cos_tonearest_test_data): Remove.
20671         (cos_test_tonearest): Likewise.
20672         (cos_towardzero_test_data): Likewise.
20673         (cos_test_towardzero): Likewise.
20674         (cos_downward_test_data): Likewise.
20675         (cos_test_downward): Likewise.
20676         (cos_upward_test_data): Likewise.
20677         (cos_test_upward): Likewise.
20678         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20679         (cosh_test): Use ALL_RM_TEST.
20680         (cosh_tonearest_test_data): Remove.
20681         (cosh_test_tonearest): Likewise.
20682         (cosh_towardzero_test_data): Likewise.
20683         (cosh_test_towardzero): Likewise.
20684         (cosh_downward_test_data): Likewise.
20685         (cosh_test_downward): Likewise.
20686         (cosh_upward_test_data): Likewise.
20687         (cosh_test_upward): Likewise.
20688         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20689         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20690         (ctan_test_data): Likewise.
20691         (ctan_test): Use ALL_RM_TEST.
20692         (ctan_tonearest_test_data): Remove.
20693         (ctan_test_tonearest): Likewise.
20694         (ctan_towardzero_test_data): Likewise.
20695         (ctan_test_towardzero): Likewise.
20696         (ctan_downward_test_data): Likewise.
20697         (ctan_test_downward): Likewise.
20698         (ctan_upward_test_data): Likewise.
20699         (ctan_test_upward): Likewise.
20700         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20701         (ctanh_test): Use ALL_RM_TEST.
20702         (ctanh_tonearest_test_data): Remove.
20703         (ctanh_test_tonearest): Likewise.
20704         (ctanh_towardzero_test_data): Likewise.
20705         (ctanh_test_towardzero): Likewise.
20706         (ctanh_downward_test_data): Likewise.
20707         (ctanh_test_downward): Likewise.
20708         (ctanh_upward_test_data): Likewise.
20709         (ctanh_test_upward): Likewise.
20710         (erf_test_data): Update call to AUTO_TESTS_f_f.
20711         (erfc_test_data): Likewise.
20712         (exp_test_data): Likewise.
20713         (exp_test): Use ALL_RM_TEST.
20714         (exp_tonearest_test_data): Remove.
20715         (exp_test_tonearest): Likewise.
20716         (exp_towardzero_test_data): Likewise.
20717         (exp_test_towardzero): Likewise.
20718         (exp_downward_test_data): Likewise.
20719         (exp_test_downward): Likewise.
20720         (exp_upward_test_data): Likewise.
20721         (exp_test_upward): Likewise.
20722         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20723         (exp10_test): Use ALL_RM_TEST.
20724         (exp10_tonearest_test_data): Remove.
20725         (exp10_test_tonearest): Likewise.
20726         (exp10_towardzero_test_data): Likewise.
20727         (exp10_test_towardzero): Likewise.
20728         (exp10_downward_test_data): Likewise.
20729         (exp10_test_downward): Likewise.
20730         (exp10_upward_test_data): Likewise.
20731         (exp10_test_upward): Likewise.
20732         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20733         (expm1_test_data): Likewise.
20734         (expm1_test): Use ALL_RM_TEST.
20735         (expm1_tonearest_test_data): Remove.
20736         (expm1_test_tonearest): Likewise.
20737         (expm1_towardzero_test_data): Likewise.
20738         (expm1_test_towardzero): Likewise.
20739         (expm1_downward_test_data): Likewise.
20740         (expm1_test_downward): Likewise.
20741         (expm1_upward_test_data): Likewise.
20742         (expm1_test_upward): Likewise.
20743         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20744         (fma_test): Use ALL_RM_TEST.
20745         (fma_towardzero_test_data): Remove.
20746         (fma_test_towardzero): Likewise.
20747         (fma_downward_test_data): Likewise.
20748         (fma_test_downward): Likewise.
20749         (fma_upward_test_data): Likewise.
20750         (fma_test_upward): Likewise.
20751         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20752         (j0_test_data): Update call to AUTO_TESTS_f_f.
20753         (j1_test_data): Likewise.
20754         (jn_test_data): Update call to AUTO_TESTS_if_f.
20755         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20756         (log_test_data): Update call to AUTO_TESTS_f_f.
20757         (log10_test_data): Likewise.
20758         (log1p_test_data): Likewise.
20759         (log2_test_data): Likewise.
20760         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20761         (pow_tonearest_test_data): Likewise.
20762         (sin_test_data): Update call to AUTO_TESTS_f_f.
20763         (sin_test): Use ALL_RM_TEST.
20764         (sin_tonearest_test_data): Remove.
20765         (sin_test_tonearest): Likewise.
20766         (sin_towardzero_test_data): Likewise.
20767         (sin_test_towardzero): Likewise.
20768         (sin_downward_test_data): Likewise.
20769         (sin_test_downward): Likewise.
20770         (sin_upward_test_data): Likewise.
20771         (sin_test_upward): Likewise.
20772         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20773         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20774         (sinh_test): Use ALL_RM_TEST.
20775         (sinh_tonearest_test_data): Remove.
20776         (sinh_test_tonearest): Likewise.
20777         (sinh_towardzero_test_data): Likewise.
20778         (sinh_test_towardzero): Likewise.
20779         (sinh_downward_test_data): Likewise.
20780         (sinh_test_downward): Likewise.
20781         (sinh_upward_test_data): Likewise.
20782         (sinh_test_upward): Likewise.
20783         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20784         (sqrt_test): Use ALL_RM_TEST.
20785         (sqrt_tonearest_test_data): Remove.
20786         (sqrt_test_tonearest): Likewise.
20787         (sqrt_towardzero_test_data): Likewise.
20788         (sqrt_test_towardzero): Likewise.
20789         (sqrt_downward_test_data): Likewise.
20790         (sqrt_test_downward): Likewise.
20791         (sqrt_upward_test_data): Likewise.
20792         (sqrt_test_upward): Likewise.
20793         (tan_test_data): Update call to AUTO_TESTS_f_f.
20794         (tan_test): Use ALL_RM_TEST.
20795         (tan_tonearest_test_data): Remove.
20796         (tan_test_tonearest): Likewise.
20797         (tan_towardzero_test_data): Likewise.
20798         (tan_test_towardzero): Likewise.
20799         (tan_downward_test_data): Likewise.
20800         (tan_test_downward): Likewise.
20801         (tan_upward_test_data): Likewise.
20802         (tan_test_upward): Likewise.
20803         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20804         (tgamma_test_data): Likewise.
20805         (y0_test_data): Likewise.
20806         (y1_test_data): Likewise.
20807         (yn_test_data): Update call to AUTO_TESTS_if_f.
20808         (main): Do not call removed functions.
20810 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20812         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20813         (ldexp_test_data): Remove.
20814         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20815         scalbn_test_data.
20816         (scalb_test): Use ALL_RM_TEST.
20818 2014-03-19  Andreas Schwab  <schwab@suse.de>
20820         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20822 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20824         [BZ #16649]
20825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20826         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20827         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20829         (__ASSUME_PREADV): Undefine.
20830         (__ASSUME_PWRITEV): Likewise.
20832 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20834         * bits/mman-linux.h: Add comment about non-Linux use.
20835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20836         bits/mman-linux.h resting place.
20838         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20839         * bits/mman-linux.h: ... here.
20841 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20843         * conform/conformtest.pl: Add standard definition when calling C
20844         preprocessor on data files.
20845         (checknamespace): Remove unused variable.
20847 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20849         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20850         minus_oflow, plus_uflow and minus_uflow in expected results.
20851         * math/libm-test.inc (scalbn_test_data): Add more tests of
20852         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20853         minus_uflow.
20854         (scalbn_test): Use ALL_RM_TEST.
20855         (scalbln_test_data): Add more tests of negative arguments.  Use
20856         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20857         (scalbln_test): Use ALL_RM_TEST.
20859 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20861         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20863 2014-03-18  Will Newton  <will.newton@linaro.org>
20865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20866         inaccurate comment.
20868 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20870         * Makerules [!subdir] (check-abi): Exit with error status if a
20871         test failed.
20873 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20875         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20876         for rint.  Include results for all rounding modes.
20877         (nearbyint_test): Use ALL_RM_TEST.
20878         (rint_test_data): Include all tests used for nearbyint.
20880 2014-03-17  Will Newton  <will.newton@linaro.org>
20882         * nptl/sysdeps/pthread/pthread.h: Revert previous
20883         change.
20885         * sysdeps/generic/ldsodefs.h: Revert previous
20886         change.
20888         * libio/genops.c: Revert previous change.
20889         * libio/libioP.h: Likewise.
20890         * stdio-common/vfprintf.c: Likewise.
20892         * sysdeps/generic/math_private.h: Revert previous
20893         change.
20895         * sysdeps/generic/math_private.h: Check whether
20896         HAVE_RM_CTX is defined with #ifdef rather
20897         than #if.
20899         * argp/argp-fmtstream.h: Check whether
20900         __STRICT_ANSI__ is defined with #ifdef rather
20901         than #if.
20902         * argp/argp.h: Likewise.
20904         * libio/genops.c: Check whether
20905         _IO_JUMPS_OFFSET is defined with #ifdef rather
20906         than #if.
20907         * libio/libioP.h: Likewise.
20908         * stdio-common/vfprintf.c: Likewise.
20910         * sysdeps/generic/ldsodefs.h: Check whether
20911         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20912         than #if.
20914         * nptl/sysdeps/pthread/pthread.h: Check
20915         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20916         its value.
20918 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20920         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20921         setting O_APPEND.
20922         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20923         test case.
20925         [BZ #16680]
20926         * libio/fileops.c (_IO_file_open): Seek to end of file but
20927         don't cache the offset.
20928         (get_file_offset): Remove function.
20929         (do_ftell): Use cached offset when available.
20930         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20931         don't cache the offset.
20932         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20933         case.
20934         (do_one_test): Call it.
20935         (do_ftell_test): Fix up expected old offset for a+ mode.
20936         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20937         available.
20939         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20940         up test status with function return status.
20941         (do_write_test): Likewise.
20942         (do_append_test): Likewise.
20944         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20945         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20946         Remove.
20948 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20950         * math/gen-libm-test.pl (parse_args): Handle results specified for
20951         each rounding mode separately.
20952         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20953         tests and results from lrint_tonearest_test_data,
20954         lrint_towardzero_test_data, lrint_downward_test_data and
20955         lrint_upward_test_data.
20956         (lrint_test): Use ALL_RM_TEST.
20957         (lrint_tonearest_test_data): Remove.
20958         (lrint_test_tonearest): Likewise.
20959         (lrint_towardzero_test_data): Likewise.
20960         (lrint_test_towardzero): Likewise.
20961         (lrint_downward_test_data): Likewise.
20962         (lrint_test_downward): Likewise.
20963         (lrint_upward_test_data): Likewise.
20964         (lrint_test_upward): Likewise.
20965         (llrint_test_data): Merge in per-rounding-mode tests and results
20966         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20967         llrint_downward_test_data and llrint_upward_test_data.
20968         (llrint_test): Use ALL_RM_TEST.
20969         (llrint_tonearest_test_data): Remove.
20970         (llrint_test_tonearest): Likewise.
20971         (llrint_towardzero_test_data): Likewise.
20972         (llrint_test_towardzero): Likewise.
20973         (llrint_downward_test_data): Likewise.
20974         (llrint_test_downward): Likewise.
20975         (llrint_upward_test_data): Likewise.
20976         (llrint_test_upward): Likewise.
20977         (rint_test_data): Merge in per-rounding-mode tests and results
20978         from rint_tonearest_test_data, rint_towardzero_test_data,
20979         rint_downward_test_data and rint_upward_test_data.  Add
20980         per-rounding-mode results for tests not in those arrays.
20981         (rint_test): Use ALL_RM_TEST.
20982         (rint_tonearest_test_data): Remove.
20983         (rint_test_tonearest): Likewise.
20984         (rint_towardzero_test_data): Likewise.
20985         (rint_test_towardzero): Likewise.
20986         (rint_downward_test_data): Likewise.
20987         (rint_test_downward): Likewise.
20988         (rint_upward_test_data): Likewise.
20989         (rint_test_upward): Likewise.
20990         (main): Don't call removed functions.
20992 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20994         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20995         "Compiled on ..." crapola.  It is anti-useful.
20997 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20999         * scripts/evaluate-test.sh: Handle fourth argument to determine
21000         whether test run should stop on failure.
21001         * Makeconfig (stop-on-test-failure): New variable.
21002         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21003         $(stop-on-test-failure).
21004         * Makefile (tests): Give a summary of results from testing and
21005         exit with failure status if they include an ERROR or FAIL.
21006         (xtests): Likewise.
21007         * manual/install.texi (Configuring and compiling): Mention
21008         stop-on-test-failure=y.
21009         * INSTALL: Regenerated.
21011 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21013         * scripts/versionlist.awk: New file.
21014         * Makerules [$(build-shared) = yes]
21015         (postclean-generated): Add Versions.def, not Versions.def.v and
21016         Versions.def.v.i.
21017         ($(common-objpfx)Versions.def.v.i): Target removed.
21018         ($(common-objpfx)Versions.def): New target.
21019         ($(common-objpfx)Versions.all): Depend on that rather that
21020         $(common-objpfx)Versions.def.v.
21021         * Versions.def: File removed.
21023         * Makeconfig (+gccwarn): Add -Wundef.
21024         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21025         a dl-sysdep.h breaking its contract.
21026         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21027         * include/stackinfo.h: New file.
21028         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21029         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21030         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21031         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21032         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21033         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21034         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21035         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21036         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21037         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21038         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21039         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21040         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21041         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21042         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21044 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21046         [BZ #16707]
21047         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21048         implementation.
21049         * math/libm-test.inc (round_test_data): Add more tests.
21051         [BZ #16706]
21052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21053         implementation.
21054         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21056         [BZ #16701]
21057         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21058         implementation.
21059         * math/libm-test.inc (ceil_test_data): Add more tests.
21061         * math/libm-test.inc (trunc_test_data): Add more tests related to
21062         BZ#16414.
21064 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21066         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21067         with #if rather than #ifdef.
21068         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21070 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21072         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21073         first.  Disable AVX-512 GCC support if assembler doesn't support
21074         it.
21075         * sysdeps/x86_64/configure: Regenerated.
21077 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21079         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21080         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21081         (__old_pthread_attr_setstack): Likewise.
21082         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21083         [!_STACK_GROWS_DOWN]: Likewise.
21085 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21087         * config.make.in (have-bash2): Delete.
21088         * configure.ac (libc_cv_have_bash2): Delete.
21089         * configure: Regenerate.
21090         * elf/Makefile (common-ldd-rewrite): Rename to ...
21091         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21092         (sh-ldd-rewrite): Delete.
21093         (bash-ldd-rewrite): Delete.
21094         (have-bash2): Delete checks.
21095         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21096         ldd-rewrite.
21098         * config.make.in (have-ksh): Delete.
21099         (KSH): Delete.
21100         * configure.ac (libc_cv_have_ksh): Delete.
21101         * configure: Regenerate.
21103         * elf/Makefile: Delete $(have-ksh) check.
21104         ($(objpfx)sotruss): Change KSH to BASH.
21105         * elf/sotruss.ksh: Rename to ...
21106         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21107         function style to match POSIX.  Drop ksh vim mode setting.
21109         * manual/time.texi (Specifying the Time Zone with TZ): Change
21110         Tuesday to Thursday.
21112         * debug/tst-longjmp_chk2.c: Update header comment.
21113         (stackoverflow_handler): Add comment.  Call assert on pass value.
21115 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21117         [BZ #16194]
21118         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21119         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21120         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21121         (La_x86_64_vector): Add zmm.
21122         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21123         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21124         ($(objpfx)tst-audit10): New target.
21125         ($(objpfx)tst-audit10.out): Likewise.
21126         (tst-audit10-ENV): New.
21127         (AVX512-CFLAGS): Likewise.
21128         (CFLAGS-tst-audit10.c): Likewise.
21129         (CFLAGS-tst-auditmod10a.c): Likewise.
21130         (CFLAGS-tst-auditmod10b.c): Likewise.
21131         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21132         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21133         * sysdeps/x86_64/configure: Regenerated.
21134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21135         AVX-512 zmm register support.
21136         (_dl_x86_64_save_sse): Likewise.
21137         (_dl_x86_64_restore_sse): Likewise.
21138         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21139         size vector registers.
21140         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21141         (ZMM_SIZE): Likewise.
21142         * sysdeps/x86_64/tst-audit10.c: New file.
21143         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21144         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21146 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21148         * configure.ac (HAVE_EHDR_START): New check.
21149         * configure: Regenerated.
21150         * config.h.in (HAVE_EHDR_START): New #undef.
21151         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21152         assuming the lowest-addressed segment maps the start of the file.
21154 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21156         * INSTALL: Regenerated.
21158 2014-03-13  Will Newton  <will.newton@linaro.org>
21160         * manual/setjmp.texi (System V contexts): Improve
21161         clarity and grammar of documentation.
21163 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21165         [BZ #16381]
21166         * elf/Makefile (tests): Add tst-pie2.
21167         (tests-pie): Add tst-pie2.
21168         * elf/tst-pie2.c: New file.
21169         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21170         for ET_EXEC.
21171         * elf/rtld.c (map_doit): Load executable as lt_executable.
21172         (dl_main): Likewise.
21174 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21176         [BZ #16642]
21177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21178         (__ASSUME_PSELECT): Undefine.
21180 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21182         [BZ #16689]
21183         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21184         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21185         static build.
21186         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21187         selector for static builds.
21189 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21191         [BZ #16695]
21192         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21193         key in the buffer.
21195 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21197         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21198         IFUNC selector for static builds.
21200 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21202         * sysdeps/mips/math_private.h [__mips_hard_float]
21203         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21204         libc_feresetround_mips_ctx.
21205         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21206         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21207         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21209         [BZ #16677]
21210         * math/s_nextafter.c (__nextafter): Do not return value from
21211         overflowing computation.
21212         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21213         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21214         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21215         Likewise.
21216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21217         Likewise.
21218         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21219         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21221 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21223         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21224         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21225         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21226         the new mov targetting sp.
21228 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230         [BZ #16683]
21231         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21232         Define it for static builds as well.
21233         (NO_BZERO_IMPL): Likewise.
21235 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21237         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21238         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21239         multiarch strspn for PPC64.
21240         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21241         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21243         (__libc_ifunc_impl_list): Likewise.
21244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21245         multiarch optimizations
21246         * string/strspn.c (strspn): Using macro to redefine symbol name.
21248 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21251         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21252         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21253         multiarch strncat for PPC64.
21254         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21255         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21257         (__libc_ifunc_impl_list): Likewise.
21258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21259         multiarch optimizations
21261 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21263         [BZ #16639]
21264         * nscd/nscd.service: Make service type forking.
21266 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21268         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21269         sign in non default rounding modes.
21270         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21272 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21274         * math/libm-test.inc (ALL_RM_TEST): New macro.
21275         (ceil_test): Use ALL_RM_TEST.
21276         (cimag_test): Likewise.
21277         (conj_test): Likewise.
21278         (copysign_test): Likewise.
21279         (cproj_test): Likewise.
21280         (creal_test): Likewise.
21281         (fabs_test): Likewise.
21282         (floor_test): Likewise.
21283         (fmax_test): Likewise.
21284         (fmin_test): Likewise.
21285         (fmod_test): Likewise.
21286         (fpclassify_test): Likewise.
21287         (frexp_test): Likewise.
21288         (ilogb_test): Likewise.
21289         (isfinite_test): Likewise.
21290         (finite_test): Likewise.
21291         (isgreater_test): Likewise.
21292         (isgreaterequal_test): Likewise.
21293         (isinf_test): Likewise.
21294         (isless_test): Likewise.
21295         (islessequal_test): Likewise.
21296         (islessgreater_test): Likewise.
21297         (isnan_test): Likewise.
21298         (isnormal_test): Likewise.
21299         (issignaling_test): Likewise.
21300         (isunordered_test): Likewise.
21301         (logb_test): Likewise.
21302         (logb_downward_test_data): Remove.
21303         (logb_test_downward): Likewise.
21304         (lround_test): Use ALL_RM_TEST.
21305         (llround_test): Likewise.
21306         (modf_test): Likewise.
21307         (nexttoward_test): Likewise.
21308         (remainder_test): Likewise.
21309         (drem_test): Likewise.
21310         (remainder_tonearest_test_data): Likewise.
21311         (remainder_test_tonearest): Likewise.
21312         (drem_test_tonearest): Likewise.
21313         (remainder_towardzero_test_data): Likewise.
21314         (remainder_test_towardzero): Likewise.
21315         (drem_test_towardzero): Likewise.
21316         (remainder_downward_test_data): Likewise.
21317         (remainder_test_downward): Likewise.
21318         (drem_test_downward): Likewise.
21319         (remainder_upward_test_data): Likewise.
21320         (remainder_test_upward): Likewise.
21321         (drem_test_upward): Likewise.
21322         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21323         (round_test): Use ALL_RM_TEST.
21324         (signbit_test): Likewise.
21325         (trunc_test): Likewise.
21326         (significand_test): Likewise.
21327         (main): Don't call removed functions.
21329 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21331         [BZ #16674]
21332         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21333         || __USE_XOPEN2K8].
21334         (ILL_ILLOPN): Likewise.
21335         (ILL_ILLADR): Likewise.
21336         (ILL_ILLTRP): Likewise.
21337         (ILL_PRVOPC): Likewise.
21338         (ILL_PRVREG): Likewise.
21339         (ILL_COPROC): Likewise.
21340         (ILL_BADSTK): Likewise.
21341         (FPE_INTDIV): Likewise.
21342         (FPE_INTOVF): Likewise.
21343         (FPE_FLTDIV): Likewise.
21344         (FPE_FLTOVF): Likewise.
21345         (FPE_FLTUND): Likewise.
21346         (FPE_FLTRES): Likewise.
21347         (FPE_FLTINV): Likewise.
21348         (FPE_FLTSUB): Likewise.
21349         (SEGV_MAPERR): Likewise.
21350         (SEGV_ACCERR): Likewise.
21351         (BUS_ADRALN): Likewise.
21352         (BUS_ADRERR): Likewise.
21353         (BUS_OBJERR): Likewise.
21354         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21355         (TRAP_TRACE): Likewise.
21356         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21357         __USE_XOPEN2K8].
21358         (CLD_KILLED): Likewise.
21359         (CLD_DUMPED): Likewise.
21360         (CLD_TRAPPED): Likewise.
21361         (CLD_STOPPED): Likewise.
21362         (CLD_CONTINUED): Likewise.
21363         (POLL_IN): Likewise.
21364         (POLL_OUT): Likewise.
21365         (POLL_MSG): Likewise.
21366         (POLL_ERR): Likewise.
21367         (POLL_PRI): Likewise.
21368         (POLL_HUP): Likewise.
21369         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21370         Likewise.
21371         (ILL_ILLOPN): Likewise.
21372         (ILL_ILLADR): Likewise.
21373         (ILL_ILLTRP): Likewise.
21374         (ILL_PRVOPC): Likewise.
21375         (ILL_PRVREG): Likewise.
21376         (ILL_COPROC): Likewise.
21377         (ILL_BADSTK): Likewise.
21378         (FPE_INTDIV): Likewise.
21379         (FPE_INTOVF): Likewise.
21380         (FPE_FLTDIV): Likewise.
21381         (FPE_FLTOVF): Likewise.
21382         (FPE_FLTUND): Likewise.
21383         (FPE_FLTRES): Likewise.
21384         (FPE_FLTINV): Likewise.
21385         (FPE_FLTSUB): Likewise.
21386         (SEGV_MAPERR): Likewise.
21387         (SEGV_ACCERR): Likewise.
21388         (BUS_ADRALN): Likewise.
21389         (BUS_ADRERR): Likewise.
21390         (BUS_OBJERR): Likewise.
21391         (BUS_MCEERR_AR): Likewise.
21392         (BUS_MCEERR_AO): Likewise.
21393         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21394         (TRAP_TRACE): Likewise.
21395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21396         __USE_XOPEN2K8].
21397         (CLD_KILLED): Likewise.
21398         (CLD_DUMPED): Likewise.
21399         (CLD_TRAPPED): Likewise.
21400         (CLD_STOPPED): Likewise.
21401         (CLD_CONTINUED): Likewise.
21402         (POLL_IN): Likewise.
21403         (POLL_OUT): Likewise.
21404         (POLL_MSG): Likewise.
21405         (POLL_ERR): Likewise.
21406         (POLL_PRI): Likewise.
21407         (POLL_HUP): Likewise.
21408         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21409         (ILL_ILLOPN): Likewise.
21410         (ILL_ILLADR): Likewise.
21411         (ILL_ILLTRP): Likewise.
21412         (ILL_PRVOPC): Likewise.
21413         (ILL_PRVREG): Likewise.
21414         (ILL_COPROC): Likewise.
21415         (ILL_BADSTK): Likewise.
21416         (FPE_INTDIV): Likewise.
21417         (FPE_INTOVF): Likewise.
21418         (FPE_FLTDIV): Likewise.
21419         (FPE_FLTOVF): Likewise.
21420         (FPE_FLTUND): Likewise.
21421         (FPE_FLTRES): Likewise.
21422         (FPE_FLTINV): Likewise.
21423         (FPE_FLTSUB): Likewise.
21424         (SEGV_MAPERR): Likewise.
21425         (SEGV_ACCERR): Likewise.
21426         (BUS_ADRALN): Likewise.
21427         (BUS_ADRERR): Likewise.
21428         (BUS_OBJERR): Likewise.
21429         (BUS_MCEERR_AR): Likewise.
21430         (BUS_MCEERR_AO): Likewise.
21431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21432         (TRAP_TRACE): Likewise.
21433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21434         __USE_XOPEN2K8].
21435         (CLD_KILLED): Likewise.
21436         (CLD_DUMPED): Likewise.
21437         (CLD_TRAPPED): Likewise.
21438         (CLD_STOPPED): Likewise.
21439         (CLD_CONTINUED): Likewise.
21440         (POLL_IN): Likewise.
21441         (POLL_OUT): Likewise.
21442         (POLL_MSG): Likewise.
21443         (POLL_ERR): Likewise.
21444         (POLL_PRI): Likewise.
21445         (POLL_HUP): Likewise.
21446         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21447         Likewise.
21448         (ILL_ILLOPN): Likewise.
21449         (ILL_ILLADR): Likewise.
21450         (ILL_ILLTRP): Likewise.
21451         (ILL_PRVOPC): Likewise.
21452         (ILL_PRVREG): Likewise.
21453         (ILL_COPROC): Likewise.
21454         (ILL_BADSTK): Likewise.
21455         (ILL_BADIADDR): Likewise.
21456         (ILL_BREAK): Likewise.
21457         (FPE_INTDIV): Likewise.
21458         (FPE_INTOVF): Likewise.
21459         (FPE_FLTDIV): Likewise.
21460         (FPE_FLTOVF): Likewise.
21461         (FPE_FLTUND): Likewise.
21462         (FPE_FLTRES): Likewise.
21463         (FPE_FLTINV): Likewise.
21464         (FPE_FLTSUB): Likewise.
21465         (FPE_DECOVF): Likewise.
21466         (FPE_DECDIV): Likewise.
21467         (FPE_DECERR): Likewise.
21468         (FPE_INVASC): Likewise.
21469         (FPE_INVDEC): Likewise.
21470         (SEGV_MAPERR): Likewise.
21471         (SEGV_ACCERR): Likewise.
21472         (SEGV_PSTKOVF): Likewise.
21473         (BUS_ADRALN): Likewise.
21474         (BUS_ADRERR): Likewise.
21475         (BUS_OBJERR): Likewise.
21476         (BUS_MCEERR_AR): Likewise.
21477         (BUS_MCEERR_AO): Likewise.
21478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21479         (TRAP_TRACE): Likewise.
21480         (TRAP_BRANCH): Likewise.
21481         (TRAP_HWBKPT): Likewise.
21482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21483         __USE_XOPEN2K8].
21484         (CLD_KILLED): Likewise.
21485         (CLD_DUMPED): Likewise.
21486         (CLD_TRAPPED): Likewise.
21487         (CLD_STOPPED): Likewise.
21488         (CLD_CONTINUED): Likewise.
21489         (POLL_IN): Likewise.
21490         (POLL_OUT): Likewise.
21491         (POLL_MSG): Likewise.
21492         (POLL_ERR): Likewise.
21493         (POLL_PRI): Likewise.
21494         (POLL_HUP): Likewise.
21495         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21496         (ILL_ILLOPN): Likewise.
21497         (ILL_ILLADR): Likewise.
21498         (ILL_ILLTRP): Likewise.
21499         (ILL_PRVOPC): Likewise.
21500         (ILL_PRVREG): Likewise.
21501         (ILL_COPROC): Likewise.
21502         (ILL_BADSTK): Likewise.
21503         (FPE_INTDIV): Likewise.
21504         (FPE_INTOVF): Likewise.
21505         (FPE_FLTDIV): Likewise.
21506         (FPE_FLTOVF): Likewise.
21507         (FPE_FLTUND): Likewise.
21508         (FPE_FLTRES): Likewise.
21509         (FPE_FLTINV): Likewise.
21510         (FPE_FLTSUB): Likewise.
21511         (SEGV_MAPERR): Likewise.
21512         (SEGV_ACCERR): Likewise.
21513         (BUS_ADRALN): Likewise.
21514         (BUS_ADRERR): Likewise.
21515         (BUS_OBJERR): Likewise.
21516         (BUS_MCEERR_AR): Likewise.
21517         (BUS_MCEERR_AO): Likewise.
21518         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21519         (TRAP_TRACE): Likewise.
21520         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21521         __USE_XOPEN2K8].
21522         (CLD_KILLED): Likewise.
21523         (CLD_DUMPED): Likewise.
21524         (CLD_TRAPPED): Likewise.
21525         (CLD_STOPPED): Likewise.
21526         (CLD_CONTINUED): Likewise.
21527         (POLL_IN): Likewise.
21528         (POLL_OUT): Likewise.
21529         (POLL_MSG): Likewise.
21530         (POLL_ERR): Likewise.
21531         (POLL_PRI): Likewise.
21532         (POLL_HUP): Likewise.
21533         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21534         (ILL_ILLOPN): Likewise.
21535         (ILL_ILLADR): Likewise.
21536         (ILL_ILLTRP): Likewise.
21537         (ILL_PRVOPC): Likewise.
21538         (ILL_PRVREG): Likewise.
21539         (ILL_COPROC): Likewise.
21540         (ILL_BADSTK): Likewise.
21541         (FPE_INTDIV): Likewise.
21542         (FPE_INTOVF): Likewise.
21543         (FPE_FLTDIV): Likewise.
21544         (FPE_FLTOVF): Likewise.
21545         (FPE_FLTUND): Likewise.
21546         (FPE_FLTRES): Likewise.
21547         (FPE_FLTINV): Likewise.
21548         (FPE_FLTSUB): Likewise.
21549         (SEGV_MAPERR): Likewise.
21550         (SEGV_ACCERR): Likewise.
21551         (BUS_ADRALN): Likewise.
21552         (BUS_ADRERR): Likewise.
21553         (BUS_OBJERR): Likewise.
21554         (BUS_MCEERR_AR): Likewise.
21555         (BUS_MCEERR_AO): Likewise.
21556         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21557         (TRAP_TRACE): Likewise.
21558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21559         __USE_XOPEN2K8].
21560         (CLD_KILLED): Likewise.
21561         (CLD_DUMPED): Likewise.
21562         (CLD_TRAPPED): Likewise.
21563         (CLD_STOPPED): Likewise.
21564         (CLD_CONTINUED): Likewise.
21565         (POLL_IN): Likewise.
21566         (POLL_OUT): Likewise.
21567         (POLL_MSG): Likewise.
21568         (POLL_ERR): Likewise.
21569         (POLL_PRI): Likewise.
21570         (POLL_HUP): Likewise.
21571         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21572         (ILL_ILLOPN): Likewise.
21573         (ILL_ILLADR): Likewise.
21574         (ILL_ILLTRP): Likewise.
21575         (ILL_PRVOPC): Likewise.
21576         (ILL_PRVREG): Likewise.
21577         (ILL_COPROC): Likewise.
21578         (ILL_BADSTK): Likewise.
21579         (FPE_INTDIV): Likewise.
21580         (FPE_INTOVF): Likewise.
21581         (FPE_FLTDIV): Likewise.
21582         (FPE_FLTOVF): Likewise.
21583         (FPE_FLTUND): Likewise.
21584         (FPE_FLTRES): Likewise.
21585         (FPE_FLTINV): Likewise.
21586         (FPE_FLTSUB): Likewise.
21587         (SEGV_MAPERR): Likewise.
21588         (SEGV_ACCERR): Likewise.
21589         (BUS_ADRALN): Likewise.
21590         (BUS_ADRERR): Likewise.
21591         (BUS_OBJERR): Likewise.
21592         (BUS_MCEERR_AR): Likewise.
21593         (BUS_MCEERR_AO): Likewise.
21594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21595         (TRAP_TRACE): Likewise.
21596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21597         __USE_XOPEN2K8].
21598         (CLD_KILLED): Likewise.
21599         (CLD_DUMPED): Likewise.
21600         (CLD_TRAPPED): Likewise.
21601         (CLD_STOPPED): Likewise.
21602         (CLD_CONTINUED): Likewise.
21603         (POLL_IN): Likewise.
21604         (POLL_OUT): Likewise.
21605         (POLL_MSG): Likewise.
21606         (POLL_ERR): Likewise.
21607         (POLL_PRI): Likewise.
21608         (POLL_HUP): Likewise.
21609         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21610         (ILL_ILLOPN): Likewise.
21611         (ILL_ILLADR): Likewise.
21612         (ILL_ILLTRP): Likewise.
21613         (ILL_PRVOPC): Likewise.
21614         (ILL_PRVREG): Likewise.
21615         (ILL_COPROC): Likewise.
21616         (ILL_BADSTK): Likewise.
21617         (ILL_DBLFLT): Likewise.
21618         (ILL_HARDWALL): Likewise.
21619         (FPE_INTDIV): Likewise.
21620         (FPE_INTOVF): Likewise.
21621         (FPE_FLTDIV): Likewise.
21622         (FPE_FLTOVF): Likewise.
21623         (FPE_FLTUND): Likewise.
21624         (FPE_FLTRES): Likewise.
21625         (FPE_FLTINV): Likewise.
21626         (FPE_FLTSUB): Likewise.
21627         (SEGV_MAPERR): Likewise.
21628         (SEGV_ACCERR): Likewise.
21629         (BUS_ADRALN): Likewise.
21630         (BUS_ADRERR): Likewise.
21631         (BUS_OBJERR): Likewise.
21632         (BUS_MCEERR_AR): Likewise.
21633         (BUS_MCEERR_AO): Likewise.
21634         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21635         (TRAP_TRACE): Likewise.
21636         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21637         __USE_XOPEN2K8].
21638         (CLD_KILLED): Likewise.
21639         (CLD_DUMPED): Likewise.
21640         (CLD_TRAPPED): Likewise.
21641         (CLD_STOPPED): Likewise.
21642         (CLD_CONTINUED): Likewise.
21643         (POLL_IN): Likewise.
21644         (POLL_OUT): Likewise.
21645         (POLL_MSG): Likewise.
21646         (POLL_ERR): Likewise.
21647         (POLL_PRI): Likewise.
21648         (POLL_HUP): Likewise.
21649         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21650         (ILL_ILLOPN): Likewise.
21651         (ILL_ILLADR): Likewise.
21652         (ILL_ILLTRP): Likewise.
21653         (ILL_PRVOPC): Likewise.
21654         (ILL_PRVREG): Likewise.
21655         (ILL_COPROC): Likewise.
21656         (ILL_BADSTK): Likewise.
21657         (FPE_INTDIV): Likewise.
21658         (FPE_INTOVF): Likewise.
21659         (FPE_FLTDIV): Likewise.
21660         (FPE_FLTOVF): Likewise.
21661         (FPE_FLTUND): Likewise.
21662         (FPE_FLTRES): Likewise.
21663         (FPE_FLTINV): Likewise.
21664         (FPE_FLTSUB): Likewise.
21665         (SEGV_MAPERR): Likewise.
21666         (SEGV_ACCERR): Likewise.
21667         (BUS_ADRALN): Likewise.
21668         (BUS_ADRERR): Likewise.
21669         (BUS_OBJERR): Likewise.
21670         (BUS_MCEERR_AR): Likewise.
21671         (BUS_MCEERR_AO): Likewise.
21672         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21673         (TRAP_TRACE): Likewise.
21674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21675         __USE_XOPEN2K8].
21676         (CLD_KILLED): Likewise.
21677         (CLD_DUMPED): Likewise.
21678         (CLD_TRAPPED): Likewise.
21679         (CLD_STOPPED): Likewise.
21680         (CLD_CONTINUED): Likewise.
21681         (POLL_IN): Likewise.
21682         (POLL_OUT): Likewise.
21683         (POLL_MSG): Likewise.
21684         (POLL_ERR): Likewise.
21685         (POLL_PRI): Likewise.
21686         (POLL_HUP): Likewise.
21687         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21688         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21690         [BZ #16670]
21691         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21692         before #include of <time.h>.
21693         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21694         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21695         (test-xfail-UNIX98/sched.h/conform): Likewise.
21697 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21699         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21700         error absence of trapping exception support.
21701         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21703 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21705         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21706         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21707         * timezone/Makefile (testdata): Move definition above include of
21708         Rules.
21709         (test-zones): New variable.
21710         (tests-special): Add zone files.
21711         (build-testdata): Use $(evaluate-test).
21713         * elf/Makefile (tests-special): Rename tests to end with .out.
21714         ($(objpfx)noload-mem): Likewise.
21715         ($(objpfx)tst-leaks1-mem): Likewise.
21716         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21717         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21718         $(objpfx)test-iconvconfig.out.
21719         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21720         set -e inside subshell and redirect output to file.
21721         * iconvdata/Makefile (generated): Rename tests to end with .out.
21722         Correct type.
21723         (tests-special): Rename tests to end with .out.
21724         ($(objpfx)mtrace-tst-loading): Likewise.
21725         * intl/Makefile (generated): Likewise.
21726         (tests-special): Likewise.
21727         ($(objpfx)mtrace-tst-gettext): Likewise.
21728         * misc/Makefile (generated): Likewise.
21729         (tests-special): Likewise.
21730         ($(objpfx)tst-error1-mem): Likewise.
21731         * nptl/Makefile (tests-special): Likewise.
21732         ($(objpfx)tst-stack3-mem): Likewise.
21733         (generated): Likewise.
21734         * posix/Makefile (generated): Likewise.
21735         (tests-special): Likewise.
21736         (xtests-special): Likewise.
21737         ($(objpfx)tst-fnmatch-mem): Likewise.
21738         ($(objpfx)bug-regex2-mem): Likewise.
21739         ($(objpfx)bug-regex14-mem): Likewise.
21740         ($(objpfx)bug-regex21-mem): Likewise.
21741         ($(objpfx)bug-regex31-mem): Likewise.
21742         ($(objpfx)tst-vfork3-mem): Likewise.
21743         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21744         ($(objpfx)tst-pcre-mem): Likewise.
21745         ($(objpfx)tst-boost-mem): Likewise.
21746         ($(objpfx)bug-ga2-mem): Likewise.
21747         ($(objpfx)bug-glob2-mem): Likewise.
21748         * resolv/Makefile (generate): Likewise.
21749         (tests-special): Likewise.
21750         (xtests-special): Likewise.
21751         (generated): Likewise.
21752         ($(objpfx)mtrace-tst-leaks): Likewise.
21753         ($(objpfx)mtrace-tst-leaks2): Likewise.
21755         * scripts/merge-test-results.sh: New file.
21756         * Makefile (tests-special-notdir): New variable.
21757         (tests): Run merge-test-results.sh.
21758         (xtests): Likewise.
21759         * Rules (tests-special-notdir): New variable.
21760         (xtests-special-notdir): Likewise.
21761         (tests): Run merge-test-results.sh
21762         (xtests): Likewise.
21764         * Makeconfig (test-xfail-name): New variable.
21765         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21766         compute variable name for expected failures.
21767         * conform/Makefile (conformtest-headers-data): New variable.
21768         (conformtest-standards): Likewise.
21769         (conformtest-headers-ISO): Likewise.
21770         (conformtest-headers-ISO99): Likewise.
21771         (conformtest-headers-ISO11): Likewise.
21772         (conformtest-headers-POSIX): Likewise.
21773         (conformtest-headers-XPG3): Likewise.
21774         (conformtest-headers-XPG4): Likewise.
21775         (conformtest-headers-UNIX98): Likewise.
21776         (conformtest-headers-XOPEN2K): Likewise.
21777         (conformtest-headers-POSIX2008): Likewise.
21778         (conformtest-headers-XOPEN2K8): Likewise.
21779         (conformtest-header-list-base): Likewise.
21780         (conformtest-header-list-tests): Likewise.
21781         (conformtest-header-base): Likewise.
21782         (conformtest-header-tests): Likewise.
21783         (tests-special): Add $(conformtest-header-list-tests).  If
21784         [$(fast-check) && !$(cross-compiling)], add
21785         $(conformtest-header-tests) instead of
21786         $(objpfx)run-conformtest.out.
21787         (generated): Add $(conformtest-header-list-base).  If
21788         [$(fast-check) && !$(cross-compiling)], add
21789         $(conformtest-header-base).  Remove previous setting.
21790         ($(conformtest-header-list-tests)): New target.
21791         (test-xfail-run-conformtest): Remove variable.
21792         ($(objpfx)run-conformtest.out): Remove target.
21793         (test-xfail-ISO11/complex.h/conform): New variable.
21794         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21795         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21796         (test-xfail-XPG3/varargs.h/conform): Likewise.
21797         (test-xfail-XPG4/varargs.h/conform): Likewise.
21798         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21799         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21800         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21801         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21802         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21803         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21804         (test-xfail-XPG3/ftw.h/conform): Likewise.
21805         (test-xfail-XPG3/grp.h/conform): Likewise.
21806         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21807         (test-xfail-XPG3/limits.h/conform): Likewise.
21808         (test-xfail-XPG3/pwd.h/conform): Likewise.
21809         (test-xfail-XPG3/search.h/conform): Likewise.
21810         (test-xfail-XPG3/signal.h/conform): Likewise.
21811         (test-xfail-XPG3/stdio.h/conform): Likewise.
21812         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21813         (test-xfail-XPG3/string.h/conform): Likewise.
21814         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21815         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21816         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21817         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21818         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21819         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21820         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21821         (test-xfail-XPG3/termios.h/conform): Likewise.
21822         (test-xfail-XPG3/time.h/conform): Likewise.
21823         (test-xfail-XPG3/unistd.h/conform): Likewise.
21824         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21825         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21826         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21827         (test-xfail-XPG4/netdb.h/conform): Likewise.
21828         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21829         (test-xfail-XPG4/signal.h/conform): Likewise.
21830         (test-xfail-XPG4/stdio.h/conform): Likewise.
21831         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21832         (test-xfail-XPG4/stropts.h/conform): Likewise.
21833         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21834         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21835         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21836         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21837         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21838         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21839         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21840         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21841         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21842         (test-xfail-XPG4/termios.h/conform): Likewise.
21843         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21844         (test-xfail-XPG4/unistd.h/conform): Likewise.
21845         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21846         (test-xfail-POSIX/sched.h/conform): Likewise.
21847         (test-xfail-POSIX/signal.h/conform): Likewise.
21848         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21849         (test-xfail-POSIX/tar.h/conform): Likewise.
21850         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21851         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21852         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21853         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21854         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21855         (test-xfail-UNIX98/sched.h/conform): Likewise.
21856         (test-xfail-UNIX98/signal.h/conform): Likewise.
21857         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21858         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21859         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21860         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21861         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21862         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21863         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21864         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21865         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21866         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21867         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21868         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21869         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21870         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21871         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21872         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21873         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21874         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21875         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21876         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21877         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21878         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21879         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21880         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21881         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21882         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21883         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21884         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21885         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21886         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21887         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21888         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21889         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21890         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21891         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21892         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21893         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21894         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21895         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21896         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21897         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21898         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21899         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21900         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21901         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21902         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21903         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21904         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21905         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21906         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21907         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21908         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21909         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21910         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21911         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21912         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21913         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21914         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21915         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21916         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21917         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21918         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21919         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21920         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21921         (conformtest-cc-flags): Likewise.
21922         ($(conformtest-header-tests): New target.
21923         * conform/check-header-lists.sh: New file.
21924         * conform/run-conformtest.sh: Remove.
21926         * conform/conformtest.pl: Allow ' and \ in values given for
21927         constants.
21928         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21929         inclusion.
21930         [POSIX] (sys/types.h): Likewise.
21931         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21932         inclusion.
21933         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21934         inclusion.
21935         * conform/data/signal.h-data (SIGIO): Remove expectation.
21936         [XPG3] (SIGBUS): Do not expect.
21937         [POSIX || XPG3] (SIGPOLL): Likewise.
21938         [POSIX || XPG3] (SIGPROF): Likewise.
21939         [POSIX || XPG3] (SIGSYS): Likewise.
21940         [XPG3] (SIGTRAP): Likewise.
21941         [POSIX || XPG3] (SIGURG): Likewise.
21942         [POSIX || XPG3] (SIGVTALRM): Likewise.
21943         [POSIX || XPG3] (SIGXCPU): Likewise.
21944         [POSIX || XPG3] (SIGXFSZ): Likewise.
21945         [POSIX] (SA_SIGINFO): Expect.
21946         [XPG3] (siginfo_t): Do not expect type or contents.
21947         [POSIX] (si_pid): Do not expect element.
21948         [POSIX] (si_uid): Likewise.
21949         [POSIX] (si_addr): Likewise.
21950         [POSIX] (si_status): Likewise.
21951         [POSIX] (si_band): Likewise.
21952         [XPG4] (si_value): Likewise.
21953         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21954         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21955         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21956         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21957         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21958         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21959         [POSIX || XPG3] (ILL_COPROC): Likewise.
21960         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21961         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21962         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21963         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21964         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21965         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21966         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21967         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21968         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21969         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21970         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21971         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21972         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21973         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21974         [POSIX || XPG3] (CLD_EXITED): Likewise.
21975         [POSIX || XPG3] (CLD_KILLED): Likewise.
21976         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21977         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21978         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21979         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21980         [POSIX || XPG3] (POLL_IN): Likewise.
21981         [POSIX || XPG3] (POLL_OUT): Likewise.
21982         [POSIX || XPG3] (POLL_MSG): Likewise.
21983         [POSIX || XPG3] (POLL_ERR): Likewise.
21984         [POSIX || XPG3] (POLL_PRI): Likewise.
21985         [POSIX || XPG3] (POLL_HUP): Likewise.
21986         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21987         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21988         (SIG*): Do not allow.
21989         [XPG3] (si_*): Likewise.
21990         [XPG3] (SI_*): Likewise.
21991         [XPG3 || XPG4] (sigev_*): Likewise.
21992         [XPG3 || XPG4] (SIGEV_*): Likewise.
21993         [XPG3 || XPG4] (sival_*): Likewise.
21994         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21995         [POSIX || XPG3] (BUS_*): Likewise.
21996         [POSIX || XPG3] (CLD_*): Likewise.
21997         [POSIX || XPG3] (FPE_*): Likewise.
21998         [POSIX || XPG3] (ILL_*): Likewise.
21999         [POSIX || XPG3] (POLL_*): Likewise.
22000         [POSIX || XPG3] (SEGV_*): Likewise.
22001         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22002         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22003         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22004         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22005         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22006         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22007         Specify type and value.
22008         (TVERSLEN): Likewise.
22009         (REGTYPE): Likewise.
22010         (AREGTYPE): Likewise.
22011         (LNKTYPE): Likewise.
22012         (SYMTYPE): Likewise.
22013         (CHRTYPE): Likewise.
22014         (BLKTYPE): Likewise.
22015         (DIRTYPE): Likewise.
22016         (FIFOTYPE): Likewise.
22017         (CONTTYPE): Likewise.
22018         (TSUID): Likewise.
22019         (TSGID): Likewise.
22020         (TSVTX): Likewise.
22021         (TUREAD): Likewise.
22022         (TUWRITE): Likewise.
22023         (TUEXEC): Likewise.
22024         (TGREAD): Likewise.
22025         (TGWRITE): Likewise.
22026         (TGEXEC): Likewise.
22027         (TOREAD): Likewise.
22028         (TOWRITE): Likewise.
22029         (TOEXEC): Likewise.
22030         [POSIX] (TSVTX): Expect constant.
22032 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22034         * Makefile (tests): Change dependencies to ....
22035         (tests-special): ... additions to this variable.
22036         (tests): Depend on $(tests-special).
22037         * Makerules (check-abi-list): New variable.
22038         (check-abi): Depend on $(check-abi-list).
22039         [$(subdir) = elf] (tests-special): Add
22040         $(objpfx)check-abi-libc.out.
22041         [$(build-shared) = yes && subdir] (tests-special): Add
22042         $(check-abi-list).
22043         [$(build-shared) = yes && subdir] (tests): Do not depend on
22044         check-abi.
22045         * Rules (tests): Depend on $(tests-special).
22046         (xtests): Depend on $(xtests-special).
22047         * catgets/Makefile (tests): Change dependencies to ....
22048         (tests-special): ... additions to this variable.
22049         * conform/Makefile (tests): Change dependencies to ....
22050         (tests-special): ... additions to this variable.
22051         * elf/Makefile (tests): Change dependencies to ....
22052         (tests-special): ... additions to this variable.
22053         * grp/Makefile (tests): Change dependencies to ....
22054         (tests-special): ... additions to this variable.
22055         * iconv/Makefile (xtests): Change dependencies to ....
22056         (xtests-special): ... additions to this variable.
22057         * iconvdata/Makefile (tests): Change dependencies to ....
22058         (tests-special): ... additions to this variable.
22059         * intl/Makefile (tests): Change dependencies to ....
22060         (tests-special): ... additions to this variable.  Also add
22061         $(objpfx)tst-gettext.out.
22062         * io/Makefile (tests): Change dependencies to ....
22063         (tests-special): ... additions to this variable.
22064         * libio/Makefile (tests): Change dependencies to ....
22065         (tests-special): ... additions to this variable.
22066         * malloc/Makefile (tests): Change dependencies to ....
22067         (tests-special): ... additions to this variable.
22068         * misc/Makefile (tests): Change dependencies to ....
22069         (tests-special): ... additions to this variable.
22070         * nptl/Makefile (tests): Change dependencies to ....
22071         (tests-special): ... additions to this variable.
22072         * nptl_db/Makefile (tests): Change dependencies to ....
22073         (tests-special): ... additions to this variable.
22074         * posix/Makefile (tests): Change dependencies to ....
22075         (tests-special): ... additions to this variable.
22076         (xtests): Change dependencies to ....
22077         (xtests-special): ... additions to this variable.
22078         * resolv/Makefile (tests): Change dependencies to ....
22079         (tests-special): ... additions to this variable.
22080         (xtests): Change dependencies to ....
22081         (xtests-special): ... additions to this variable.
22082         * stdio-common/Makefile (tests): Change dependencies to ....
22083         (tests-special): ... additions to this variable.
22084         (do-tst-unbputc): Remove target.
22085         (do-tst-printf): Likewise.
22086         * stdlib/Makefile (tests): Change dependencies to ....
22087         (tests-special): ... additions to this variable.
22088         * string/Makefile (tests): Change dependencies to ....
22089         (tests-special): ... additions to this variable.
22090         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22091         (tests-special): ... additions to this variable.
22093         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22094         whole file.
22095         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22096         whole file.
22097         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22098         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22100         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22101         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22102         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22103         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22104         * conform/data/libgen.h-data [XPG3]: Likewise.
22105         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22106         * conform/data/ndbm.h-data [XPG3]: Likewise.
22107         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22108         * conform/data/netdb.h-data [XPG3]: Likewise.
22109         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22110         * conform/data/poll.h-data [XPG3]: Likewise.
22111         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22112         * conform/data/strings.h-data [XPG3]: Likewise.
22113         * conform/data/stropts.h-data [XPG3]: Likewise.
22114         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22115         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22116         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22117         Likewise.
22118         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22119         * conform/data/sys/time.h-data [XPG3]: Likewise.
22120         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22121         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22122         * conform/data/sys/un.h-data [XPG3]: Likewise.
22123         * conform/data/syslog.h-data [XPG3]: Likewise.
22124         * conform/data/ucontext.h-data [XPG3]: Likewise.
22125         * conform/data/utmpx.h-data [XPG3]: Likewise.
22126         * conform/data/varargs.h-data [UNIX98]: Enable file.
22128         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22130         * math/libm-test.inc (struct test_f_f_data): Move expected results
22131         into structure for each rounding mode.
22132         (struct test_ff_f_data): Likewise.
22133         (struct test_ff_f_data_nexttoward): Likewise.
22134         (struct test_fi_f_data): Likewise.
22135         (struct test_fl_f_data): Likewise.
22136         (struct test_if_f_data): Likewise.
22137         (struct test_fff_f_data): Likewise.
22138         (struct test_c_f_data): Likewise.
22139         (struct test_f_f1_data): Likewise.
22140         (struct test_fF_f1_data): Likewise.
22141         (struct test_ffI_f1_data): Likewise.
22142         (struct test_c_c_data): Likewise.
22143         (struct test_cc_c_data): Likewise.
22144         (struct test_f_i_data): Likewise.
22145         (struct test_ff_i_data): Likewise.
22146         (struct test_f_l_data): Likewise.
22147         (struct test_f_L_data): Likewise.
22148         (struct test_fFF_11_data): Likewise.
22149         (RM_): New macro.
22150         (RM_FE_DOWNWARD): Likewise.
22151         (RM_FE_TONEAREST): Likewise.
22152         (RM_FE_TOWARDZERO): Likewise.
22153         (RM_FE_UPWARD): Likewise.
22154         (RUN_TEST_LOOP_f_f): Update references to expected results.
22155         (RUN_TEST_LOOP_2_f): Likewise.
22156         (RUN_TEST_LOOP_fff_f): Likewise.
22157         (RUN_TEST_LOOP_c_f): Likewise.
22158         (RUN_TEST_LOOP_f_f1): Likewise.
22159         (RUN_TEST_LOOP_fF_f1): Likewise.
22160         (RUN_TEST_LOOP_fI_f1): Likewise.
22161         (RUN_TEST_LOOP_ffI_f1): Likewise.
22162         (RUN_TEST_LOOP_c_c): Likewise.
22163         (RUN_TEST_LOOP_cc_c): Likewise.
22164         (RUN_TEST_LOOP_f_i): Likewise.
22165         (RUN_TEST_LOOP_f_i_tg): Likewise.
22166         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22167         (RUN_TEST_LOOP_f_b): Likewise.
22168         (RUN_TEST_LOOP_f_b_tg): Likewise.
22169         (RUN_TEST_LOOP_f_l): Likewise.
22170         (RUN_TEST_LOOP_f_L): Likewise.
22171         (RUN_TEST_LOOP_fFF_11): Likewise.
22172         * math/gen-libm-test.pl (parse_args): Output four copies of
22173         expected results for each test.
22175         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22176         (__ASSUME_UTIMES): Remove.
22177         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22178         (__ASSUME_UTIMES): Likewise.
22180         * math/gen-auto-libm-tests.c: Update comment on output format.
22181         (output_for_one_input_case): Generate before-rounding and
22182         after-rounding information as conditions on output flags not
22183         floating-point format.
22184         * math/auto-libm-test-out: Regenerated.
22185         * math/gen-libm-test.pl (cond_value): New function.
22186         (or_cond_value): Use cond_value.
22187         (generate_testfile): Handle conditional exceptions.
22189 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22191         * math/libm-test.inc (max_valid_error): New variable.
22192         (init_max_error): Take new argument specifying whether function
22193         results are exactly determined.  Set max_valid_error and bound
22194         other variables for errors based on this argument.
22195         (set_max_error): Do not record results above max_valid_error.
22196         (check_float_internal): Only accept errors of up to 0.5ulps if
22197         also at most max_valid_error.
22198         (START): Take new argument EXACT and pass it to init_max_error.
22199         (acos_test): Update call to START.
22200         (acos_test_tonearest): Likewise.
22201         (acos_test_towardzero): Likewise.
22202         (acos_test_downward): Likewise.
22203         (acos_test_upward): Likewise.
22204         (acosh_test): Likewise.
22205         (asin_test): Likewise.
22206         (asin_test_tonearest): Likewise.
22207         (asin_test_towardzero): Likewise.
22208         (asin_test_downward): Likewise.
22209         (asin_test_upward): Likewise.
22210         (asinh_test): Likewise.
22211         (atan_test): Likewise.
22212         (atanh_test): Likewise.
22213         (atan2_test): Likewise.
22214         (cabs_test): Likewise.
22215         (cacos_test): Likewise.
22216         (cacosh_test): Likewise.
22217         (carg_test): Likewise.
22218         (casin_test): Likewise.
22219         (casinh_test): Likewise.
22220         (catan_test): Likewise.
22221         (catanh_test): Likewise.
22222         (cbrt_test): Likewise.
22223         (ccos_test): Likewise.
22224         (ccosh_test): Likewise.
22225         (ceil_test): Likewise.
22226         (cexp_test): Likewise.
22227         (cimag_test): Likewise.
22228         (clog_test): Likewise.
22229         (clog10_test): Likewise.
22230         (conj_test): Likewise.
22231         (copysign_test): Likewise.
22232         (cos_test): Likewise.
22233         (cos_test_tonearest): Likewise.
22234         (cos_test_towardzero): Likewise.
22235         (cos_test_downward): Likewise.
22236         (cos_test_upward): Likewise.
22237         (cosh_test): Likewise.
22238         (cosh_test_tonearest): Likewise.
22239         (cosh_test_towardzero): Likewise.
22240         (cosh_test_downward): Likewise.
22241         (cosh_test_upward): Likewise.
22242         (cpow_test): Likewise.
22243         (cproj_test): Likewise.
22244         (creal_test): Likewise.
22245         (csin_test): Likewise.
22246         (csinh_test): Likewise.
22247         (csqrt_test): Likewise.
22248         (ctan_test): Likewise.
22249         (ctan_test_tonearest): Likewise.
22250         (ctan_test_towardzero): Likewise.
22251         (ctan_test_downward): Likewise.
22252         (ctan_test_upward): Likewise.
22253         (ctanh_test): Likewise.
22254         (ctanh_test_tonearest): Likewise.
22255         (ctanh_test_towardzero): Likewise.
22256         (ctanh_test_downward): Likewise.
22257         (ctanh_test_upward): Likewise.
22258         (erf_test): Likewise.
22259         (erfc_test): Likewise.
22260         (exp_test): Likewise.
22261         (exp_test_tonearest): Likewise.
22262         (exp_test_towardzero): Likewise.
22263         (exp_test_downward): Likewise.
22264         (exp_test_upward): Likewise.
22265         (exp10_test): Likewise.
22266         (exp10_test_tonearest): Likewise.
22267         (exp10_test_towardzero): Likewise.
22268         (exp10_test_downward): Likewise.
22269         (exp10_test_upward): Likewise.
22270         (pow10_test): Likewise.
22271         (exp2_test): Likewise.
22272         (expm1_test): Likewise.
22273         (expm1_test_tonearest): Likewise.
22274         (expm1_test_towardzero): Likewise.
22275         (expm1_test_downward): Likewise.
22276         (expm1_test_upward): Likewise.
22277         (fabs_test): Likewise.
22278         (fdim_test): Likewise.
22279         (floor_test): Likewise.
22280         (fma_test): Likewise.
22281         (fma_test_towardzero): Likewise.
22282         (fma_test_downward): Likewise.
22283         (fma_test_upward): Likewise.
22284         (fmax_test): Likewise.
22285         (fmin_test): Likewise.
22286         (fmod_test): Likewise.
22287         (fpclassify_test): Likewise.
22288         (frexp_test): Likewise.
22289         (hypot_test): Likewise.
22290         (ilogb_test): Likewise.
22291         (isfinite_test): Likewise.
22292         (finite_test): Likewise.
22293         (isgreater_test): Likewise.
22294         (isgreaterequal_test): Likewise.
22295         (isinf_test): Likewise.
22296         (isless_test): Likewise.
22297         (islessequal_test): Likewise.
22298         (islessgreater_test): Likewise.
22299         (isnan_test): Likewise.
22300         (isnormal_test): Likewise.
22301         (issignaling_test): Likewise.
22302         (isunordered_test): Likewise.
22303         (j0_test): Likewise.
22304         (j1_test): Likewise.
22305         (jn_test): Likewise.
22306         (ldexp_test): Likewise.
22307         (lgamma_test): Likewise.
22308         (gamma_test): Likewise.
22309         (lrint_test): Likewise.
22310         (lrint_test_tonearest): Likewise.
22311         (lrint_test_towardzero): Likewise.
22312         (lrint_test_downward): Likewise.
22313         (lrint_test_upward): Likewise.
22314         (llrint_test): Likewise.
22315         (llrint_test_tonearest): Likewise.
22316         (llrint_test_towardzero): Likewise.
22317         (llrint_test_downward): Likewise.
22318         (llrint_test_upward): Likewise.
22319         (log_test): Likewise.
22320         (log10_test): Likewise.
22321         (log1p_test): Likewise.
22322         (log2_test): Likewise.
22323         (logb_test): Likewise.
22324         (logb_test_downward): Likewise.
22325         (lround_test): Likewise.
22326         (llround_test): Likewise.
22327         (modf_test): Likewise.
22328         (nearbyint_test): Likewise.
22329         (nextafter_test): Likewise.
22330         (nexttoward_test): Likewise.
22331         (pow_test): Likewise.
22332         (pow_test_tonearest): Likewise.
22333         (pow_test_towardzero): Likewise.
22334         (pow_test_downward): Likewise.
22335         (pow_test_upward): Likewise.
22336         (remainder_test): Likewise.
22337         (drem_test): Likewise.
22338         (remainder_test_tonearest): Likewise.
22339         (drem_test_tonearest): Likewise.
22340         (remainder_test_towardzero): Likewise.
22341         (drem_test_towardzero): Likewise.
22342         (remainder_test_downward): Likewise.
22343         (drem_test_downward): Likewise.
22344         (remainder_test_upward): Likewise.
22345         (drem_test_upward): Likewise.
22346         (remquo_test): Likewise.
22347         (rint_test): Likewise.
22348         (rint_test_tonearest): Likewise.
22349         (rint_test_towardzero): Likewise.
22350         (rint_test_downward): Likewise.
22351         (rint_test_upward): Likewise.
22352         (round_test): Likewise.
22353         (scalb_test): Likewise.
22354         (scalbn_test): Likewise.
22355         (scalbln_test): Likewise.
22356         (signbit_test): Likewise.
22357         (sin_test): Likewise.
22358         (sin_test_tonearest): Likewise.
22359         (sin_test_towardzero): Likewise.
22360         (sin_test_downward): Likewise.
22361         (sin_test_upward): Likewise.
22362         (sincos_test): Likewise.
22363         (sinh_test): Likewise.
22364         (sinh_test_tonearest): Likewise.
22365         (sinh_test_towardzero): Likewise.
22366         (sinh_test_downward): Likewise.
22367         (sinh_test_upward): Likewise.
22368         (sqrt_test): Likewise.
22369         (sqrt_test_tonearest): Likewise.
22370         (sqrt_test_towardzero): Likewise.
22371         (sqrt_test_downward): Likewise.
22372         (sqrt_test_upward): Likewise.
22373         (tan_test): Likewise.
22374         (tan_test_tonearest): Likewise.
22375         (tan_test_towardzero): Likewise.
22376         (tan_test_downward): Likewise.
22377         (tan_test_upward): Likewise.
22378         (tanh_test): Likewise.
22379         (tgamma_test): Likewise.
22380         (trunc_test): Likewise.
22381         (y0_test): Likewise.
22382         (y1_test): Likewise.
22383         (yn_test): Likewise.
22384         (significand_test): Likewise.
22386         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22387         individual tests in comment.
22388         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22389         (prev_max_error): New variable.
22390         (prev_real_max_error): Likewise.
22391         (prev_imag_max_error): Likewise.
22392         (compare_ulp_data): Don't refer to test names in comment.
22393         (find_test_ulps): Remove function.
22394         (find_function_ulps): Likewise.
22395         (find_complex_function_ulps): Likewise.
22396         (init_max_error): Take function name as argument.  Look up ulps
22397         for that function.
22398         (print_ulps): Remove function.
22399         (print_max_error): Use prev_max_error instead of calling
22400         find_function_ulps.
22401         (print_complex_max_error): Use prev_real_max_error and
22402         prev_imag_max_error instead of calling find_complex_function_ulps.
22403         (check_float_internal): Take max_ulp parameter instead of calling
22404         find_test_ulps.  Don't call print_ulps.
22405         (check_float): Update call to check_float_internal.
22406         (check_complex): Update calls to check_float_internal.
22407         (START): Pass argument to init_max_error.
22408         * math/gen-libm-test.pl (%results): Don't include "kind"
22409         information.
22410         (parse_ulps): Don't handle ulps of individual tests.
22411         (print_ulps_file): Likewise.
22412         (output_ulps): Likewise.
22413         * math/README.libm-test: Update.
22414         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22415         individual tests.
22416         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22417         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22418         * sysdeps/arm/libm-test-ulps: Likewise.
22419         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22420         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22421         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22422         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22423         * sysdeps/microblaze/libm-test-ulps: Likewise.
22424         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22425         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22427         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22428         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22429         * sysdeps/sh/libm-test-ulps: Likewise.
22430         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22431         * sysdeps/tile/libm-test-ulps: Likewise.
22432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22434 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22436         * math/libm-test.inc (print_complex_max_error): Check separately
22437         whether real and imaginary errors are within allowed range and
22438         pass 0 to print_complex_function_ulps instead of value within
22439         allowed range.
22441 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22444         formatting.
22445         (get_handles_fopen): Likewise.
22446         (do_write_test): Likewise.
22448         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22450         * libio/fileops.c (do_ftell): Use cached offset when
22451         available.
22452         * libio/iofwide.c (do_ftell_wide): Likewise.
22453         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22454         _IO_file_attach.
22455         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22457         [BZ #16532]
22458         * libio/libioP.h (get_file_offset): New function.
22459         * libio/fileops.c (get_file_offset): Likewise.
22460         (do_ftell): Likewise.
22461         (_IO_new_file_seekoff): Split out ftell logic.
22462         * libio/wfileops.c (do_ftell_wide): Likewise.
22463         (_IO_wfile_seekoff): Split out ftell logic.
22464         * libio/tst-ftell-active-handler.c: New test case.
22465         * libio/Makefile (tests): Add it.
22467 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22469         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22470         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22472 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22474         [BZ #16639]
22475         * nscd/connections.c (nscd_init): Call do_exit.
22476         (start_threads): Call do_exit and notify_parent.
22477         (begin_drop_privileges): Call do_exit.
22478         (finish_drop_privileges): Likewise.
22479         * nscd/selinux.c (preserve_capabilities): Likewise.
22480         (install_real_capabilities): Likewise.
22481         (nscd_selinux_enabled): Likewise.
22482         (avc_create_thread): Likewise.
22483         (avc_alloc_lock): Likewise.
22484         (nscd_avc_init): Likewise.
22485         * nscd/nscd.c (parent_fd): New static variable.
22486         (main): Create a pipe between parent and child processes.
22487         Skip closing parent_fd.
22488         (monitor_child): New function.
22489         (do_exit): Likewise.
22490         (notify_parent): Likewise.
22491         * nscd/nscd.h (notify_parent): Likewise.
22492         (do_exit): Likewise.
22494 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22496         * malloc/malloc.c (__libc_calloc): Revert last change.
22498 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22502 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22504         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22506         implementation.
22507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22508         (__libc_ifunc_impl_list): Likewise.
22509         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22510         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22511         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22512         * string/strrchr.c: Define STRRCHR.
22514 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22516         * benchtest/bench-strtok.c (simple_strtok): Delete.
22517         (strtok_string): Use as benchmark.
22518         * string/strtok (STRTOK): New macro.
22520 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22522         * manual/threads.texi: Add header and standard comments to all
22523         functions.
22525         * elf/dl-lookup.c (check_match): New function.
22526         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22527         (do_lookup_x): Remove nested function check_match. Use non-nested
22528         function check_match.
22530 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22532         * csu/Makefile (generated, before-compile): Use += rather than =.
22533         * catgets/Makefile (generated, generated-dirs): Likewise.
22534         * debug/Makefile (generated): Likewise.
22535         * dlfcn/Makefile (generated): Likewise.
22536         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22537         * iconvdata/Makefile (before-compile, generated): Likewise.
22538         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22539         * libio/Makefile (generated): Likewise.
22540         * malloc/Makefile (generated): Likewise.
22541         * manual/Makefile (generated, generated-dirs): Likewise.
22542         * misc/Makefile (generated): Likewise.
22543         * posix/Makefile (generated): Likewise.
22544         * resolv/Makefile (generated): Likewise.
22545         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22546         * timezone/Makefile (generated, generated-dirs): Likewise.
22548         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22550 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22553         power8 implementation.
22554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22555         file: POWER8 llround ifunc implementation.
22556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22557         (__lllround): Add POWER8 implementation.
22558         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22559         POWER8 llround implementation.
22561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22562         power8 implementation.
22563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22564         file: POWER8 llrint ifunc implementation.
22565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22566         Add POWER8 implementation.
22567         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22568         POWER8 llrint implementation.
22570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22571         power8 implementation.
22572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22573         file: POWER8 finite ifunc implementation.
22574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22575         Add POWER8 implementation.
22576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22577         Likewise.
22578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22579         POWER8 finite implementation.
22580         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22583         power8 implementation.
22584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22585         file: POWER8 isinf ifunc implementation.
22586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22587         POWER8 implementation.
22588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22589         Likewise.
22590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22591         isinf implementation.
22592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22594         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22595         (INIT_ARCH): Add hwcap2 initialization.
22596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22597         power8 implementation.
22598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22599         file: POWER8 isnan ifunc implementation.
22600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22601         POWER8 implementation.
22602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22603         Likewise.
22604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22605         isnan implementation.
22606         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22608 2014-02-27  Joey Ye  <joey.ye@arm.com>
22610         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22611         (_FP_NANFRAC_Q): Set to zero.
22613 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22615         [BZ #16623]
22616         * math/auto-libm-test-in: New test inputs.
22617         * math/auto-libm-test-out: Regenerate.
22618         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22619         and DA.
22620         (__cos): Likewise.
22621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22623 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22625         * scripts/evaluate-test.sh: Take new argument indicating whether
22626         failure is expected.
22627         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22628         indicating whether failure is expected.
22629         * conform/Makefile (test-xfail-run-conformtest): New variable.
22630         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22631         level.
22632         * posix/Makefile (test-xfail-annexc): New variable.
22633         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22635 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22637         * argp/Makefile: Include Makeconfig immediately after defining
22638         subdir.
22639         * assert/Makefile: Likewise.
22640         * benchtests/Makefile: Likewise.
22641         * catgets/Makefile: Likewise.
22642         * conform/Makefile: Likewise.
22643         * crypt/Makefile: Likewise.
22644         * csu/Makefile: Likewise.
22645         (all): Remove target.
22646         * ctype/Makefile: Include Makeconfig immediately after defining
22647         subdir.
22648         * debug/Makefile: Likewise.
22649         * dirent/Makefile: Likewise.
22650         * dlfcn/Makefile: Likewise.
22651         * gmon/Makefile: Likewise.
22652         * gnulib/Makefile: Likewise.
22653         * grp/Makefile: Likewise.
22654         * gshadow/Makefile: Likewise.
22655         * hesiod/Makefile: Likewise.
22656         * hurd/Makefile: Likewise.
22657         (all): Remove target.
22658         * iconvdata/Makefile: Include Makeconfig immediately after
22659         defining subdir.
22660         * inet/Makefile: Likewise.
22661         * intl/Makefile: Likewise.
22662         * io/Makefile: Likewise.
22663         * libio/Makefile: Likewise.
22664         (all): Remove target.
22665         * locale/Makefile: Include Makeconfig immediately after defining
22666         subdir.
22667         * login/Makefile: Likewise.
22668         * mach/Makefile: Likewise.
22669         (all): Remove target.
22670         * malloc/Makefile: Include Makeconfig immediately after defining
22671         subdir.
22672         (all): Remove target.
22673         * manual/Makefile: Include Makeconfig immediately after defining
22674         subdir.
22675         * math/Makefile: Likewise.
22676         * misc/Makefile: Likewise.
22677         * nis/Makefile: Likewise.
22678         * nss/Makefile: Likewise.
22679         * po/Makefile: Likewise.
22680         (all): Remove target.
22681         * posix/Makefile: Include Makeconfig immediately after defining
22682         subdir.
22683         * pwd/Makefile: Likewise.
22684         * resolv/Makefile: Likewise.
22685         * resource/Makefile: Likewise.
22686         * rt/Makefile: Likewise.
22687         * setjmp/Makefile: Likewise.
22688         * shadow/Makefile: Likewise.
22689         * signal/Makefile: Likewise.
22690         * socket/Makefile: Likewise.
22691         * soft-fp/Makefile: Likewise.
22692         * stdio-common/Makefile: Likewise.
22693         * stdlib/Makefile: Likewise.
22694         * streams/Makefile: Likewise.
22695         * string/Makefile: Likewise.
22696         * sunrpc/Makefile: Likewise.
22697         (all): Remove target.
22698         * sysvipc/Makefile: Include Makeconfig immediately after defining
22699         subdir.
22700         * termios/Makefile: Likewise.
22701         * time/Makefile: Likewise.
22702         * timezone/Makefile: Likewise.
22703         (all): Remove target.
22704         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22705         subdir.
22706         * wctype/Makefile: Likewise.
22708 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22710         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22711         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22712         (libc_feholdexcept_setround_mips): Ditto.
22713         (libc_feholdsetround): New.
22714         (libc_feholdsetroundf): New.
22715         (libc_feholdsetroundl): New.
22716         (libc_feupdateenv_test_mips): New.
22717         (libc_feupdateenv_test): New.
22718         (libc_feupdateenv_testf): New.
22719         (libc_feupdateenv_testl): New.
22720         (libc_feresetround): New.
22721         (libc_feresetroundf): New.
22722         (libc_feresetroundl): New.
22723         (libc_fetestexcept_mips): New.
22724         (libc_fetestexcept): New.
22725         (libc_fetestexceptf): New.
22726         (libc_fetestexceptl): New.
22727         (HAVE_RM_CTX): New.
22728         (libc_feholdexcept_setround_mips_ctx): New.
22729         (libc_feholdexcept_setround_ctx): New.
22730         (libc_feholdexcept_setroundf_ctx): New.
22731         (libc_feholdexcept_setroundl_ctx): New.
22732         (libc_fesetenv_mips_ctx): New.
22733         (libc_fesetenv_ctx): New.
22734         (libc_fesetenv_ctxf): New.
22735         (libc_fesetenv_ctxl): New.
22736         (libc_feupdateenv_mips_ctx): New.
22737         (libc_feupdateenv_ctx): New.
22738         (libc_feupdateenvf_ctx): New.
22739         (libc_feupdateenvl_ctx): New.
22740         (libc_feholdsetround_mips_ctx): New.
22741         (libc_feholdsetround_ctx): New.
22742         (libc_feholdsetroundf_ctx): New.
22743         (libc_feholdsetroundl_ctx): New.
22744         (libc_feresetround_mips_ctx): New.
22745         (libc_feresetround_ctx): New.
22746         (libc_feresetroundf_ctx): New.
22747         (libc_feresetroundl_ctx): New.
22749 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22751         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22753         * manual/ipc.texi: New file.
22754         * manual/Makefile (chapters): Add ipc.
22755         * manual/job.texi: Add "Inter-Process Communication" to next.
22756         * manual/process.texi: Add "Inter-Process Communication" to prev.
22758 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22762 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22764         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22766         * manual/arith.texi: Fix spaces after sentences.
22767         * manual/charset.texi: Likewise.
22768         * manual/errno.texi: Likewise.
22769         * manual/install.texi: Likewise.
22770         * manual/llio.texi: Likewise.
22771         * manual/locale.texi: Likewise.
22772         * manual/maint.texi: Likewise.
22773         * manual/math.texi: Likewise.
22774         * manual/memory.texi: Likewise.
22775         * manual/message.texi: Likewise.
22776         * manual/probes.texi: Likewise.
22777         * manual/resource.texi: Likewise.
22778         * manual/signal.texi: Likewise.
22779         * manual/socket.texi: Likewise.
22780         * manual/stdio.texi: Likewise.
22781         * manual/string.texi: Likewise.
22782         * manual/time.texi: Likewise.
22783         * manual/users.texi: Likewise.
22785 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22787         [BZ #16632]
22788         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22789         _DEFAULT_SOURCE is defined.
22791 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22792             Carlos O'Donell  <carlos@redhat.com>
22794         [BZ #16613]
22795         * elf/dl-tls.c (_dl_count_modids): New function.
22796         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22797         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22798         audit library and increment generation counter.
22799         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22800         * elf/tst-audit9.c: New file.
22801         * elf/tst-auditmod9a.c: New file.
22802         * elf/tst-auditmod9b.c: New file.
22803         * elf/Makefile: Add rules to build and run tst-audit9.
22805 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22807         [BZ #15347]
22808         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22810 2014-02-25  Will Newton  <will.newton@linaro.org>
22812         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22813         (__longjmp): Restore sp and lr before restoring callee
22814         saved registers.  Add longjmp and longjmp_target
22815         SystemTap probe point.
22816         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22817         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22818         Define to zero to match jmpbuf layout.
22819         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22820         (__sigsetjmp): Save sp and lr before saving callee
22821         saved registers.  Add setjmp SystemTap probe point.
22823 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22825         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22827 2014-02-24  Andreas Schwab  <schwab@suse.de>
22829         [BZ #15804]
22830         * elf/pldd.c (wait_for_ptrace_stop): New function.
22831         (main): Call it after attaching.
22833 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22835         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22836         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22837         Versions files is now verboten.
22838         * hurd/Versions (libc: GLIBC_2.0):
22839         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22840         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22841         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22842         * mach/Versions: Likewise.
22844         * csu/Versions: Remove unused %include.
22845         * resolv/Versions: Likewise.
22847 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22849         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22850         ($(objpfx)check-local-headers.out): Likewise.
22851         ($(objpfx)begin-end-check.out): Likewise.
22852         * Makerules (check-abi-%.out): Likewise.
22853         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22854         ($(objpfx)test2.cat): Likewise.
22855         ($(objpfx)de/libc.cat): Likewise.
22856         ($(objpfx)test-gencat.out): Likewise.
22857         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22858         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22859         ($(objpfx)noload-mem): Likewise.
22860         ($(objpfx)tst-pathopt.out): Likewise.
22861         ($(objpfx)tst-rtld-load-self.out): Likewise.
22862         ($(objpfx)tst-array1-cmp.out): Likewise.
22863         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22864         ($(objpfx)tst-array2-cmp.out): Likewise.
22865         ($(objpfx)tst-array3-cmp.out): Likewise.
22866         ($(objpfx)tst-array4-cmp.out): Likewise.
22867         ($(objpfx)tst-array5-cmp.out): Likewise.
22868         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22869         ($(objpfx)check-textrel.out): Likewise.
22870         ($(objpfx)check-execstack.out): Likewise.
22871         ($(objpfx)check-localplt.out): Likewise.
22872         ($(objpfx)order2-cmp.out): Likewise.
22873         ($(objpfx)tst-leaks1-mem): Likewise.
22874         ($(objpfx)tst-leaks1-static-mem): Likewise.
22875         ($(objpfx)tst-initorder-cmp.out): Likewise.
22876         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22877         ($(objpfx)tst-unused-dep.out): Likewise.
22878         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22879         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22880         * iconv/Makefile (test-iconvconfig): Likewise.
22881         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22882         ($(objpfx)iconv-test.out): Likewise.
22883         ($(objpfx)tst-tables.out): Likewise.
22884         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22885         ($(objpfx)tst-gettext.out): Likewise.
22886         ($(objpfx)tst-translit.out): Likewise.
22887         ($(objpfx)tst-gettext2.out): Likewise.
22888         ($(objpfx)tst-gettext4.out): Likewise.
22889         ($(objpfx)tst-gettext6.out): Likewise.
22890         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22891         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22892         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22893         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22894         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22895         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22896         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22897         ($(objpfx)wordexp-tst.out): Likewise.
22898         ($(objpfx)annexc.out): Likewise.
22899         ($(objpfx)tst-fnmatch-mem): Likewise.
22900         ($(objpfx)bug-regex2-mem): Likewise.
22901         ($(objpfx)bug-regex14-mem): Likewise.
22902         ($(objpfx)bug-regex21-mem): Likewise.
22903         ($(objpfx)bug-regex31-mem): Likewise.
22904         ($(objpfx)tst-vfork3-mem): Likewise.
22905         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22906         ($(objpfx)tst-pcre-mem): Likewise.
22907         ($(objpfx)tst-boost-mem): Likewise.
22908         ($(objpfx)tst-getconf.out): Likewise.
22909         ($(objpfx)bug-ga2-mem): Likewise.
22910         ($(objpfx)bug-glob2-mem): Likewise.
22911         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22912         ($(objpfx)mtrace-tst-leaks2): Likewise.
22913         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22914         ($(objpfx)tst-printf.out): Likewise.
22915         ($(objpfx)tst-setvbuf1.out): Likewise.
22916         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22917         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22918         ($(objpfx)tst-fmtmsg.out): Likewise.
22919         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22920         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22922         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22923         * bits/sigaction.h [__USE_MISC]: Likewise.
22924         * bits/waitstatus.h: Update #endif comments.
22925         * ctype/ctype.h: Likewise.
22926         * dirent/dirent.h: Likewise.
22927         [__USE_MISC]: Remove redundant conditionals.
22928         * grp/grp.h: Update #endif comments.
22929         [__USE_GNU]: Remove redundant conditionals.
22930         [__USE_MISC]: Likewise.
22931         * inet/netinet/in.h [__USE_GNU]: Likewise.
22932         * io/sys/stat.h [__USE_MISC]: Likewise.
22933         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22934         * libio/bits/stdio.h: Update #endif comments.
22935         [__USE_MISC]: Remove redundant conditionals.
22936         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22937         * libio/stdio.h: Update #endif comments.
22938         [__USE_MISC]: Remove redundant conditionals.
22939         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22940         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22941         * math/math.h: Update #else and #endif comments.
22942         [__USE_MISC]: Remove redundant conditionals.
22943         * misc/sys/uio.h: Update #endif comments.
22944         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22945         * posix/glob.h [__USE_MISC]: Likewise.
22946         * posix/sys/types.h: Update #endif comments.
22947         [__USE_MISC]: Remove redundant conditionals.
22948         * posix/sys/wait.h: Update #endif comments.
22949         [__USE_MISC]: Remove redundant conditionals.
22950         * posix/unistd.h: Update #endif comments.
22951         [__USE_MISC]: Remove redundant conditionals.
22952         * pwd/pwd.h [__USE_GNU]: Likewise.
22953         [__USE_MISC]: Likewise.
22954         * resolv/netdb.h [__USE_GNU]: Likewise.
22955         * signal/signal.h: Update #endif comments.
22956         [__USE_MISC]: Remove redundant conditionals.
22957         * stdlib/stdlib.h: Update #else and #endif comments.
22958         [__USE_MISC]: Remove redundant conditionals.
22959         [__USE_GNU]: Likewise.
22960         * string/bits/string2.h [__USE_MISC]: Likewise.
22961         * string/string.h: Update #endif comments.
22962         [__USE_MISC]: Remove redundant conditionals.
22963         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22964         Likewise.
22965         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22966         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22967         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22968         Likewise.
22969         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22970         Likewise.
22971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22972         comments.
22973         [__USE_MISC]: Remove redundant conditionals.
22974         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22975         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22976         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22977         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22978         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22979         Likewise.
22980         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22981         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22982         Likewise.
22983         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22984         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22985         Likewise.
22986         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22987         Likewise.
22988         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22989         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22990         Likewise.
22991         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22992         Likewise.
22993         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22994         * sysdeps/x86/bits/string.h: Update #endif comments.
22995         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22996         conditionals.
22997         * time/sys/time.h: Update #endif comments.
22998         * time/time.h: Likewise.
22999         [__USE_MISC]: Remove redundant conditionals.
23001 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23003         [BZ #16600]
23004         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23006 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23008         * Versions.def (librt): Add GLIBC_2.17.
23010 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23012         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23013         synonym for _SYS_AUXV_H to allow direct inclusion.
23014         * sysdeps/sparc/bits/hwcap.h: Likewise.
23015         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23016         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23017         * sysdeps/sparc/sysdep.h: Likewise.
23019 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23021         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23023 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23025         * benchtests/bench-strrchr.c: Print length instead of position.
23027 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23029         [BZ #16611]
23030         * sysdeps/unix/sysv/linux/kernel-features.h
23031         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23032         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23033         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23034         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23035         Likewise.
23036         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23037         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23038         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23039         (__ASSUME_SENDMMSG): Define instead of using previous
23040         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23041         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23042         (__ASSUME_SENDMMSG_SYSCALL): Define.
23043         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23044         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23045         Likewise.
23046         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23047         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23048         Likewise.
23049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23050         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23051         Likewise.
23052         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23053         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23054         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23055         [__ASSUME_SENDMMSG]: Change conditionals to
23056         [__ASSUME_SENDMMSG_SOCKETCALL].
23057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23058         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23059         Define.
23060         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23061         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23062         Likewise.
23063         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23064         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23065         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23066         [!__ASSUME_SENDMMSG]: Change conditional to
23067         [!__ASSUME_SENDMMSG_SOCKETCALL].
23068         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23069         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23070         Define.
23072         [BZ #16610]
23073         * sysdeps/unix/sysv/linux/kernel-features.h
23074         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23075         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23076         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23077         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23078         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23079         [__i386__ || __sparc__]
23080         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23081         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23082         (__ASSUME_RECVMMSG): Define instead of using previous
23083         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23084         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23085         (__ASSUME_RECVMMSG_SYSCALL): Define.
23086         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23088         Likewise.
23089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23093         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23094         Likewise.
23095         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23096         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23097         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23098         [__ASSUME_RECVMMSG]: Change condition to
23099         [__ASSUME_RECVMMSG_SOCKETCALL].
23100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23101         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23102         Define.
23103         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23104         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23105         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23106         Likewise.
23107         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23108         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23109         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23110         [!__ASSUME_RECVMMSG]: Change condition to
23111         [!__ASSUME_RECVMMSG_SOCKETCALL].
23112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23113         (__ASSUME_RECVMMSG_SYSCALL): Define.
23115         [BZ #16609]
23116         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23117         __powerpc__ || __s390__ || __sh__ || __sparc__]
23118         (__ASSUME_SOCKETCALL): Define.
23119         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23120         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23121         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23122         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23123         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23124         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23125         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23126         (__ASSUME_ACCEPT4): Define instead of using previous
23127         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23128         __powerpc__ || __sparc__ || __s390__)] condition.
23129         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23130         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23131         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23132         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23133         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23134         [!__ASSUME_ACCEPT4]: Change condition to
23135         [!__ASSUME_ACCEPT4_SOCKETCALL].
23136         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23137         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23138         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23139         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23140         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23141         __ASSUME_ACCEPT4_SYSCALL.
23142         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23143         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23144         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23145         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23146         __ASSUME_ACCEPT4_SYSCALL.
23147         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23148         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23149         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23150         [__ASSUME_ACCEPT4]: Change condition to
23151         [__ASSUME_ACCEPT4_SOCKETCALL].
23152         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23153         (__ASSUME_SOCKETCALL): Define.
23154         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23155         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23156         (__ASSUME_SOCKETCALL): Define.
23157         (__ASSUME_ACCEPT4): Remove.
23158         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23159         Define.
23160         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23161         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23162         Likewise.
23163         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23164         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23166         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23167         macro.
23168         (HWCAP_ARM_LPAE): Likewise.
23169         (HWCAP_ARM_EVTSTRM): Likewise.
23170         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23171         Add vpfd32, lpae and evtstrm.
23172         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23173         Increase to 22.
23175 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23177         * math/auto-libm-test-in: Add tests of clog10.
23178         * math/auto-libm-test-out: Regenerated.
23179         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23180         * sysdeps/i386/fpu/libm-test-ulps: Update.
23181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23183 2014-02-18  Andreas Schwab  <schwab@suse.de>
23185         [BZ #16574]
23186         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23187         Store non-zero if the second buffer was newly allocated.
23188         (send_dg): Likewise.
23189         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23190         to send_vc and send_dg.
23191         (res_nsend): Pass NULL for ansp2_malloced.
23192         * resolv/res_query.c (__libc_res_nquery): Add parameter
23193         answerp2_malloced and pass it down to __libc_res_nsend.
23194         (res_nquery): Pass additional NULL to __libc_res_nquery.
23195         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23196         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23197         second answer buffer if answerp2_malloced was set.
23198         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23199         (__libc_res_nquerydomain): Add parameter
23200         answerp2_malloced and pass it down to __libc_res_nquery.
23201         (res_nquerydomain): Pass additional NULL to
23202         __libc_res_nquerydomain.
23203         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23204         additional NULL to __libc_res_nsend and __libc_res_nquery.
23205         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23206         additional NULL to __libc_res_nsearch.
23207         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23208         parameter of __libc_res_nsearch to check for separately allocated
23209         second buffer.
23210         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23211         __libc_res_nquery.
23212         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23213         additional NULL to __libc_res_nquery.
23214         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23215         __libc_res_nsearch.
23216         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23217         * include/resolv.h: Update prototypes of __libc_res_nquery,
23218         __libc_res_nsearch, __libc_res_nsend.
23220 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23222         * math/auto-libm-test-in: Add tests of fma.
23223         * math/auto-libm-test-out: Regenerated.
23224         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23225         (fma_towardzero_test_data): Likewise.
23226         (fma_downward_test_data): Likewise.
23227         (fma_upward_test_data): Likewise.
23228         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23229         mpc_mode.
23230         (rounding_modes): Add values for new field.
23231         (func_calc_method): Add value mpfr_fff_f.
23232         (func_calc_desc): Add mpfr_fff_f union field.
23233         (test_function): Add field exact_args.
23234         (FUNC): Add macro argument EXACT_ARGS.
23235         (FUNC_mpfr_f_f): Update call to FUNC.
23236         (FUNC_mpfr_f_f): Likewise.
23237         (FUNC_mpfr_ff_f): Likewise.
23238         (FUNC_mpfr_if_f): Likewise.
23239         (FUNC_mpc_c_f): Likewise.
23240         (FUNC_mpc_c_c): Likewise.
23241         (test_functions): Add fma.  Update calls to FUNC.
23242         (handle_input_arg): Add argument exact_args.
23243         (add_test): Update call to handle_input_arg.
23244         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23245         (output_for_one_input_case): Update call to calc_generic_results.
23246         Recalculate exact zero results in each rounding mode.
23248         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23249         non-negative before setting low bit.
23250         * math/auto-libm-test-in: Mark one asin test possibly having
23251         spurious underflow.
23252         * math/auto-libm-test-out: Regenerated.
23253         * sysdeps/i386/fpu/libm-test-ulps: Update.
23254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23256 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23258         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23259         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23260         ports/sysdeps/unix/sysv/linux/microblaze.
23261         * README: Add missing listing for microblaze*-*-linux-gnu.
23263 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23265         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23266         duplicate code
23268 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23270         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23271         * sysdeps/unix/sysv/linux/ia64: Move directory from
23272         ports/sysdeps/unix/sysv/linux/ia64.
23273         * README: Update listing for ia64-*-linux-gnu.
23275 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23276             Joseph Myers  <joseph@codesourcery.com>
23278         * Makeconfig (test-name): New variable.
23279         (evaluate-test): Likewise.
23280         * Makerules (do-test-clean): Remove .test-result files.
23281         (common-mostlyclean): Likewise.
23282         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23283         * scripts/evaluate-test.sh: New file.
23285 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23287         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23288         separate $(objpfx)tst-fopenloc-cmp.out and
23289         $(objpfx)tst-fopenloc-mem.out targets.
23290         (tests): Update dependencies.
23291         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23292         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23293         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23294         (tst-rxspencer-no-utf8-ARGS): New variable.
23295         (tst-rxspencer-no-utf8-ENV): Likewise.
23296         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23297         instead of $(objpfx)tst-rxspencer-mem.
23298         ($(objpfx)tst-rxspencer-mem): Change target to
23299         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23300         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23301         * posix/tst-rxspencer-no-utf8.c: New file.
23303         * elf/Makefile ($(objpfx)order.out): Remove rule.
23304         [$(run-built-tests) = yes] (tests): Depend on
23305         $(objpfx)order-cmp.out.
23306         ($(objpfx)order-cmp.out): New rule.
23307         [$(run-built-tests) = yes] (tests): Depend on
23308         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23309         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23310         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23311         $(objpfx)tst-array5-static-cmp.out.
23312         ($(objpfx)tst-array1.out): Remove rule.
23313         ($(objpfx)tst-array1-cmp.out): New rule.
23314         ($(objpfx)tst-array1-static.out): Remove rule.
23315         ($(objpfx)tst-array1-static-cmp.out): New rule.
23316         ($(objpfx)tst-array2.out): Remove rule.
23317         ($(objpfx)tst-array2-cmp.out): New rule.
23318         ($(objpfx)tst-array3.out): Remove rule.
23319         ($(objpfx)tst-array3-cmp.out): New rule.
23320         ($(objpfx)tst-array4.out): Remove rule.
23321         ($(objpfx)tst-array4-cmp.out): New rule.
23322         ($(objpfx)tst-array5.out): Remove rule.
23323         ($(objpfx)tst-array5-cmp.out): New rule.
23324         ($(objpfx)tst-array5-static.out): Remove rule.
23325         ($(objpfx)tst-array5-static-cmp.out): New rule.
23326         [$(run-built-tests) = yes] (tests): Depend on
23327         $(objpfx)order2-cmp.out.
23328         ($(objpfx)order2.out): Remove rule.
23329         ($(objpfx)order2-cmp.out): New rule.
23330         ($(objpfx)tst-initorder.out): Remove rule.
23331         [$(run-built-tests) = yes] (tests): Depend on
23332         $(objpfx)tst-initorder-cmp.out.
23333         ($(objpfx)tst-initorder-cmp.out): New rule.
23334         ($(objpfx)tst-initorder2.out): Remove rule.
23335         [$(run-built-tests) = yes] (tests): Depend on
23336         $(objpfx)tst-initorder2-cmp.out.
23337         ($(objpfx)tst-initorder2-cmp.out): New rule.
23338         [$(run-built-tests) = yes] (tests): Depend on
23339         $(objpfx)tst-unused-dep-cmp.out.
23340         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23341         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23342         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23343         on $(objpfx)tst-setvbuf1-cmp.out.
23344         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23345         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23346         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23347         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23348         ($(objpfx)tst-svc.out): Remove rule.
23349         ($(objpfx)tst-svc-cmp.out): New rule.
23351 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23353         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23354         * ctype/ctype.h [__USE_MISC]: Likewise.
23355         * dirent/dirent.h [__USE_MISC]: Likewise.
23356         * grp/grp.h [__USE_MISC]: Likewise.
23357         * io/fcntl.h [__USE_MISC]: Likewise.
23358         * io/sys/stat.h [__USE_MISC]: Likewise.
23359         * libio/stdio.h [__USE_MISC]: Likewise.
23360         * posix/unistd.h [__USE_MISC]: Likewise.
23361         * pwd/pwd.h [__USE_MISC]: Likewise.
23362         * stdlib.h [__USE_MISC]: Likewise.
23363         * string/bits/string2.h [__USE_MISC]: Likewise.
23364         * string/string.h [__USE_MISC]: Likewise.
23365         * time/time.h [__USE_MISC]: Likewise.
23367 2014-02-13  Andreas Schwab  <schwab@suse.de>
23369         [BZ #16574]
23370         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23371         second answer buffer if it was separately allocated.
23373 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23375         * sysdeps/mips/math-tests.h: Include <features.h>.
23376         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23377         (ROUNDING_TESTS_long_double): Do not define.
23378         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23379         (EXCEPTION_TESTS_long_double): Likewise.
23380         * sysdeps/mips/mips64/libm-test-ulps: Update.
23382         * include/features.h (__USE_BSD): Remove macro definitions.
23383         (__USE_SVID): Likewise.
23384         (_BSD_SOURCE): Likewise.
23385         (_SVID_SOURCE): Likewise.
23386         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23387         from definition of _DEFAULT_SOURCE.
23388         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23389         [_DEFAULT_SOURCE].
23390         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23391         * bits/mman.h [__USE_BSD]: Likewise.
23392         * bits/termios.h [__USE_BSD]: Likewise.
23393         * bits/waitstatus.h [__USE_BSD]: Likewise.
23394         * ctype/ctype.h [__USE_SVID]: Likewise.
23395         * dirent/dirent.h [__USE_BSD]: Likewise.
23396         * grp/grp.h [__USE_SVID]: Likewise.
23397         [__USE_BSD]: Likewise.
23398         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23399         * io/fcntl.h [__USE_BSD]: Likewise.
23400         * io/ftw.h [__USE_BSD]: Likewise.
23401         * io/sys/stat.h [__USE_BSD]: Likewise.
23402         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23403         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23404         * libio/stdio.h [__USE_SVID]: Likewise.
23405         [__USE_BSD]: Likewise.
23406         * math/math.h [__USE_SVID]: Likewise.
23407         [__USE_BSD]: Likewise.
23408         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23409         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23410         * misc/search.h [__USE_SVID]: Likewise.
23411         * misc/sys/mman.h [__USE_BSD]: Likewise.
23412         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23413         * misc/sys/uio.h [__USE_BSD]: Likewise.
23414         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23415         * posix/glob.h [__USE_BSD]: Likewise.
23416         * posix/regex.h [__USE_BSD]: Likewise.
23417         * posix/sys/types.h [__USE_BSD]: Likewise.
23418         [__USE_SVID]: Likewise.
23419         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23420         * posix/sys/wait.h [__USE_BSD]: Likewise.
23421         [__USE_SVID]: Likewise.
23422         * posix/unistd.h [__USE_BSD]: Likewise.
23423         [__USE_SVID]: Likewise.
23424         * pwd/pwd.h [__USE_SVID]: Likewise.
23425         * resolv/netdb.h [__USE_BSD]: Likewise.
23426         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23427         * signal/signal.h [__USE_BSD]: Likewise.
23428         [__USE_SVID]: Likewise.
23429         * socket/sys/socket.h [__USE_BSD]: Likewise.
23430         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23431         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23432         [__USE_SVID]: Likewise.
23433         * string/bits/string2.h [__USE_BSD]: Likewise.
23434         [__USE_SVID]: Likewise.
23435         * string/bits/string3.h [__USE_BSD]: Likewise.
23436         * string/endian.h [__USE_BSD]: Likewise.
23437         * string/string.h [__USE_SVID]: Likewise.
23438         [__USE_BSD]: Likewise.
23439         * string/strings.h [__USE_BSD]: Likewise.
23440         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23441         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23442         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23443         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23444         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23445         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23446         Likewise.
23447         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23448         Likewise.
23449         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23450         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23451         Likewise.
23452         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23453         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23454         Likewise.
23455         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23456         Likewise.
23457         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23458         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23459         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23460         Likewise.
23461         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23462         Likewise.
23463         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23464         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23465         * termios/termios.h [__USE_BSD]: Likewise.
23466         * time/sys/time.h [__USE_BSD]: Likewise.
23467         * time/time.h [__USE_BSD]: Likewise.
23468         [__USE_SVID]: Likewise.
23470         * Makefile (subdir_targets): Remove subdir_lint.out.
23472         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23473         (do-tst-printf): Likewise.
23474         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23475         $(objpfx)tst-printf.out.
23477         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23479         * Makerules (check-abi-%): Change target to
23480         $(objpfx)check-abi-%.out.
23481         (check-abi target): Update dependencies.
23482         (check-abi-pattern variable): Redirect output of diff to $@.
23483         (check-abi variable): Likewise.
23484         * elf/Makefile (check-abi): Update dependencies.
23486         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23487         unused.
23488         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23489         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23490         subnormal range.
23491         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23492         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23493         value has largest subnormal exponent.
23494         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23495         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23496         * sysdeps/aarch64/soft-fp/sfp-machine.h
23497         (_FP_TININESS_AFTER_ROUNDING): New macro.
23498         * sysdeps/alpha/soft-fp/sfp-machine.h
23499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23500         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23501         Likewise.
23502         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23504         * sysdeps/mips/soft-fp/sfp-machine.h
23505         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23506         * sysdeps/powerpc/soft-fp/sfp-machine.h
23507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23508         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23509         Likewise.
23510         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23511         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23512         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23513         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23514         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23515         Likewise.
23517 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23519         [BZ #16545]
23520         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23521         model 1.
23523 2014-02-12  Richard Henderson  <rth@redhat.com>
23525         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23526         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23527         * sysdeps/unix/sysv/linux/alpha: Move directory from
23528         ports/sysdeps/unix/sysv/linux/alpha.
23529         * README: Update listing for alpha-*-linux-gnu.
23531 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23533         * include/features.h: Update comment documenting feature test
23534         macros.
23535         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23536         _DEFAULT_SOURCE.
23537         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23538         (_SVID_SOURCE): Likewise.
23539         (_DEFAULT_SOURCE): Update description of default features.
23540         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23541         with _GNU_SOURCE.
23542         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23543         (S_ISVTX): Likewise.
23544         * manual/math.texi (Mathematical Constants): Likewise.
23545         * manual/signal.texi (Interrupted Primitives): Likewise.
23546         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23547         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23548         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23549         Don't refer to _SVID_SOURCE in warning text.
23551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23553         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23554         already defined.
23555         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23556         * sysdeps/mips/dl-lookup.c: Remove.
23557         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23559 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23561         [BZ #16447]
23562         * math/auto-libm-test-in: Add testcase for expl.
23563         * math/auto-libm-test-out: Regenerate.
23564         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23565         calculation of unsafe.
23566         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23568 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23570         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23571         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23572         ports/sysdeps/unix/sysv/linux/aarch64.
23573         * README: Update listing for aarch64*-*-linux-gnu.
23575 2014-02-11  Will Newton  <will.newton@linaro.org>
23577         * manual/probes.texi (Mathematical Function Probes): Use
23578         "triggered" instead of "hit".
23580         * manual/probes.texi (Internal Probes): Add documentation
23581         of setjmp, longjmp and longjmp_target probes.
23583         * include/stap-probe.h: Add comment about probe argument
23584         format.
23586         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23587         definition.  (tr_where, tr_freehook, tr_mallochook,
23588         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23590 2014-02-11  David S. Miller  <davem@davemloft.net>
23592         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23593         processing int_tests.
23595 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23597         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23598         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23599         * sysdeps/unix/sysv/linux/mips: Move directory from
23600         ports/sysdeps/unix/sysv/linux/mips.
23601         * README: Update listing for mips-*-linux-gnu and
23602         mips64-*-linux-gnu.
23604 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23606         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23607         * sysdeps/unix/sysv/linux/m68k: Move directory from
23608         ports/sysdeps/unix/sysv/linux/m68k.
23609         * README: Update listing for m68k-*-linux-gnu.
23611 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23613         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23614         * sysdeps/unix/sysv/linux/generic: Move directory from
23615         ports/sysdeps/unix/sysv/linux/generic.
23616         * sysdeps/unix/sysv/linux/tile: Move directory from
23617         ports/sysdeps/unix/sysv/linux/tile.
23618         * README: Update listing for tile*-*-linux-gnu.
23620 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23622         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23623         __builtin_expect.
23624         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23625         * catgets/open_catalog.c (__open_catalog): Likewise.
23626         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23627         * debug/confstr_chk.c: Likewise.
23628         * debug/fread_chk.c (__fread_chk): Likewise.
23629         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23630         * debug/getgroups_chk.c: Likewise.
23631         * debug/mbsnrtowcs_chk.c: Likewise.
23632         * debug/mbsrtowcs_chk.c: Likewise.
23633         * debug/mbstowcs_chk.c: Likewise.
23634         * debug/memcpy_chk.c: Likewise.
23635         * debug/memmove_chk.c: Likewise.
23636         * debug/mempcpy_chk.c: Likewise.
23637         * debug/memset_chk.c: Likewise.
23638         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23639         * debug/strcat_chk.c (__strcat_chk): Likewise.
23640         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23641         * debug/strncat_chk.c (__strncat_chk): Likewise.
23642         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23643         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23644         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23645         * debug/wcpncpy_chk.c: Likewise.
23646         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23647         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23648         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23649         * debug/wcsncpy_chk.c: Likewise.
23650         * debug/wcsnrtombs_chk.c: Likewise.
23651         * debug/wcsrtombs_chk.c: Likewise.
23652         * debug/wcstombs_chk.c: Likewise.
23653         * debug/wmemcpy_chk.c: Likewise.
23654         * debug/wmemmove_chk.c: Likewise.
23655         * debug/wmempcpy_chk.c: Likewise.
23656         * debug/wmemset_chk.c: Likewise.
23657         * dirent/scandirat.c (SCANDIRAT): Likewise.
23658         * dlfcn/dladdr1.c (dladdr1): Likewise.
23659         * dlfcn/dladdr.c (dladdr): Likewise.
23660         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23661         * dlfcn/dlerror.c (__dlerror): Likewise.
23662         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23663         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23664         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23665         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23666         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23667         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23668         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23669         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23670         Likewise.
23671         * elf/dl-conflict.c: Likewise.
23672         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23673         * elf/dl-dst.h: Likewise.
23674         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23675         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23677         * elf/dl-init.c (call_init, _dl_init): Likewise.
23678         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23679         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23680         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23681         Likewise.
23682         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23683         Likewise.
23684         * elf/dl-minimal.c (__libc_memalign): Likewise.
23685         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23686         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23687         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23688         * elf/dl-sym.c (do_sym): Likewise.
23689         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23690         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23691         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23692         * elf/dl-writev.h (_dl_writev): Likewise.
23693         * elf/ldconfig.c (search_dir): Likewise.
23694         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23695         (dl_main): Likewise.
23696         * elf/setup-vdso.h (setup_vdso): Likewise.
23697         * grp/compat-initgroups.c (compat_call): Likewise.
23698         * grp/fgetgrent.c (fgetgrent): Likewise.
23699         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23700         * grp/putgrent.c (putgrent): Likewise.
23701         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23702         Likewise.
23703         * hurd/hurdinit.c: Likewise.
23704         * iconvdata/8bit-gap.c (struct): Likewise.
23705         * iconvdata/ansi_x3.110.c : Likewise.
23706         * iconvdata/big5.c : Likewise.
23707         * iconvdata/big5hkscs.c : Likewise.
23708         * iconvdata/cp1255.c: Likewise.
23709         * iconvdata/cp1258.c : Likewise.
23710         * iconvdata/cp932.c : Likewise.
23711         * iconvdata/euc-cn.c: Likewise.
23712         * iconvdata/euc-jisx0213.c : Likewise.
23713         * iconvdata/euc-jp.c: Likewise.
23714         * iconvdata/euc-jp-ms.c : Likewise.
23715         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23716         * iconvdata/gb18030.c : Likewise.
23717         * iconvdata/gbbig5.c (const): Likewise.
23718         * iconvdata/gbgbk.c: Likewise.
23719         * iconvdata/gbk.c : Likewise.
23720         * iconvdata/ibm1364.c : Likewise.
23721         * iconvdata/ibm930.c : Likewise.
23722         * iconvdata/ibm932.c: Likewise.
23723         * iconvdata/ibm933.c : Likewise.
23724         * iconvdata/ibm935.c : Likewise.
23725         * iconvdata/ibm937.c : Likewise.
23726         * iconvdata/ibm939.c : Likewise.
23727         * iconvdata/ibm943.c: Likewise.
23728         * iconvdata/iso_11548-1.c: Likewise.
23729         * iconvdata/iso-2022-cn.c : Likewise.
23730         * iconvdata/iso-2022-cn-ext.c : Likewise.
23731         * iconvdata/iso-2022-jp-3.c: Likewise.
23732         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23733         * iconvdata/iso-2022-kr.c : Likewise.
23734         * iconvdata/iso646.c (gconv_end): Likewise.
23735         * iconvdata/iso_6937-2.c : Likewise.
23736         * iconvdata/iso_6937.c : Likewise.
23737         * iconvdata/iso8859-1.c: Likewise.
23738         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23739         * iconvdata/shift_jisx0213.c : Likewise.
23740         * iconvdata/sjis.c : Likewise.
23741         * iconvdata/t.61.c : Likewise.
23742         * iconvdata/tcvn5712-1.c : Likewise.
23743         * iconvdata/tscii.c: Likewise.
23744         * iconvdata/uhc.c : Likewise.
23745         * iconvdata/unicode.c (gconv_end): Likewise.
23746         * iconvdata/utf-16.c (gconv_end): Likewise.
23747         * iconvdata/utf-32.c (gconv_end): Likewise.
23748         * iconvdata/utf-7.c (base64): Likewise.
23749         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23750         * iconv/gconv_close.c (__gconv_close): Likewise.
23751         * iconv/gconv_open.c (__gconv_open): Likewise.
23752         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23753         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23754         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23755         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23756         (ucs4le_internal_loop_single): Likewise.
23757         * iconv/iconv.c (iconv): Likewise.
23758         * iconv/iconv_close.c: Likewise.
23759         * iconv/loop.c (SINGLE): Likewise.
23760         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23761         * include/atomic.h: Likewise.
23762         * inet/inet6_option.c (option_alloc): Likewise.
23763         * intl/bindtextdom.c (set_binding_values): Likewise.
23764         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23765         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23766         * intl/localealias.c (read_alias_file): Likewise.
23767         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23768         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23769         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23770         * libio/fmemopen.c (fmemopen): Likewise.
23771         * libio/iofgets.c (_IO_fgets): Likewise.
23772         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23773         * libio/iofgetws.c (fgetws): Likewise.
23774         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23775         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23776         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23777         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23778         * locale/findlocale.c (_nl_find_locale): Likewise.
23779         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23780         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23781         Likewise.
23782         * locale/setlocale.c (setlocale): Likewise.
23783         * login/programs/pt_chown.c (main): Likewise.
23784         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23785         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23786         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23787         (mmap, mmap64, mremap, munmap): Likewise.
23788         * math/e_exp2l.c: Likewise.
23789         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23790         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23791         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23792         * math/s_catan.c (__catan): Likewise.
23793         * math/s_catanf.c (__catanf): Likewise.
23794         * math/s_catanh.c (__catanh): Likewise.
23795         * math/s_catanhf.c (__catanhf): Likewise.
23796         * math/s_catanhl.c (__catanhl): Likewise.
23797         * math/s_catanl.c (__catanl): Likewise.
23798         * math/s_ccosh.c (__ccosh): Likewise.
23799         * math/s_ccoshf.c (__ccoshf): Likewise.
23800         * math/s_ccoshl.c (__ccoshl): Likewise.
23801         * math/s_cexp.c (__cexp): Likewise.
23802         * math/s_cexpf.c (__cexpf): Likewise.
23803         * math/s_cexpl.c (__cexpl): Likewise.
23804         * math/s_clog10.c (__clog10): Likewise.
23805         * math/s_clog10f.c (__clog10f): Likewise.
23806         * math/s_clog10l.c (__clog10l): Likewise.
23807         * math/s_clog.c (__clog): Likewise.
23808         * math/s_clogf.c (__clogf): Likewise.
23809         * math/s_clogl.c (__clogl): Likewise.
23810         * math/s_csin.c (__csin): Likewise.
23811         * math/s_csinf.c (__csinf): Likewise.
23812         * math/s_csinh.c (__csinh): Likewise.
23813         * math/s_csinhf.c (__csinhf): Likewise.
23814         * math/s_csinhl.c (__csinhl): Likewise.
23815         * math/s_csinl.c (__csinl): Likewise.
23816         * math/s_csqrt.c (__csqrt): Likewise.
23817         * math/s_csqrtf.c (__csqrtf): Likewise.
23818         * math/s_csqrtl.c (__csqrtl): Likewise.
23819         * math/s_ctan.c (__ctan): Likewise.
23820         * math/s_ctanf.c (__ctanf): Likewise.
23821         * math/s_ctanh.c (__ctanh): Likewise.
23822         * math/s_ctanhf.c (__ctanhf): Likewise.
23823         * math/s_ctanhl.c (__ctanhl): Likewise.
23824         * math/s_ctanl.c (__ctanl): Likewise.
23825         * math/w_pow.c: Likewise.
23826         * math/w_powf.c: Likewise.
23827         * math/w_powl.c: Likewise.
23828         * math/w_scalb.c (sysv_scalb): Likewise.
23829         * math/w_scalbf.c (sysv_scalbf): Likewise.
23830         * math/w_scalbl.c (sysv_scalbl): Likewise.
23831         * misc/error.c (error_tail): Likewise.
23832         * misc/pselect.c (__pselect): Likewise.
23833         * nis/nis_callback.c (__nis_create_callback): Likewise.
23834         * nis/nis_call.c (__nisfind_server): Likewise.
23835         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23836         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23837         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23838         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23839         * nis/nis_lookup.c (nis_lookup): Likewise.
23840         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23841         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23842         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23843         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23844         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23845         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23846         * nis/nss_compat/compat-initgroups.c (add_group)
23847         (internal_getgrent_r): Likewise.
23848         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23849         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23850         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23851         (internal_getspnam_r): Likewise.
23852         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23853         (_nss_nis_getaliasbyname_r): Likewise.
23854         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23855         (_nss_nis_getntohost_r): Likewise.
23856         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23857         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23858         (_nss_nis_getgrgid_r): Likewise.
23859         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23860         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23861         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23862         (_nss_nis_gethostbyname4_r): Likewise.
23863         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23864         (initgroups_netid): Likewise.
23865         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23866         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23867         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23868         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23869         (_nss_nis_getprotobynumber_r): Likewise.
23870         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23871         (_nss_nis_getsecretkey): Likewise.
23872         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23873         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23874         (_nss_nis_getpwuid_r): Likewise.
23875         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23876         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23877         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23878         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23879         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23880         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23881         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23882         Likewise.
23883         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23884         (_nss_nisplus_getntohost_r): Likewise.
23885         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23886         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23887         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23888         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23889         Likewise.
23890         * nis/nss_nisplus/nisplus-initgroups.c
23891         (_nss_nisplus_initgroups_dyn): Likewise.
23892         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23893         (_nss_nisplus_getnetbyaddr_r): Likewise.
23894         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23895         (_nss_nisplus_getprotobynumber_r): Likewise.
23896         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23897         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23898         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23899         Likewise.
23900         * nis/nss_nisplus/nisplus-service.c
23901         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23902         (_nss_nisplus_getservbyport_r): Likewise.
23903         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23904         (_nss_nisplus_getspnam_r): Likewise.
23905         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23906         Likewise.
23907         * nscd/aicache.c (addhstaiX): Likewise.
23908         * nscd/cache.c (cache_search, prune_cache): Likewise.
23909         * nscd/connections.c (register_traced_file, send_ro_fd)
23910         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23911         (main_loop_epoll): Likewise.
23912         * nscd/grpcache.c (addgrbyX): Likewise.
23913         * nscd/hstcache.c (addhstbyX): Likewise.
23914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23915         * nscd/mem.c (gc, mempool_alloc): Likewise.
23916         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23917         (addinnetgrX): Likewise.
23918         * nscd/nscd-client.h (__nscd_acquire_maplock)
23919         (__nscd_drop_map_ref): Likewise.
23920         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23921         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23922         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23923         Likewise.
23924         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23925         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23926         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23927         (__nscd_get_map_ref): Likewise.
23928         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23929         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23930         Likewise.
23931         * nscd/pwdcache.c (addpwbyX): Likewise.
23932         * nscd/selinux.c (preserve_capabilities): Likewise.
23933         * nscd/servicescache.c (addservbyX): Likewise.
23934         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23935         * posix/fnmatch.c (fnmatch): Likewise.
23936         * posix/getopt.c (_getopt_internal_r): Likewise.
23937         * posix/glob.c (glob, glob_in_dir): Likewise.
23938         * posix/wordexp.c (exec_comm_child): Likewise.
23939         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23940         (getanswer_r, gaih_getanswer_slice): Likewise.
23941         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23942         * resolv/res_init.c: Likewise.
23943         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23944         * resolv/res_query.c (__libc_res_nquery): Likewise.
23945         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23946         Likewise.
23947         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23948         * stdio-common/perror.c (perror): Likewise.
23949         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23950         * stdio-common/tmpnam.c (tmpnam): Likewise.
23951         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23952         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23953         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23954         Likewise.
23955         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23956         * stdlib/putenv.c (putenv): Likewise.
23957         * stdlib/setenv.c (__add_to_environ): Likewise.
23958         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23959         * stdlib/strtol_l.c (INTERNAL): Likewise.
23960         * string/memmem.c (memmem): Likewise.
23961         * string/strerror.c (strerror): Likewise.
23962         * string/strnlen.c (__strnlen): Likewise.
23963         * string/test-memmem.c (simple_memmem): Likewise.
23964         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23965         * sunrpc/pm_getport.c (__get_socket): Likewise.
23966         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23967         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23968         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23969         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23970         Likewise.
23971         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23972         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23973         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23974         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23975         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23976         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23977         Likewise.
23978         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23979         Likewise.
23980         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23981         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23982         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23983         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23984         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23986         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23987         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23988         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23989         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23990         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23991         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23992         Likewise.
23993         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23994         Likewise.
23995         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23996         Likewise.
23997         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23999         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24000         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24001         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24002         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24003         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24006         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24007         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24009         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24010         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24012         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24013         Likewise.
24014         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24015         Likewise.
24016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24017         Likewise.
24018         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24019         Likewise.
24020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24022         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24023         Likewise.
24024         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24025         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24026         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24027         * sysdeps/posix/sleep.c: Likewise.
24028         * sysdeps/posix/tempname.c: Likewise.
24029         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24030         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24031         Likewise.
24032         * sysdeps/powerpc/powerpc32/dl-machine.h
24033         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24034         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24036         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24037         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24038         Likewise.
24039         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24040         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24041         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24042         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24043         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24044         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24045         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24046         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24047         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24048         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24050         (elf_machine_lazy_rel): Likewise.
24051         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24052         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24053         (elf_machine_lazy_rel): Likewise.
24054         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24055         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24056         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24057         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24058         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24059         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24060         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24062         Likewise.
24063         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24064         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24065         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24066         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24067         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24068         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24069         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24070         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24071         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24072         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24073         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24076         (__posix_fallocate64_l64): Likewise.
24077         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24078         (posix_fallocate): Likewise.
24079         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24080         Likewise.
24081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24082         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24083         (getifaddrs_internal): Likewise.
24084         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24085         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24086         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24087         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24088         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24089         (__posix_fallocate64_l64): Likewise.
24090         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24091         Likewise.
24092         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24093         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24094         (__get_clockfreq): Likewise.
24095         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24096         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24097         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24099         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24100         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24101         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24102         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24103         Likewise.
24104         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24105         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24106         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24107         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24108         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24109         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24110         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24113         (posix_fallocate): Likewise.
24114         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24115         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24116         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24117         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24118         (elf_machine_rela, elf_machine_rela_relative)
24119         (elf_machine_lazy_rel): Likewise.
24120         * time/asctime.c (asctime_internal): Likewise.
24121         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24122         * time/tzset.c (__tzset_parse_tz): Likewise.
24123         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24124         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24125         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24126         * wcsmbs/wcsmbsload.h: Likewise.
24128         [BZ #15894]
24129         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24131         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24132         (arena_get2): Remove THREAD_STATS conditionals.
24133         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24134         (__malloc_stats, int): Likewise.
24136 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24138         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24139         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24141         * manual/setjmp.texi: Fix typos/grammar errors.
24143         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24144         Only return early when n is <= 0.  Delete unused return statement.
24146         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24147         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24148         * debug/tst-longjmp_chk3.c: New file.
24150         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24151         (test_main): Replace code with set_fortify_handler call.
24152         * debug/test-strcpy_chk.c: Likewise.
24153         * debug/tst-chk1.c: Likewise.
24154         * debug/tst-longjmp_chk.c: Likewise.
24155         * test-skeleton.c: Include fcntl.h & paths.h
24156         (set_fortify_handler): Define.
24158         * debug/tst-longjmp_chk.c: Add header comment and include
24159         ../test-skeleton.c.
24160         (do_test): Mark static.
24161         (TEST_FUNCTION): Define.
24163         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24164         (IP_PMTUDISC_INTERFACE): Likewise.
24165         (IP_MULTICAST_IF): Likewise.
24166         (IP_MULTICAST_TTL): Likewise.
24167         (IP_MULTICAST_LOOP): Likewise.
24168         (IP_ADD_MEMBERSHIP): Likewise.
24169         (IP_DROP_MEMBERSHIP): Likewise.
24170         (IP_UNBLOCK_SOURCE): Likewise.
24171         (IP_BLOCK_SOURCE): Likewise.
24172         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24173         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24174         (IP_MSFILTER): Likewise.
24175         (MCAST_JOIN_GROUP): Likewise.
24176         (MCAST_BLOCK_SOURCE): Likewise.
24177         (MCAST_UNBLOCK_SOURCE): Likewise.
24178         (MCAST_LEAVE_GROUP): Likewise.
24179         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24180         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24181         (MCAST_MSFILTER): Likewise.
24182         (IP_MULTICAST_ALL): Likewise.
24183         (IP_UNICAST_IF): Likewise.
24185         * timezone/Makefile: Delete $(have-ksh) check.
24186         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24187         * timezone/tzselect.ksh: Add +x mode bits.
24189         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24190         (ANON_INODE_FS_MAGIC): Likewise.
24191         (BDEVFS_MAGIC): Likewise.
24192         (BINFMTFS_MAGIC): Likewise.
24193         (BTRFS_TEST_MAGIC): Likewise.
24194         (CRAMFS_MAGIC_WEND): Likewise.
24195         (DEBUGFS_MAGIC): Likewise.
24196         (ECRYPTFS_SUPER_MAGIC): Likewise.
24197         (EXT3_SUPER_MAGIC): Likewise.
24198         (EXT4_SUPER_MAGIC): Likewise.
24199         (FUTEXFS_SUPER_MAGIC): Likewise.
24200         (HOSTFS_SUPER_MAGIC): Likewise.
24201         (HUGETLBFS_MAGIC): Likewise.
24202         (MINIX3_SUPER_MAGIC): Likewise.
24203         (MTD_INODE_FS_MAGIC): Likewise.
24204         (NILFS_SUPER_MAGIC): Likewise.
24205         (OPENPROM_SUPER_MAGIC): Likewise.
24206         (PIPEFS_MAGIC): Likewise.
24207         (PSTOREFS_MAGIC): Likewise.
24208         (QNX6_SUPER_MAGIC): Likewise.
24209         (RAMFS_MAGIC): Likewise.
24210         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24211         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24212         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24213         (SECURITYFS_MAGIC): Likewise.
24214         (SELINUX_MAGIC): Likewise.
24215         (SMACK_MAGIC): Likewise.
24216         (SOCKFS_MAGIC): Likewise.
24217         (SQUASHFS_MAGIC): Likewise.
24218         (STACK_END_MAGIC): Likewise.
24219         (TMPFS_MAGIC): Likewise.
24220         (USBDEVICE_SUPER_MAGIC): Likewise.
24221         (V9FS_MAGIC): Likewise.
24222         (XENFS_SUPER_MAGIC): Likewise.
24223         (CRAMFS_MAGIC): Fix typo in comment.
24224         (EXT2_SUPER_MAGIC): Update comment.
24225         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24227 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24229         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24230         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24231         * sysdeps/unix/sysv/linux/arm: Move directory from
24232         ports/sysdeps/unix/sysv/linux/arm.
24233         * README: Update listing for arm-*-linux-gnueabi.
24235         * README: Remove mention of am33.
24237 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24239         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24240         than the comma operator, to avoid "rhs of comma has no effect"
24241         compiler warnings.
24242         (__sigfillset, __sigandset, __sigorset): Likewise.
24243         * include/signal.h (__sigemptyset): Likewise.
24244         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24246 2014-02-07  Allan McRae  <allan@archlinux.org>
24248         * version.h (RELEASE): Set to "development".
24249         (VERSION): Set to "2.19.90"
24250         * NEWS: Add 2.20 section.
24252 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24254         [BZ #16529]
24255         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24257 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24259         * manual/contrib.texi: Update entry for Carlos O'Donell,
24260         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24262 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24264         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24266         * sysdeps/unix/sysv/linux/kernel-features.h
24267         [__LINUX_KERNEL_VERSION >= 0x020621]
24268         (__ASSUME_PROC_PID_TASK_COMM): Define.
24270 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24272         [BZ #16398]
24273         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24274         conversion when destination buffer does not have enough space.
24275         * libio/tst-ftell-partial-wide.c: New test case.
24276         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24278         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24279         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24280         Leonard and Allan McRae.
24282 2014-02-04  David S. Miller  <davem@davemloft.net>
24284         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24285         32-bit.
24287 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24290         New file
24291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24292         New file
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24294         New file.
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24296         New file.
24297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24298         New file.
24299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24300         New file.
24301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24302         New file.
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24304         New file.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24306         New file.
24307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24308         New file.
24309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24310         New file.
24311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24312         New file.
24313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24314         New file.
24316 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24318         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24319         * shlib-versions: Likewise.
24321 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24322             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24324         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24325         (abilist-pattern): New variable, set to %-le.abilist.
24327         * Makerules (abilist-pattern): New variable.
24328         (vpath): Use $(abilist-pattern) in place of %.abilist.
24329         (check-abi-% pattern rule): Likewise.
24330         (check-abi, update-abi): Likewise.
24332 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24336 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24338         * manual/startup.texi: Add next, previous, and top entries for
24339         the `Program Arguments' and `Environment Variables' nodes.
24341 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24343         * manual/macros.texi: Add comments before MTASC-safety macros.
24345         * manual/users.texi: Document MTASC-safety properties.
24347         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24348         (pthread_getspecific, pthread_setspecific): Format with
24349         @deftypefun, and add @safety note.
24350         * manual/signal.texi: Move comments that analyze the above
24351         functions to their home place.
24353 2014-02-03  Allan McRae  <allan@archlinux.org>
24355         * po/sl.po: Update Slovenian translation from translation project.
24357 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24359         * manual/time.texi (timegm): Add missing blank after @c.
24360         Reported by Joseph Myers <joseph@codesourcery.com>.
24362 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24364         * manual/check-safety.sh: New.
24365         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24367         * manual/terminal.texi: Document MTASC-safety properties.
24369         * manual/filesys.texi: Document MTASC-safety properties.
24371         * manual/errno.texi: Document MTASC-safety properties.
24373         * manual/intro.texi: Document safety identifiers and
24374         conditionals.
24376         * manual/string.texi (wcstok): Fix prototype.
24377         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24379         * manual/time.texi: Document MTASC-safety properties.
24381         * manual/string.texi: Document MTASC-safety properties.
24383         * manual/threads.texi: Document MTASC-safety properties.
24385         * manual/stdio.texi: Document MTASC-safety properties.
24387         * manual/syslog.texi: Document MTASC-safety properties.
24389         * manual/sysinfo.texi: Document MTASC-safety properties.
24391         * manual/startup.texi: Document MTASC-safety properties.
24393         * manual/socket.texi: Document MTASC-safety properties.
24395         * manual/signal.texi: Document MTASC-safety properties.
24397 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24399         * manual/setjmp.texi: Document MTASC-safety properties.
24401         * manual/search.texi: Document MTASC-safety properties.
24403         * manual/resource.texi: Document MTASC-safety properties.
24405         * manual/process.texi: Document MTASC-safety properties.
24407         * manual/platform.texi: Document MTASC-safety properties.
24409         * manual/pipe.texi: Document MTASC-safety properties.
24411         * manual/pattern.texi: Document MTASC-safety properties.
24413         * manual/message.texi: Document MTASC-safety properties.
24415         [BZ #12751]
24416         * manual/memory.texi: Document MTASC-safety properties.
24418         * manual/math.texi: Document MTASC-safety properties.
24420         * manual/locale.texi: Document MTASC-safety properties.
24422         * manual/llio.texi: Document MTASC-safety properties.
24424         * manual/libdl.texi: New.
24426         * manual/lang.texi: Document MTASC-safety properties.
24428         * manual/job.texi: Document MTASC-safety properties.
24430         * manual/getopt.texi: Document MTASC-safety properties.
24432         * manual/ctype.texi: Document MTASC-safety properties.
24434 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24436         [BZ #16046]
24437         * csu/libc-tls.c (static_map): Remove variable.
24438         (__libc_setup_tls): Use main executable's link map for TLS data.
24439         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24440         casing for LM_ID_BASE and GL(dl_nns).
24441         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24442         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24443         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24444         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24445         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24446         member.
24447         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24448         l_phnum members.
24450 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24452         * manual/debug.texi: Document MTASC-safety properties.
24454 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24456         [BZ #16510]
24457         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24458         of __x86_64__ when disabling x87 inline functions.
24460 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24462         * manual/charset.texi: Document MTASC-safety properties.
24464         * manual/crypt.texi: Document MTASC-safety properties.
24466         * manual/conf.texi: Document MTASC-safety properties.
24468         * manual/arith.texi: Document MTASC-safety properties.
24470         * manual/argp.texi: Document MTASC-safety properties.
24472         * manual/macros.texi: Introduce macros to document multi
24473         thread, asynchronous signal and asynchronous cancellation
24474         safety properties.
24475         * manual/intro.texi: Introduce the properties themselves.
24477 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24479         * sysdeps/sh/sh4/Makefile: New file.
24481 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24483         * math/gen-libm-test.pl ($srcdir): New variable.
24484         ($auto_input): Use it.
24486 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24488         [BZ #16506]
24489         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24490         access beyond array bounds when parsing netgroups file.
24492         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24493         the old buffer before realloc.
24495 2014-01-27  Allan McRae  <allan@archlinux.org>
24497         * po/fr.po: Update French translation from translation project.
24499 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24501         * sysdeps/sh/libm-test-ulps: Regenerate.
24503 2014-01-24  David S. Miller  <davem@davemloft.net>
24505         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24507 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24509         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24510         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24512 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24514         [BZ #16474]
24515         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24516         string pointers after reallocation.
24518 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24520         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24521         __SH4A__ instead of __SH_FPU_ANY__.
24523 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24525         * sysdeps/sh/fpu_control.h: New file.
24526         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24527         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24528         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24529         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24530         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24531         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24532         * sysdeps/sh/sys/ucontext.h: Remove.
24533         * sysdeps/sh/sys: Remove directory.
24535 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24537         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24538         s390/sys/ucontext.h.
24539         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24540         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24542 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24544         [BZ #15605]
24545         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24547 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24549         [BZ#16431]
24550         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24551         Adjust the vDSO correctly for internal calls.
24552         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24554 2014-01-20  Allan McRae  <allan@archlinux.org>
24556         * po/ca.po: Update Catalan translation from translation project.
24558 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24560         * sysdeps/s390/sotruss-lib.c: New file.
24562 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24564         [BZ#16430]
24565         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24566         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24567         local calls issues by not having a PLT stub required for IFUNC calls.
24568         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24570 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24572         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24573         * math/test-fpucw-static.c: Likewise.
24575 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24577         [BZ #16453]
24578         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24580 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24582         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24583         implementation for powerpc.
24585 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24587         [BZ #14782]
24588         * sysdeps/posix/system.c (__libc_system): Do not enable
24589         asynchronous cancellation.
24591 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24593         [BZ #16427]
24594         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24595         handling only for numbers special also in the IEEE case.
24597 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24599         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24601 2014-01-11  Allan McRae  <allan@archlinux.org>
24603         * po/bg.po: Update Bulgarian translation from translation project.
24605         * po/de.po: Update German translation from translation project.
24607 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24609         * sysdeps/generic/gcc-compat.h: New file.
24611 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24613         * benchtests/asin-inputs: Correct slow inputs.
24614         * benchtests/acos-inputs: Likewise.
24616 2014-01-10  Allan McRae  <allan@archlinux.org>
24618         * po:sv.po: Update Swedish translation from translation project.
24620         * po/vi.po: Update Vietnamese translation from translation project.
24622         * po/eo.po: Update Esperanto translation from translation project.
24624         * po/cs.po: Update Czech translation from translation project.
24626         * po/nl.po: Update Dutch translation from translation project.
24628         * po/pl.po: Update Polish translation from translation project.
24630         * po/ru.po: Update Russian translation from translation project.
24632         * po/uk.po: Update Ukrainian translation from translation project.
24634 2014-01-08  Brooks Moses  <bmoses@google.com>
24636         * elf/dl-load.c: Fix comment typo.
24638 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24640         * po/header.pot: Rename to...
24641         * po/pot.header: ... this.
24642         * po/Makefile: Use pot.header.
24644 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24645             Maxim Kuvyrkov  <maxim@kugelworks.com>
24647         [BZ #16394]
24648         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24649         SRC and DEST against LEN.
24651 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24653         [BZ #16414]
24654         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24655         implementation.
24656         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24658 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24662 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24664         [BZ #16408]
24665         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24666         for large positive arguments.
24668 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24670         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24672         * math/auto-libm-test-in: Mark various tests with
24673         xfail-rounding:ldbl-128ibm.
24674         * math/auto-libm-test-out: Regenerated.
24676         [BZ #16407]
24677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24678         Increase overflow threshold.
24680 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24682         [BZ #14286]
24683         * stdio-common/vfprintf.c: Check for integer overflow.
24685 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24687         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24688         the first argument and return value of __tls_get_addr_internal.
24690 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24692         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24693         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24695 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24697         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24698         * sysdeps/s390/rtld-global-offsets.sym: New file.
24699         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24700         GLIBC_2.19 symbol.
24701         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24702         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24703         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24704         ... this.
24705         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24706         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24707         ... this.
24708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24709         Regenerate.
24710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24711         Regenerate.
24712         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24713         halfs of GPRs for high_gprs contexts.
24714         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24715         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24716         field.
24717         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24718         uc_flags field.
24719         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24720         64 bit versions:
24721         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24722         for high GPRs (uc_high_gprs) and for future extensions
24723         (__reserved).
24724         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24725         for future extensions (__reserved).
24726         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24727         64 bit versions:
24728         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24729         SC_HIGHGPRS offset definition.
24730         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24731         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24733         * Versions.def: Add GLIBC_2.19 for libpthread.
24734         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24735         siglongjmp for libpthread with GLIBC_2.19 symver.
24736         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24737         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24738         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24739         * sysdeps/s390/__longjmp.c: New file.
24740         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24741         * sysdeps/s390/longjmp.c: New file.
24742         * sysdeps/s390/setjmp.S: New file.
24743         * sysdeps/s390/sigjmp.S: New file.
24744         * sysdeps/s390/v1-longjmp.c: New file.
24745         * sysdeps/s390/v1-setjmp.h: New file.
24746         * sysdeps/s390/v1-sigjmp.c: New file.
24747         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24748         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24749         GLIBC_2.19 version.
24750         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24751         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24752         versioned symbols for ____longjmp_chk.
24753         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24754         Likewise.
24755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24756         Regenerate.
24757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24758         Regenerate.
24759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24760         Regenerate.
24761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24762         Regenerate.
24763         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24764         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24765         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24766         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24767         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24768         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24769         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24770         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24771         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24772         * sysdeps/s390/rtld-__longjmp.c: New file.
24773         * sysdeps/s390/rtld-setjmp.S: New file.
24775 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24777         [BZ #16400]
24778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24779         Return -__logl (x) for small positive arguments without evaluating
24780         a polynomial.
24782 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24784         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24785         Rename to ...
24786         (__ptrace_peeksiginfo_args): ... this.
24787         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24788         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24789         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24791 2014-01-06  Allan McRae  <allan@archlinux.org>
24793         * inet/netinet/in.h: Fix typo in comment.
24795 2014-01-05  Andreas Jaeger  <aj@suse.de>
24797         * sysdeps/i386/fpu/libm-test-ulps: Update.
24799 2014-01-05  Allan McRae  <allan@archlinux.org>
24801         * po/libc.pot: Regenerated.
24803         * malloc/memusagestat.c: Fix gettext call formatting.
24805 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24807         * nscd/nscd.c: Improve usage() output.
24809 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24811         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24812         * sysdeps/unix/sysv/linux/configure: Regenerated.
24813         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24814         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24816 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24818         [BZ #16390]
24819         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24820         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24822 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24824         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24825         extra tokens at end of #undef directive.
24826         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24827         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24828         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24830 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24832         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24834         * math/auto-libm-test-in: Mark various tests with
24835         xfail-rounding:ldbl-128ibm.
24836         * math/auto-libm-test-out: Regenerated.
24838 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24840         [BZ #16386]
24841         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24842         numbers with subnormal high part when calculating exponent.
24844         [BZ #16385]
24845         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24846         fabs.
24848         [BZ #16384]
24849         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24850         M_LN2l.
24851         (__ieee754_acoshl): Use __log1pl not __log1p.
24853 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24855         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24856         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24857         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24858         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24859         (reused_arena, arena_get2): Convert to GNU style.
24860         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24861         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24862         (memalign_check, __malloc_set_state): Likewise.
24863         * malloc/mallocbug.c (main): Likewise.
24864         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24865         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24866         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24867         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24868         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24869         (__posix_memalign, malloc_info): Likewise.
24870         * malloc/malloc.h: Likewise.
24871         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24872         (mallochook, memalignhook, reallochook, mabort): Likewise.
24873         * malloc/mcheck.h: Likewise.
24874         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24875         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24876         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24877         * malloc/morecore.c (__default_morecore): Likewise.
24878         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24879         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24880         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24881         (print_and_abort): Likewise.
24882         * malloc/obstack.h: Likewise.
24883         * malloc/set-freeres.c (__libc_freeres): Likewise.
24884         * malloc/tst-mallocstate.c (main): Likewise.
24885         * malloc/tst-mtrace.c (main): Likewise.
24886         * malloc/tst-realloc.c (do_test): Likewise.
24888 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24890         [BZ #16366]
24891         * nscd/netgroupcache.c (do_notfound): New function.
24892         (addgetnetgrentX): Use it.
24894         [BZ # 16365]
24895         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24896         NSS_STATUS_NOTFOUND.
24898 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24900         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24903 2014-01-01  Allan McRae  <allan@archlinux.org>
24905         * scripts/update-copyrights: Update configure input file suffix.
24907         * NEWS: Update copyright year.
24908         * catgets/gencat.c: Likewise.
24909         * csu/version.c: Likewise.
24910         * debug/catchsegv.sh: Likewise.
24911         * debug/pcprofiledump.c: Likewise.
24912         * debug/xtrace.sh: Likewise.
24913         * elf/ldconfig.c: Likewise.
24914         * elf/ldd.bash.in: Likewise.
24915         * elf/pldd.c: Likewise.
24916         * elf/sotruss.ksh: Likewise.
24917         * elf/sprof.c: Likewise.
24918         * iconv/iconv_prog.c: Likewise.
24919         * iconv/iconvconfig.c: Likewise.
24920         * locale/programs/locale.c: Likewise.
24921         * locale/programs/localedef.c: Likewise.
24922         * login/programs/pt_chown.c: Likewise.
24923         * malloc/memusage.sh: Likewise.
24924         * malloc/memusagestat.c: Likewise.
24925         * malloc/mtrace.pl: Likewise.
24926         * manual/libc.texinfo: Likewise.
24927         * nscd/nscd.c: Likewise.
24928         * nss/getent.c: Likewise.
24929         * nss/makedb.c: Likewise.
24930         * posix/getconf.c: Likewise.
24931         * scripts/test-installation.pl: Likewise.
24933         * All files with FSF copyright notices: Update copyright dates
24934         using scripts/update-copyrights.
24935         * intl/plural.c: Regenerated.
24936         * locale/programs/charmap-kw.h: Likewise.
24937         * locale/programs/locfile-kw.h: Likewise.
24939 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24941         * sysdeps/unix/sysv/linux/configure: Regenerated.
24942         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24943         the linux/fanotify.h header.
24944         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24945         HAVE_LINUX_FANOTIFY_H is defined.
24947 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24949         * benchtests/cos-inputs: New inputs.
24950         * benchtests/sin-inputs: Likewise.
24952         * benchtests/atan-inputs: New inputs. Fix name of multiple
24953         precision fallback inputs.
24955         * benchtests/atanh-inputs: New inputs.
24956         * benchtests/tanh-inputs: Likewise.
24958         * benchtests/acosh-inputs: New inputs.
24959         * benchtests/asinh-inputs: Likewise.
24961         * benchtests/cosh-inputs: New inputs.
24962         * benchtests/sinh-inputs: Likewise.
24964         * benchtests/acos-inputs: Add more inputs.
24965         * benchtests/asin-inputs: Likewise.
24967 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24969         [BZ #16375]
24970         * manual/arith.texi: Fix spelling.
24971         * manual/charset.texi: Likewise.
24972         * manual/errno.texi: Likewise.
24973         * manual/filesys.texi: Likewise.
24974         * manual/lang.texi: Likewise.
24975         * manual/llio.texi: Likewise.
24976         * manual/locale.texi: Likewise.
24977         * manual/message.texi: Likewise.
24978         * manual/resource.texi: Likewise.
24979         * manual/search.texi: Likewise.
24980         * manual/setjmp.texi: Likewise.
24981         * manual/stdio.texi: Likewise.
24982         * manual/string.texi: Likewise.
24983         * manual/sysinfo.texi: Likewise.
24984         * manual/time.texi: Likewise.
24986 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24988         * po/sl.po: New file.
24990 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24992         * .gitignore: Add core/.gdbinit/.gdb_history.
24994 2013-12-27  Allan McRae  <allan@archlinux.org>
24996         [BZ #16369]
24997         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24998         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25000 2013-12-24  Brooks Moses  <bmoses@google.com>
25002         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25003         all compilers that claim C++98 compliance, not just GCC.
25004         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25005         Likewise.
25007 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25009         * NEWS: Restore accidentally deleted bug-fix entries.
25011 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25012             Ondřej Bílka  <neleai@seznam.cz>
25014         [BZ #15073]
25015         * malloc/malloc.c (_int_free): Perform sanity check only if we
25016         have_lock.
25018 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25020         [BZ #12986]
25021         * manual/stdio.texi (String Input Conversions): Clarify that character
25022         classes are not supported.
25024 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25028 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25030         [BZ #16337]
25031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25032         Calculate results for small negative arguments directly rather
25033         than using reflection formula with special underflow handling.
25035         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25036         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25037         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25038         (fchflags): Likewise.
25039         (revoke): Likewise.
25040         (setlogin): Likewise.
25041         (sigaltstack): Likewise.
25042         (wait4): Likewise.
25043         (sigblock): Remove.
25044         (sigsetmask): Likewise.
25045         (wait3): Likewise.
25046         (waitpid): Likewise.
25047         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25048         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25049         file.
25050         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25051         * sysdeps/unix/bsd/Makefile: ... here.
25052         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25053         * sysdeps/unix/bsd/Versions: ... here.
25054         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25055         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25056         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25057         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25058         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25059         * sysdeps/unix/bsd/sigblock.c: ... here.
25060         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25061         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25062         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25063         * sysdeps/unix/bsd/sigvec.c: ... here.
25064         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25065         * sysdeps/unix/bsd/tcdrain.c: ... here.
25066         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25067         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25068         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25069         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25070         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25071         * sysdeps/unix/bsd/wait.c: ... here.
25072         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25073         * sysdeps/unix/bsd/wait3.c: ... here.
25074         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25075         * sysdeps/unix/bsd/waitpid.c: ... here.
25077 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25079         [BZ #16356]
25080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25081         round-to-nearest for [!USE_AS_EXPM1L].
25082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25083         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25084         more tests of exp and exp10.  Expect some exp10 tests to miss
25085         exceptions or fail in directed rounding modes.
25086         * math/auto-libm-test-out: Regenerated.
25087         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25088         (exp10_test_tonearest): New function.
25089         (exp10_towardzero_test_data): New array.
25090         (exp10_test_towardzero): New function.
25091         (exp10_downward_test_data): New array.
25092         (exp10_test_downward): New function.
25093         (exp10_upward_test_data): New array.
25094         (exp10_test_upward): New function.
25095         (main): Call the new functions.
25096         * sysdeps/i386/fpu/libm-test-ulps: Update.
25097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25099 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25101         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25102         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25103         * math/auto-libm-test-out: Regenerated.
25104         * math/libm-test.inc (acosh_test_data): Add more tests.
25105         (atanh_test_data): Likewise.
25106         (ceil_test_data): Likewise.
25107         (copysign_test_data): Likewise.
25108         * sysdeps/i386/fpu/libm-test-ulps: Update.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111         * timezone/checktab.awk: Update from tzcode 2013i.
25112         * timezone/private.h: Likewise.
25113         * timezone/scheck.c: Likewise.
25114         * timezone/tzfile.h: Likewise.
25115         * timezone/tzselect.ksh: Likewise.
25116         * timezone/zdump.c: Likewise.
25117         * timezone/zic.c: Likewise.
25119         * math/auto-libm-test-in: Add tests of cpow.
25120         * math/auto-libm-test-out: Regenerated.
25121         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25123         mpc_cc_c.
25124         (func_calc_desc): Add mpc_cc_c union field.
25125         (test_functions): Add cpow.
25126         (special_fill_2pi): New function.
25127         (special_real_inputs): Add 2pi.
25128         (calc_generic_results): Handle mpc_cc_c.
25129         * sysdeps/i386/fpu/libm-test-ulps: Update.
25130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25132         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25133         csqrt, ctan and ctanh.
25134         * math/auto-libm-test-out: Regenerated.
25135         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25136         (TEST_COND_x86): Likewise.
25137         (ccos_test_data): Use AUTO_TESTS_c_c.
25138         (ccosh_test_data): Likewise.
25139         (cexp_test_data): Likewise.
25140         (clog_test_data): Likewise.
25141         (csqrt_test_data): Likewise.
25142         (ctan_test_data): Likewise.
25143         (ctan_tonearest_test_data): Likewise.
25144         (ctan_towardzero_test_data): Likewise.
25145         (ctan_downward_test_data): Likewise.
25146         (ctan_upward_test_data): Likewise.
25147         (ctanh_test_data): Likewise.
25148         (ctanh_tonearest_test_data): Likewise.
25149         (ctanh_towardzero_test_data): Likewise.
25150         (ctanh_downward_test_data): Likewise.
25151         (ctanh_upward_test_data): Likewise.
25152         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25153         mpc_c_c.
25154         (func_calc_desc): Add mpc_c_c union field.
25155         (FUNC_mpc_c_c): New macro.
25156         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25157         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25158         ctanh.
25159         (special_fill_min_subnorm_p120): New function.
25160         (special_real_inputs): Add min_subnorm_p120.
25161         (calc_generic_results): Handle mpc_c_c.
25162         * sysdeps/i386/fpu/libm-test-ulps: Update.
25163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25165 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25167         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25168         (do_sin_slow): New functions.
25169         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25170         (cslow2, csloww1, csloww2): Use the new functions.
25172         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25173         Use M to change sign of result instead of X.  Assume X is
25174         positive.
25175         (csloww1): Likewise.
25176         (__sin): Adjust.
25177         (__cos): Adjust.
25179         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25180         arguments A and DA.
25181         (__sin): Adjust.
25182         (__cos): Likewise.
25184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25185         (__cos): Likewise.
25186         (sloww1): Don't adjust sign of DX.
25187         (csloww1): Likewise.
25188         (sloww2): Use X directly and don't adjust sign of DX.
25189         (csloww2): Likewise.
25191 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25193         * math/auto-libm-test-in: Add tests of cabs and carg.
25194         * math/auto-libm-test-out: Regenerated.
25195         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25196         (carg_test_data): Likewise.
25197         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25198         mpc_c_f.
25199         (func_calc_desc): Add mpc_c_f union field.
25200         (test_functions): Add cabs and carg.
25201         (calc_generic_results): Handle mpc_c_f.
25203         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25204         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25205         as a macro and a compat symbol.
25206         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25207         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25208         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25209         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25210         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25212         not use .hidden.
25213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25214         Likewise.
25215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25216         Likewise.
25217         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25218         Likewise.
25219         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25220         Likewise.
25221         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25222         Likewise.
25223         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25224         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25225         from GLIBC_2.3.2.
25227 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25231 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25233         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25234         trailing whitespace removed.
25235         * scripts/config.guess: Update to version 2013-11-29.
25236         * scripts/config.sub: Update to version 2013-10-01.
25238         * math/auto-libm-test-in: Add tests of sincos.
25239         * math/auto-libm-test-out: Regenerated.
25240         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25241         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25242         mpfr_f_11.
25243         (func_calc_desc): Add mpfr_f_11 union field.
25244         (test_functions): Add sincos.
25245         (calc_generic_results): Handle mpfr_f_11.
25246         * sysdeps/i386/fpu/libm-test-ulps: Update.
25247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25249 2013-12-19  Andreas Schwab  <schwab@suse.de>
25251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25252         CALL_MCOUNT.
25253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25255         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25257 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25259         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25260         * sysdeps/i386/fpu/libm-test-ulps: Update.
25261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25263         [BZ #16293]
25264         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25265         round-to-nearest mode when using frndint.
25266         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25267         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25268         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25269         Likewise.
25270         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25271         sinh test to fail.
25272         * math/auto-libm-test-out: Regenerated.
25273         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25274         (TEST_COND_x86): Likewise.
25275         (expm1_tonearest_test_data): New array.
25276         (expm1_test_tonearest): New function.
25277         (expm1_towardzero_test_data): New array.
25278         (expm1_test_towardzero): New function.
25279         (expm1_downward_test_data): New array.
25280         (expm1_test_downward): New function.
25281         (expm1_upward_test_data): New array.
25282         (expm1_test_upward): New function.
25283         (main): Run the new test functions.
25284         * sysdeps/i386/fpu/libm-test-ulps: Update.
25285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25287         * include/features.h: Update comment documenting feature test
25288         macros.  Mention _DEFAULT_SOURCE in comment.
25289         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25290         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25291         _BSD_SOURCE and _SVID_SOURCE.
25292         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25293         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25294         !_SVID_SOURCE]: Likewise.
25295         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25296         (__USE_POSIX_IMPLICITLY): Define.
25297         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25298         (_POSIX_SOURCE): Undefine and redefine.
25299         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25300         (_POSIX_C_SOURCE): Likewise.
25301         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25302         (Feature Test Macros): Update documentation of default features.
25304 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25306         * benchtests/Makefile: Add bench-strtok.
25307         * benchtests/bench-strtok.c: New file: strtok benchtest.
25309 2013-12-19  Allan McRae  <allan@archlinux.org>
25311         * manual/install.texi: Suppress menu for plain text output.
25312         * INSTALL: Regenerated.
25314 2013-12-18  Brooks Moses  <bmoses@google.com>
25316         [BZ #15846]
25317         * misc/getauxval.c: Include errno.h.
25318         (__getauxval): Set errno to ENOENT if the requested type is not
25319         found.
25320         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25321         don't declare with __attribute_const__.
25322         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25323         * manual/startup.texi: Document that getauxval sets errno.
25325 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25327         * math/auto-libm-test-in: Add tests of jn and yn.
25328         * math/auto-libm-test-out: Regenerated.
25329         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25330         (yn_test_data): Likewise.
25331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25332         mpfr_if_f.
25333         (func_calc_desc): Add mpfr_if_f union field.
25334         (FUNC_mpfr_if_f): New macro.
25335         (test_functions): Add jn and yn.
25336         (calc_generic_results): Assert type of second input for
25337         mpfr_ff_f.  Handle mpfr_if_f.
25338         (output_for_one_input_case): Disable all checking for arguments
25339         fitting floating-point types in case of an integer argument.
25340         * sysdeps/i386/fpu/libm-test-ulps: Update.
25341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25344         Don't expect fegetround reference in libm.so.
25346 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25348         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25349         $(config-cflags-nofma).
25351 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25353         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25354         * math/auto-libm-test-out: Regenerated.
25356         [BZ #16338]
25357         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25358         to determine exponent and adjust argument to have exponent of -1.
25359         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25360         log2.
25361         * math/auto-libm-test-out: Regenerated.
25362         * sysdeps/i386/fpu/libm-test-ulps: Update.
25363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25365 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25367         * manual/probes.texi: Remove cases when per-thread arenas are
25368         disabled.
25370 2013-12-18  Andreas Schwab  <schwab@suse.de>
25372         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25373         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25374         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25375         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25376         * sysdeps/i386/i686/multiarch/Makefile: Update.
25377         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25379 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25381         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25382         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25384 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25386         [BZ #15968]
25387         Support TZ transition times < 00:00:00.
25388         This is needed for version-3 tz-format files; it supports time
25389         stamps past 2037 for America/Godthab (the only entry in the tz
25390         database for which this change is relevant).
25391         * manual/time.texi (TZ Variable): Document transition times
25392         from -167:59:59 through -00:00:01.
25393         * time/tzset.c (tz_rule): Time of day is now signed.
25394         (__tzset_parse_tz): Parse negative time of day.
25396         Document TZ transition times >= 25:00:00.
25397         * manual/time.texi (TZ Variable): Document transition times from
25398         25:00:00 through 167:59:59.  These are already supported, and this
25399         support will help with version-3 tz-format files.
25401         * manual/time.texi (TZ Variable): Modernize North America example
25402         to reflect current (i.e., 2007-and-later) daylight saving rules.
25404         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25406 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25408         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25409         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25410         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25412         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25413         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25414         * sysdeps/unix/bsd/clock.c: Likewise.
25415         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25416         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25417         * sysdeps/unix/bsd/init-posix.c: Likewise.
25418         * sysdeps/unix/bsd/poll.c: Likewise.
25419         * sysdeps/unix/bsd/ptsname.c: Likewise.
25420         * sysdeps/unix/bsd/seekdir.c: Likewise.
25421         * sysdeps/unix/bsd/setegid.c: Likewise.
25422         * sysdeps/unix/bsd/seteuid.c: Likewise.
25423         * sysdeps/unix/bsd/setgid.c: Likewise.
25424         * sysdeps/unix/bsd/setrgid.c: Likewise.
25425         * sysdeps/unix/bsd/setruid.c: Likewise.
25426         * sysdeps/unix/bsd/setsid.c: Likewise.
25427         * sysdeps/unix/bsd/setuid.c: Likewise.
25428         * sysdeps/unix/bsd/sigaction.c: Likewise.
25429         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25430         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25431         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25432         * sysdeps/unix/bsd/telldir.c: Likewise.
25433         * sysdeps/unix/bsd/times.c: Likewise.
25434         * sysdeps/unix/bsd/usleep.c: Likewise.
25436         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25437         ($(objpfx)libbsd-compat.a): Remove rule.
25439         * include/features.h (__FAVOR_BSD): Do not define.
25440         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25441         features conflicting with POSIX.
25442         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25443         (_BSD_SOURCE): Remove description of not being a subset of other
25444         feature test macros.
25445         * manual/job.texi (getpgrp): Do not document BSD version.
25446         (getpgid): Do not document by reference to BSD getpgrp.
25447         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25448         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25449         * signal/signal.h [__FAVOR_BSD]: Likewise.
25450         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25451         instead of making contents conditional on [__FAVOR_BSD].
25452         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25454 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25458 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25460         [BZ #16314]
25461         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25462         values below 2**-450, not 2**-500.
25463         * math/auto-libm-test-in: Don't allow spurious underflow from
25464         hypot.
25465         * math/auto-libm-test-out: Regenerated.
25467         [BZ #16316]
25468         [BZ #16330]
25469         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25470         values of ha and hb and sort them after adjusting subnormal
25471         arguments.
25472         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25473         Likewise.
25474         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25475         values of ea and eb and sort them after adjusting subnormal
25476         arguments.
25477         * math/auto-libm-test-in: Do not expect some hypot tests of
25478         subnormals to fail.  Add more hypot tests.
25479         * math/auto-libm-test-out: Regenerated.
25481 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25483         [BZ #13304]
25484         * sysdeps/sh/s_fma.c: New file.
25485         * sysdeps/sh/s_fmaf.c: New file.
25486         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25487         version.
25488         * sysdeps/sh/Implies: Add sh/soft-fp.
25490 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25492         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25493         level of indirection to members `objname', `errstring', `malloced'.
25494         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25495         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25496         it as the __longjmp argument (just pass 1 instead).
25497         (_dl_catch_error): Initialize C with argument pointers and address of
25498         volatile local ERRCODE rather than copying values out of C at return.
25500 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25502         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25503         * math/auto-libm-test-out: Regenerated.
25504         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25505         (hypot_test_data): Likewise.
25506         (pow_test_data): Likewise.
25507         (pow_tonearest_test_data): Likewise.
25508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25509         mpfr_ff_f.
25510         (func_calc_desc): Add mpfr_ff_f union field.
25511         (FUNC_mpfr_ff_f): New macro.
25512         (test_functions): Add atan2, hypot and pow.
25513         (special_fill_min): New function.
25514         (special_fill_minus_min): Likewise.
25515         (special_fill_min_subnorm): Likewise.
25516         (special_fill_minus_min_subnorm): Likewise.
25517         (special_real_inputs): Add min, -min, min_subnorm and
25518         -min_subnorm.
25519         (calc_generic_results): Handle mpfr_ff_f.
25520         * sysdeps/i386/fpu/libm-test-ulps: Update.
25521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25523 2013-12-16  Will Newton  <will.newton@linaro.org>
25525         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25526         (Aligned Memory Blocks): Add documentation for aligned_alloc
25527         and suggest it as an alternative to posix_memalign.
25528         (Hooks for Malloc): Document __memalign_hook is also called
25529         for aligned_alloc.  (Summary of Malloc): Add summary for
25530         aligned alloc.  Document __memalign_hook is also called
25531         for aligned_alloc.
25533 2013-12-16  Will Newton  <will.newton@linaro.org>
25535         * manual/memory.texi (Malloc Examples): Clarify default
25536         alignment documentation.  Suggest posix_memalign rather
25537         than memalign or valloc.
25538         (Aligned Memory Blocks): Remove suggestion to use memalign
25539         or valloc.  Remove obsolete comment about BSD.
25540         Document memalign errno values and mark the function obsolete.
25541         Document posix_memalign returned error codes.  Mark valloc
25542         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25543         called for posix_memalign and valloc.
25544         (Summary of Malloc): Add posix_memalign to function summary.
25545         __memalign_hook is also called for posix_memalign and valloc.
25547 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25550         TAYLOR_SIN.
25551         (__sin): Adjust.
25552         (__cos): Likewise.
25553         (sloww): Use mynumber union.  Expand ternary operator into
25554         if-else statements.
25555         (cslow): use mynumber union.
25557 2013-12-16  Allan McRae  <allan@archlinux.org>
25559         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25560         * configure: Regenerated.
25562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25564         [BZ #14120]
25565         * configure.ac: Added --enable-maintainer-mode. Check for
25566         autoconf when enabled.
25567         * configure: Regenerated.
25569         * nscd/nscd.service: New file.
25570         * nscd/nscd.tmpfiles: New file.
25572 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25574         [BZ #12100]
25575         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25576         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25577         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25578         (strstr): Add __strstr_sse2_unaligned ifunc.
25579         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25580         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25581         (strcasestr): Remove __strcasestr_sse42 ifunc.
25582         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25586 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25588         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25589         * sysdeps/sh/bits/fenv.h: ... here.
25590         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25594         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25597         hypotf multiarch implementations.
25598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25599         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25601         multiarch hypot for PPC64.
25602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25603         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25604         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25605         multiarch hypotf for PPC64.
25607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25608         modff multiarch implementations.
25609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25612         multiarch modf for PPC64.
25613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25616         multiarch modff for PPC64.
25618         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25619         and logl multiarch implementations.
25620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25623         multiarch logb for PPC64.
25624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25627         multiarch logb for PPC64.
25628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25631         multiarch logb for PPC64.
25633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25634         isinff multiarch implementation.
25635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25636         file.
25637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25639         multiarch isinf for PPC64.
25640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25641         file.
25642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25643         multiarch isinff for PPC64.
25645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25646         finitef multiarch implementation.
25647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25648         file.
25649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25651         multiarch finite for PPC64.
25652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25653         file.
25654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25655         multiarch finitef for PPC64.
25657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25658         lrint multiarch implementation.
25659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25660         file.
25661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25663         multiarch llrint for PPC64.
25664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25665         multiarch lrint for PPC64.
25667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25668         copysignf multiarch implementation.
25669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25670         file.
25671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25672         file.
25673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25674         multiarch copysign for PPC64.
25675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25676         multiarch copysignf for PPC64.
25678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25679         multiarch implementation.
25680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25681         file.
25682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25683         file.
25684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25685         file.
25686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25687         file.
25688         multiarch llround for PPC64.
25689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25690         multiarch trunc for PPC64.
25691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25692         multiarch truncf for PPC64.
25694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25695         multiarch implementation.
25696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25697         file.
25698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25699         file.
25700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25701         file.
25702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25703         file.
25704         multiarch llround for PPC64.
25705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25706         multiarch round for PPC64.
25707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25708         multiarch roundf for PPC64.
25710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25711         multiarch implementation.
25712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25713         file.
25714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25715         file.
25716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25717         file.
25718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25719         file.
25720         multiarch llround for PPC64.
25721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25722         multiarch floor for PPC64.
25723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25724         multiarch floorf for PPC64.
25726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25727         multiarch implementation.
25728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25729         file.
25730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25731         file.
25732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25733         file.
25734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25735         file.
25736         multiarch llround for PPC64.
25737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25738         multiarch ceil for PPC64.
25739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25740         multiarch ceilf for PPC64.
25742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25743         multiarch implementation.
25744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25745         file.
25746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25747         file.
25748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25749         file.
25750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25751         multiarch llround for PPC64.
25752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25753         multiarch lround for PPC64.
25755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25756         multiarch implementation.
25757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25760         file.
25761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25764         multiarch isnan for PPC64.
25765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25766         multiarch isnanf for PPC64.
25768         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25769         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25770         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25771         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25772         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25775         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25776         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25778         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25781         multiarch implementations.
25782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25783         (__libc_ifunc_impl_list): Likewise.
25784         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25787         multiarch stpcpy for PPC64.
25789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25790         multiarch implementations.
25791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25792         (__libc_ifunc_impl_list): Likewise.
25793         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25794         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25795         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25796         multiarch strcpy for PPC64.
25798         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25799         redefine function name.
25800         (_wordcopy_fwd_dest_aligned): Likewise.
25801         (_wordcopy_bwd_aligned): Likewise.
25802         (_wordcopy_bwd_dest_aligned): Likewise.
25803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25804         multiarch implementations.
25805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25806         (__libc_ifunc_impl_list): Likewise.
25807         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25808         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25809         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25810         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25811         multiarch wcscpy for PPC64.
25813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25814         multiarch implementations.
25815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25816         (__libc_ifunc_impl_list): Likewise.
25817         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25818         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25819         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25820         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25821         multiarch wcscpy for PPC64.
25823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25824         multiarch implementations.
25825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25826         (__libc_ifunc_impl_list): Likewise.
25827         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25828         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25829         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25830         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25831         multiarch wcsrchr for PPC64.
25833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25834         multiarch implementations.
25835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25836         (__libc_ifunc_impl_list): Likewise.
25837         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25838         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25839         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25840         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25841         multiarch wcschr for PPC64.
25843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25844         multiarch implementations.
25845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25846         (__libc_ifunc_impl_list): Likewise.
25847         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25848         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25849         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25850         multiarch strchrnul for PPC64.
25852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25853         implementations.
25854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25855         (__libc_ifunc_impl_list): Likewise.
25856         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25857         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25858         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25859         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25860         strchr for PPC64.
25862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25863         implementations.
25864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25865         (__libc_ifunc_impl_list): Likewise.
25866         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25867         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25868         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25869         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25870         strncmp for PPC64.
25872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25873         multiarch implementations.
25874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25875         (__libc_ifunc_impl_list): Likewise.
25876         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25877         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25878         strncasecmp for PPC64.
25879         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25880         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25881         multiarch strncasecmp_l for PPC64.
25883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25884         multiarch implementations.
25885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25886         (__libc_ifunc_impl_list): Likewise.
25887         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25889         multiarch strcasecmp for PPC64.
25890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25891         file.
25892         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25893         multiarch strcasecmp_l for PPC64.
25895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25896         implementations.
25897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25898         (__libc_ifunc_impl_list): Likewise.
25899         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25900         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25901         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25902         strnlen for PPC64.
25904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25905         implementations.
25906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25907         (__libc_ifunc_impl_list): Likewise.
25908         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25909         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25910         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25911         strlen for PPC64.
25913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25914         implementations.
25915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25916         (__libc_ifunc_impl_list): Likewise.
25917         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25918         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25919         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25920         rawmemrchr for PPC64.
25922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25923         implementation.
25924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25925         (__libc_ifunc_impl_list): Likewise.
25926         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25927         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25928         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25929         memrchr for PPC64.
25931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25932         implementation.
25933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25934         (__libc_ifunc_impl_list): Likewise.
25935         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25936         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25937         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25938         memchr for PPC64.
25940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25941         implementation.
25942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25943         (__libc_ifunc_impl_list): Likewise.
25944         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25945         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25946         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25947         mempcpy for PPC64.
25949         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25950         avoid cretion of __bzero symbol.
25951         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25952         Likewise.
25953         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25954         Likewise.
25955         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25956         Likewise.
25957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25958         multiarch implementations.
25959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25960         (__libc_ifunc_impl_list): Likewise.
25961         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25962         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25963         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25964         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25965         bzero for PPC32.
25966         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25967         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25968         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25969         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25970         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25971         memset for PPC64.
25972         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25974         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25976         implementations.
25977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25978         (__libc_ifunc_impl_list): Likewise.
25979         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25980         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25981         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25982         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25983         memcmp for PPC64.
25985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25986         multiarch for POWER/PPC64.
25987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25988         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25990         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25991         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25994         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25995         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25996         memcpy for PPC64.
25998         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25999         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26000         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26001         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26002         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26003         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26004         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26005         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26006         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26007         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26008         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26009         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26010         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26011         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26012         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26021 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26025 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26027         * benchtests/Makefile (bench): Add exp2 and log2.
26028         (LDLIBS-bench-exp2): Add -lm.
26029         (LDLIBS-bench-log2): Likewise.
26030         * benchtests/exp2-inputs: New inputs file.
26031         * benchtests/log2-inputs: New inputs file.
26032         * benchtests/log-inputs: Add new inputs.
26033         * benchtests/tan-inputs: Likewise.
26035 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26037         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26038         definition...
26039         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26040         (csloww2): ... from here.
26042         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26043         instead of structures.
26044         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26045         (POLYNOMIAL): Likewise.
26046         (TAYLOR_SLOW): Likewise.
26047         (__sin): Likewise.
26048         (__cos): Likewise.
26049         (slow1): Likewise.
26050         (slow2): Likewise.
26051         (sloww): Likewise.
26052         (sloww1); Likewise.
26053         (sloww2): Likewise.
26054         (bsloww1): Likewise.
26055         (bsloww2): Likewise.
26056         (cslow2): Likewise.
26057         (csloww): Likewise.
26058         (csloww1): Likewise.
26059         (csloww2): Likewise.
26061 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26063         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26064         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26065         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26066         * malloc/hooks.c (realloc_check): Likewise.
26068         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26069         * malloc/arena.c: Remove PER_THREAD conditional.
26070         [!PER_THREAD]: Remove code.
26071         (ptmalloc_unlock_all2): Likewise.
26072         (ptmalloc_init): Likewise.
26073         (_int_new_arena): Likewise.
26074         (arena_get2): Likewise.
26075         * malloc/hooks.c (__malloc_get_state): Likewise.
26076         (__malloc_set_state): Likewise.
26077         * malloc/malloc.c: Likewise.
26078         (struct malloc_state): Likewise.
26079         (struct malloc_par): Likewise.
26080         (__libc_realloc): Likewise.
26081         (__libc_mallopt): Likewise.
26083 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26085         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26087 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26089         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26090         macro to a function.  Check for zero perturb_byte.
26091         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26093         * malloc/malloc.c: (force_reg): Remove.
26094         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26095         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26096         force_reg by atomic_forced_read.
26097         * malloc/arena.c (ptmalloc_init): Likewise.
26098         * malloc/hooks.c (top_check): Likewise.
26100 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26104 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26108 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26110         * math/auto-libm-test-in: Add tests of lgamma.
26111         * math/auto-libm-test-out: Regenerated.
26112         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26113         (M_LOG_2_SQRT_PIl): Likewise.
26114         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26115         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26116         mpfr_f_f1.
26117         (func_calc_desc): Add mpfr_f_f1 union field.
26118         (ARGS1): New macro.
26119         (ARGS2): Likewise.
26120         (ARGS3): Likewise.
26121         (ARGS4): Likewise.
26122         (RET1): Likewise.
26123         (RET2): Likewise.
26124         (CALC): Likewise.
26125         (FUNC): Likewise.
26126         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26127         (test_functions): Add lgamma.
26128         (calc_generic_results): Handle mpfr_f_f1.
26129         * sysdeps/i386/fpu/libm-test-ulps: Update.
26130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26132 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26134         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26135         __mpn_add_n for PowerPC64/POWER7.
26136         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26137         __mpn_sub_n for PowerPC64/POWER7.
26139         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26140         __mpn_addmul_1 for PowerPC64.
26141         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26142         __mpn_submul_1 for PowerPC64.
26143         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26144         for PowerPC64.
26145         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26146         for PowerPC64.
26148 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26150         [BZ #15089]
26151         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26153 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26155         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26157         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26158         add multiarch folders.
26159         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26160         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26161         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26162         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26163         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26164         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26165         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26166         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26167         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26168         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26169         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26178         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26180         New file.
26181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26182         New file.
26183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26184         multiarch __ieee754_hypot for PowerPC32.
26185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26186         New file.
26187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26188         New file.
26189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26190         multiarch __ieee754_hypotf for PowerPC32.
26192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26193         long_double_symbol only if __logbl is defined.
26194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26195         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26197         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26198         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26199         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26201         path for implementation.
26202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26203         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26205         logb, and logbl multiarch implementations for PowerPC32.
26206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26207         file.
26208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26209         file.
26210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26211         multiarch logb for PowerPC32.
26212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26213         file.
26214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26215         file.
26216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26217         multiarch logbf for PowerPC32.
26218         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26220         file.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26222         multiarch logbl implementation for PowerPC32.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26225         and modff multiarch implementations.
26226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26227         New file.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26229         New file.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26231         multiarch modf for PowerPC32.
26232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26233         New file.
26234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26235         New file.
26236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26237         multiarch modff for PowerPC32.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26240         and lrintf multiarch implementations.
26241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26242         New file.
26243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26244         New file.
26245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26246         multiarch lrint for PowerPC32.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26248         file: multiarch lrintf for PowerPC32.
26250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26251         and lroundf multiarch implementations.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26253         New file.
26254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26255         New file.
26256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26257         New file.
26258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26259         multiarch lround for PowerPC32.
26260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26261         file: multiarch lroundf for PowerPC32.
26263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26264         copysign and copysignf multiarch implementations.
26265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26266         New file.
26267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26268         New file.
26269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26270         file: multiarch copysign for PowerPC32.
26271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26272         file: multiarch copysignf for PowerPC32.
26274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26275         and truncf multiarch implementations.
26276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26277         New file.
26278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26279         file.
26280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26281         multiarch trunc for PowerPC32.
26282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26283         New file.
26284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26285         New file.
26286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26287         multiarch truncf for PowerPC32.
26289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26290         and roundf multiarch implementations.
26291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26292         New file.
26293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26294         file.
26295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26296         multiarch round for PowerPC32.
26297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26298         New file.
26299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26300         New file.
26301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26302         multiarch roundf for PowerPC32.
26304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26305         and floorf multiarch implementations.
26306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26307         New file.
26308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26309         file.
26310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26311         multiarch floor for PowerPC32.
26312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26313         New file.
26314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26315         New file.
26316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26317         multiarch floorf for PowerPC32.
26319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26320         and ceilf multiarch implementations.
26321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26322         New file.
26323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26324         file.
26325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26326         multiarch ceil for PowerPC32.
26327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26328         New file.
26329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26330         file.
26331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26332         multiarch ceilf for PowerPC32.
26334         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26335         is defined.
26336         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26337         FINITEF is defined.
26338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26339         and finitef multiarch implementations.
26340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26341         New file.
26342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26343         file.
26344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26345         multiarch finite for PowerPC32.
26346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26347         New file.
26348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26349         file: multiarch finitef for PowerPC32.
26351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26352         and isinff multiarch implementations.
26353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26354         file.
26355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26356         file.
26357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26358         multiarch isinf for PowerPC32.
26359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26360         New file.
26361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26362         multiarch isinff for PowerPC32.
26364         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26365         alias when __isnan is defined.
26366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26367         and isnanf multiarch implementations.
26368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26369         file.
26370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26371         file.
26372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26373         file.
26374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26375         file.
26376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26377         multiarch isnan for PowerPC32.
26378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26379         New file.
26380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26381         New file.
26382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26383         multiarch isnanf for PowerPC32.
26385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26386         and sqrtf multiarch implementations.
26387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26388         file.
26389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26390         file.
26391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26392         multiarch sqrt for PowerPC32.
26393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26394         file.
26395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26396         file.
26397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26398         multiarch sqrtf for PowerPC32.
26400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26401         and llroundf multiarch implementations.
26402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26403         New file.
26404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26405         New file.
26406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26407         New file.
26408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26409         file: multiarch llround for PowerPC32.
26410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26411         file: multiarch llroundf for PowerPC32.
26413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26414         multiarch PowerPC32 fpu implementations.
26415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26416         New file.
26417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26418         New file.
26419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26420         multiarch llrint for PowerPC32.
26421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26422         New file.
26423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26424         New file.
26425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26426         file.
26428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26431         file.
26432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26433         file.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26435         file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26437         multiarch wordcopy for PPC32.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26439         wordcopy objects.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26441         (__libc_ifunc_impl_list): Likewise.
26442         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26443         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26444         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26445         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26446         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26447         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26449         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26451         file.
26452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26453         file.
26454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26455         file.
26456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26457         multiarch wcscpy for PPC32.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26459         multiarch objects.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26461         (__libc_ifunc_impl_list): Likewise.
26462         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26463         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26464         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26465         sysdeps/powerpc/power6/wcscpy.c.
26467         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26469         file.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26471         file.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26473         file.
26474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26475         multiarch wcsrchr for PPC32.
26476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26477         multiarch objects.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26479         (__libc_ifunc_impl_list): Likewise.
26480         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26481         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26482         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26483         sysdeps/powerpc/power6/wcsrchr.c.
26485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26486         file.
26487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26488         file.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26491         multiarch wcschr for PPc32.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26493         multiarch objects.
26494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26495         (__libc_ifunc_impl_list): Likewise.
26496         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26497         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26498         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26499         sysdeps/powerpc/power6/wcschr.c.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26502         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26503         file.
26504         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26505         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26506         file: multiarch strchr for PPC32.
26507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26508         multiarch objects.
26509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26510         (__libc_ifunc_impl_list): Likewise.
26512         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26513         name.
26514         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26515         file.
26516         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26517         file.
26518         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26519         multiarch strchrnul for PPC32.
26520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26521         multiarch objects.
26522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26523         (__libc_ifunc_impl_list): Likewise.
26525         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26526         file.
26527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26528         multiarch strncasecmp for PPC32.
26529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26530         file.
26531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26532         multiarch strncasecmp_l for PPC32.
26533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26534         strncasecmp multiarch objects.
26535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26536         (__libc_ifunc_impl_list): Likewise.
26538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26539         file.
26540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26541         multiarch strncasecmp for PPC32.
26542         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26543         New file.
26544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26545         multiarch strcasecmp_l for PPC32.
26546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26547         multiarch objects.
26548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26549         (__libc_ifunc_impl_list): Likewise.
26551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26552         file.
26553         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26554         file.
26555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26556         multiarch strncmp for PPC32.
26557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26558         multiarch objects.
26559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26560         (__libc_ifunc_impl_list): Likewise.
26562         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26563         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26564         file.
26565         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26566         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26568         multiarch objects.
26569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26570         (__libc_ifunc_impl_list): Likewise.
26572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26573         file.
26574         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26575         file.
26576         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26578         multiarch objects.
26579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26580         (__libc_ifunc_impl_list): Likewise.
26582         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26583         file.
26584         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26585         file.
26586         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26587         multiarch rawmemchr for PPC32.
26588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26589         multiarch objects.
26590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26591         (__libc_ifunc_impl_list): Likewise.
26593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26594         file.
26595         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26596         file.
26597         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26598         file: memrchr multiarch for PPC32.
26599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26600         multiarch objects.
26601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26602         (__libc_ifunc_impl_list): Likewise.
26604         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26605         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26606         file.
26607         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26608         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26609         multiarch memchr for PPC32.
26610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26611         multiarch objects.
26612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26613         (__libc_ifunc_impl_list): Likewise.
26615         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26617         file.
26618         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26619         file.
26620         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26621         file: multiarch mempcpy for PPC32.
26622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26623         multiarch objects.
26624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26625         (__libc_ifunc_impl_list): Likewise.
26627         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26628         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26629         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26630         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26631         multiarch bzero for PPC32.
26632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26633         file.
26634         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26635         file.
26636         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26637         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26638         file: multiarch memset for PPC32.
26639         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26641         memset multiarch objects.
26642         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26643         (__libc_ifunc_impl_list): Likewise.
26645         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26646         file.
26647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26649         memcmp for PPC32.
26650         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26652         multiarch objects.
26653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26654         (__libc_ifunc_impl_list): Likewise.
26656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26657         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26659         file.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26661         file.
26662         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26663         file.
26664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26665         multiarch memcpy for PPC32.
26666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26667         multiarch objects.
26668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26669         (__libc_ifunc_impl_list): Likewise.
26671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26672         support multiarch for POWER/PPC32.
26673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26674         Likewise.
26675         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26677         Implies file to make multiarch folder appers before the fpu and
26678         default folder for power4 configuration.
26680 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26682         * scripts/bench.pl: Append volatile keyword to type.
26684 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26686         * sysdeps/sh/sotruss-lib.c: New file.
26687         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26689 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26693 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26695         [BZ #6810]
26696         * math/w_tgamma.c: Include <errno.h>.
26697         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26698         * math/w_tgammaf.c: Include <errno.h>.
26699         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26700         * math/w_tgammal.c: Include <errno.h>.
26701         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26702         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26703         underflow.  Add more tgamma tests.
26704         * math/auto-libm-test-out: Regenerated.
26705         * sysdeps/i386/fpu/libm-test-ulps: Update.
26706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26708         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26709         sin, sinh, tan, tanh, tgamma, y0 and y1.
26710         * math/auto-libm-test-out: Regenerated.
26711         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26712         (TEST_COND_x86): Likewise.
26713         (M_E2l): Remove macro.
26714         (M_E3l): Likewise.
26715         (M_2_SQRT_PIl): Likewise.
26716         (M_SQRT_PIl): Likewise.
26717         (M_1_DIV_El): Likewise.
26718         (log_test_data): Use AUTO_TESTS_f_f.
26719         (log10_test_data): Likewise.
26720         (log1p_test_data): Likewise.
26721         (log2_test_data): Likewise.
26722         (sin_test_data): Likewise.
26723         (sin_tonearest_test_data): Likewise.
26724         (sin_towardzero_test_data): Likewise.
26725         (sin_downward_test_data): Likewise.
26726         (sin_upward_test_data): Likewise.
26727         (sinh_test_data): Likewise.
26728         (sinh_tonearest_test_data): Likewise.
26729         (sinh_towardzero_test_data): Likewise.
26730         (sinh_downward_test_data): Likewise.
26731         (sinh_upward_test_data): Likewise.
26732         (tan_test_data): Likewise.
26733         (tan_tonearest_test_data): Likewise.
26734         (tan_towardzero_test_data): Likewise.
26735         (tan_downward_test_data): Likewise.
26736         (tan_upward_test_data): Likewise.
26737         (tanh_test_data): Likewise.
26738         (tgamma_test_data): Likewise.
26739         (y0_test_data): Likewise.
26740         (y1_test_data): Likewise.
26741         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26742         (special_real_inputs): Add pi/4.
26743         * sysdeps/i386/fpu/libm-test-ulps: Update.
26744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26746 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26748         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26749         "longjmp_target" static probes.
26750         (__longjmp): Rename to __longjmp_symbol.
26751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26752         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26753         on which longjmp to generate.
26754         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26755         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26756         probe.
26757         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26758         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26759         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26760         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26761         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26762         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26764         __longjmp_symbol based on which __longjmp to generate.
26765         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26766         probe.
26767         (setjmp): Rename to setjmp_symbol.
26768         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26769         (_setjmp): Rename to _setjmp_symbol.
26770         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26771         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26772         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26773         which setjmp to generate.
26774         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26775         "longjmp_target" static probes.
26777 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26779         * benchtests/README: Add note about output arguments.
26780         * benchtests/bench-sincos.c: Remove file.
26781         * benchtests/sincos-inputs: New file.
26782         * scripts/bench.pl: Identify output arguments and define
26783         static variables for them.
26785         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26787         [BZ #15941]
26788         * Makefile (INSTALL): Add install-plain.texi as the primary
26789         dependency.
26790         * manual/install-plain.texi: New file.
26791         * manual/install.texi: Include node directive only for
26792         non-plaintext output.
26794 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26796         * stdlib/longlong.h: Update from GCC.
26798         [BZ #6807]
26799         [BZ #15901]
26800         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26801         * math/w_j0f.c (y0f): Likewise.
26802         * math/w_j0l.c (__y0l): Likewise.
26803         * math/w_j1.c (y1): Likewise.
26804         * math/w_j1f.c (y1f): Likewise.
26805         * math/w_j1l.c (__y1l): Likewise
26806         * math/w_jn.c (yn): Likewise.
26807         * math/w_jnf.c (ynf): Likewise.
26808         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26809         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26810         value for Bessel function domain errors outside _SVID_ mode.
26811         Adjust sign of return value for yn (negative integer, 0).
26812         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26813         by zero in return for negative x and set sign appropriately for
26814         negative n.
26815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26816         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26817         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26818         expectations in error cases.
26819         (y1_test_data): Likewise.
26820         (yn_test_data): Likewise.
26821         * sysdeps/i386/fpu/libm-test-ulps: Update.
26822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26824 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26826         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26827         "64" to "64-v1".  Add "64-v2".
26828         (abi-64-options): Rename to ...
26829         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26830         (abi-64-condition): Rename to ...
26831         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26832         (abi-64-ld-soname): Rename to ...
26833         (abi-64-v1-ld-soname): ... this.
26834         (abi-64-v2-options): Define.
26835         (abi-64-v2-condition): Likewise.
26836         (abi-64-v2-ld-soname): Likewise.
26837         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26838         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26843 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26844             Alan Modra  <amodra@gmail.com>
26846         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26847         New versions for use with the ELFv2 ABI.
26848         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26849         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26850         declaration.
26851         (struct La_ppc64v2_retval): Likewise.
26852         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26853         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26854         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26855         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26856         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26857         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26858         Do not save or restore CR.
26859         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26860         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26861         return values for ELFv2 ABI.  Fix location of FPR return registers.
26862         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26863         updated values for _CALL_ELF == 2.
26864         (La_regs, La_retval, int_retval): Likewise.
26866 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26868         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26869         (FRAME_MIN_SIZE_PARM): Likewise.
26870         (FRAME_BACKCHAIN): Likewise.
26871         (FRAME_CR_SAVE): Likewise.
26872         (FRAME_LR_SAVE): Likewise.
26873         (FRAME_TOC_SAVE): Likewise.
26874         (FRAME_PARM_SAVE): Likewise.
26875         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26876         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26877         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26878         (call_mcount_parm_offset): New macro.
26879         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26880         (PROF): Use symbolic stack frame offsets.
26881         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26882         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26883         Redefine in terms of FRAME_MIN_SIZE.
26884         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26885         (_dl_profile_resolve): Likewise.  Update comment.
26886         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26887         symbols stack frame offsets.
26888         (__sigsetjmp): Likewise.
26889         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26890         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26891         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26892         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26895         (FRAME_BACKCHAIN): Remove.
26896         (FRAME_CR_SAVE): Likewise.
26897         (FRAME_LR_SAVE): Likewise.
26898         (FRAME_COMPILER_DW): Likewise.
26899         (FRAME_LINKER_DW): Likewise.
26900         (FRAME_TOC_SAVE): Likewise.
26901         (FRAME_PARM_SAVE): Likewise.
26902         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26903         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26904         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26906         (CHECK_SP): Use symbolic stack frame offsets.
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26908         zone" instead of caller's parameter save area for temp storage.
26909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26910         Likewise.  Also, use symbolic stack frame offsets.
26911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26912         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26913         our own stack frame instead of the caller's.
26914         (__socket): Use symbolic stack frame offsets.
26916 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26917             Alan Modra  <amodra@gmail.com>
26919         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26920         Define.
26921         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26922         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26923         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26924         New function.
26925         (elf_machine_fixup_plt): Call it.
26926         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26927         reloc arguments.
26928         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26929         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26930         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26931         r2 before calling target.
26933 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26934             Alan Modra  <amodra@gmail.com>
26936         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26937         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26938         versions of macros to support ELFv2 ABI.
26939         (LOCALENTRY): New macro.
26940         (ENTRY, EALIGN): Use it.
26941         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26942         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26943         fall through into ENTRY entry point.
26944         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26945         Only define if _CALL_ELF != 2.
26947         (elf_machine_matches_host): Verify ABI version matches.
26948         (RTLD_START): Use LOCALENTRY.
26949         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26950         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26951         (PLT_ENTRY_WORDS): New macro.
26952         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26953         (elf_machine_runtime_setup): Support ELFv2 ABI.
26954         (elf_machine_fixup_plt): Likewise.
26955         (elf_machine_plt_conflict): Likewise.
26956         (resolve_ifunc): Likewise.
26957         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26958         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26959         Likewise.
26960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26961         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26963         (makecontext): Support ELFv2 ABI.
26964         * elf/elf.h (EF_PPC64_ABI): Define.
26966 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26968         * sysdeps/powerpc/powerpc64/sysdep.h
26969         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26970         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26971         (ENTRY) [ASSEMBLER]: ... but instead here ...
26972         (EALIGN) [ASSEMBLER]: ... and here.
26973         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26974         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26975         (ENTRY_2) [!ASSEMBLER]: Use it.
26976         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26977         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26979         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26980         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26982         Use PPC64_LOAD_FUNCPTR.
26984         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26986 2013-12-04  Alan Modra  <amodra@gmail.com>
26988         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26989         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26990         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26991         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26994         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26995         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26996         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26997         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26998         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27000 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27003         (__makecontext): Fix incorrect CFI when backtracing out of
27004         context created via makecontext.
27005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27006         (__setcontext): Fix incorrect CFI during switch to new context.
27007         (__novec_setcontext): Likewise.
27009 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27011         [BZ #4772]
27012         * time/strptime_l.c (__strptime_internal): Allow modifiers
27013         in strptime.
27014         * time/tst-strptime.c (day_tests): Add testcase.
27016 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27018         * scripts/bench.pl: Skip over blank lines.
27020 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27022         [BZ #926]
27023         * manual/time.texi (Calendar Time): Clarify what timezone functions
27024         use.
27026 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27032         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27033         implementation.
27034         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27035         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27036         * debug/memset_chk.c (__memset_chk): Likewise.
27037         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27038         * debug/strncpy_chk.c: Likewise.
27040 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27042         [BZ #15268]
27043         [BZ #15425]
27044         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27045         (__ieee754_exp): For possibly underflowing results, check size of
27046         result and force underflow exception if required.
27047         * math/auto-libm-test-in: Add more tests of exp.
27048         * math/auto-libm-test-out: Regenerated.
27049         * sysdeps/i386/fpu/libm-test-ulps: Update.
27050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27052         [BZ #16283]
27053         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27054         * math/w_exp2f.c (__exp2f): Likewise.
27055         * math/w_exp2l.c (__exp2l): Likewise.
27056         * math/auto-libm-test-in: Do not allow missing errno on exp2
27057         underflow.
27058         * math/auto-libm-test-out: Regenerated.
27060 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27062         [BZ #16274]
27063         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27064         handle filename validation.
27065         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27066         (do_open): Delete.
27068 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27070         [BZ #6786]
27071         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27072         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27073         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27074         <float.h>.
27075         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27076         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27077         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27079         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27080         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27081         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27082         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27083         Add more erfc tests.
27084         * math/auto-libm-test-out: Regenerated.
27085         * sysdeps/i386/fpu/libm-test-ulps: Update.
27086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27088         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27089         exp2, expm1, j0 and j1.
27090         * math/auto-libm-test-out: Regenerated.
27091         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27092         (erfc_test_data): Likewise.
27093         (exp_test_data): Likewise.
27094         (exp_tonearest_test_data): Likewise.
27095         (exp_towardzero_test_data): Likewise.
27096         (exp_downward_test_data): Likewise.
27097         (exp_upward_test_data): Likewise.
27098         (exp10_test_data): Likewise.
27099         (exp2_test_data): Likewise.
27100         (expm1_test_data): Likewise.
27101         (j0_test_data): Likewise.
27102         (j1_test_data): Likewise.
27103         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27104         (input_flag_type): Add flag_xfail_rounding.
27105         (input_flags): Add xfail-rounding.
27106         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27107         (output_for_one_input_case): Handle flag_xfail_rounding.
27108         * sysdeps/i386/fpu/libm-test-ulps: Update.
27109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27113         [BZ #16289]
27114         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27115         division by 0.
27117 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27119         [BZ #16195]
27120         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27121         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27122         (STAP_PROBE0): New macro.
27123         (STAP_PROBE1): Likewise.
27124         (STAP_PROBE2): Likewise.
27125         (STAP_PROBE3): Likewise.
27126         (STAP_PROBE4): Likewise.
27128 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27130         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27132 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27134         * benchtests/Makefile (bench): Add sqrt.
27135         (LDLIBS-bench-sqrt): New.
27136         * benchtests/sqrt-input: New.
27138 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27140         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27141         (GAIH_EAI): Likewise.
27142         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27143         (gaih_inet): Likewise.
27144         (getaddrinfo): Don't use GAIH_EAI.
27146         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27147         (struct gaih): Remove definition.
27149 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27151         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27152         Use HERRNOP directly.
27154 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27158 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27160         * math/gen-auto-libm-tests.c (test_functions): Add more
27161         single-argument functions.
27162         (special_fill_pi_2): New function.
27163         (special_fill_minus_pi_2): Likewise.
27164         (special_fill_pi_6): Likewise.
27165         (special_fill_minus_pi_6): Likewise.
27166         (special_fill_pi_3): Likewise.
27167         (special_fill_2pi_3): Likewise.
27168         (special_fill_e): Likewise.
27169         (special_fill_1_e): Likewise.
27170         (special_fill_e_minus_1): Likewise.
27171         (special_real_inputs): Add more special inputs.
27172         (output_for_one_input_case): Do not require ERANGE on underflow to
27173         zero if round-to-nearest result does not underflow to zero, unless
27174         exact results required.
27175         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27176         atan, atanh, cbrt, cos and cosh.
27177         * math/auto-libm-test-out: Regenerated.
27178         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27179         (acos_tonearest_test_data): Likewise.
27180         (acos_towardzero_test_data): Likewise.
27181         (acos_downward_test_data): Likewise.
27182         (acos_upward_test_data): Likewise.
27183         (acosh_test_data): Likewise.
27184         (asin_test_data): Likewise.
27185         (asin_tonearest_test_data): Likewise.
27186         (asin_towardzero_test_data): Likewise.
27187         (asin_upward_test_data): Likewise.
27188         (asinh_test_data): Likewise.
27189         (atan_test_data): Likewise.
27190         (atanh_test_data): Likewise.
27191         (cbrt_test_data): Likewise.
27192         (cos_test_data): Likewise.
27193         (cos_tonearest_test_data): Likewise.
27194         (cos_towardzero_test_data): Likewise.
27195         (cos_downward_test_data): Likewise.
27196         (cos_upward_test_data): Likewise.
27197         (cosh_test_data): Likewise.
27198         (cosh_tonearest_test_data): Likewise.
27199         (cosh_towardzero_test_data): Likewise.
27200         (cosh_downward_test_data): Likewise.
27201         (cosh_upward_test_data): Likewise.
27202         * sysdeps/i386/fpu/libm-test-ulps: Update.
27203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27205 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27207         [BZ #6787]
27208         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27209         * math/w_exp10f.c (__exp10f): Likewise.
27210         * math/w_exp10l.c (__exp10l): Likewise.
27211         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27212         errno settings in existing tests.
27214         [BZ #14032]
27215         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27216         precision control set to double precision.
27217         * sysdeps/i386/fpu/w_sqrt.c: New file.
27218         * math/auto-libm-test-in: Add more tests.
27219         * math/auto-libm-test-out: Update.
27221         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27222         (sqrt_test_tonearest): New function.
27223         (sqrt_towardzero_test_data): New variable.
27224         (sqrt_test_towardzero): New function.
27225         (sqrt_downward_test_data): New variable.
27226         (sqrt_test_downward): New function.
27227         (sqrt_upward_test_data): New variable.
27228         (sqrt_test_upward): New function.
27229         (main): Call the new functions.
27231         * math/gen-auto-libm-tests.c: New file.
27232         * math/auto-libm-test-in: Likewise.
27233         * math/auto-libm-test-out: New generated file.
27234         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27235         variables.
27236         (%beautify): Add generated representations of zero.
27237         (top level): Set $auto_input and call parse_auto_input.
27238         (beautify): Remove trailing "f" from hex float constants.
27239         (parse_args): Handle XFAIL_TEST.
27240         (convert_condition): New function.
27241         (or_value): Likewise.
27242         (or_cond_value): Likewise.
27243         (generate_testfile): Handle AUTO_TESTS_* lines.
27244         (parse_auto_input): New function.
27245         * math/libm-test.inc (XFAIL_TEST): New macro.
27246         (ERRNO_UNCHANGED): Update value.
27247         (ERRNO_EDOM): Likewise.
27248         (ERRNO_ERANGE): Likewise.
27249         (IGNORE_RESULT): Likewise.
27250         (TEST_COND_flt_32): New macro.
27251         (TEST_COND_dbl_64): Likewise.
27252         (TEST_COND_ldbl_96_intel): Likewise.
27253         (TEST_COND_ldbl_96_m68k): Likewise.
27254         (TEST_COND_ldbl_128): Likewise.
27255         (TEST_COND_ldbl_128ibm): Likewise.
27256         (TEST_COND_long32): Likewise.
27257         (TEST_COND_long64): Likewise.
27258         (TEST_COND_before_rounding): Likewise.
27259         (TEST_COND_after_rounding): Likewise.
27260         (enable_test): Handle XFAIL_TEST flag.
27261         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27262         with finite results.
27263         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27264         auto-libm-test-out.
27266 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27267             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27269         [BZ #16214]
27270         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27271         __tls_get_addr_internal instead of __tls_get_offset in order to
27272         avoid GOT pointer dependency.  Make rtld export
27273         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27274         __tls_get_addr since we are a __tls_get_offset platform.
27275         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27276         GOT pointer being set up before.
27277         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27279 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27281         * manual/math.texi (Errors in Math Functions): Document accuracy
27282         goals.
27284         [BZ #15004]
27285         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27286         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27287         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27288         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27289         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27290         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27291         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27292         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27293         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27294         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27295         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27296         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27297         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27298         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27299         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27300         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27302         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27303         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27304         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27305         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27306         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27307         Likewise.
27308         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27309         Likewise.
27310         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27311         Likewise.
27312         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27313         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27314         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27315         atomic-feupdateenv and flt-rounds.
27316         * sysdeps/powerpc/nofpu/Versions (libc): Add
27317         __atomic_feholdexcept, __atomic_feclearexcept,
27318         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27319         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27320         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27321         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27322         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27323         here.
27324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27325         Update.
27327         * manual/arith.texi (FP Exceptions): Document that exceptions may
27328         not be raised when matherr is used.
27329         (Math Error Reporting): Document overflow in directed rounding
27330         modes.  Document that errno may not be set when finite values are
27331         returned on overflow.  Document intent to set errno on underflow
27332         only for underflow to zero.
27334         [BZ #16271]
27335         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27336         round-to-nearest then adjust result for other rounding modes.
27337         * include/fenv.h (fegetround): Use libm_hidden_proto.
27338         * math/fegetround.c (fegetround): Use libm_hidden_def.
27339         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27340         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27341         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27342         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27343         Likewise.
27344         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27345         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27346         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27347         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27349 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27351         [BZ #16077]
27352         * nss/Versions (libnss_files): Add
27353         _nss_files_gethostbyname3_r.
27354         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27355         New function.
27356         (HOST_DB_LOOKUP): Remove macro.
27357         (_nss_files_gethostbyname_r): Implement function without the
27358         HOST_DB_LOOKUP macro.
27359         (_nss_files_gethostbyname2_r): Likewise.
27361 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27363         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27365 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27367         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27368         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27369         warning.
27371 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27373         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27374         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27375         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27376         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27377         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27378         __fe_nomask_env_priv and attribute_hidden.
27379         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27380         (libc_feupdateenv_test_ppc): Likewise.
27381         (libc_feresetround_ppc): Likewise.
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27383         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27384         compat_symbol macro.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27386         (__fe_nomask_env): Likewise.
27387         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27389 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27391         * string/Makefile: Remove ifunc tests.
27392         * string/test-string.h: Define TEST_IFUNC.
27393         * string/test-bcopy-ifunc.c: Remove.
27394         * string/test-bzero-ifunc.c: Likewise.
27395         * string/test-memccpy-ifunc.c: Likewise.
27396         * string/test-memchr-ifunc.c: Likewise.
27397         * string/test-memcmp-ifunc.c: Likewise.
27398         * string/test-memcpy-ifunc.c: Likewise.
27399         * string/test-memmem-ifunc.c: Likewise.
27400         * string/test-memmove-ifunc.c: Likewise.
27401         * string/test-mempcpy-ifunc.c: Likewise.
27402         * string/test-memrchr-ifunc.c: Likewise.
27403         * string/test-memset-ifunc.c: Likewise.
27404         * string/test-rawmemchr-ifunc.c: Likewise.
27405         * string/test-stpcpy-ifunc.c: Likewise.
27406         * string/test-stpncpy-ifunc.c: Likewise.
27407         * string/test-strcasecmp-ifunc.c: Likewise.
27408         * string/test-strcasestr-ifunc.c: Likewise.
27409         * string/test-strcat-ifunc.c: Likewise.
27410         * string/test-strchr-ifunc.c: Likewise.
27411         * string/test-strchrnul-ifunc.c: Likewise.
27412         * string/test-strcmp-ifunc.c: Likewise.
27413         * string/test-strcpy-ifunc.c: Likewise.
27414         * string/test-strcspn-ifunc.c: Likewise.
27415         * string/test-strlen-ifunc.c: Likewise.
27416         * string/test-strncasecmp-ifunc.c: Likewise.
27417         * string/test-strncat-ifunc.c: Likewise.
27418         * string/test-strncmp-ifunc.c: Likewise.
27419         * string/test-strncpy-ifunc.c: Likewise.
27420         * string/test-strnlen-ifunc.c: Likewise.
27421         * string/test-strpbrk-ifunc.c: Likewise.
27422         * string/test-strrchr-ifunc.c: Likewise.
27423         * string/test-strspn-ifunc.c: Likewise.
27424         * string/test-strstr-ifunc.c: Likewise.
27426 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27428         * benchtests/Makefile: Remove ifunc tests.
27429         * benchtests/bench-string.h: Define TEST_IFUNC.
27430         * benchtests/bench-bcopy-ifunc.c: Remove.
27431         * benchtests/bench-bzero-ifunc.c: Likewise.
27432         * benchtests/bench-memccpy-ifunc.c: Likewise.
27433         * benchtests/bench-memchr-ifunc.c: Likewise.
27434         * benchtests/bench-memcmp-ifunc.c: Likewise.
27435         * benchtests/bench-memcpy-ifunc.c: Likewise.
27436         * benchtests/bench-memmem-ifunc.c: Likewise.
27437         * benchtests/bench-memmove-ifunc.c: Likewise.
27438         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27439         * benchtests/bench-memrchr-ifunc.c: Likewise.
27440         * benchtests/bench-memset-ifunc.c: Likewise.
27441         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27442         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27443         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27444         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27445         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27446         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27447         * benchtests/bench-strcat-ifunc.c: Likewise.
27448         * benchtests/bench-strchr-ifunc.c: Likewise.
27449         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27450         * benchtests/bench-strcmp-ifunc.c: Likewise.
27451         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27452         * benchtests/bench-strcpy-ifunc.c: Likewise.
27453         * benchtests/bench-strcspn-ifunc.c: Likewise.
27454         * benchtests/bench-strlen-ifunc.c: Likewise.
27455         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27456         * benchtests/bench-strncat-ifunc.c: Likewise.
27457         * benchtests/bench-strncmp-ifunc.c: Likewise.
27458         * benchtests/bench-strncpy-ifunc.c: Likewise.
27459         * benchtests/bench-strnlen-ifunc.c: Likewise.
27460         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27461         * benchtests/bench-strrchr-ifunc.c: Likewise.
27462         * benchtests/bench-strsep-ifunc.c: Likewise.
27463         * benchtests/bench-strspn-ifunc.c: Likewise.
27464         * benchtests/bench-strstr-ifunc.c: Likewise.
27466 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27468         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27470 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27472         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27473         * rt/aio.h: Likewise.
27474         * sysdeps/gnu/bits/utmp.h: Likewise.
27475         * sysdeps/gnu/bits/utmpx.h: Likewise.
27476         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27477         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27478         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27479         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27480         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27481         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27482         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27483         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27484         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27485         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27486         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27487         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27488         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27490         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27491         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27492         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27493         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27494         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27495         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27496         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27497         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27498         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27499         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27500         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27502         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27503         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27504         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27505         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27506         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27507         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27508         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27509         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27510         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27511         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27512         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27513         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27514         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27515         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27516         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27517         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27519 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27521         [BZ #16245]
27522         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27523         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27525 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27527         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27528         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27529         Likewise.
27531 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27533         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27534         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27535         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27536         (__fesetround): Remove define.
27537         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27538         rounding and exceptions handling.
27539         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27540         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27541         (__fe_nomask_env): Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27543         __fegetround instead of fegetround.
27544         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27547 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27549         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27550         it's there.
27552         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27554 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27556         [BZ #11157]
27557         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27558         (encrypt_r): Likewise.
27559         * malloc/obstack.h (obstack_free): Likewise.
27560         * posix/unistd.h (encrypt): Likewise.
27562 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27564         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27565         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27566         DL_CALL_DT_FINI() that call the functions directly.
27567         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27568         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27569         * elf/dl-fini.c: Likewise.
27571 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27573         * malloc/hooks.c (memalign_check): Add alignment rounding.
27574         * malloc/malloc.c (_mid_memalign): New function.
27575         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27576         Implement by calling _mid_memalign.
27577         * manual/probes.texi (Memory Allocation Probes): Remove
27578         memory_valloc_retry and memory_pvalloc_retry.
27580 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27582         * locale/programs/locarchive.c (open_archive): Add const
27583         qualifier to ARCHIVEFNAME and copy default fname to
27584         DEFAULT_FNAME.
27586         [BZ #15601]
27587         * libio/tst-widetext.input: Rename Oriya to Odia.
27588         * locale/iso-639.def: Likewise.
27590         * manual/probes.texi (Mathematical Function Probes): Add
27591         documentation for sin, cos, asin and acos probes.
27592         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27593         (__sin32): Add slowasin probe.
27594         (__cos32): Add slowacos probe.
27595         (__mpsin): Add slowsin probe.
27596         (__mpcos): Add slowcos probe.
27598 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27600         [BZ #15483]
27601         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27602         thread-local __sim_exceptions_thread and global
27603         __sim_exceptions_global.
27604         (__sim_disabled_exceptions): Change to thread-local
27605         __sim_disabled_exceptions_thread and global
27606         __sim_disabled_exceptions_global.
27607         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27608         and global __sim_round_mode_global.
27609         (__simulate_exceptions): Use thread-local floating-point state and
27610         set global state from it as needed.
27611         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27612         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27613         __sim_round_mode_thread.
27614         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27615         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27616         and global __sim_exceptions_global.
27617         (__sim_disabled_exceptions): Change to thread-local
27618         __sim_disabled_exceptions_thread and global
27619         __sim_disabled_exceptions_global.
27620         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27621         and global __sim_round_mode_global.
27622         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27623         (SIM_SET_GLOBAL): Likewise.
27624         * sysdeps/powerpc/soft-fp/sfp-machine.h
27625         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27626         __sim_round_mode_thread.
27627         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27628         __sim_disabled_exceptions_thread.
27629         (__sim_exceptions): Change to __sim_exceptions_thread.
27630         (__sim_disabled_exceptions): Change to
27631         __sim_disabled_exceptions_thread.
27632         (__sim_round_mode): Change to __sim_round_mode_thread.
27633         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27634         thread-local floating-point state and set global state from it as
27635         needed.
27636         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27637         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27638         (__sim_disabled_exceptions): Remove extern declaration.
27639         (feenableexcept): Use thread-local floating-point state and set
27640         global state from it as needed.
27641         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27642         extern declaration.
27643         (__sim_disabled_exceptions): Likewise.
27644         (__sim_round_mode): Likewise.
27645         (__fegetenv): Use thread-local floating-point state.
27646         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27647         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27648         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27649         floating-point state and set global state from it as needed.
27650         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27651         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27652         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27653         Likewise.
27654         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27655         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27656         Likewise.
27657         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27658         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27659         Use __sim_round_mode_thread.
27660         * math/test-fenv-tls.c: New file.
27661         * math/Makefile (tests): Add test-fenv-tls.
27662         ($(objpfx)test-fenv-tls): Depend on
27663         $(common-objpfx)nptl/libpthread.so.
27665 2013-11-19  Andreas Schwab  <schwab@suse.de>
27667         * locale/programs/locale.c (show_info): Decode wordarray elements.
27668         * locale/categories.def (LC_MONETARY): Add element for
27669         _NL_MONETARY_CRNCYSTR.
27670         * locale/C-monetary.c (conversion_rate): New variable.
27671         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27672         element.
27674 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27676         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27677         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27679 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27681         * elf/Makefile (tst-auxv): New test.
27682         * elf/tst-auxv.c: New
27683         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27685 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27687         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27688         (hidden_proto): Caller changed.
27689         (hidden_tls_proto): New macro.
27690         (libc_hidden_tls_proto): Likewise.
27691         (rtld_hidden_tls_proto): Likewise.
27692         (libm_hidden_tls_proto): Likewise.
27693         (libresolv_hidden_tls_proto): Likewise.
27694         (librt_hidden_tls_proto): Likewise.
27695         (libdl_hidden_tls_proto): Likewise.
27696         (libnss_files_hidden_tls_proto): Likewise.
27697         (libnsl_hidden_tls_proto): Likewise.
27698         (libnss_nisplus_hidden_tls_proto): Likewise.
27699         (libutil_hidden_tls_proto): Likewise.
27701 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27703         [BZ #10253]
27704         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27705         (decompose_rpath): Defer expansion to fillin_rpath.
27706         (_dl_init_paths): Pass linkmap to fillin_rpath.
27708 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27710         * benchtests/Makefile: Add strsep.
27711         * benchtests/bench-strsep.c: New file: strsep benchtest.
27712         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27714 2013-11-18  Andreas Schwab  <schwab@suse.de>
27716         * locale/programs/locale.c (show_info) [case byte]: Check for
27717         '\377' instead of '\177'.
27718         * locale/C-monetary.c (not_available): Always use "\377".
27719         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27720         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27721         detect unavailable sign_posn locale elements.
27722         * locale/localeconv.c (__localeconv): For grouping and
27723         mon_grouping handle "\177" and "\377" like no grouping.
27724         (INT_ELEM): New macro.  Use it to set all numeric members.
27725         * locale/programs/ld-monetary.c (monetary_read)
27726         <tok_mon_grouping>: Normalize single -1 to the empty string.
27727         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27728         Likewise.
27730 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27732         [BZ #16055]
27733         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27734         when we match (nil).
27735         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27737 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27739         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27740         (NO_TEST_INLINE): Update value.
27741         (ERRNO_UNCHANGED): Likewise.
27742         (ERRNO_EDOM): Likewise.
27743         (ERRNO_ERANGE): Likewise.
27744         (IGNORE_RESULT): Likewise.
27745         (check_float_internal): Check signs of NaN results if
27746         TEST_NAN_SIGN used.
27747         (check_complex): Pass TEST_NAN_SIGN flag through to second
27748         check_float_internal call.
27749         (copysign_test_data): Add tests with quiet NaNs as second
27750         argument.  Use TEST_NAN_SIGN.
27751         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27752         TEST_NAN_SIGN.
27753         (signbit_test_data): Add tests of quiet NaN argument.
27754         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27756         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27757         $ignore_result.
27758         (parse_args): Handle function results specified as IGNORE.
27759         * math/libm-test.inc (IGNORE_RESULT): New macro.
27760         (check_float_internal): Do not check numerical result if flag
27761         IGNORE_RESULT set.
27762         (check_complex): Pass through IGNORE_RESULT to second
27763         check_float_internal call.
27764         (check_int): Do not check numerical result if flag IGNORE_RESULT
27765         set.
27766         (check_long): Likewise.
27767         (check_bool): Likewise.
27768         (check_longlong): Likewise.
27769         (lrint_test_data): Add tests of infinite and NaN arguments.
27770         (lrint_tonearest_test_data): Likewise.
27771         (lrint_towardzero_test_data): Likewise.
27772         (lrint_downward_test_data): Likewise.
27773         (lrint_upward_test_data): Likewise.
27774         (llrint_test_data): Likewise.
27775         (llrint_tonearest_test_data): Likewise.
27776         (llrint_towardzero_test_data): Likewise.
27777         (llrint_downward_test_data): Likewise.
27778         (llrint_upward_test_data): Likewise.
27779         (lround_test_data): Likewise.
27780         (llround_test_data): Likewise.
27782         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27783         (ERRNO_UNCHANGED): Update value.
27784         (ERRNO_EDOM): Likewise.
27785         (ERRNO_ERANGE): Likewise.
27786         (NO_TEST_INLINE_FLOAT): New macro.
27787         (NO_TEST_INLINE_DOUBLE): Likewise.
27788         (enable_test): New function.
27789         (RUN_TEST_f_f): Check enable_test before running test.
27790         (RUN_TEST_2_f): Likewise.
27791         (RUN_TEST_fff_f): Likewise.
27792         (RUN_TEST_c_f): Likewise.
27793         (RUN_TEST_f_f1): Likewise.
27794         (RUN_TEST_fF_f1): Likewise.
27795         (RUN_TEST_fI_f1): Likewise.
27796         (RUN_TEST_ffI_f1): Likewise.
27797         (RUN_TEST_c_c): Likewise.
27798         (RUN_TEST_cc_c): Likewise.
27799         (RUN_TEST_f_i): Likewise.
27800         (RUN_TEST_f_i_tg): Likewise.
27801         (RUN_TEST_ff_i_tg): Likewise.
27802         (RUN_TEST_f_b): Likewise.
27803         (RUN_TEST_f_b_tg): Likewise.
27804         (RUN_TEST_f_l): Likewise.
27805         (RUN_TEST_f_L): Likewise.
27806         (RUN_TEST_fFF_11): Likewise.
27807         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27808         conditionals.
27809         (cosh_test_data): Likewise.
27810         (exp_test_data): Likewise.
27811         (expm1_test_data): Likewise.
27812         (hypot_test_data): Likewise.
27813         (pow_test_data): Likewise.
27814         (sinh_test_data): Likewise.
27815         (tanh_test_data): Likewise.
27816         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27817         flags argument.
27819         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27820         tests with quiet NaN input and output.
27821         (acosh_test_data): Likewise.
27822         (asin_test_data): Likewise.
27823         (asinh_test_data): Likewise.
27824         (atan_test_data): Likewise.
27825         (atanh_test_data): Likewise.
27826         (atan2_test_data): Likewise.
27827         (cbrt_test_data): Likewise.
27828         (cos_test_data): Likewise.
27829         (cosh_test_data): Likewise.
27830         (erf_test_data): Likewise.
27831         (erfc_test_data): Likewise.
27832         (exp_test_data): Likewise.
27833         (exp10_test_data): Likewise.
27834         (exp2_test_data): Likewise.
27835         (expm1_test_data): Likewise.
27836         (hypot_test_data): Likewise.
27837         (j0_test_data): Likewise.
27838         (j1_test_data): Likewise.
27839         (jn_test_data): Likewise.
27840         (lgamma_test_data): Likewise.
27841         (log_test_data): Likewise.
27842         (log10_test_data): Likewise.
27843         (log1p_test_data): Likewise.
27844         (log2_test_data): Likewise.
27845         (pow_test_data): Likewise.
27846         (scalb_test_data): Likewise.
27847         (sin_test_data): Likewise.
27848         (sincos_test_data): Likewise.
27849         (sinh_test_data): Likewise.
27850         (tan_test_data): Likewise.
27851         (tanh_test_data): Likewise.
27852         (tgamma_test_data): Likewise.
27853         (y0_test_data): Likewise.
27854         (y1_test_data): Likewise.
27855         (yn_test_data): Likewise.
27857         [BZ #16167]
27858         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27859         argument being NaN and avoid computations with second argument in
27860         that case.
27861         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27862         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27863         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27865 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27867         * locale/iso-639.def: Add Chitwani Tharu (the).
27869 2013-11-14  Andreas Schwab  <schwab@suse.de>
27871         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27872         word instead of empty string.
27874 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27877         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27879         (__fe_nomask_env): Likewise.
27881 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27883         * benchtests/bench-timing.h: Include time.h.
27885 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27887         [BZ #15997]
27888         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27889         to 3.4.0 for x32.
27890         * sysdeps/unix/sysv/linux/configure: Regenerated.
27892 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27894         [BZ #16151]
27895         * stdlib/strtod_l.c (round_and_return): Do not consider
27896         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27897         exponent one less than half the least subnormal exponent.
27898         * stdlib/test-strtod-round-data: Add more tests.
27899         * stdlib/tst-strtod-round.c (tests): Regenerated.
27901 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27903         [BZ #14143]
27904         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27905         (__fe_mask_env): Likewise.
27906         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27907         libm_hidden_proto and add function prototype.
27908         (__fe_mask_env): Add function prototype.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27910         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27912         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27914         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27916 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27918         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27919         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27921 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27923         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27924         of htab_find_slot().
27926 2013-11-11  David S. Miller  <davem@davemloft.net>
27928         [BZ #16150]
27929         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27930         symbol in the non-vis3 case in static builds.
27931         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27932         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27933         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27934         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27936 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27938         [BZ #387]
27939         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27940         it is empty.
27942 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27944         * benchtests/Makefile: Add bench-strtod.
27945         * benchtests/bench-strtod.c: New file: strtod benchtest
27947 2013-11-11  Andreas Schwab  <schwab@suse.de>
27949         [BZ #16153]
27950         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27951         terminating NUL in key length.
27953 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27955         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27956         Add artificial ODP entry for vDSO symbol for PPC64.
27957         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27958         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27960 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27962         [BZ #15374]
27963         * nss/getent.c (services_keys): Recognize services starting with digit.
27965 2013-11-06  David S. Miller  <davem@davemloft.net>
27967         [BZ #15985]
27968         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27969         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27971 2013-11-06  Will Newton  <will.newton@linaro.org>
27973         * manual/memory.texi (Malloc Examples): Remove register
27974         keyword from examples.
27976 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27978         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27980 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27982         [BZ #6981]
27983         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27984         depending on [__GCC_IEC_559 > 0].
27985         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27986         depending on [__GCC_IEC_559_COMPLEX > 0].
27988 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27990         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27991         to iso-639.def.
27993 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27995         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27997 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27999         [BZ #16112]
28000         * malloc/malloc (malloc_info): Do not handle first bin as
28001         special case.
28003 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28005         * locale/iso-639.def: Add Central Nahuatl (nhn).
28007 2013-11-01  Bruno Haible  <bruno@clisp.org>
28009         [BZ #7003]
28010         * manual/math.texi (BSD Random): Specify range upper bound as
28011         in POSIX.
28013 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28015         * locale/iso-639.def: Add Meadow Mari (mhr).
28017 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28019         [BZ #14752], [BZ #15763]
28020         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28021         Validate name.
28022         * rt/tst_shm.c: Add test for escaping directory.
28024 2013-10-31  Andreas Schwab  <schwab@suse.de>
28026         [BZ #15917]
28027         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28028         followed by 'x' as part of digit sequence.
28029         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28031 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28033         [BZ #16037]
28034         * configure.ac: allow GNU Make 4.0 and greater.
28035         * configure: Regenerated.
28037 2013-10-30  Will Newton  <will.newton@linaro.org>
28039         [BZ #16038]
28040         * malloc/hooks.c (memalign_check): Limit alignment to the
28041         maximum representable power of two.
28042         * malloc/malloc.c (__libc_memalign): Likewise.
28043         * malloc/tst-memalign.c (do_test): Add test for very
28044         large alignment values.
28045         * malloc/tst-posix_memalign.c (do_test): Likewise.
28047 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28049         [BZ #11087]
28050         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28051         (munmap_chunk): Likewise.
28052         (mremap_chunk): Likewise.
28054 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28056         [BZ #15799]
28057         * stdlib/div.c (div): Remove obsolete code.
28058         * stdlib/ldiv.c (ldiv): Likewise.
28059         * stdlib/lldiv.c (lldiv): Likewise.
28061 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28063         [BZ #16071]
28064         * nss/nss_files/files-XXX.c (get_contents_ret): New
28065         enumerator.
28066         (get_contents): New function.
28067         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28069 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28071         * configure.in: Moved to ...
28072         * configure.ac: ... here. Change reference to configure.in
28073         to configure.ac.
28074         * sysdeps/arm/preconfigure.ac: ... here.
28075         configure.in to configure.ac.
28076         * sysdeps/gnu/configure.in: Moved to ...
28077         * sysdeps/gnu/configure.ac: ... here.
28078         * sysdeps/i386/configure.in: Moved to ...
28079         * sysdeps/i386/configure.ac: ... here.
28080         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28081         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28082         * sysdeps/mach/configure.in: Moved to ...
28083         * sysdeps/mach/configure.ac: ... here.
28084         * sysdeps/mach/hurd/configure.in: Moved to ...
28085         * sysdeps/mach/hurd/configure.ac: ... here.
28086         * sysdeps/powerpc/configure.in: Moved to ...
28087         * sysdeps/powerpc/configure.ac: ... here.
28088         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28089         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28090         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28091         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28092         * sysdeps/s390/s390-32/configure.in: Moved to ...
28093         * sysdeps/s390/s390-32/configure.ac: ... here.
28094         * sysdeps/s390/s390-64/configure.in: Moved to ...
28095         * sysdeps/s390/s390-64/configure.ac: ... here.
28096         * sysdeps/sh/configure.in: Moved to ...
28097         * sysdeps/sh/configure.ac: ... here.
28098         * sysdeps/sparc/configure.in: Moved to ...
28099         * sysdeps/sparc/configure.ac: ... here.
28100         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28101         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28102         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28103         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28104         * sysdeps/x86_64/configure.in: Moved to ...
28105         * sysdeps/x86_64/configure.ac: ... here.
28106         * sysdeps/x86_64/preconfigure.in: Moved to ...
28107         * sysdeps/x86_64/preconfigure.ac: ... here.
28108         * aclocal.m4: Change reference to configure.in to configure.ac.
28109         * config.h.in: Likewise.
28110         * manual/install.texi: Likewise.
28111         * manual/maint.texi: Likewise.
28112         * Makefile: Likewise.
28113         * malloc/Makefile: Likewise.
28114         * nscd/Makefile: Likewise.
28115         * Makeconfig: Change reference to configure.in and
28116         preconfigure.in to configure.ac and preconfigure.ac
28117         respectively.
28118         * INSTALL: Regenerated.
28119         * configure: Likewise.
28120         * sysdeps/gnu/configure: Likewise.
28121         * sysdeps/i386/configure: Likewise.
28122         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28123         * sysdeps/mach/configure: Likewise.
28124         * sysdeps/mach/hurd/configure: Likewise.
28125         * sysdeps/powerpc/configure: Likewise.
28126         * sysdeps/powerpc/powerpc32/configure: Likewise.
28127         * sysdeps/powerpc/powerpc64/configure: Likewise.
28128         * sysdeps/s390/s390-32/configure: Likewise.
28129         * sysdeps/s390/s390-64/configure: Likewise.
28130         * sysdeps/sh/configure: Likewise.
28131         * sysdeps/sparc/configure: Likewise.
28132         * sysdeps/unix/sysv/linux/configure: Likewise.
28133         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28134         * sysdeps/x86_64/configure: Likewise.
28135         * sysdeps/x86_64/preconfigure: Likewise.
28137 2013-10-29  Andreas Schwab  <schwab@suse.de>
28139         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28141 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28143         * benchtests/pow-inputs: Add new inputs.
28145         * benchtests/exp-inputs: Add new inputs.
28147         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28148         conditional check for return value.
28149         (__cos32): Likewise.
28151 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28153         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28154         to provide a boost for large inputs with word alignment.
28155         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28156         implementation based on optimized PPC64 strcpy.
28157         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28158         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28159         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28160         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28162 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28164         [BZ #2801]
28165         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28167 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28169         [BZ #14876]
28170         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28171         * time/tst-strptime.c (day_tests): Add testcase.
28173 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28175         [BZ #14029]
28176         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28178 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28180         [BZ #16074]
28181         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28182         MAP_FAILED on error.
28184 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28186         [BZ #16072]
28187         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28188         heap for large requests.
28190 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28192         [BZ #9954]
28193         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28194         result if the result has no associated interface.
28195         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28196         interface for all 127.X.Y.Z addresses.
28198 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28200         * locale/iso-639.def: Add Ligurian (lij)
28202 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28204         [BZ #15825]
28205         * sunrpc/rpc_main.c: Document rpcgen -5.
28207 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28209         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28211 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28213         [BZ #10278]
28214         * posix/glob.c: Match only directories when trailing slash is present.
28215         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28216         (main): Add testcase.
28218 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28220         [BZ #15670]
28221         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28223 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28225         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28226         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28227         AUTH_DES and cindex for FIPS 140-2.
28228         (DES Encryption): Add cindex FIPS 46-3.
28230         * locale/locarchive.h (struct locarhandle): Add fname.
28231         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28232         if an optional argument was specified to --list-archive,
28233         otherwise NULL.
28234         * locale/programs/locarchive.c (show_archive_content): Take new
28235         argument fname and pass it via ah.fname to open_archive.
28236         * locale/programs/localedef.h: Update decl.
28237         (open_archive): If AH->fname is non-null, open that file
28238         rather than the default file name, and don't ignore ENOENT.
28239         (create_archive): Set AH.fname to NULL.
28240         (delete_locales_from_archive): Likewise.
28241         (add_locales_to_archive): Likewise.
28242         * locale/programs/locfile.c (write_all_categories): Likewise.
28244 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28245             Aldy Hernandez  <aldyh@redhat.com>
28247         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28248         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28249         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28250         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28251         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28252         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28253         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28254         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28255         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28256         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28257         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28258         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28259         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28260         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28261         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28262         Likewise.
28263         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28264         Likewise.
28265         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28266         Likewise.
28267         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28268         Likewise.
28269         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28270         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28271         Likewise.
28272         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28273         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28274         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28275         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28276         Likewise.
28277         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28278         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28279         * sysdeps/powerpc/preconfigure: Likewise.
28280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28281         Likewise.
28282         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28283         Replace contents of file by #include of <fenv_libc.h>.
28284         * sysdeps/powerpc/soft-fp/sfp-machine.h
28285         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28286         and <sys/prctl.h>.
28287         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28300         Allow copysignl PLT reference to be missing.
28302 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28303             Joseph Myers  <joseph@codesourcery.com
28305         [BZ #15948]
28306         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28307         single character.
28308         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28310 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28312         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28313         * elf/tst-tls1.c: Likewise.
28314         * elf/tst-tls10.h: Likewise.
28315         * elf/tst-tls14.c: Likewise.
28316         * elf/tst-tls2.c: Likewise.
28317         * elf/tst-tls3.c: Likewise.
28318         * elf/tst-tls4.c: Likewise.
28319         * elf/tst-tls5.c: Likewise.
28320         * elf/tst-tls6.c: Likewise.
28321         * elf/tst-tls7.c: Likewise.
28322         * elf/tst-tls8.c: Likewise.
28323         * elf/tst-tls9.c: Likewise.
28324         * elf/tst-tlsmod1.c: Likewise.
28325         * elf/tst-tlsmod13.c: Likewise.
28326         * elf/tst-tlsmod13a.c: Likewise.
28327         * elf/tst-tlsmod14a.c: Likewise.
28328         * elf/tst-tlsmod16a.c: Likewise.
28329         * elf/tst-tlsmod16b.c: Likewise.
28330         * elf/tst-tlsmod2.c: Likewise.
28331         * elf/tst-tlsmod3.c: Likewise.
28332         * elf/tst-tlsmod4.c: Likewise.
28333         * elf/tst-tlsmod5.c: Likewise.
28334         * elf/tst-tlsmod6.c: Likewise.
28336 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28338         [BZ #12486]
28339         * malloc/malloc.c: remove checks for statistics.
28341 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28343         [BZ #15277]
28344         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28345         * inet/tst-network.c: Add testcase.
28347 2013-10-17  Andreas Schwab  <schwab@suse.de>
28349         [BZ #15218]
28350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28351         to determine canonical name.
28353 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28355         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28356         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28357         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28358         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28360         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28361         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28362         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28363         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28364         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28365         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28366         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28367         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28368         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28369         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28370         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28372         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28373         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28374         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28375         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28377         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28378         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28379         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28380         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28381         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28382         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28383         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28384         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28385         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28414 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28416         [BZ #16041]
28417         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28418         make result into a quiet NaN.
28420 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28422         * soft-fp/adddf3.c: Fix horizontal whitespace.
28423         * soft-fp/addsf3.c: Likewise.
28424         * soft-fp/addtf3.c: Likewise.
28425         * soft-fp/divdf3.c: Likewise.
28426         * soft-fp/divsf3.c: Likewise.
28427         * soft-fp/divtf3.c: Likewise.
28428         * soft-fp/double.h: Likewise.
28429         * soft-fp/eqdf2.c: Likewise.
28430         * soft-fp/eqsf2.c: Likewise.
28431         * soft-fp/eqtf2.c: Likewise.
28432         * soft-fp/extenddftf2.c: Likewise.
28433         * soft-fp/extended.h: Likewise.
28434         * soft-fp/extendsfdf2.c: Likewise.
28435         * soft-fp/extendsftf2.c: Likewise.
28436         * soft-fp/extendxftf2.c: Likewise.
28437         * soft-fp/fixdfdi.c: Likewise.
28438         * soft-fp/fixdfsi.c: Likewise.
28439         * soft-fp/fixdfti.c: Likewise.
28440         * soft-fp/fixsfdi.c: Likewise.
28441         * soft-fp/fixsfsi.c: Likewise.
28442         * soft-fp/fixsfti.c: Likewise.
28443         * soft-fp/fixtfdi.c: Likewise.
28444         * soft-fp/fixtfsi.c: Likewise.
28445         * soft-fp/fixtfti.c: Likewise.
28446         * soft-fp/fixunsdfdi.c: Likewise.
28447         * soft-fp/fixunsdfsi.c: Likewise.
28448         * soft-fp/fixunsdfti.c: Likewise.
28449         * soft-fp/fixunssfdi.c: Likewise.
28450         * soft-fp/fixunssfsi.c: Likewise.
28451         * soft-fp/fixunssfti.c: Likewise.
28452         * soft-fp/fixunstfdi.c: Likewise.
28453         * soft-fp/fixunstfsi.c: Likewise.
28454         * soft-fp/fixunstfti.c: Likewise.
28455         * soft-fp/floatdidf.c: Likewise.
28456         * soft-fp/floatdisf.c: Likewise.
28457         * soft-fp/floatditf.c: Likewise.
28458         * soft-fp/floatsidf.c: Likewise.
28459         * soft-fp/floatsisf.c: Likewise.
28460         * soft-fp/floatsitf.c: Likewise.
28461         * soft-fp/floattidf.c: Likewise.
28462         * soft-fp/floattisf.c: Likewise.
28463         * soft-fp/floattitf.c: Likewise.
28464         * soft-fp/floatundidf.c: Likewise.
28465         * soft-fp/floatundisf.c: Likewise.
28466         * soft-fp/floatunditf.c: Likewise.
28467         * soft-fp/floatunsidf.c: Likewise.
28468         * soft-fp/floatunsisf.c: Likewise.
28469         * soft-fp/floatunsitf.c: Likewise.
28470         * soft-fp/floatuntidf.c: Likewise.
28471         * soft-fp/floatuntisf.c: Likewise.
28472         * soft-fp/floatuntitf.c: Likewise.
28473         * soft-fp/fmadf4.c: Likewise.
28474         * soft-fp/fmasf4.c: Likewise.
28475         * soft-fp/fmatf4.c: Likewise.
28476         * soft-fp/gedf2.c: Likewise.
28477         * soft-fp/gesf2.c: Likewise.
28478         * soft-fp/getf2.c: Likewise.
28479         * soft-fp/ledf2.c: Likewise.
28480         * soft-fp/lesf2.c: Likewise.
28481         * soft-fp/letf2.c: Likewise.
28482         * soft-fp/muldf3.c: Likewise.
28483         * soft-fp/mulsf3.c: Likewise.
28484         * soft-fp/multf3.c: Likewise.
28485         * soft-fp/negdf2.c: Likewise.
28486         * soft-fp/negsf2.c: Likewise.
28487         * soft-fp/negtf2.c: Likewise.
28488         * soft-fp/op-1.h: Likewise.
28489         * soft-fp/op-2.h: Likewise.
28490         * soft-fp/op-4.h: Likewise.
28491         * soft-fp/op-8.h: Likewise.
28492         * soft-fp/op-common.h: Likewise.
28493         * soft-fp/quad.h: Likewise.
28494         * soft-fp/single.h: Likewise.
28495         * soft-fp/soft-fp.h: Likewise.
28496         * soft-fp/sqrtdf2.c: Likewise.
28497         * soft-fp/sqrtsf2.c: Likewise.
28498         * soft-fp/sqrttf2.c: Likewise.
28499         * soft-fp/subdf3.c: Likewise.
28500         * soft-fp/subsf3.c: Likewise.
28501         * soft-fp/subtf3.c: Likewise.
28502         * soft-fp/truncdfsf2.c: Likewise.
28503         * soft-fp/trunctfdf2.c: Likewise.
28504         * soft-fp/trunctfsf2.c: Likewise.
28505         * soft-fp/trunctfxf2.c: Likewise.
28506         * soft-fp/unorddf2.c: Likewise.
28507         * soft-fp/unordsf2.c: Likewise.
28508         * soft-fp/unordtf2.c: Likewise.
28510 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28512         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28513         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28515 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28517         * elf/dl-libc.c: Clear initfini list after freeing.
28519 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28521         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28522         * soft-fp/addsf3.c: Likewise.
28523         * soft-fp/addtf3.c: Likewise.
28524         * soft-fp/divdf3.c: Likewise.
28525         * soft-fp/divsf3.c: Likewise.
28526         * soft-fp/divtf3.c: Likewise.
28527         * soft-fp/double.h: Likewise.
28528         * soft-fp/eqdf2.c: Likewise.
28529         * soft-fp/eqsf2.c: Likewise.
28530         * soft-fp/eqtf2.c: Likewise.
28531         * soft-fp/extenddftf2.c: Likewise.
28532         * soft-fp/extended.h: Likewise.
28533         * soft-fp/extendsfdf2.c: Likewise.
28534         * soft-fp/extendsftf2.c: Likewise.
28535         * soft-fp/extendxftf2.c: Likewise.
28536         * soft-fp/fixdfdi.c: Likewise.
28537         * soft-fp/fixdfsi.c: Likewise.
28538         * soft-fp/fixdfti.c: Likewise.
28539         * soft-fp/fixsfdi.c: Likewise.
28540         * soft-fp/fixsfsi.c: Likewise.
28541         * soft-fp/fixsfti.c: Likewise.
28542         * soft-fp/fixtfdi.c: Likewise.
28543         * soft-fp/fixtfsi.c: Likewise.
28544         * soft-fp/fixtfti.c: Likewise.
28545         * soft-fp/fixunsdfdi.c: Likewise.
28546         * soft-fp/fixunsdfsi.c: Likewise.
28547         * soft-fp/fixunsdfti.c: Likewise.
28548         * soft-fp/fixunssfdi.c: Likewise.
28549         * soft-fp/fixunssfsi.c: Likewise.
28550         * soft-fp/fixunssfti.c: Likewise.
28551         * soft-fp/fixunstfdi.c: Likewise.
28552         * soft-fp/fixunstfsi.c: Likewise.
28553         * soft-fp/fixunstfti.c: Likewise.
28554         * soft-fp/floatdidf.c: Likewise.
28555         * soft-fp/floatdisf.c: Likewise.
28556         * soft-fp/floatditf.c: Likewise.
28557         * soft-fp/floatsidf.c: Likewise.
28558         * soft-fp/floatsisf.c: Likewise.
28559         * soft-fp/floatsitf.c: Likewise.
28560         * soft-fp/floattidf.c: Likewise.
28561         * soft-fp/floattisf.c: Likewise.
28562         * soft-fp/floattitf.c: Likewise.
28563         * soft-fp/floatundidf.c: Likewise.
28564         * soft-fp/floatundisf.c: Likewise.
28565         * soft-fp/floatunsidf.c: Likewise.
28566         * soft-fp/floatunsisf.c: Likewise.
28567         * soft-fp/floatuntidf.c: Likewise.
28568         * soft-fp/floatuntisf.c: Likewise.
28569         * soft-fp/floatuntitf.c: Likewise.
28570         * soft-fp/fmadf4.c: Likewise.
28571         * soft-fp/fmasf4.c: Likewise.
28572         * soft-fp/fmatf4.c: Likewise.
28573         * soft-fp/gedf2.c: Likewise.
28574         * soft-fp/gesf2.c: Likewise.
28575         * soft-fp/getf2.c: Likewise.
28576         * soft-fp/ledf2.c: Likewise.
28577         * soft-fp/lesf2.c: Likewise.
28578         * soft-fp/letf2.c: Likewise.
28579         * soft-fp/muldf3.c: Likewise.
28580         * soft-fp/mulsf3.c: Likewise.
28581         * soft-fp/multf3.c: Likewise.
28582         * soft-fp/negdf2.c: Likewise.
28583         * soft-fp/negsf2.c: Likewise.
28584         * soft-fp/negtf2.c: Likewise.
28585         * soft-fp/op-1.h: Likewise.
28586         * soft-fp/op-2.h: Likewise.
28587         * soft-fp/op-4.h: Likewise.
28588         * soft-fp/op-8.h: Likewise.
28589         * soft-fp/op-common.h: Likewise.
28590         * soft-fp/quad.h: Likewise.
28591         * soft-fp/single.h: Likewise.
28592         * soft-fp/soft-fp.h: Likewise.
28593         * soft-fp/sqrtdf2.c: Likewise.
28594         * soft-fp/sqrtsf2.c: Likewise.
28595         * soft-fp/sqrttf2.c: Likewise.
28596         * soft-fp/subdf3.c: Likewise.
28597         * soft-fp/subsf3.c: Likewise.
28598         * soft-fp/subtf3.c: Likewise.
28599         * soft-fp/truncdfsf2.c: Likewise.
28600         * soft-fp/trunctfdf2.c: Likewise.
28601         * soft-fp/trunctfsf2.c: Likewise.
28602         * soft-fp/trunctfxf2.c: Likewise.
28603         * soft-fp/unorddf2.c: Likewise.
28604         * soft-fp/unordsf2.c: Likewise.
28605         * soft-fp/unordtf2.c: Likewise.
28607 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28609         [BZ #15672]
28610         * misc/error.c (error_tail): Fix possible buffer overflow.
28612 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28614         [BZ #13028]
28615         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28616         address.
28618 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28620         [BZ #832]
28621         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28622         testing pipefail option.
28624 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28626         * soft-fp/double.h: Indent preprocessor directives inside #if.
28627         * soft-fp/extended.h: Likewise.
28628         * soft-fp/op-2.h: Likewise.
28629         * soft-fp/op-4.h: Likewise.
28630         * soft-fp/op-common.h: Likewise.
28631         * soft-fp/quad.h: Likewise.
28632         * soft-fp/single.h: Likewise.
28633         * soft-fp/soft-fp.h: Likewise.
28635 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28637         * iconv/iconv_prog.c: Fix typos.
28638         * stdio-common/psiginfo-data.h: Likewise.
28640 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28642         [BZ #15764]
28643         * locale/setlocale.c: Fix typo.
28645 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28647         [BZ #16036]
28648         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28649         signaling NaN arguments.
28650         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28651         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28653         [BZ #14910]
28654         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28655         unordered operands.
28656         * soft-fp/gesf2.c (__gesf2): Likewise.
28657         * soft-fp/getf2.c (__getf2): Likewise.
28658         * soft-fp/ledf2.c (__ledf2): Likewise.
28659         * soft-fp/lesf2.c (__lesf2): Likewise.
28660         * soft-fp/letf2.c (__letf2): Likewise.
28662         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28663         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28664         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28665         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28666         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28667         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28668         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28669         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28670         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28671         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28672         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28673         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28674         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28675         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28676         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28677         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28678         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28679         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28680         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28681         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28682         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28683         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28684         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28685         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28686         * soft-fp/floattidf.c (__floattidf): Likewise.
28687         * soft-fp/floattisf.c (__floattisf): Likewise.
28688         * soft-fp/floattitf.c (__floattitf): Likewise.
28689         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28690         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28691         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28692         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28693         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28694         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28695         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28696         * soft-fp/gesf2.c (__gesf2): Likewise.
28697         * soft-fp/getf2.c (__getf2): Likewise.
28698         * soft-fp/ledf2.c (__ledf2): Likewise.
28699         * soft-fp/lesf2.c (__lesf2): Likewise.
28700         * soft-fp/letf2.c (__letf2): Likewise.
28702         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28703         Undefine and redefine.
28704         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28705         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28706         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28707         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28708         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28709         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28710         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28711         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28712         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28713         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28714         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28715         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28716         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28717         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28718         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28720         [BZ #16032]
28721         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28722         without decrementing exponent if mantissa >= that for the
28723         denominator, not >.
28724         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28725         denominator, not >.  Decrement exponent in < case instead of
28726         incrementing in >= case.
28727         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28728         without decrementing exponent if mantissa >= that for the
28729         denominator, not >.
28731         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28732         computing saturated result for unsigned overflow.
28734 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28735             Jeff Law  <law@redhat.com>
28737         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28738         (atan2Mp): Add systemtap probe marker.
28739         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28740         (__ieee754_log): Add systemtap probe marker.
28741         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28742         (atanMp): Add systemtap probe marker.
28743         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28744         (tanMp): Add systemtap probe marker.
28745         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28746         (__slowexp): Add systemtap probe marker.
28747         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28748         (__slowpow): Add systemtap probe marker.
28749         * manual/probes.texi: Document probes.
28751 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28753         [BZ #15362]
28754         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28755         written.
28756         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28757         written.
28758         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28759         written to buffer but not flushed.
28760         * libio/iofwrite_u.c:  Likewise.
28761         * libio/iopadn.c:  Return bytes returned even if EOF was
28762         encountered.
28763         * libio/iowpadn.c:  Likewise.
28764         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28765         if _IO_padn does not write the whole buffer.
28766         [!COMPILE_WPRINTF] (PAD): Likewise.
28768 2013-10-10  David S. Miller  <davem@davemloft.net>
28770         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28771         directory block.
28773 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28775         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28776         instead of FSF address.
28777         * soft-fp/fixdfti.c: Likewise.
28778         * soft-fp/fixsfti.c: Likewise.
28779         * soft-fp/fixtfti.c: Likewise.
28780         * soft-fp/fixunsdfti.c: Likewise.
28781         * soft-fp/fixunssfti.c: Likewise.
28782         * soft-fp/fixunstfti.c: Likewise.
28783         * soft-fp/floattidf.c: Likewise.
28784         * soft-fp/floattisf.c: Likewise.
28785         * soft-fp/floattitf.c: Likewise.
28786         * soft-fp/floatuntidf.c: Likewise.
28787         * soft-fp/floatuntisf.c: Likewise.
28788         * soft-fp/floatuntitf.c: Likewise.
28789         * soft-fp/trunctfxf2.c: Likewise.
28791         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28792         * soft-fp/fixdfti.c: Likewise.
28793         * soft-fp/fixsfti.c: Likewise.
28794         * soft-fp/fixtfti.c: Likewise.
28795         * soft-fp/fixunsdfti.c: Likewise.
28796         * soft-fp/fixunssfti.c: Likewise.
28797         * soft-fp/fixunstfti.c: Likewise.
28798         * soft-fp/floattidf.c: Likewise.
28799         * soft-fp/floattisf.c: Likewise.
28800         * soft-fp/floattitf.c: Likewise.
28801         * soft-fp/floatuntidf.c: Likewise.
28802         * soft-fp/floatuntisf.c: Likewise.
28803         * soft-fp/floatuntitf.c: Likewise.
28804         * soft-fp/trunctfxf2.c: Likewise.
28806 2013-10-10  David S. Miller  <davem@davemloft.net>
28808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28810 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28812         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28813         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28814         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28815         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28816         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28817         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28818         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28821         for NaNs before doing comparisons on argument.
28822         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28823         Likewise.
28825 2013-10-10  Will Newton  <will.newton@linaro.org>
28827         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28828         passed to _int_memalign does not overflow.
28830 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28832         * scripts/bench.pl: Add include-sources directive.
28833         * benchtests/README: Update documentation.
28835 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28837         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28838         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28839         instead of FP_INIT_ROUNDMODE.
28840         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28841         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28843         [BZ #16034]
28844         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28845         copy class of input value.
28846         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28847         not handle exceptions.
28848         * soft-fp/negsf2.c (__negsf2): Likewise.
28849         * soft-fp/negtf2.c (__negtf2): Likewise.
28850         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28852 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28854         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28855         semicolon.  From Linux kernel.
28857 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28859         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28861 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28863         [BZ #156]
28864         * manual/socket.texi: Added statement about buffer
28865         for gethostbyname2_r.
28867 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28869         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28870         Use .p2align directive instead, throughout.
28871         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28872         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28873         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28874         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28875         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28876         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28877         * sysdeps/x86_64/strchr.S: Likewise.
28878         * sysdeps/x86_64/strrchr.S: Likewise.
28880 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28882         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28884         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28886         * sysdeps/generic/math_private.h (__mpsin1): Remove
28887         declaration.
28888         (__mpcos1): Likewise.
28889         (__mpsin): New argument __range_reduce.
28890         (__mpcos): Likewise.
28891         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28892         (slow): Use __mpsin and __mpcos.
28893         (slow1): Likewise.
28894         (slow2): Likewise.
28895         (sloww): Likewise.
28896         (sloww1): Likewise.
28897         (sloww2): Likewise.
28898         (bsloww): Likewise.
28899         (bsloww1): Likewise.
28900         (bsloww2): Likewise.
28901         (cslow2): Likewise.
28902         (csloww): Likewise.
28903         (csloww1): Likewise.
28904         (csloww2): Likewise.
28905         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28906         range_reduce.  Merge in __mpsin1.
28907         (__mpcos): Likewise.
28908         (__mpsin1): Remove.
28909         (__mpcos1): Likewise.
28911 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28913         * locale/loadlocale.c (_nl_intern_locale_data): Use
28914         LOCFILE_ALIGNED_P.
28915         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28916         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28917         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28918         obstack data is appropriately aligned.
28919         (obstack_int32_grow_fast): Likewise.
28920         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28921         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28922         (add_locale_uint32_array): Likewise.
28924 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28926         * benchtests/Makefile: Remove ARGLIST and RET variables.
28927         ($(objpfx)bench-%.c): Pass only function name to the script.
28928         * benchtests/README: Update documentation.
28929         * benchtests/acos-inputs: Add new directives.
28930         * benchtests/acosh-inputs: Likewise.
28931         * benchtests/asin-inputs: Likewise.
28932         * benchtests/asinh-inputs: Likewise.
28933         * benchtests/atan-inputs: Likewise.
28934         * benchtests/atanh-inputs: Likewise.
28935         * benchtests/cos-inputs: Likewise.
28936         * benchtests/cosh-inputs: Likewise.
28937         * benchtests/exp-inputs: Likewise.
28938         * benchtests/log-inputs: Likewise.
28939         * benchtests/pow-inputs: Likewise.
28940         * benchtests/rint-inputs: Likewise.
28941         * benchtests/sin-inputs: Likewise.
28942         * benchtests/sinh-inputs: Likewise.
28943         * benchtests/tan-inputs: Likewise.
28944         * benchtests/tanh-inputs: Likewise.
28945         * scripts/bench.pl: Add support for new directives.
28947 2013-10-07  Alan Modra  <amodra@gmail.com>
28949         * README: Fix careless merge.
28951 2013-10-05  Alan Modra  <amodra@gmail.com>
28953         * NEWS: Mention powerpc64le support and bugs fixed.
28954         * README: Both big-endian and little-endian powerpc64 supported.
28956 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28958         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28959         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28960         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28961         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28963 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28965         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28966         match prototype.
28968 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28970         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28971         Move -mhard-float appending from
28972         ports/sysdeps/powerpc/powerpc32/Makefile.
28973         [$(with-fp) = yes] (ASFLAGS): Likewise.
28974         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28975         * sysdeps/powerpc/nofpu: Move directory from
28976         ports/sysdeps/powerpc/nofpu.
28977         * sysdeps/powerpc/soft-fp: Move directory from
28978         ports/sysdeps/powerpc/soft-fp.
28979         * sysdeps/powerpc/powerpc32/405: Move directory from
28980         ports/sysdeps/powerpc/powerpc32/405.
28981         * sysdeps/powerpc/powerpc32/440: Move directory from
28982         ports/sysdeps/powerpc/powerpc32/440.
28983         * sysdeps/powerpc/powerpc32/464: Move directory from
28984         ports/sysdeps/powerpc/powerpc32/464.
28985         * sysdeps/powerpc/powerpc32/476: Move directory from
28986         ports/sysdeps/powerpc/powerpc32/476.
28987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28994         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28996         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28997         * README: Update for powerpc-*-linux-gnu software floating point
28998         support in libc.
29000         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29001         case to powerpc/powerpc32*.
29002         * sysdeps/unix/sysv/linux/configure: Regenerated.
29004         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29005         (_FPU_MASK_OM): Define as 0x04.
29006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29008         0x00c10080.
29009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29010         0x0000003c.
29011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29014         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29015         getcontext_e500.
29016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29017         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29018         setcontext_e500.
29019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29020         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29021         and setcontext_e500.
29023 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29025         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29027 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29029         * manual/threads.texi (Default Thread Attributes): Fix typo.
29031 2013-10-04  Will Newton  <will.newton@linaro.org>
29033         * malloc/Makefile: Add tst-memalign.
29034         * malloc/tst-memalign.c: New file.
29036         * malloc/tst-posix_memalign.c: Add comments.
29037         (do_test): Add comments and call free on all potentially
29038         allocated pointers. Add space after cast.
29040         * malloc/tst-pvalloc.c: Add comments.
29041         (do_test): Add comments and call free on all potentially
29042         allocated pointers. Remove duplicate check for NULL pointer.
29043         Add space after cast.
29045         * malloc/tst-valloc.c: Add comments.
29046         (do_test): Add comments and call free on all potentially
29047         allocated pointers. Remove duplicate check for NULL pointer.
29048         Add space after cast.
29050 2013-10-04  Alan Modra  <amodra@gmail.com>
29052         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29053         Use stdint types in rather than __attribute__((mode())).
29054         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29056 2013-10-04  Alan Modra  <amodra@gmail.com>
29058         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29059         Correct handling of unaligned relocs for little-endian.
29060         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29062 2013-10-04  Alan Modra  <amodra@gmail.com>
29064         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29065         * configure: Regenerate.
29066         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29067         * shlib-versions: Likewise.
29069 2013-10-04  Alan Modra  <amodra@gmail.com>
29071         * string/tester.c (test_memrchr): Increment reported test cycle.
29073 2013-10-04  Alan Modra  <amodra@gmail.com>
29075         * string/test-memcpy.c (do_one_test): When reporting errors, print
29076         string address and don't overrun end of string.
29078 2013-10-04  Alan Modra  <amodra@gmail.com>
29080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29081         insrdi.  Make better use of reg selection to speed exit slightly.
29082         Schedule entry path a little better.  Remove useless "are we done"
29083         checks on entry to main loop.  Handle wrapping around zero address.
29084         Correct main loop count.  Handle single left-over word from main
29085         loop inline rather than by using loop_small.  Remove extra word
29086         case in loop_small caused by wrong loop count.  Add little-endian
29087         support.
29088         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29089         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29090         cache hint.
29091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29092         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29093         support.  Avoid rlwimi.
29094         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29096 2013-10-04  Alan Modra  <amodra@gmail.com>
29098         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29099         insrdi.  Formatting.
29100         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29101         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29102         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29103         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29104         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29105         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29107 2013-10-04  Alan Modra  <amodra@gmail.com>
29109         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29110         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29112         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29113         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29114         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29115         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29116         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29117         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29118         use of regs.  Use power7 mtocrf.  Tidy function tails.
29120 2013-10-04  Alan Modra  <amodra@gmail.com>
29122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29123         Formatting.  Consistently use rXXX register defines or rN defines.
29124         Use early exit labels that avoid restoring unused non-volatile regs.
29125         Make cr field use more consistent with rWORDn compares.  Rename
29126         regs used as shift registers for unaligned loop, using rN defines
29127         for short lifetime/multiple use regs.
29128         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29130         addi 1,1,64 to pop stack frame.  Simplify return value code.
29131         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29133 2013-10-04  Alan Modra  <amodra@gmail.com>
29135         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29136         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29137         rather than rlwimi.
29138         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29139         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29140         little-endian support.  Correct typos.
29141         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29142         rather than rlwimi.
29143         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29144         in loop and entry code to keep "and." results.
29145         (strchr): Add little-endian support.  Comment.  Move cntlzd
29146         earlier in tail.
29147         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29149 2013-10-04  Alan Modra  <amodra@gmail.com>
29151         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29152         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29153         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29154         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29156 2013-10-04  Alan Modra  <amodra@gmail.com>
29158         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29159         (rTMP): Define as r11.
29160         (strcmp): Add little-endian support.  Optimise tail.
29161         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29162         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29163         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29164         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29165         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29166         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29167         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29169 2013-10-04  Alan Modra  <amodra@gmail.com>
29171         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29172         little-endian support.  Remove unnecessary "are we done" tests.
29173         Handle "s" wrapping around zero and extremely large "size".
29174         Correct main loop count.  Handle single left-over word from main
29175         loop inline rather than by using small_loop.  Correct comments.
29176         Delete "zero" tail, use "end_max" instead.
29177         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29179 2013-10-04  Alan Modra  <amodra@gmail.com>
29181         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29182         support.  Don't branch over align.
29183         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29184         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29185         support.  Rearrange tmp reg use to suit.  Comment.
29186         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29188 2013-10-04  Alan Modra  <amodra@gmail.com>
29190         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29192 2013-10-04  Alan Modra  <amodra@gmail.com>
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29195         conditional form of branch and link when obtaining pc.
29196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29198 2013-10-04  Alan Modra  <amodra@gmail.com>
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29201         HIWORD/LOWORD.
29202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29205 2013-10-04  Alan Modra  <amodra@gmail.com>
29207         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29208         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29209         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29210         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29211         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29212         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29213         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29214         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29215         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29216         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29218 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29219             Alistair Popple <alistair@ozlabs.au.ibm.com>
29220             Alan Modra <amodra@gmail.com>
29222         [BZ #15723]
29223         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29224         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29225         _dl_hwcap access for little-endian.
29226         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29227         destroy vmx regs when saving unaligned.
29228         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29229         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29230         destroy vmx regs when saving unaligned.
29232 2013-10-04  Alan Modra  <amodra@gmail.com>
29234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29235         Don't use a union to pack hi/low value.
29237 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29239         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29240         for little-endian.
29241         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29243         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29244         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29245         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29247 2013-10-04  Alan Modra  <amodra@gmail.com>
29249         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29250         constants to usual value for .cst8 section, and remove redundant
29251         high address load.
29252         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29253         constant for 0x1p52.  Load little-endian words of double from
29254         correct stack offsets.
29256 2013-10-04  Alan Modra  <amodra@gmail.com>
29258         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29259         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29260         words of double from correct stack offsets.
29261         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29262         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29263         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29264         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29265         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29266         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29267         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29268         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29269         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29270         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29271         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29273         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29274         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29275         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29276         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29277         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29279 2013-10-04  Alan Modra  <amodra@gmail.com>
29281         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29282         64-bit int/double union.
29283         (_FPU_SETCW): Likewise.
29284         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29285         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29287 2013-10-04  Alan Modra  <amodra@gmail.com>
29289         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29290         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29292 2013-10-04  Alan Modra  <amodra@gmail.com>
29294         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29295         use vector int constants.
29296         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29298 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29300         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29301         array with long long.
29302         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29303         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29304         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29305         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29306         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29307         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29308         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29309         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29310         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29311         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29312         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29313         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29314         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29316 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29318         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29319         (__signbit): Likewise.  Correct for little-endian.
29320         (__signbitl): Call __signbit.
29321         (lrint): Correct for little-endian.
29322         (lrintf): Call lrint.
29324 2013-10-04  Alan Modra  <amodra@gmail.com>
29326         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29327         union 32-bit int array member with 64-bit int array.
29328         (t515, tm256): Double rather than long double.
29329         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29331 2013-10-04  Alan Modra  <amodra@gmail.com>
29333         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29334         Delete.
29335         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29337         version of math_ldbl.h.
29339 2013-10-04  Alan Modra  <amodra@gmail.com>
29341         [BZ #15734], [BZ #15735]
29342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29343         all uses of ieee875 long double macros and unions.  Simplify test
29344         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29345         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29346         normalize after ldbl_extract_mantissa, and don't add hidden bit
29347         already handled.  Don't treat low word of ieee854 mantissa like
29348         low word of IBM long double and mask off bit when testing for
29349         zero.
29350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29351         all uses of ieee875 long double macros and unions.  Simplify tests
29352         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29353         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29354         two1022, instead use their values.  Recognise that tests for large
29355         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29356         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29357         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29358         test for 0.0L and nan.  Correct negation.
29359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29360         ieee875 long double macros and unions.  Correct output for large
29361         magnitude x.  Correct absolute value calculation.
29362         (__erfcl): Likewise.
29363         * math/libm-test.inc: Add tests for errors discovered in IBM long
29364         double versions of fmodl, remainderl, erfl and erfcl.
29366 2013-10-04  Alan Modra  <amodra@gmail.com>
29368         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29369         all uses of ieee854 long double macros and unions.  Simplify tests
29370         for long doubles that are fully specified by the high double.
29371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29372         Likewise.
29373         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29374         Remove dead code too.
29375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29376         (__ieee754_ynl): Likewise.
29377         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29379         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29380         Remove dead code too.
29381         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29382         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29384         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29385         Simplify.
29386         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29387         Simplify.
29388         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29389         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29390         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29391         Comment on variable precision.
29392         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29394         Likewise.
29395         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29396         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29397         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29398         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29399         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29401 2013-10-04  Alan Modra  <amodra@gmail.com>
29403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29404         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29405         all uses of ieee854 long double macros and unions.
29406         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29408         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29409         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29410         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29411         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29412         Likewise.
29413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29414         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29415         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29416         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29419         Simplify sign and nan test too.
29420         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29421         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29422         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29423         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29424         Likewise.
29425         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29426         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29427         Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29429         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29430         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29431         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29435 2013-10-04  Alan Modra  <amodra@gmail.com>
29437         * stdio-common/printf_size.c (__printf_size): Don't use
29438         union ieee854_long_double in fpnum union.
29439         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29440         signbit macro to retrieve sign from long double.
29441         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29442         retrieve sign from long double.
29443         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29444         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29445         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29446         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29447         * math/test-misc.c (main): Don't use union ieee854_long_double.
29449 2013-10-04  Alan Modra  <amodra@gmail.com>
29451         [BZ #15680]
29452         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29453         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29454         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29455         calculation.  Remove unnecessary test for denormal exponent.
29456         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29457         Correct handling of denormals.  Avoid undefined shift behaviour.
29458         Correct normalisation of low mantissa when low double is denormal.
29459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29460         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29461         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29462         Correct normalisation of low mantissa.  Test for overflow of high
29463         mantissa and normalise.
29464         (ldbl_nearbyint): Use more readable constant for two52.
29465         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29466         (__mpn_construct_long_double): Fix test for overflow of high
29467         mantissa and correct normalisation.  Avoid undefined shift.
29469 2013-10-04  Alan Modra  <amodra@gmail.com>
29471         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29472         (union ibm_extended_long_double): Define as an array of ieee754_double.
29473         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29474         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29475         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29476         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29477         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29478         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29480         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29482         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29483         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29485 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29487         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29488         page size instead of calling getpagesize.
29490         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29491         (LOCFILE_ALIGN_MASK): Likewise.
29492         (LOCFILE_ALIGN_UP): Likewise.
29493         (LOCFILE_ALIGNED_P): Likewise.
29494         * locale/programs/ld-collate.c (collate_output): Use the new
29495         macros instead of __alignof__ (int32_t).
29496         * locale/weight.h (findidx): Likewise.
29498 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29500         [BZ #431]
29501         * manual/string.texi: Fix strncat and wcsncat.
29503 2013-10-03  Brooks Moses  <bmoses@google.com>
29505         [BZ #15915]
29506         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29507         * Makerules: ...here, and adjust associated comments.
29509 2013-10-02  Will Newton  <will.newton@linaro.org>
29511         * malloc/Makefile: Add tst-pvalloc.
29512         * malloc/tst-pvalloc.c: New file.
29514 2013-10-02  Will Newton  <will.newton@linaro.org>
29516         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29517         improve test coverage.
29519 2013-10-02  Will Newton  <will.newton@linaro.org>
29521         * malloc/Makefile: Add tst-posix_memalign.
29522         * malloc/tst-posix_memalign.c: New file.
29524 2013-10-01  Eric Blake  <eblake@redhat.com>
29526         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29527         Use __THROWNL rather than __THROW on static functions.
29529 2013-09-30  Petr Machata  <pmachata@redhat.com>
29531         * elf/elf.h (R_AARCH64_ABS16): New macro.
29532         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29533         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29534         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29535         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29536         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29537         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29538         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29539         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29540         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29541         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29542         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29543         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29544         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29545         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29546         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29547         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29548         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29549         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29550         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29551         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29552         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29553         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29554         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29555         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29556         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29557         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29558         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29559         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29560         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29561         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29562         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29563         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29564         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29565         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29566         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29567         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29568         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29569         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29570         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29571         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29572         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29573         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29574         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29575         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29576         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29577         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29578         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29579         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29580         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29581         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29582         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29583         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29584         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29585         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29586         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29587         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29588         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29589         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29590         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29591         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29592         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29593         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29594         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29595         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29596         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29597         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29598         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29599         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29600         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29601         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29602         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29603         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29604         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29605         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29606         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29607         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29608         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29609         (R_AARCH64_TLSDESC_LDR): Likewise.
29610         (R_AARCH64_TLSDESC_ADD): Likewise.
29611         (R_AARCH64_TLSDESC_CALL): Likewise.
29613 2013-09-30  Andreas Schwab  <schwab@suse.de>
29615         [BZ #15048]
29616         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29617         the nss database lookup.
29618         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29621 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29623         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29625 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29627         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29628         ${Bash-specific parameter/pattern/string} parameter expansion.
29629         * sysdeps/unix/make-syscalls.sh: Likewise.
29631 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29633         * sysdeps/sh/stackguard-macros.h: New file.
29635 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29639         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29640         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29641         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29642         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29644 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29646         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29647         Fix thread ID register.
29649 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29651         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29652         [POSIX || UNIX98]: Require rather than permitting all symbols from
29653         <time.h>.
29654         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29655         element of struct sched_param.
29656         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29657         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29658         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29659         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29660         constant.
29662 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29664         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29665         argument calculation.
29667 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29669         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29670         Expect macro.
29671         [POSIX] (pthread_attr_t): Do not require type.
29672         [POSIX] (pthread_cond_t): Likewise.
29673         [POSIX] (pthread_condattr_t): Likewise.
29674         [POSIX] (pthread_key_t): Likewise.
29675         [POSIX] (pthread_mutex_t): Likewise.
29676         [POSIX] (pthread_mutexattr_t): Likewise.
29677         [POSIX] (pthread_once_t): Likewise.
29678         [POSIX] (pthread_t): Likewise.
29679         [POSIX-based standards] (pthread_atfork): Expect function.
29681 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29682             Richard Sandiford  <richard@codesourcery.com>
29684         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29685         (swap_endianness_p): New extern variable.
29686         (set_big_endian): New inline function.
29687         (maybe_swap_uint32): Likewise.
29688         (maybe_swap_uint32_array): Likewise.
29689         (maybe_swap_uint32_obstack): Likewise.
29690         * locale/programs/locfile.c: Include <stdbool.h>.
29691         (swap_endianness_p): New variable.
29692         (add_locale_uint32): Call maybe_swap_uint32.
29693         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29694         (write_locale_data): Call maybe_swap_uint32_array.
29695         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29696         maybe_swap_uint32.
29697         (obstack_int32_grow_fast): Likewise.
29698         (output_weightwc): Call maybe_swap_uint32_obstack.
29699         (collate_output): Likewise.
29700         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29701         (OPT_LITTLE_ENDIAN): Likewise.
29702         (options): Add --little-endian and --big-endian options.
29703         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29704         * locale/programs/locarchive.c: Include "locfile.h".
29705         (GET): New macro.
29706         (SET): Likewise.
29707         (INC): Likewise.
29708         (create_archive): Use the new macros to access fields of
29709         structures directly mapped from or written to locale archives.
29710         (oldlocrecentcmp): Likewise.
29711         (enlarge_archive): Likewise.
29712         (insert_name): Likewise.
29713         (add_alias): Likewise.
29714         (add_locale): Likewise.
29715         (delete_locales_from_archive): Likewise.
29716         (show_archive_content): Likewise.
29717         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29718         locale data.
29720 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29722         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29723         http://www.gnu.org/doc/freemanuals.texi.
29724         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29726 2013-09-24  Will Newton  <will.newton@linaro.org>
29728         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29729         macro.
29731 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29733         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29734         unsigned char.
29736 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29738         * manual/threads.texi (POSIX Threads): Fix a typo.
29740 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29742         [BZ #14547]
29743         * string/tst-strcoll-overflow.c: New test case.
29744         * string/Makefile (xtests): Add tst-strcoll-overflow.
29745         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29746         cache if string sizes may cause integer overflow.
29748         [BZ #14547]
29749         * string/strcoll_l.c (coll_seq): New members rule, idx,
29750         save_idx and back_us.
29751         (get_next_seq_nocache): New function.
29752         (do_compare_nocache): New function.
29753         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29754         when malloc fails.
29756 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29758         [BZ #15754]
29759         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29760         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29761         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29763         [BZ #15754]
29764         * elf/Makefile (tests): Add tst-ptrguard1.
29765         (tests-static): Add tst-ptrguard1-static.
29766         (tst-ptrguard1-ARGS): Define.
29767         (tst-ptrguard1-static-ARGS): Define.
29768         * elf/tst-ptrguard1.c: New file.
29769         * elf/tst-ptrguard1-static.c: New file.
29770         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29771         * sysdeps/i386/stackguard-macros.h: Likewise.
29772         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29773         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29774         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29775         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29776         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29777         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29779 2013-09-23  Hector Marco  <hecmargi@upv.es>
29780             Ismael Ripoll  <iripoll@disca.upv.es>
29781             Carlos O'Donell  <carlos@redhat.com>
29783         [BZ #15754]
29784         * sysdeps/generic/stackguard-macros.h: Define
29785         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29786         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29787         Define __pointer_chk_guard_local.
29788         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29789         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29791 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29793         [BZ #15859]
29794         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29796 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29798         * include/string.h (__ffs): Declare as hidden.
29799         * string/ffs.c (__ffs): Define as hidden.
29800         * sysdeps/i386/ffs.c (__ffs): Likewise.
29801         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29802         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29803         * sysdeps/s390/ffs.c (__ffs): Likewise.
29804         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29806 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29808         * NEWS: Mention malloc probes.
29810         * malloc/arena.c (new_heap): New memory_heap_new probe.
29811         (grow_heap): New memory_heap_more probe.
29812         (shrink_heap): New memory_heap_less probe.
29813         (heap_trim): New memory_heap_free probe.
29814         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29815         (systrim): New memory_sbrk_less probe.
29816         * manual/probes.texi: Document them.
29818         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29819         * manual/probes.texi: Document it.
29821         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29822         (__libc_realloc): Add memory_realloc_retry probe.
29823         (__libc_memalign): Add memory_memalign_retry probe.
29824         (__libc_valloc): Add memory_valloc_retry probe.
29825         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29826         (__libc_calloc): Add memory_calloc_retry probe.
29827         * manual/probes.texi: Document them.
29829         * malloc/arena.c (get_free_list): Add probe
29830         memory_arena_reuse_free_list.
29831         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29832         and memory_arena_reuse.
29833         (arena_get2) [!PER_THREAD]: Likewise.
29834         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29835         memory_arena_reuse_realloc.
29836         * manual/probes.texi: Document them.
29838         * malloc/malloc.c (__libc_free): Add
29839         memory_mallopt_free_dyn_thresholds probe.
29840         (__libc_mallopt): Add multiple memory_mallopt probes.
29841         * manual/probes.texi: Document them.
29843         * malloc/malloc.c: Include stap-probe.h.
29844         (__libc_mallopt): Add memory_mallopt probe.
29845         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29846         * manual/probes.texi: New.
29847         * manual/Makefile (chapters): Add probes.
29848         * manual/threads.texi: Set next node.
29850 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29852         [BZ #15963, #13985]
29853         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29854         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29855         Add `Chinese' to `nan' entry name.
29857 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29860         (POLYNOMIAL): Likewise.
29861         (TAYLOR_SINCOS): Likewise.
29862         (TAYLOR_SLOW): Likewise.
29863         (__sin): Use TAYLOR_SINCOS.
29864         (__cos): Likewise.
29865         (slow): Use TAYLOR_SLOW.
29866         (sloww): Likewise.
29867         (bsloww): Likewise.
29868         (csloww): Likewise.
29870 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29872         * stdlib/strtod_l.c: Fix buffer overrun.
29874 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876         * benchtests/Makefile (bench): Add sincos.
29877         * benchtests/bench-sincos.c: New file.
29879         * math/libm-test.inc (cos_test_data): New test inputs.
29880         (sin_test_data): Likewise.
29882         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29883         macro.
29884         (__sin): Use it.
29885         (__cos): Likewise.
29886         (slow1): Likewise.
29887         (slow2): Likewise.
29888         (sloww1): Likewise.
29889         (sloww2): Likewise.
29890         (bsloww1): Likewise.
29891         (bsloww2): Likewise.
29892         (cslow2): Likewise.
29893         (csloww1): Likewise.
29894         (csloww2): Likewise.
29896         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29897         function.
29898         (__sin): Use it.
29899         (__cos): Likewise.
29901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29902         gotos.
29903         (__cos): Likewise.
29905 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29907         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29908         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29909         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29910         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29911         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29912         * elf/cache.c (print_entry): Handle the new cache flags.
29914 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29915             Aldy Hernandez  <aldyh@redhat.com>
29917         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29918         Change condition to [_SOFT_FLOAT].
29919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29931         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29934         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29935         declaration.
29937 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29939         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29940         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29941         (__longjmp): Use LOAD_GP to load saved GPRs.
29942         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29943         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29944         (__sigsetjmp): Use SAVE_GP to save GPRs.
29946         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29947         Do not append -msoft-float.
29948         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29950 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29952         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29954 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29956         [BZ #15966]
29957         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29958         (_FPU_GETCW): Use initial "__" on variable and field names but not
29959         on macro parameter name.
29960         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29961         parentheses around reference to macro parameter.
29963 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29965         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29966         prototype.
29967         (ctype_startup): Use uint32_t in cast and sizeof for
29968         ctype->charnames.
29970 2013-09-11  Jia Liu  <proljc@gmail.com>
29972         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29973         __daddr_t_defined.
29974         [__FreeBSD__]: Likewise.
29976 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29979         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29980         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29981         (strchr): Remove __strchr_sse42 ifunc selection.
29982         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29983         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29985 2013-09-11  Will Newton  <will.newton@linaro.org>
29987         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29988         parameter to RES. Remove hardcoded 1000 value.
29989         * benchtests/bench-skeleton.c (main): Pass RES parameter
29990         to TIMING_INIT and multiply result by 1000.
29992 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29996 2013-09-11  Andreas Schwab  <schwab@suse.de>
29998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29999         if not defined.
30000         (O_TMPFILE) [__USE_GNU]: Define.
30001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30002         Define.
30004 2013-09-11  Will Newton  <will.newton@linaro.org>
30006         [BZ #15857]
30007         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30008         does not overflow.
30010 2013-09-11  Will Newton  <will.newton@linaro.org>
30012         [BZ #15856]
30013         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30014         does not overflow.
30016 2013-09-11  Will Newton  <will.newton@linaro.org>
30018         [BZ #15855]
30019         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30020         does not overflow.
30022 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30024         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30025         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30026         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30027         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30028         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30030 2013-09-10  Allan McRae  <allan@archlinux.org>
30032         [BZ #15748]
30033         * manual/arith.texi (Parsing of Floats): Clarify
30034         cross-reference.
30036         [BZ #15849]
30037         * manual/install.texi (Running make install): Mention
30038         --enable-pt-chown.
30039         * INSTALL: Regenerated.
30041 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30043         * csu/init-first.c (_init): Remove the !SHARED condition around
30044         FPU control word initialization.
30045         * elf/dl-support.c (_dl_fpu_control): New variable.
30046         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30047         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30048         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30049         * math/test-fpucw-static.c: New file.
30050         * math/test-fpucw-ieee.c: New file.
30051         * math/test-fpucw-ieee-static.c: New file.
30052         * math/Makefile (tests): Add `test-fpucw-ieee' and
30053         `$(tests-static)'.
30054         (tests-static): New variable.
30055         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30056         dependency to...
30057         [($(build-shared),yes)]
30058         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30059         ... this.
30060         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30061         New dependency.
30063 2013-09-09  Allan McRae  <allan@archlinux.org>
30065         [BZ #15939]
30066         * manual/string.texi (Collation Functions): Fix typo in
30067         strcoll example.
30068         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30070         [BZ #15893]
30071         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30073         [BZ #15892]
30074         * libio/memstream.c (open_memstream): Fix memory leak.
30075         * libio/wmemstream.c (open_wmemstream): Likewise.
30077         [BZ #15895]
30078         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30080 2013-09-09  Will Newton  <will.newton@linaro.org>
30082         * malloc/Makefile: Add tst-realloc to tests.
30083         * malloc/tst-realloc.c: New file.
30085 2013-09-09  Allan McRae  <allan@archlinux.org>
30087         [BZ #15844]
30088         * COPYING: Update from GNU website to fix FSF address.
30089         * COPYING.LIB: Likewise.
30091 2013-09-06  David S. Miller  <davem@davemloft.net>
30093         * po/zh_TW.po: Update Chinese (traditional) translation from
30094         translation project.
30096 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30097             Joseph Myers  <joseph@codesourcery.com>
30099         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30100         "localeinfo.h".
30101         (obstack_chunk_alloc): New macro.
30102         (obstack_chunk_free): Likewise.
30103         (record_offset): New function.
30104         (init_locale_data): Likewise.
30105         (align_locale_data): Likewise.
30106         (add_locale_empty): Likewise.
30107         (add_locale_raw_data): Likewise.
30108         (add_locale_raw_obstack): Likewise.
30109         (add_locale_string): Likewise.
30110         (add_locale_wstring): Likewise.
30111         (add_locale_uint32): Likewise.
30112         (add_locale_uint32_array): Likewise.
30113         (add_locale_char): Likewise.
30114         (start_locale_structure): Likewise.
30115         (end_locale_structure): Likewise.
30116         (start_locale_prelude): Likewise.
30117         (end_locale_prelude): Likewise.
30118         (write_locale_data): Take locale_file structure rather than an
30119         iovec.
30120         * locale/programs/locfile.h: Include "obstack.h".
30121         (struct locale_file): Change to store locale file contents instead
30122         of header.
30123         (init_locale_data): New prototype.
30124         (align_locale_data): Likewise.
30125         (add_locale_empty): Likewise.
30126         (add_locale_raw_data): Likewise.
30127         (add_locale_raw_obstack): Likewise.
30128         (add_locale_string): Likewise.
30129         (add_locale_wstring): Likewise.
30130         (add_locale_uint32): Likewise.
30131         (add_locale_uint32_array): Likewise.
30132         (add_locale_char): Likewise.
30133         (start_locale_structure): Likewise.
30134         (end_locale_structure): Likewise.
30135         (start_locale_prelude): Likewise.
30136         (end_locale_prelude): Likewise.
30137         (write_locale_data): Update prototype.
30138         * locale/programs/3level.h (struct TABLE): Remove result field.
30139         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30140         Use new locale_file interface.
30141         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30142         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30143         * locale/programs/ld-address.c (address_output): Use new
30144         locale_file interface.
30145         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30146         NO_ADD_LOCALE.
30147         (collate_finish): Don't call collseq_table_finalize.
30148         (collate_output): Use new locale_file interface.
30149         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30150         in file.
30151         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30152         (TABLE): Move defines earlier in file.
30153         (ELEMENT): Likewise.
30154         (DEFAULT): Likewise.
30155         (wctrans_table_add): Move macro and inline function earlier in
30156         file.
30157         (struct wctype_table): Move type earlier in file.
30158         (add_locale_wctype_table): New static prototype.
30159         (struct locale_ctype_t): Use logical types instead of struct iovec
30160         pointers for members.
30161         (ctype_output): Use new locale_file interface.
30162         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30163         new locale_file interface.
30164         (allocate_arrays): Update for use of new locale_file interface.
30165         * locale/programs/ld-identification.c (identification_output): Use
30166         new locale_file interface.
30167         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30168         * locale/programs/ld-messages.c (messages_output): Likewise.
30169         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30170         * locale/programs/ld-name.c (name_output): Likewise.
30171         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30172         * locale/programs/ld-paper.c (paper_output): Likewise.
30173         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30174         * locale/programs/ld-time.c (time_output): Likewise.
30176 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30178         * benchtests/Makefile: Add memrchr benchmark.
30179         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30180         benchmark as memrchr.
30181         * benchtests/bench-memrchr-ifunc.c: New file.
30182         * benchtests/bench-memrchr.c: New file.
30184 2013-09-06   Will Newton  <will.newton@linaro.org>
30186         * benchtests/Makefile (string-bench): Add memcpy.
30188 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30189             Cong Wang  <amwang@redhat.com>
30191         [BZ #15850]
30192         * sysdeps/unix/sysv/linux/bits/in.h
30193         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30194         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30195         before __USE_KERNEL_IPV6_DEFS uses.
30196         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30197         IPPROTO_BEETPH.
30198         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30199         sockaddr_in6, or ipv6_mreq.
30201 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30203         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30204         memory access for final bytes in some large inputs.
30205         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30207 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30209         * string/test-memrchr.c: New file.
30210         * string/test-memrchr-ifunc.c: New file.
30211         * string/Makefile: Add new memrchr testcase.
30213 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30215         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30216         fanotify_init returns EPERM.
30218 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30220         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30221         errors.
30222         (top level): Treat second token from macro or constant entries for
30223         allowed headers as allowed.
30224         * include/complex.h: Condition internal declarations on
30225         [!_ISOMAC].
30226         * include/fenv.h: Condition include of <stdbool.h> and internal
30227         declarations on [!_ISOMAC].
30229 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30231         [BZ #15923]
30232         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30234 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30236         * configure.in (--enable-versioning): Remove configure option.
30237         (libc_cv_asm_symver_directive): Remove configure test.
30238         (libc_cv_ld_version_script_option): Likewise.
30239         (VERSIONING): Remove variable and AC_SUBST.
30240         (DO_VERSIONING): Remove AC_DEFINE.
30241         * configure: Regenerated.
30242         * config.h.in (DO_VERSIONING): Remove macro.
30243         * Makerules [$(versioning) = yes]: Change conditionals to
30244         [$(build-shared) = yes].
30245         * config.make.in (versioning): Remove variable.
30246         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30247         [$(build-shared) = yes].
30248         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30249         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30250         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30251         [$(build-shared) = yes].
30252         * extra-lib.mk [$(versioning) = yes]: Likewise.
30253         * hurd/Makefile [$(versioning) = yes]: Likewise.
30254         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30255         [SHARED].
30256         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30257         [SHARED].
30258         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30259         [SHARED && !NO_HIDDEN].
30260         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30261         [SHARED].
30262         [SHARED && DO_VERSIONING]: Likewise..
30263         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30264         [$(build-shared) = yes].
30265         * manual/install.texi (--disable-versioning): Remove
30266         documentation.
30267         * INSTALL: Regenerated.
30268         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30269         to [SHARED].
30270         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30271         [$(build-shared) = yes].
30272         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30273         * sysdeps/i386/i686/multiarch/strstr-c.c
30274         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30275         [SHARED && !NO_HIDDEN].
30276         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30277         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30278         * sysdeps/powerpc/powerpc32/dl-machine.c
30279         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30280         * sysdeps/powerpc/powerpc32/sysdep.h
30281         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30282         to [SHARED && PIC && !NO_HIDDEN].
30283         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30284         conditional to [SHARED].
30286 2013-09-04   Will Newton  <will.newton@linaro.org>
30288         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30289         * benchtests/bench-string.h: Include bench-timing.h instead
30290         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30291         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30292         call to HP_TIMING_DIFF_INIT.
30293         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30294         instead of hp-timing.h macros.
30295         * benchtests/bench-memchr.c: Likewise.
30296         * benchtests/bench-memcmp.c: Likewise.
30297         * benchtests/bench-memcpy.c: Likewise.
30298         * benchtests/bench-memmem.c: Likewise.
30299         * benchtests/bench-memmove.c: Likewise.
30300         * benchtests/bench-memset.c: Likewise.
30301         * benchtests/bench-rawmemchr.c: Likewise.
30302         * benchtests/bench-strcasecmp.c: Likewise.
30303         * benchtests/bench-strcasestr.c: Likewise.
30304         * benchtests/bench-strcat.c: Likewise.
30305         * benchtests/bench-strchr.c: Likewise.
30306         * benchtests/bench-strcmp.c: Likewise.
30307         * benchtests/bench-strcpy.c: Likewise.
30308         * benchtests/bench-strcpy_chk.c: Likewise.
30309         * benchtests/bench-strlen.c: Likewise.
30310         * benchtests/bench-strncasecmp.c: Likewise.
30311         * benchtests/bench-strncat.c: Likewise.
30312         * benchtests/bench-strncmp.c: Likewise.
30313         * benchtests/bench-strncpy.c: Likewise.
30314         * benchtests/bench-strnlen.c: Likewise.
30315         * benchtests/bench-strpbrk.c: Likewise.
30316         * benchtests/bench-strrchr.c: Likewise.
30317         * benchtests/bench-strspn.c: Likewise.
30318         * benchtests/bench-strstr.c: Likewise.
30320 2013-09-04  Will Newton  <will.newton@linaro.org>
30322         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30324 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30326         [BZ #15427]
30327         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30328         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30329         * math/libm-test.inc (lgamma_test_data): Add more tests.
30330         * sysdeps/i386/fpu/libm-test-ulps: Update.
30331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30335         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30337         Add ifunc.
30338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30339         Add strcmp-sse2-unaligned
30340         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30342 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30344         * Versions.def (libc): Add GLIBC_2.19.
30346 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30348         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30349         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30351 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30353         [BZ #14155]
30354         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30355         intermediate calculations in recurrence.
30356         (__ieee754_ynf): Likewise.
30357         * math/libm-test.inc (jn_test_data): Do not allow spurious
30358         underflow exception.  Add more tests.
30359         (yn_test_data): Add more tests.
30360         * sysdeps/i386/fpu/libm-test-ulps: Update.
30361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30363 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30365         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30367 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30369         * csu/init-first.c: Fix then/than typos.
30370         * locale/programs/ld-collate.c: Likewise.
30371         * locale/programs/linereader.h: Likewise.
30372         * manual/charset.texi: Likewise.
30373         * manual/filesys.texi: Likewise.
30374         * manual/stdio.texi: Likewise.
30375         * manual/string.texi: Likewise.
30376         * stdlib/fmtmsg.c: Likewise.
30377         * sysdeps/i386/stpncpy.S: Likewise.
30378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30379         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30380         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30381         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30383 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30385         * elf/dl-open.c: Fix typos.
30386         * iconvdata/gbbig5.c: Likewise.
30387         * iconvdata/iso-2022-jp.c: Likewise.
30388         * iconv/gconv_int.h: Likewise.
30389         * iconv/loop.c: Likewise.
30390         * nis/rpcsvc/nis.h: Likewise.
30391         * resolv/ns_name.c: Likewise.
30392         * stdio-common/vfscanf.c: Likewise.
30393         * streams/stropts.h: Likewise.
30394         * sunrpc/rpc_thread.c: Likewise.
30395         * sysdeps/i386/strpbrk.S: Likewise.
30396         * sysdeps/ieee754/k_standard.c: Likewise.
30397         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30399         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30400         * sysdeps/mach/hurd/profil.c: Likewise.
30401         * sysdeps/s390/dl-procinfo.h: Likewise.
30402         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30403         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30404         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30405         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30406         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30408 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30410         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30413 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30415         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30416         aix specific files.
30417         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30419         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30420         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30421         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30422         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30423         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30424         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30426 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30427             Roland McGrath  <roland@hack.frob.com>
30429         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30430         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30432 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30434         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30435         __executable_start symbol instead of _start.
30437 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30439         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30440         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30441         Move macros to...
30442         * sysdeps/gnu/ldsodefs.h: ... this new file.
30444         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30445         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30446         instead of ELFOSABI_LINUX.
30448         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30449         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30450         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30451         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30452         Likewise.
30453         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30454         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30455         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30456         Likewise.
30457         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30458         (ibm_extended_long_double): Add ieee_nan member.
30459         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30460         (do_test): New function.
30462         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30463         TEST_TRUNC.
30464         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30465         functions, renamed from truncdfsf_test, trunctfsf_test,
30466         trunctfdf_test.
30467         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30468         functions.
30469         (do_test): Run all these.
30471 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30473         * argp/argp-help.c: Fix typos.
30474         * argp/argp-parse.c: Likewise.
30475         * debug/backtracesyms.c: Likewise.
30476         * elf/elf.h: Likewise.
30477         * malloc/malloc.c: Likewise.
30478         * nis/nis_print.c: Likewise.
30479         * resolv/res_comp.c: Likewise.
30480         * stdlib/stdlib.h: Likewise.
30481         * sunrpc/clnt_tcp.c: Likewise.
30482         * sunrpc/clnt_udp.c: Likewise.
30483         * sunrpc/clnt_unix.c: Likewise.
30484         * sysdeps/unix/bsd/ptsname.c: Likewise.
30485         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30486         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30488         Likewise.
30489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30490         Likewise.
30491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30492         Likewise.
30493         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30495 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30497         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30500 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30502         [BZ #15897]
30503         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30504         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30505         ($(objpfx)bug-dl-leaf): New rule.
30506         ($(objpfx)bug-dl-leaf.so): Likewise.
30507         ($(objpfx)bug-dl-leaf.out): Likewise.
30508         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30509         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30510         * dlfcn/bug-dl-leaf.c: New test.
30511         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30512         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30513         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30514         (dlclose): Likewise.
30515         (dlmopen): Likewise.
30517 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30519         * include/netdb.h [!_ISOMAC]:
30520         Don't include <tls.h>.
30521         (h_errno, __libc_h_errno): Move declaration and macros out of
30522         [_LIBC_REENTRANT].
30524         * include/resolv.h [_RESOLV_H_]:
30525         Don't include <tls.h>.
30526         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30527         * resolv/res_libc.c: Don't include <tls.h>.
30528         (_res): Use __attribute__ ((nocommon)) in place of
30529         __attribute__ ((section (".bss"))).
30531         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30532         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30534         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30536         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30537         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30539         * resolv/res_mkquery.c: Include <sys/time.h>.
30541         * inet/ifreq.c: Moved to ...
30542         * sysdeps/unix/ifreq.c: ... here.
30543         * inet/ifreq.c: New file, true stub version.
30545         * socket/sa_len.c: New file.
30546         * socket/Makefile (aux): Add it.
30547         * sysdeps/unix/sysv/linux/Makefile
30548         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30549         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30550         and #include <socket/sa_len.c>.
30551         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30552         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30554         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30555         * bits/socket.h: ... here.
30557         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30558         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30559         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30561 2013-08-27  Andreas Schwab  <schwab@suse.de>
30563         [BZ #15736]
30564         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30565         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30566         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30567         * string/test-strcasecmp.c (test_main): Run tests in several
30568         locales.
30569         * string/test-strncasecmp.c (test_main): Likewise.
30571         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30572         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30573         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30575         (__strncasecmp_ssse3) [PIC]: Likewise.
30577 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30579         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30581         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30582         instead of explicitly declaring xdecrypt.
30583         * nis/nss_nis/nis-publickey.c: Likewise.
30585 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         [BZ #15890]
30588         * nscd/aicache.c: Include res_hconf.h.
30589         (addhstaiX): Initialize res_hconf.
30591 2013-08-26  Andreas Schwab  <schwab@suse.de>
30593         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30594         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30596 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30598         * nscd/aicache.c (addhstaiX): Fix indentation.
30600 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30602         * configure.ac: Quote $build_pt_chown test.
30603         * configure: Regenerated.
30605 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30607         [BZ #15532]
30608         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30609         * math/s_cexpf.c (__cexpf): Likewise.
30610         * math/s_cexpl.c (__cexpl): Likewise.
30611         * math/libm-test.inc (cexp_test_data): Correct expected return
30612         value for NaN + i0.  Add another test.
30614 2013-08-22  David S. Miller  <davem@davemloft.net>
30616         * po/ca.po: Update Catalan translation from translation project.
30617         * po/uk.po: Add Ukrainian translations from translation project.
30619 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30621         [BZ #15797]
30622         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30623         is infinite, not alongside NaN test.
30624         * math/s_fdimf.c (__fdimf): Likewise.
30625         * math/s_fdiml.c (__fdiml): Likewise.
30626         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30627         errno is unchanged.
30629 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30631         * argp/argp-help.c: Fix typos.
30632         * crypt/speeds.c: Likewise.
30633         * csu/check_fds.c: Likewise.
30634         * elf/dl-load.c: Likewise.
30635         * elf/dl-open.c: Likewise.
30636         * elf/reldep3.c: Likewise.
30637         * elf/reldep.c: Likewise.
30638         * elf/sprof.c: Likewise.
30639         * iconv/iconv_charmap.c: Likewise.
30640         * iconv/skeleton.c: Likewise.
30641         * iconv/strtab.c: Likewise.
30642         * io/lockf64.c: Likewise.
30643         * libio/libioP.h: Likewise.
30644         * resolv/gai_notify.c: Likewise.
30645         * resolv/ns_name.c: Likewise.
30646         * resolv/ns_samedomain.c: Likewise.
30647         * resolv/res_send.c: Likewise.
30648         * stdlib/random.c: Likewise.
30649         * sunrpc/rpc/xdr.h: Likewise.
30650         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30651         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30652         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30653         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30654         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30655         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30656         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30658         * sysdeps/mach/hurd/check_fds.c: Likewise.
30659         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30660         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30661         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30662         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30663         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30664         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30665         * sysdeps/pthread/aio_notify.c: Likewise.
30666         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30667         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30668         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30669         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30670         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30672 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30674         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30675         version if bit_Slow_SSE4_2 is set.
30676         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30677         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30679 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30681         [BZ #15867]
30682         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30683         trampoline stack frame information.
30684         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30685         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30686         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30687         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30688         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30689         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30690         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30691         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30692         sa_flags value.
30693         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30694         interrupting a syscall and set with option SA_SIGINFO.
30696 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30698         [BZ #15531]
30699         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30700         argument is infinite.
30701         * math/s_cprojf.c (__cprojf): Likewise.
30702         * math/s_cprojl.c (__cprojl): Likewise.
30703         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30704         * math/libm-test.inc (cproj_test_data): Add more tests.
30706         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30708         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30709         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30710         size.  Use __ffs to determine corresponding shift.
30712 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30713             Roland McGrath  <roland@hack.frob.com>
30715         * Makefile (INSTALL): Remove trailing blank lines from output of
30716         makeinfo.
30718 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30720         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30721         Align 32 bit compat elf_greg to 8 bytes.
30723 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30725         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30727 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30729         * string/strcoll_l.c (coll_seq): New structure.
30730         (get_next_seq_cached): New function.
30731         (get_next_seq): New function.
30732         (do_compare): New function.
30733         (STRCOLL): Use GNU style definition.  Simplify implementation
30734         by using get_next_seq, get_next_seq_cached and do_compare.
30736 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30738         [BZ #14699]
30739         CVE-2013-4237
30740         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30741         member.
30742         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30743         member.
30744         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30745         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30746         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30747         conditional.
30748         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30749         GETDENTS_64BIT_ALIGNED.
30750         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30751         * manual/filesys.texi (Reading/Closing Directory): Document
30752         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30753         strongly.
30754         * manual/conf.texi (Limits for Files): Add portability note to
30755         NAME_MAX, PATH_MAX.
30756         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30758 2013-08-13  Andreas Schwab  <schwab@suse.de>
30760         [BZ #15749]
30761         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30762         of fabs.
30763         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30764         LDBL_MAX_EXP >= 16384]: Add tests for it.
30766 2013-08-12  David S. Miller  <davem@davemloft.net>
30768         * version.h (RELEASE): Set to "development".
30769         (VERSION): Set to "2.18.90".
30770         * NEWS: Add 2.19 section.
30772 2013-08-03  David S. Miller  <davem@davemloft.net>
30774         * po/ko.po: Update Korean translation from translation project.
30776 2013-08-01  David S. Miller  <davem@davemloft.net>
30778         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30779         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30780         Bilka.
30782 2013-07-30  David S. Miller  <davem@davemloft.net>
30784         * po/fr.po: Update French translation from translation project.
30786 2013-07-28  David S. Miller  <davem@davemloft.net>
30788         * po/cs.po: Update Czech translation from translation project.
30790         * po/sv.po: Update Swedish translation from translation project.
30792 2013-07-27  David S. Miller  <davem@davemloft.net>
30794         * po/eo.po: Update Esperanto translation from translation project.
30796         * po/vi.po: Update Vietnamese translation from translation project.
30798         * po/de.po: Update German translation from translation project.
30800 2013-07-26  David S. Miller  <davem@davemloft.net>
30802         * po/bg.po: Update Bulgarian translation from translation project.
30804         * po/nl.po: Update Dutch translation from translation project.
30805         * po/pl.po: Update Polish translation from translation project.
30806         * po/ru.po: Update Russian translation from translation project.
30808 2013-07-24  David S. Miller  <davem@davemloft.net>
30810         * po/libc.pot: Update.
30812 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30814         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30815         variable page size.
30816         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30817         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30818         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30820 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30822         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30824 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30825             Andreas Schwab  <schwab@suse.de>
30826             Roland McGrath  <roland@hack.frob.com>
30827             Joseph Myers  <joseph@codesourcery.com>
30828             Carlos O'Donell  <carlos@redhat.com>
30830         [BZ #15755]
30831         * config.h.in: Define HAVE_PT_CHOWN.
30832         * config.make.in (build-pt-chown): New variable.
30833         * configure.in (--enable-pt_chown): New configure option.
30834         * configure: Regenerate.
30835         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30836         build-pt-chown is enabled.
30837         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30838         pt_chown to fix pty ownership.
30839         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30840         CLOSE_ALL_FDS.
30841         * manual/install.texi (Configuring and compiling): Mention
30842         --enable-pt_chown. Add @findex for grantpt.
30843         * INSTALL: Regenerate.
30845 2013-07-20  David S. Miller  <davem@davemloft.net>
30847         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30848         difference between 32-bit and 64-bit.
30850 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30852         [BZ #15711]
30853         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30854         Avoid system header dependency with -ffreestanding.
30855         ($(objpfx)bits/syscall%d): Likewise.
30857 2013-07-13  David S. Miller  <davem@davemloft.net>
30859         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30860         underflows from atanl/atan2l due to bug 15319.
30861         (casinh_test_data): Likewise.
30863 2013-07-07  David S. Miller  <davem@davemloft.net>
30865         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30867 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30869         * sysdeps/i386/fpu/libm-test-ulps: Update.
30870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30872 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30874         * configure.in (--enable-lock-elision): Fix message text.
30875         * INSTALL: Regenerate.
30876         * configure: Regenerate.
30878 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30882 2013-07-03  Andreas Jaeger  <aj@suse.de>
30884         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30885         define.
30886         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30887         (ptrace_peeksiginfo_args): Add.
30888         (__ptrace_peeksiginfo_flags): Add.
30889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30891         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30893 2013-07-03  Allan McRae  <allan@archlinux.org>
30895         * sysdeps/i386/fpu/libm-test-ulps: Update.
30897 2013-07-02  David S. Miller  <davem@davemloft.net>
30899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30901 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30905 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30907         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30910 2013-07-02  Andi Kleen <ak@linux.intel.com>
30912         * config.h.in (ENABLE_LOCK_ELISION): Add.
30913         * configure.in (--enable-lock-elision): Add option.
30914         * manual/install.texi: Document --enable lock elision.
30915         * configure: Regenerate
30916         * INSTALL: Regenerate.
30918 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30920         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30921         SSE4.2 strcasecmp for libc.a.
30922         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30924 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30926         [BZ #13304]
30927         * soft-fp/op-common.h (_FP_FMA): New macro.
30928         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30929         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30930         (_FP_MUL_MEAT_1_imm): ... here.
30931         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30932         (_FP_MUL_MEAT_1_wide): ... here.
30933         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30934         (_FP_MUL_MEAT_1_hard): ... here.
30935         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30936         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30937         (_FP_MUL_MEAT_2_wide): ... here.
30938         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30939         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30940         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30941         (_FP_MUL_MEAT_2_gmp): ... here.
30942         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30943         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30944         (_FP_MUL_MEAT_4_wide): ... here.
30945         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30946         (_FP_MUL_MEAT_4_gmp): ... here.
30947         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30948         (_FP_WFRACBITS_DW_S): Likewise.
30949         (_FP_WFRACXBITS_DW_S): Likewise.
30950         (_FP_HIGHBIT_DW_S): Likewise.
30951         (FP_FMA_S): Likewise.
30952         (_FP_FRAC_HIGH_DW_S): Likewise.
30953         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30954         (_FP_WFRACBITS_DW_D): Likewise.
30955         (_FP_WFRACXBITS_DW_D): Likewise.
30956         (_FP_HIGHBIT_DW_D): Likewise.
30957         (FP_FMA_D): Likewise.
30958         (_FP_FRAC_HIGH_DW_D): Likewise.
30959         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30960         (_FP_WFRACBITS_DW_E): Likewise.
30961         (_FP_WFRACXBITS_DW_E): Likewise.
30962         (_FP_HIGHBIT_DW_E): Likewise.
30963         (FP_FMA_E): Likewise.
30964         (_FP_FRAC_HIGH_DW_E): Likewise.
30965         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30966         (_FP_WFRACBITS_DW_Q): Likewise.
30967         (_FP_WFRACXBITS_DW_Q): Likewise.
30968         (_FP_HIGHBIT_DW_Q): Likewise.
30969         (FP_FMA_Q): Likewise.
30970         (_FP_FRAC_HIGH_DW_Q): Likewise.
30971         * soft-fp/fmasf4.c: New file.
30972         * soft-fp/fmadf4.c: Likewise.
30973         * soft-fp/fmatf4.c: Likewise.
30975 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30978         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30979         Silvermont.
30980         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30981         macro.
30982         (index_Slow_SSE4_2): Likewise.
30983         (index_Prefer_PMINUB_for_stringop): Likewise.
30984         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30985         bit_Slow_SSE4_2 is set.
30986         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30987         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30989 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30991         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30992         rtld_global._dl_hwcap2.
30993         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30994         POWER8.
30995         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30996         POWER8 feature descriptions defined in _dl_hwcap2.
30997         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30998         string handling for POWER8 feature bits.
30999         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31000         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31001         _dl_powerpc_cap_flags.
31002         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31003         * sysdeps/powerpc/rtld-global-offsets.sym
31004         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31005         _dl_hwcap2 in the rtld_global_ro structure.
31007 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31009         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31010         hardware capabilities in support of AT_HWCAP2.
31011         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31012         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31013         GLRO(dl_hwcap2).
31014         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31015         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31016         explicitly the unknown a_type display mechanism is used.
31017         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31018         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31019         struct member.
31020         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31021         to macro prototype for AT_HWCAP2 support.
31022         * sysdeps/i386/dl-procinfo.h: Likewise.
31023         * sysdeps/s390/dl-procinfo.h: Likewise.
31024         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31025         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31026         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31027         return -1 for unknown a_type display fallback.
31028         * sysdeps/sparc/dl-procinfo.h: Likewise.
31029         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31030         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31032 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31034         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31035         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31037 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31039         [BZ #12492]
31040         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31041         mprotect making __stack_prot writable.
31043 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31044             Joseph Myers  <joseph@codesourcery.com>
31046         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31047         as being properly aligned.
31049 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31051         * dlfcn/modstatic5.c: New file.
31052         * dlfcn/tststatic5.c: New file.
31053         * dlfcn/Makefile (tests): Add tststatic5.
31054         (tests-static): Likewise.
31055         (modules-names): Add modstatic5.
31056         (tststatic5-ENV): New variable.
31057         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31059         [BZ #15022]
31060         * elf/dl-support.c (_dl_main_map): New variable.
31061         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31062         (_dl_nns, _dl_load_adds): Set to 1.
31063         (_dl_initial_searchlist): Refer to _dl_main_map.
31064         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31065         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31066         call to _dl_get_origin.
31067         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31068         around call_map.
31069         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31070         * dlfcn/modstatic3.c: New file.
31071         * dlfcn/tststatic3.c: New file.
31072         * dlfcn/tststatic4.c: New file.
31073         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31074         (tests-static): Likewise.
31075         (modules-names): Add modstatic3.
31076         (tststatic3-ENV, tststatic4-ENV): New variables.
31077         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31078         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31080 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31082         * configure.in (CC): Require GCC version 4.4 or later.
31083         * configure: Regenerated.
31084         * manual/install.texi (Tools for Compilation): Update GCC version
31085         requirement.
31086         * INSTALL: Regenerated.
31088 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31090         [BZ #15674]
31091         * string/test-memcmp.c (check2): New.
31092         (main): Call check2.
31094         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31096 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31098         [BZ #15022]
31099         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31100         over to...
31101         (dl_open_worker) [!SHARED]: ... here.
31103 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31105         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31107 2013-06-25  Richard Henderson  <rth@redhat.com>
31109         * locale/programs/locarchive.c: Include <libc-internal.h>
31111 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31113         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31114         trailing whitespace removed.
31116 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31118         [BZ #10283]
31119         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31120         * locale/programs/locarchive.c: Include libc-mmap.h.
31121         (prepare_address_space): Take two new outputs (the mmap base and len).
31122         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31123         values.
31124         (create_archive): Declare new mmap base and len values for
31125         prepare_address_space, and store the result in ah.
31126         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31127         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31128         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31129         Declare new mmap base and len values for
31130         prepare_address_space, and store the result in new_ah.
31131         (open_archive): Declare new mmap base and len values for
31132         prepare_address_space, and store the result in ah.
31133         (close_archive): If ah->mmap_base is not NULL, use that and
31134         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31135         * sysdeps/generic/libc-mmap.h: New file.
31137 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31139         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31140         (ALIGN_UP): Likewise.
31141         (PTR_ALIGN_DOWN): Likewise.
31142         (PTR_ALIGN_UP): Likewise.
31144 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31146         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31147         entry mapped to PPC_PLATFORM_POWER8.
31148         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31149         POWER8.
31150         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31151         (_dl_string_platform): Add case for exporting platform position for
31152         POWER8.
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31154         search path to sysdeps/powerpc/powerpc32/power8 directory.
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31156         search path to sysdeps/powerpc/powerpc64/power8 directory.
31157         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31158         power7 directories.
31159         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31160         power7 directories.
31162 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31164         * INSTALL: Regenerate.
31166         * nscd/connections.c (nscd_init): Fix comment.
31168 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31170         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31172         [BZ #15667]
31173         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31174         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31176 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31178         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31179         DL_DST_REQ_STATIC.
31180         (DL_DST_REQ_STATIC): Remove macro.
31182 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31184         [BZ #7006]
31185         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31186         with a shift of 0 bits.
31188 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31190         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31191         $(tststatic-ENV).
31193 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31195         [BZ #15655]
31196         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31198 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31200         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31201         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31202         accepts -fno-tree-loop-distribute-patterns.
31203         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31204         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31205         recursive call.
31206         * string/memset.c (memset): Likewise.
31207         * string/test-memmove.c (simple_memmove): Disable loop transformation
31208         to library calls.
31209         * string/test-memset.c (simple_memset): Likewise.
31210         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31211         * benchtests/bench-memset.c (simple_memset): Likewise.
31212         * configure: Regenerated.
31214 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31216         * math/test-misc.c (main): Ignore fesetround failure when failures
31217         of subsequent rounding tests would be ignored.
31219         [BZ #15654]
31220         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31221         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31222         * math/fegetenv.c (__fegetenv): Return 0.
31223         * math/fegetexcept.c (fegetexcept): Return 0.
31224         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31225         FE_TONEAREST.
31226         * math/feholdexcpt.c (feholdexcept): Return 0.
31227         * math/fesetenv.c (__fesetenv): Return 0.
31228         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31229         argument FE_TONEAREST.
31230         * math/feupdateenv.c (__feupdateenv): Return 0.
31231         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31233 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31235         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31236         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31237         ($(objpfx)rtld-%.os rules): Use them.
31239 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31241         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31242         fields.
31244 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31246         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31247         length of target pattern, then descending length of dependency pattern.
31248         * configure.in (AWK): Require gawk 3.1.2 or newer.
31249         * manual/install.texi (Tools for Compilation): Say that we do.
31250         * configure: Regenerated.
31252         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31253         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31254         * scripts/sysd-rules.awk: ... this new script.
31255         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31256         than a glob-style pattern.
31258 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31260         * math/test-misc.c (main): Do not treat incorrectly rounded
31261         conversions as failure unless ROUNDING_TESTS passes.
31263 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31265         [BZ #15631]
31266         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31267         restore exception state around main square root computation, then
31268         check for inexactness explicitly.
31270         * math/libm-test.inc (fma_test_data): Add another test.
31272 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31274         * manual/threads.texi (Non-POSIX Extensions): New document
31275         node.  Document pthread_getattr_default_np and
31276         pthread_setattr_default_np.
31278         * Versions.def (libpthread): Add GLIBC_2.18.
31279         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31281         Likewise.
31282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31283         Likewise.
31284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31285         Likewise.
31286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31287         Likewise.
31288         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31289         Likewise.
31290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31291         Likewise.
31292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31293         Likewise.
31294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31295         Likewise.
31296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31297         Likewise.
31299 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31302         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31304 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31305             H.J. Lu  <hjl.tools@gmail.com>
31307         [BZ #15627]
31308         * sysdeps/x86_64/rtld-memset.c: Remove file.
31309         * sysdeps/x86_64/rtld-memset.S: New file.
31311 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31313         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31314         (test_in_one_mode): Take arguments for whether the rounding mode
31315         is supported for each floating-point type.
31316         (do_test): Pass new arguments to test_in_one_mode using
31317         ROUNDING_TESTS.
31319 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31321         * posix/tst-waitid.c (do_test): Distinguish different instances of
31322         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31323         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31324         before entering the kernel for waitpid.
31326 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31328         * NEWS: Fix note on clock function precision.  Text by Roland
31329         McGrath.
31331 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31333         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31334         it into place only when and if the sanity check passes.
31336 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31338         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31339         output for whether conversion result is exact.  Take argument
31340         indicating whether type is IBM long double.
31341         (round_for_all): Change need_exact field to ibm_ld.
31342         * stdlib/tst-strtod-round.c (struct exactness): New type.
31343         (struct test): Change bool ld_ok field to struct exactness exact.
31344         (TEST): Update all definitions for change to field.
31345         (tests): Regenerate array contents.
31346         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31347         field value.  Check for IBM long double here.
31348         (do_test): Update calls to test_in_one_mode.
31350 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31352         [BZ #12515]
31353         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31354         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31356 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31358         [BZ #15605]
31359         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31360         generated by the compiler on loop optimizations.
31361         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31362         general definitions.
31364 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31366         * math/bug-nextafter.c: Include <math-tests.h>.
31367         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31368         the relevant type.
31369         * math/bug-nexttoward.c: Include <math-tests.h>.
31370         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31371         the relevant type.
31372         * math/test-misc.c: Include <math-tests.h>.
31373         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31374         the relevant type.
31376 2013-06-12  Andreas Jaeger  <aj@suse.de>
31378         * po/ia.po: Update Interlingua translation from translation
31379         project.
31381 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31383         * include/fenv.h: Include stdbool.h.
31384         (struct rm_ctx): New structure.
31385         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31386         Define macro.
31387         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31388         (SET_RESTORE_ROUNDF): Likewise.
31389         (SET_RESTORE_ROUNDL): Likewise.
31390         (SET_RESTORE_ROUND_NOEX): Likewise.
31391         (SET_RESTORE_ROUND_NOEXF): Likewise.
31392         (SET_RESTORE_ROUND_NOEXL): Likewise.
31393         (SET_RESTORE_ROUND_53BIT): Likewise.
31394         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31395         (libc_feresetround_noexf_ctx): Likewise.
31396         (libc_feresetround_noexl_ctx): Likewise.
31397         (libc_feholdsetround_53bit_ctx): Likewise.
31398         (libc_feresetround_53bit_ctx): Likewise.
31399         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31400         (libc_feholdexcept_setround_sse_ctx): New function.
31401         (libc_fesetenv_sse_ctx): Likewise.
31402         (libc_feupdateenv_sse_ctx): Likewise.
31403         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31404         (libc_feholdexcept_setround_387_ctx): Likewise.
31405         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31406         (libc_feholdsetround_387_prec_ctx): Likewise.
31407         (libc_feholdsetround_387_ctx): Likewise.
31408         (libc_feholdsetround_387_53bit_ctx): Likewise.
31409         (libc_feholdsetround_sse_ctx): Likewise.
31410         (libc_feresetround_sse_ctx): Likewise.
31411         (libc_feresetround_387_ctx): Likewise.
31412         (libc_feupdateenv_387_ctx): Likewise.
31413         (libc_feholdexcept_setroundf_ctx): Define macro.
31414         (libc_fesetenvf_ctx): Likewise.
31415         (libc_feupdateenvf_ctx): Likewise.
31416         (libc_feholdsetroundf_ctx): Likewise.
31417         (libc_feresetroundf_ctx): Likewise.
31418         (libc_feholdexcept_setround_ctx): Likewise.
31419         (libc_fesetenv_ctx): Likewise.
31420         (libc_feupdateenv_ctx): Likewise.
31421         (libc_feholdsetround_ctx): Likewise.
31422         (libc_feresetround_ctx): Likewise.
31423         (libc_feholdexcept_setroundl_ctx): Likewise.
31424         (libc_feupdateenvl_ctx): Likewise.
31425         (libc_feholdsetroundl_ctx): Likewise.
31426         (libc_feresetroundl_ctx): Likewise.
31427         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31428         (libc_feresetround_53bit_ctx): Likewise.
31430 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31432         * locale/iso-639.def: Convert to UTF-8.
31434 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31436         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31437         (EXCEPTION_TESTS_double): Likewise.
31438         (EXCEPTION_TESTS_long_double): Likewise.
31439         (EXCEPTION_TESTS): Likewise.
31440         * math/libm-test.inc (test_exceptions): Only test exceptions if
31441         EXCEPTION_TESTS (FLOAT).
31443 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31445         * benchtests/Makefile (string-bench): Add strcpy_chk and
31446         stpcpy_chk.
31447         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31448         * benchtests/bench-stpcpy_chk.c: New file.
31449         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31450         * benchtests/bench-strcpy_chk.c: New file.
31451         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31452         code.
31453         (do_test): Likewise.
31455 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31457         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31458         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31459         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31460         with tabs where appropriate.
31461         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31462         dl-procinfo.h.
31463         [PPC_PLATFORM_PPC440]: Likewise.
31464         [PPC_PLATFORM_PPC464]: Likewise.
31465         [PPC_PLATFORM_PPC476]: Likewise.
31466         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31467         ppc464, and ppc476 platform strings merging from ports/
31468         dl-procinfo.h.
31470 2013-06-11  Andreas Schwab  <schwab@suse.de>
31472         [BZ #14991]
31473         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31474         (from_ucs4_idx): Regenerate.
31475         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31476         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31477         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31478         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31479         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31480         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31481         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31482         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31483         from FROM_LOOP and TO_LOOP specific macros.
31484         (BODY): Handle combining characters.
31485         * iconvdata/BIG5HKSCS.irreversible: Update.
31486         * iconvdata/BIG5HKSCS.precomposed: New file.
31487         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31488         characters.
31489         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31491 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31493         * include/sys/time.h: Fix indentation and add copyright header.
31495         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31496         (do_test): Likewise.
31497         * string/test-memchr.c (do_one_test): Likewise.
31498         (do_test): Likewise.
31499         * string/test-memcmp.c (do_one_test): Likewise.
31500         (do_test): Likewise.
31501         * string/test-memcpy.c (do_one_test): Likewise.
31502         (do_test): Likewise.
31503         * string/test-memmem.c (do_one_test): Likewise.
31504         (do_test): Likewise.
31505         (do_random_tests): Likewise.
31506         * string/test-memmove.c (do_one_test): Likewise.
31507         (do_test): Likewise.
31508         * string/test-memset.c (do_one_test): Likewise.
31509         (do_test): Likewise.
31510         * string/test-rawmemchr.c (do_one_test): Likewise.
31511         (do_test): Likewise.
31512         * string/test-strcasecmp.c (do_one_test): Likewise.
31513         (do_test): Likewise.
31514         * string/test-strcasestr.c (do_one_test): Likewise.
31515         (do_test): Likewise.
31516         * string/test-strcat.c (do_one_test): Likewise.
31517         (do_test): Likewise.
31518         * string/test-strchr.c (do_one_test): Likewise.
31519         (do_test): Likewise.
31520         * string/test-strcmp.c (do_one_test): Likewise.
31521         (do_test): Likewise.
31522         * string/test-strcpy.c (do_one_test): Likewise.
31523         (do_test): Likewise.
31524         * string/test-string.h: Likewise.
31525         (test_init): Likewise.
31526         * string/test-strlen.c (do_one_test): Likewise.
31527         (do_test): Likewise.
31528         * string/test-strncasecmp.c (do_one_test): Likewise.
31529         (do_test): Likewise.
31530         * string/test-strncat.c (do_one_test): Likewise.
31531         (do_test): Likewise.
31532         * string/test-strncmp.c (do_one_test): Likewise.
31533         (do_test_limit): Likewise.
31534         (do_test): Likewise.
31535         * string/test-strncpy.c (do_one_test): Likewise.
31536         (do_test): Likewise.
31537         * string/test-strnlen.c (do_one_test): Likewise.
31538         (do_test): Likewise.
31539         * string/test-strpbrk.c (do_one_test): Likewise.
31540         (do_test): Likewise.
31541         * string/test-strrchr.c (do_one_test): Likewise.
31542         (do_test): Likewise.
31543         * string/test-strspn.c (do_one_test): Likewise.
31544         (do_test): Likewise.
31545         * string/test-strstr.c (do_one_test): Likewise.
31546         (do_test): Likewise.
31548         * benchtests/Makefile (string-bench): Add string benchmarks.
31549         * benchtests/bench-bcopy-ifunc.c: New file.
31550         * benchtests/bench-bcopy.c: New file.
31551         * benchtests/bench-bzero-ifunc.c: New file.
31552         * benchtests/bench-bzero.c: New file.
31553         * benchtests/bench-memccpy-ifunc.c: New file.
31554         * benchtests/bench-memccpy.c: New file.
31555         * benchtests/bench-memchr-ifunc.c: New file.
31556         * benchtests/bench-memchr.c: New file.
31557         * benchtests/bench-memcmp-ifunc.c: New file.
31558         * benchtests/bench-memcmp.c: New file.
31559         * benchtests/bench-memmem-ifunc.c: New file.
31560         * benchtests/bench-memmem.c: New file.
31561         * benchtests/bench-memmove-ifunc.c: New file.
31562         * benchtests/bench-memmove.c: New file.
31563         * benchtests/bench-mempcpy-ifunc.c: New file.
31564         * benchtests/bench-mempcpy.c: New file.
31565         * benchtests/bench-memset-ifunc.c: New file.
31566         * benchtests/bench-memset.c: New file.
31567         * benchtests/bench-rawmemchr-ifunc.c: New file.
31568         * benchtests/bench-rawmemchr.c: New file.
31569         * benchtests/bench-stpcpy-ifunc.c: New file.
31570         * benchtests/bench-stpcpy.c: New file.
31571         * benchtests/bench-stpncpy-ifunc.c: New file.
31572         * benchtests/bench-stpncpy.c: New file.
31573         * benchtests/bench-strcasecmp-ifunc.c: New file.
31574         * benchtests/bench-strcasecmp.c: New file.
31575         * benchtests/bench-strcasestr-ifunc.c: New file.
31576         * benchtests/bench-strcasestr.c: New file.
31577         * benchtests/bench-strcat-ifunc.c: New file.
31578         * benchtests/bench-strcat.c: New file.
31579         * benchtests/bench-strchr-ifunc.c: New file.
31580         * benchtests/bench-strchr.c: New file.
31581         * benchtests/bench-strchrnul-ifunc.c: New file.
31582         * benchtests/bench-strchrnul.c: New file.
31583         * benchtests/bench-strcmp-ifunc.c: New file.
31584         * benchtests/bench-strcmp.c: New file.
31585         * benchtests/bench-strcpy-ifunc.c: New file.
31586         * benchtests/bench-strcpy.c: New file.
31587         * benchtests/bench-strcspn-ifunc.c: New file.
31588         * benchtests/bench-strcspn.c: New file.
31589         * benchtests/bench-strlen-ifunc.c: New file.
31590         * benchtests/bench-strlen.c: New file.
31591         * benchtests/bench-strncasecmp-ifunc.c: New file.
31592         * benchtests/bench-strncasecmp.c: New file.
31593         * benchtests/bench-strncat-ifunc.c: New file.
31594         * benchtests/bench-strncat.c: New file.
31595         * benchtests/bench-strncmp-ifunc.c: New file.
31596         * benchtests/bench-strncmp.c: New file.
31597         * benchtests/bench-strncpy-ifunc.c: New file.
31598         * benchtests/bench-strncpy.c: New file.
31599         * benchtests/bench-strnlen-ifunc.c: New file.
31600         * benchtests/bench-strnlen.c: New file.
31601         * benchtests/bench-strpbrk-ifunc.c: New file.
31602         * benchtests/bench-strpbrk.c: New file.
31603         * benchtests/bench-strrchr-ifunc.c: New file.
31604         * benchtests/bench-strrchr.c: New file.
31605         * benchtests/bench-strspn-ifunc.c: New file.
31606         * benchtests/bench-strspn.c: New file.
31607         * benchtests/bench-strstr-ifunc.c: New file.
31608         * benchtests/bench-strstr.c: New file.
31610         * benchtests/Makefile: Disable parallel execution of targets.
31611         (string-bench): Add memcpy.
31612         (benchset): New variable to store a list of benchmark sets.
31613         (bench-func): Renamed from bench.
31614         (bench-set): New target.
31615         (bench): Depend on bench-func and bench-set.
31616         * benchtests/README: Add section on benchmark sets.
31617         * benchtests/bench-memcpy-ifunc.c: New file.
31618         * benchtests/bench-memcpy.c: New file.
31619         * benchtests/bench-string.h: New file.
31621 2013-06-11  Andreas Schwab  <schwab@suse.de>
31623         [BZ #15577]
31624         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31625         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31626         values in the triple.
31627         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31628         terminator in the group key.
31630 2013-06-11  Andreas Jaeger  <aj@suse.de>
31632         * po/zh_TW.po: Update Chinese (traditional) translation from
31633         translation project.
31635 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31637         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31638         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31639         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31640         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31641         (clock_getcpuclockid): Likewise.
31642         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31643         Add weak_alias and libc_hidden_def.
31644         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31645         * rt/clock_gettime.c (clock_gettime): Rename to
31646         __clock_gettime.  Add weak_alias and libc_hidden_def.
31647         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31648         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31649         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31650         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31651         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31652         Likewise.
31653         * rt/clock_settime.c (clock_settime): Rename to
31654         __clock_settime.  Add weak_alias and libc_hidden_def.
31655         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31657 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31659         * mach/err_boot.sub: Remove trailing whitespace.
31660         * mach/err_ipc.sub: Likewise.
31661         * mach/err_mach.sub: Likewise.
31663         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31664         (ROUNDING_TESTS_double): Likewise.
31665         (ROUNDING_TESTS_long_double): Likewise.
31666         (ROUNDING_TESTS): Likewise.
31667         * math/libm-test.inc: Include <math-tests.h>.
31668         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31669         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31670         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31671         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31673 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31676         of assigning.
31678 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31680         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31681         otherwise empty TRANS lines.
31682         * sysdeps/gnu/errlist.c: Regenerated.
31684         * catgets/gencat.c (error_print): Use (void) in function
31685         definition.
31686         * crypt/crypt_util.c (__init_des): Likewise.
31687         * crypt/speeds.c (Stop): Likewise.
31688         (main): Likewise.
31689         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31690         * inet/ruserpass.c (token): Likewise.
31691         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31692         * intl/localealias.c (extend_alias_table): Likewise.
31693         * intl/plural-exp.c (init_germanic_plural): Likewise.
31694         * libio/fcloseall.c (__fcloseall): Likewise.
31695         * libio/genops.c (_IO_flush_all): Likewise.
31696         (_IO_flush_all_linebuffered): Likewise.
31697         (_IO_cleanup): Likewise.
31698         (_IO_iter_begin): Likewise.
31699         (_IO_iter_end): Likewise.
31700         (_IO_list_lock): Likewise.
31701         (_IO_list_unlock): Likewise.
31702         (_IO_list_resetlock): Likewise.
31703         * libio/getchar.c (getchar): Likewise.
31704         * libio/getchar_u.c (getchar_unlocked): Likewise.
31705         * libio/getwchar.c (getwchar): Likewise.
31706         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31707         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31708         * login/getpt.c (__getpt): Likewise.
31709         * login/tst-utmp.c (main): Likewise.
31710         * malloc/hooks.c (__malloc_check_init): Likewise.
31711         * malloc/malloc.c (__malloc_stats): Likewise.
31712         * malloc/mtrace.c (tr_break): Likewise.
31713         (mtrace): Likewise.
31714         (muntrace): Likewise.
31715         * misc/fstab.c (endfsent): Likewise.
31716         * misc/getclktck.c (__getclktck): Likewise.
31717         * misc/getdtsz.c (__getdtablesize): Likewise.
31718         * misc/gethostid.c (gethostid): Likewise.
31719         * misc/getpagesize.c (__getpagesize): Likewise.
31720         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31721         (__get_nprocs): Likewise.
31722         (__get_phys_pages): Likewise.
31723         (__get_avphys_pages): Likewise.
31724         * misc/getttyent.c (getttyent): Likewise.
31725         (setttyent): Likewise.
31726         (endttyent): Likewise.
31727         * misc/getusershell.c (getusershell): Likewise.
31728         (endusershell): Likewise.
31729         (setusershell): Likewise.
31730         (initshells): Likewise.
31731         * misc/hsearch.c (__hdestroy): Likewise.
31732         * misc/sync.c (sync): Likewise.
31733         * misc/syslog.c (closelog_internal): Likewise.
31734         (closelog): Likewise.
31735         * misc/ttyslot.c (ttyslot): Likewise.
31736         * misc/vhangup.c (vhangup): Likewise.
31737         * posix/fork.c (__fork): Likewise.
31738         * posix/getegid.c (__getegid): Likewise.
31739         * posix/geteuid.c (__geteuid): Likewise.
31740         * posix/getgid.c (__getgid): Likewise.
31741         * posix/getpid.c (__getpid): Likewise.
31742         * posix/getppid.c (__getppid): Likewise.
31743         * posix/getuid.c (__getuid): Likewise.
31744         * posix/pause.c (pause): Likewise.
31745         * posix/setpgrp.c (setpgrp): Likewise.
31746         * posix/setsid.c (__setsid): Likewise.
31747         * posix/test-vfork.c (noop): Likewise.
31748         * resolv/gethnamaddr.c (_endhtent): Likewise.
31749         (_gethtent): Likewise.
31750         (ht_endhostent): Likewise.
31751         (gethostent): Likewise.
31752         (dns_service): Likewise.
31753         * stdlib/drand48.c (drand48): Likewise.
31754         * stdlib/lrand48.c (lrand48): Likewise.
31755         * stdlib/mrand48.c (mrand48): Likewise.
31756         * stdlib/rand.c (rand): Likewise.
31757         * stdlib/random.c (__random): Likewise.
31758         * stdlib/setenv.c (clearenv): Likewise.
31759         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31760         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31761         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31762         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31763         (__get_nprocs): Likewise.
31764         (__get_phys_pages): Likewise.
31765         (__get_avphys_pages): Likewise.
31766         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31767         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31768         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31769         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31770         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31771         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31772         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31773         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31774         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31775         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31776         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31777         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31778         * sysdeps/posix/clock.c (clock): Likewise.
31779         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31780         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31781         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31782         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31783         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31785         (__get_nprocs_conf): Likewise.
31786         (__get_phys_pages): Likewise.
31787         (__get_avphys_pages): Likewise.
31788         * time/clock.c (clock): Likewise.
31789         * time/tzset.c (__tzname_max): Likewise.
31791 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31793         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31794         (__bswap_32): Do not use "register".
31795         * crypt/crypt.c (_ufc_doit_r): Likewise.
31796         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31797         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31798         * gmon/gmon.c (__monstartup): Likewise.
31799         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31800         * hurd/hurdmalloc.c (more_memory): Likewise.
31801         (malloc): Likewise.
31802         (free): Likewise.
31803         (realloc): Likewise.
31804         (malloc_fork_prepare): Likewise.
31805         (malloc_fork_parent): Likewise.
31806         (malloc_fork_child): Likewise.
31807         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31808         (_svcauth_des): Likewise.
31809         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31810         * inet/inet_net.c (inet_network): Likewise.
31811         * inet/inet_netof.c (inet_netof): Likewise.
31812         * inet/rcmd.c (__validuser2_sa): Likewise.
31813         * io/fts.c (fts_open): Likewise.
31814         (fts_load): Likewise.
31815         (fts_close): Likewise.
31816         (fts_read): Likewise.
31817         (fts_children): Likewise.
31818         (fts_build): Likewise.
31819         (fts_stat): Likewise.
31820         (fts_sort): Likewise.
31821         (fts_alloc): Likewise.
31822         (fts_lfree): Likewise.
31823         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31824         (_IO_file_xsgetn): Likewise.
31825         (_IO_file_xsgetn_mmap): Likewise.
31826         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31827         (_IO_cookie_write): Likewise.
31828         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31829         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31830         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31831         * malloc/obstack.c (_obstack_begin): Likewise.
31832         (_obstack_begin_1): Likewise.
31833         (_obstack_newchunk): Likewise.
31834         (_obstack_allocated_p): Likewise.
31835         (obstack_free): Likewise.
31836         (_obstack_memory_used): Likewise.
31837         * misc/getttyent.c (getttynam): Likewise.
31838         (getttyent): Likewise.
31839         (skip): Likewise.
31840         (value): Likewise.
31841         * misc/getusershell.c (initshells): Likewise.
31842         * misc/syslog.c (__vsyslog_chk): Likewise.
31843         * misc/ttyslot.c (ttyslot): Likewise.
31844         * nis/nis_hash.c (__nis_hash): Likewise.
31845         * posix/fnmatch_loop.c (FCT): Likewise.
31846         * posix/getconf.c (print_all): Likewise.
31847         (main): Likewise.
31848         * posix/getopt.c (exchange): Likewise.
31849         * posix/glob.c (globfree): Likewise.
31850         (prefix_array): Likewise.
31851         (__glob_pattern_type): Likewise.
31852         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31853         (NS_GET32): Likewise.
31854         (NS_PUT16): Likewise.
31855         (NS_PUT32): Likewise.
31856         * resolv/gethnamaddr.c (getanswer): Likewise.
31857         (gethostbyname2): Likewise.
31858         (gethostbyaddr): Likewise.
31859         (_gethtent): Likewise.
31860         (_gethtbyname2): Likewise.
31861         (_gethtbyaddr): Likewise.
31862         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31863         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31864         * resolv/res_init.c (__res_vinit): Likewise.
31865         (net_mask): Likewise.
31866         * resolv/res_mkquery.c (outchar): Likewise.
31867         (PRINT): Likewise.
31868         * stdio-common/printf_fp.c (outchar): Likewise.
31869         (PRINT): Likewise.
31870         * stdio-common/printf_fphex.c (outchar): Likewise.
31871         (PRINT): Likewise.
31872         * stdio-common/printf_size.c (outchar): Likewise.
31873         (PRINT): Likewise.
31874         * stdio-common/test_rdwr.c (main): Likewise.
31875         * stdio-common/tfformat.c (matches): Likewise.
31876         * stdio-common/vfprintf.c (outchar): Likewise.
31877         (printf_unknown): Likewise.
31878         (buffered_vfprintf): Likewise.
31879         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31880         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31881         (ReadFile): Likewise.
31882         * stdlib/qsort.c (SWAP): Likewise.
31883         (_quicksort): Likewise.
31884         * stdlib/setenv.c (__add_to_environ): Likewise.
31885         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31886         * stdlib/strtol_l.c (__strtol_l): Likewise.
31887         * stdlib/tst-strtod.c (main): Likewise.
31888         * stdlib/tst-strtol.c (main): Likewise.
31889         * stdlib/tst-strtoll.c (main): Likewise.
31890         * string/bits/string2.h (__strcmp_cc): Likewise.
31891         (__strcmp_cg): Likewise.
31892         (__strcspn_c1): Likewise.
31893         (__strcspn_c2): Likewise.
31894         (__strcspn_c3): Likewise.
31895         (__strspn_c1): Likewise.
31896         (__strspn_c2): Likewise.
31897         (__strspn_c3): Likewise.
31898         (__strsep_1c): Likewise.
31899         (__strsep_2c): Likewise.
31900         (__strsep_3c): Likewise.
31901         * string/memccpy.c (__memccpy): Likewise.
31902         * string/stpcpy.c (__stpcpy): Likewise.
31903         * string/strcmp.c (strcmp): Likewise.
31904         * string/strrchr.c (strrchr): Likewise.
31905         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31906         Likewise.
31907         * sysdeps/mach/hurd/getcwd.c
31908         (_hurd_canonicalize_directory_name_internal): Likewise.
31909         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31910         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31911         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31912         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31913         Likewise, in both definitions.
31914         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31915         definitions.
31916         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31917         64] (__bswap_64): Likewise.
31918         * time/test_time.c (main): Likewise.
31919         * time/tzfile.c (__tzfile_read): Likewise.
31920         (__tzfile_compute): Likewise.
31921         * time/tzset.c (__tzset_parse_tz): Likewise.
31922         (tzset_internal): Likewise.
31923         (compute_change): Likewise.
31924         * wcsmbs/wcscat.c (__wcscat): Likewise.
31925         * wcsmbs/wcschr.c (wcschr): Likewise.
31926         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31927         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31928         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31929         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31930         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31931         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31932         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31933         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31934         * wcsmbs/wmemset.c (wmemset): Likewise.
31936 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31938         * scripts/config.guess: Update to version 2013-05-16.
31939         * scripts/config.sub: Update to version 2013-04-24.
31940         * scripts/install-sh: Update to version 2011-11-20.07.
31941         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31942         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31944 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31946         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31947         * elf/sln.c: Likewise.
31948         * hurd/hurd/ioctl.h: Likewise.
31949         * hurd/hurdmalloc.c: Likewise.
31950         * hurd/xattr.c: Likewise.
31951         * include/shlib-compat.h: Likewise.
31952         * inet/ruserpass.c: Likewise.
31953         * libio/iofgets_u.c: Likewise.
31954         * libio/iofgetws_u.c: Likewise.
31955         * locale/programs/ld-identification.c: Likewise.
31956         * locale/programs/ld-time.c: Likewise.
31957         * mach/msg-destroy.c: Likewise.
31958         * nss/nss_files/files-netgrp.c: Likewise.
31959         * resolv/res_data.c: Likewise.
31960         * soft-fp/op-1.h: Likewise.
31961         * soft-fp/op-2.h: Likewise.
31962         * soft-fp/op-4.h: Likewise.
31963         * soft-fp/op-common.h: Likewise.
31964         * stdio-common/printf_fphex.c: Likewise.
31965         * stdlib/strtod_l.c: Likewise.
31966         * sunrpc/rpc/clnt.h: Likewise.
31967         * sysdeps/generic/framestate.c: Likewise.
31968         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31969         * sysdeps/i386/bsd-setjmp.S: Likewise.
31970         * sysdeps/i386/__longjmp.S: Likewise.
31971         * sysdeps/i386/setjmp.S: Likewise.
31972         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31973         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31975         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31976         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31977         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31978         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31979         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31980         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31981         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31983         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31984         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31985         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31986         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31988         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31989         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31990         * sysdeps/ieee754/support.c: Likewise.
31991         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31992         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31993         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31994         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31995         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31996         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31997         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31998         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31999         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32000         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32001         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32002         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32003         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32004         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32005         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32006         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32007         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32010 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32012         * posix/transbug.c: Remove executable mode.
32014 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32016         * crypt/speeds.c: Remove trailing whitespace.
32017         * dlfcn/default.c: Likewise.
32018         * elf/ifuncdep2.c: Likewise.
32019         * elf/ifuncmain1.c: Likewise.
32020         * elf/ifuncmain1vis.c: Likewise.
32021         * elf/testobj.h: Likewise.
32022         * elf/tst-stackguard1.c: Likewise.
32023         * gmon/sys/gmon.h: Likewise.
32024         * hurd/hurdmsg.c: Likewise.
32025         * hurd/new-fd.c: Likewise.
32026         * hurd/ports-get.c: Likewise.
32027         * iconvdata/ibm1008_420.c: Likewise.
32028         * inet/tst-getni1.c: Likewise.
32029         * inet/tst-getni2.c: Likewise.
32030         * libio/ioungetc.c: Likewise.
32031         * libio/wfiledoalloc.c: Likewise.
32032         * manual/libm-err-tab.pl: Likewise.
32033         * math/w_dremf.c: Likewise.
32034         * misc/ftruncate.c: Likewise.
32035         * posix/bug-glob2.c: Likewise.
32036         * posix/tst-pcre.c: Likewise.
32037         * posix/wait4.c: Likewise.
32038         * resolv/README: Likewise.
32039         * resolv/res_debug.h: Likewise.
32040         * resolv/tst-inet_ntop.c: Likewise.
32041         * setjmp/bug269-setjmp.c: Likewise.
32042         * soft-fp/extended.h: Likewise.
32043         * soft-fp/op-1.h: Likewise.
32044         * soft-fp/op-2.h: Likewise.
32045         * soft-fp/op-4.h: Likewise.
32046         * soft-fp/op-8.h: Likewise.
32047         * soft-fp/testit.c: Likewise.
32048         * stdio-common/bug16.c: Likewise.
32049         * stdlib/random.c: Likewise.
32050         * sunrpc/rpcsvc/rquota.x: Likewise.
32051         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32052         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32053         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32054         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32055         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32056         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32057         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32058         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32059         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32060         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32061         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32062         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32063         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32064         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32067         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32069         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32070         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32071         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32072         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32073         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32074         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32075         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32078         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32079         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32080         * sysdeps/ieee754/s_lib_version.c: Likewise.
32081         * sysdeps/mach/hurd/check_fds.c: Likewise.
32082         * sysdeps/mach/hurd/getsockname.c: Likewise.
32083         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32084         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32085         * sysdeps/powerpc/bits/link.h: Likewise.
32086         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32087         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32088         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32089         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32090         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32091         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32092         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32093         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32094         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32095         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32096         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32097         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32098         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32099         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32100         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32101         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32102         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32103         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32104         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32105         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32106         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32107         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32109         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32110         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32111         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32112         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32113         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32114         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32115         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32116         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32117         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32118         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32120         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32121         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32122         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32123         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32124         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32125         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32126         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32127         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32128         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32129         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32130         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32131         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32132         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32133         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32134         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32135         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32138         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32139         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32140         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32141         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32142         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32143         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32144         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32145         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32146         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32147         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32148         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32149         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32150         * sysdeps/powerpc/sysdep.h: Likewise.
32151         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32152         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32153         * sysdeps/sh/dl-trampoline.S: Likewise.
32154         * sysdeps/sh/memset.S: Likewise.
32155         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32156         * sysdeps/sh/strlen.S: Likewise.
32157         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32158         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32159         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32160         * sysdeps/sparc/sparc32/rem.S: Likewise.
32161         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32162         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32163         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32164         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32165         * sysdeps/sparc/sparc32/urem.S: Likewise.
32166         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32167         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32168         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32169         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32171         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32172         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32173         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32174         * sysdeps/unix/bsd/times.c: Likewise.
32175         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32176         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32180         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32181         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32182         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32183         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32184         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32185         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32186         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32187         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32188         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32189         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32190         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32191         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32192         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32193         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32194         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32195         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32196         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32197         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32198         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32199         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32200         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32201         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32202         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32203         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32204         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32205         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32206         * sysdeps/x86_64/strcspn.S: Likewise.
32208 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32210         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32211         generated file.  Regenerate properly from gen-translit.pl.
32212         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32213         locale/C-translit.h.
32215 2013-06-05  Andreas Schwab  <schwab@suse.de>
32217         [BZ #15100]
32218         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32219         week as 6 instead of -1.
32220         * time/tst-strptime.c (day_tests): Add test case.
32222 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32224         * sysdeps/generic/math_private.h
32225         (libc_feholdexcept_setround_53bit): Replace with
32226         libc_feholdsetround_53bit.
32227         (libc_feupdateenv_53bit): Replace with
32228         libc_feresetround_53bit.
32229         (SET_RESTORE_ROUND_53BIT): Adjust.
32231 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32233         * string/test-strchrnul.c: Add copyright header.
32235         * posix/tst-getaddrinfo4.c: Increase test timeout.
32237 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32239         [BZ #15536]
32240         * math/libm-test.inc (MAX_EXP): Remove
32241         (MIN_EXP): Define.
32242         (ulp): Use MIN_EXP - MANT_DIG.
32243         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32245 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32247         * po/be.po: Revert last change.
32248         * po/zh_CN.po: Likewise.
32249         * po/header.pot: Likewise.
32251 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32253         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32254         link-libc-deps to empty as target-specific variable.
32255         * Makerules (link-libc-args): New variable.
32256         (libc-for-link): Likewise.
32257         (link-libc-deps): Likewise.
32258         (lib%.so): Depend on $(link-libc-deps).  Link with
32259         $(link-libc-args).
32260         (build-module): Link with $(link-libc-args).
32261         (build-module-asneeded): Likewise.
32262         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32263         list of objects.
32264         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32265         target-specific variable.
32266         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32267         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32268         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32269         libc.
32270         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32271         libc and ld.so.
32272         ($(objpfx)libpcprofile.so): Likewise.
32273         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32274         libc_nonshared.a.
32275         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32276         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32277         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32278         $(link-libc-deps).
32279         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32280         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32281         * login/Makefile ($(objpfx)libutil.so): Likewise.
32282         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32283         * math/Makefile ($(objpfx)libm.so): Likewise.
32284         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32285         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32286         variable instead of depending directly on libc.
32287         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32288         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32289         $(link-libc-deps).
32290         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32291         libc.
32292         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32293         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32294         ($(objpfx)libanl.so): Likewise.
32295         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32296         ld.so.
32297         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32298         $(link-libc-deps).
32299         * sysdeps/i386/fpu/Makefile: Remove file.
32300         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32301         ($(objpfx)libm.so): Remove dependency on ld.so.
32303 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32305         [BZ # 15553]
32306         * nis/yp_xdr.c (XDRMAXNAME): Define.
32307         (XDRMAXRECORD): Define.
32308         (xdr_domainname): Use XDRMAXNAME.
32309         (xdr_mapname): Likewise.
32310         (xdr_peername): Likewise.
32311         (xdr_keydat): Use XDRMAXRECORD.
32312         (xdr_valdat): Likewise.
32314 2013-05-30  Jeff Law  <law@redhat.com>
32316         [BZ #14256]
32317         * manual/errno.texi (ESTALE): Update to account for more than
32318         just NFS file systems.
32319         * sysdeps/gnu/errlist.c: Regenerated.
32321 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32323         [BZ #15465]
32324         * elf/Makefile (tests): Add tst-null-argv.
32325         (modules-names):  Add tst-null-argv-lib.
32326         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32327         (tst-null-argv-ENV): Set environment for tst-null-argv.
32328         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32329         (RTLD_PROGNAME): New macro.
32330         * elf/tst-null-argv.c: New test case.
32331         * elf/tst-null-argv-lib.c: Library for test case.
32332         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32333         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32334         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32335         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32336         * elf/dl-init.c (call_init): Likewise.
32337         (_dl_init): Likewise.
32338         * elf/dl-load.c (print_search_path): Likewise.
32339         (_dl_map_object): Likewise.
32340         * elf/dl-lookup.c (do_lookup_x): Likewise.
32341         (add_dependency): Likewise.
32342         (_dl_lookup_symbol_x): Likewise.
32343         (_dl_debug_bindings): Likewise.
32344         * elf/dl-open.c (_dl_show_scope): Likewise.
32345         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32346         * elf/dl-version.c (match_symbol): Likewise.
32347         (_dl_check_map_versions): Likewise.
32348         * elf/rtld.c (dl_main): Likewise.
32349         (print_unresolved): Use RTLD_PROGNAME.
32350         (print_missing_version): Likewise.
32351         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32352         (elf_machine_rela): Likewise.
32353         * sysdeps/powerpc/powerpc32/dl-machine.c
32354         (__process_machine_rela): Likewise.
32355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32356         Likewise.
32357         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32358         Likewise.
32359         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32360         Likewise.
32361         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32363         Likewise.
32364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32365         Likewise.
32366         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32368 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32370         * po/be.po: Add descriptive title.
32371         * po/zh_CN.po: Likewise.
32372         * po/header.pot: Likewise.
32374 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32376         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32377         error message.
32378         (enlarge_archive): Likewise.
32380 2013-05-28  Ben North  <ben@redfrontdoor.org>
32382         * manual/arith.texi (frexp): It is the magnitude of the return
32383         value which lies in [0.5, 1), not the return value itself.
32385 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32389 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32391         * stdio-common/bug26.c (main): Correct fscanf template.
32393         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32394         declare _dl_skip_args.
32396         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32397         Don't declare.
32399         * manual/platform.texi: Add missing @end deftypefun.
32401 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32403         [BZ #15529]
32404         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32405         bit of mantissa of 2^16382.
32406         * math/libm-test.inc (hypot_test_data): Add more tests.
32408         * math/libm-test.inc: Add drem and pow10 to list of tested
32409         functions.
32410         (pow10_test): New function.
32411         (drem_test): Likewise.
32412         (drem_test_tonearest): Likewise.
32413         (drem_test_towardzero): Likewise.
32414         (drem_test_downward): Likewise.
32415         (drem_test_upward): Likewise.
32416         (main): Call the new functions.
32418         * math/libm-test.inc (finite_test_data): Remove.
32419         (finite_test): Run tests from isfinite_test_data.
32420         (gamma_test_data): Remove.
32421         (gamma_test): Run tests from lgamma_test_data.
32422         * sysdeps/i386/fpu/libm-test-ulps: Update.
32423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32425 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32427         * manual/platform.texi: Add PowerPC PPR function set documentation.
32428         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32429         implementation.
32431 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32433         * math/libm-test.inc (MAX_EXP): Define.
32434         (ULPDIFF): Define.
32435         (ulp): New function.
32436         (check_float_internal): Use ULPDIFF.
32437         (cpow_test): Disable failing test.
32438         (check_ulp): Test ulp() implemetnation.
32439         (main): Call check_ulp before starting tests.
32441 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32443         * math/gen-libm-test.pl (generate_testfile): Do not handle
32444         START_DATA and END_DATA.
32445         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32446         END_DATA.
32447         (acos_tonearest_test_data): Likewise.
32448         (acos_towardzero_test_data): Likewise.
32449         (acos_downward_test_data): Likewise.
32450         (acos_upward_test_data): Likewise.
32451         (acosh_test_data): Likewise.
32452         (asin_test_data): Likewise.
32453         (asin_tonearest_test_data): Likewise.
32454         (asin_towardzero_test_data): Likewise.
32455         (asin_downward_test_data): Likewise.
32456         (asin_upward_test_data): Likewise.
32457         (asinh_test_data): Likewise.
32458         (atan_test_data): Likewise.
32459         (atanh_test_data): Likewise.
32460         (atan2_test_data): Likewise.
32461         (cabs_test_data): Likewise.
32462         (cacos_test_data): Likewise.
32463         (cacosh_test_data): Likewise.
32464         (carg_test_data): Likewise.
32465         (casin_test_data): Likewise.
32466         (casinh_test_data): Likewise.
32467         (catan_test_data): Likewise.
32468         (catanh_test_data): Likewise.
32469         (cbrt_test_data): Likewise.
32470         (ccos_test_data): Likewise.
32471         (ccosh_test_data): Likewise.
32472         (ceil_test_data): Likewise.
32473         (cexp_test_data): Likewise.
32474         (cimag_test_data): Likewise.
32475         (clog_test_data): Likewise.
32476         (clog10_test_data): Likewise.
32477         (conj_test_data): Likewise.
32478         (copysign_test_data): Likewise.
32479         (cos_test_data): Likewise.
32480         (cos_tonearest_test_data): Likewise.
32481         (cos_towardzero_test_data): Likewise.
32482         (cos_downward_test_data): Likewise.
32483         (cos_upward_test_data): Likewise.
32484         (cosh_test_data): Likewise.
32485         (cosh_tonearest_test_data): Likewise.
32486         (cosh_towardzero_test_data): Likewise.
32487         (cosh_downward_test_data): Likewise.
32488         (cosh_upward_test_data): Likewise.
32489         (cpow_test_data): Likewise.
32490         (cproj_test_data): Likewise.
32491         (creal_test_data): Likewise.
32492         (csin_test_data): Likewise.
32493         (csinh_test_data): Likewise.
32494         (csqrt_test_data): Likewise.
32495         (ctan_test_data): Likewise.
32496         (ctan_tonearest_test_data): Likewise.
32497         (ctan_towardzero_test_data): Likewise.
32498         (ctan_downward_test_data): Likewise.
32499         (ctan_upward_test_data): Likewise.
32500         (ctanh_test_data): Likewise.
32501         (ctanh_tonearest_test_data): Likewise.
32502         (ctanh_towardzero_test_data): Likewise.
32503         (ctanh_downward_test_data): Likewise.
32504         (ctanh_upward_test_data): Likewise.
32505         (erf_test_data): Likewise.
32506         (erfc_test_data): Likewise.
32507         (exp_test_data): Likewise.
32508         (exp_tonearest_test_data): Likewise.
32509         (exp_towardzero_test_data): Likewise.
32510         (exp_downward_test_data): Likewise.
32511         (exp_upward_test_data): Likewise.
32512         (exp10_test_data): Likewise.
32513         (exp2_test_data): Likewise.
32514         (expm1_test_data): Likewise.
32515         (fabs_test_data): Likewise.
32516         (fdim_test_data): Likewise.
32517         (finite_test_data): Likewise.
32518         (floor_test_data): Likewise.
32519         (fma_test_data): Likewise.
32520         (fma_towardzero_test_data): Likewise.
32521         (fma_downward_test_data): Likewise.
32522         (fma_upward_test_data): Likewise.
32523         (fmax_test_data): Likewise.
32524         (fmin_test_data): Likewise.
32525         (fmod_test_data): Likewise.
32526         (fpclassify_test_data): Likewise.
32527         (frexp_test_data): Likewise.
32528         (gamma_test_data): Likewise.
32529         (hypot_test_data): Likewise.
32530         (ilogb_test_data): Likewise.
32531         (isfinite_test_data): Likewise.
32532         (isgreater_test_data): Likewise.
32533         (isgreaterequal_test_data): Likewise.
32534         (isinf_test_data): Likewise.
32535         (isless_test_data): Likewise.
32536         (islessequal_test_data): Likewise.
32537         (islessgreater_test_data): Likewise.
32538         (isnan_test_data): Likewise.
32539         (isnormal_test_data): Likewise.
32540         (issignaling_test_data): Likewise.
32541         (isunordered_test_data): Likewise.
32542         (j0_test_data): Likewise.
32543         (j1_test_data): Likewise.
32544         (jn_test_data): Likewise.
32545         (ldexp_test_data): Likewise.
32546         (lgamma_test_data): Likewise.
32547         (lrint_test_data): Likewise.
32548         (lrint_tonearest_test_data): Likewise.
32549         (lrint_towardzero_test_data): Likewise.
32550         (lrint_downward_test_data): Likewise.
32551         (lrint_upward_test_data): Likewise.
32552         (llrint_test_data): Likewise.
32553         (llrint_tonearest_test_data): Likewise.
32554         (llrint_towardzero_test_data): Likewise.
32555         (llrint_downward_test_data): Likewise.
32556         (llrint_upward_test_data): Likewise.
32557         (log_test_data): Likewise.
32558         (log10_test_data): Likewise.
32559         (log1p_test_data): Likewise.
32560         (log2_test_data): Likewise.
32561         (logb_test_data): Likewise.
32562         (logb_downward_test_data): Likewise.
32563         (lround_test_data): Likewise.
32564         (llround_test_data): Likewise.
32565         (modf_test_data): Likewise.
32566         (nearbyint_test_data): Likewise.
32567         (nextafter_test_data): Likewise.
32568         (nexttoward_test_data): Likewise.
32569         (pow_test_data): Likewise.
32570         (pow_tonearest_test_data): Likewise.
32571         (pow_towardzero_test_data): Likewise.
32572         (pow_downward_test_data): Likewise.
32573         (pow_upward_test_data): Likewise.
32574         (remainder_test_data): Likewise.
32575         (remainder_tonearest_test_data): Likewise.
32576         (remainder_towardzero_test_data): Likewise.
32577         (remainder_downward_test_data): Likewise.
32578         (remainder_upward_test_data): Likewise.
32579         (remquo_test_data): Likewise.
32580         (rint_test_data): Likewise.
32581         (rint_tonearest_test_data): Likewise.
32582         (rint_towardzero_test_data): Likewise.
32583         (rint_downward_test_data): Likewise.
32584         (rint_upward_test_data): Likewise.
32585         (round_test_data): Likewise.
32586         (scalb_test_data): Likewise.
32587         (scalbn_test_data): Likewise.
32588         (scalbln_test_data): Likewise.
32589         (signbit_test_data): Likewise.
32590         (sin_test_data): Likewise.
32591         (sin_tonearest_test_data): Likewise.
32592         (sin_towardzero_test_data): Likewise.
32593         (sin_downward_test_data): Likewise.
32594         (sin_upward_test_data): Likewise.
32595         (sincos_test_data): Likewise.
32596         (sinh_test_data): Likewise.
32597         (sinh_tonearest_test_data): Likewise.
32598         (sinh_towardzero_test_data): Likewise.
32599         (sinh_downward_test_data): Likewise.
32600         (sinh_upward_test_data): Likewise.
32601         (sqrt_test_data): Likewise.
32602         (tan_test_data): Likewise.
32603         (tan_tonearest_test_data): Likewise.
32604         (tan_towardzero_test_data): Likewise.
32605         (tan_downward_test_data): Likewise.
32606         (tan_upward_test_data): Likewise.
32607         (tanh_test_data): Likewise.
32608         (tgamma_test_data): Likewise.
32609         (trunc_test_data): Likewise.
32610         (y0_test_data): Likewise.
32611         (y1_test_data): Likewise.
32612         (yn_test_data): Likewise.
32613         (significand_test_data): Likewise.
32615         * math/gen-libm-test.pl (@functions): Remove variable.
32616         (generate_testfile): Don't handle START and END lines.
32617         * math/libm-test.inc (START): New macro.
32618         (END): Likewise.
32619         (END_COMPLEX): Likewise.
32620         (acos_test): Use END macro without arguments.
32621         (acos_test_tonearest): Likewise.
32622         (acos_test_towardzero): Likewise.
32623         (acos_test_downward): Likewise.
32624         (acos_test_upward): Likewise.
32625         (acosh_test): Likewise.
32626         (asin_test): Likewise.
32627         (asin_test_tonearest): Likewise.
32628         (asin_test_towardzero): Likewise.
32629         (asin_test_downward): Likewise.
32630         (asin_test_upward): Likewise.
32631         (asinh_test): Likewise.
32632         (atan_test): Likewise.
32633         (atanh_test): Likewise.
32634         (atan2_test): Likewise.
32635         (cabs_test): Likewise.
32636         (cacos_test): Use END_COMPLEX macro without arguments.
32637         (cacosh_test): Likewise.
32638         (carg_test): Use END macro without arguments.
32639         (casin_test): Use END_COMPLEX macro without arguments.
32640         (casinh_test): Likewise.
32641         (catan_test): Likewise.
32642         (catanh_test): Likewise.
32643         (cbrt_test): Use END macro without arguments.
32644         (ccos_test): Use END_COMPLEX macro without arguments.
32645         (ccosh_test): Likewise.
32646         (ceil_test): Use END macro without arguments.
32647         (cexp_test): Use END_COMPLEX macro without arguments.
32648         (cimag_test): Use END macro without arguments.
32649         (clog_test): Use END_COMPLEX macro without arguments.
32650         (clog10_test): Likewise.
32651         (conj_test): Likewise.
32652         (copysign_test): Use END macro without arguments.
32653         (cos_test): Likewise.
32654         (cos_test_tonearest): Likewise.
32655         (cos_test_towardzero): Likewise.
32656         (cos_test_downward): Likewise.
32657         (cos_test_upward): Likewise.
32658         (cosh_test): Likewise.
32659         (cosh_test_tonearest): Likewise.
32660         (cosh_test_towardzero): Likewise.
32661         (cosh_test_downward): Likewise.
32662         (cosh_test_upward): Likewise.
32663         (cpow_test): Use END_COMPLEX macro without arguments.
32664         (cproj_test): Likewise.
32665         (creal_test): Use END macro without arguments.
32666         (csin_test): Use END_COMPLEX macro without arguments.
32667         (csinh_test): Likewise.
32668         (csqrt_test): Likewise.
32669         (ctan_test): Likewise.
32670         (ctan_test_tonearest): Likewise.
32671         (ctan_test_towardzero): Likewise.
32672         (ctan_test_downward): Likewise.
32673         (ctan_test_upward): Likewise.
32674         (ctanh_test): Likewise.
32675         (ctanh_test_tonearest): Likewise.
32676         (ctanh_test_towardzero): Likewise.
32677         (ctanh_test_downward): Likewise.
32678         (ctanh_test_upward): Likewise.
32679         (erf_test): Use END macro without arguments.
32680         (erfc_test): Likewise.
32681         (exp_test): Likewise.
32682         (exp_test_tonearest): Likewise.
32683         (exp_test_towardzero): Likewise.
32684         (exp_test_downward): Likewise.
32685         (exp_test_upward): Likewise.
32686         (exp10_test): Likewise.
32687         (exp2_test): Likewise.
32688         (expm1_test): Likewise.
32689         (fabs_test): Likewise.
32690         (fdim_test): Likewise.
32691         (finite_test): Likewise.
32692         (floor_test): Likewise.
32693         (fma_test): Likewise.
32694         (fma_test_towardzero): Likewise.
32695         (fma_test_downward): Likewise.
32696         (fma_test_upward): Likewise.
32697         (fmax_test): Likewise.
32698         (fmin_test): Likewise.
32699         (fmod_test): Likewise.
32700         (fpclassify_test): Likewise.
32701         (frexp_test): Likewise.
32702         (gamma_test): Likewise.
32703         (hypot_test): Likewise.
32704         (ilogb_test): Likewise.
32705         (isfinite_test): Likewise.
32706         (isgreater_test): Likewise.
32707         (isgreaterequal_test): Likewise.
32708         (isinf_test): Likewise.
32709         (isless_test): Likewise.
32710         (islessequal_test): Likewise.
32711         (islessgreater_test): Likewise.
32712         (isnan_test): Likewise.
32713         (isnormal_test): Likewise.
32714         (issignaling_test): Likewise.
32715         (isunordered_test): Likewise.
32716         (j0_test): Likewise.
32717         (j1_test): Likewise.
32718         (jn_test): Likewise.
32719         (ldexp_test): Likewise.
32720         (lgamma_test): Likewise.
32721         (lrint_test): Likewise.
32722         (lrint_test_tonearest): Likewise.
32723         (lrint_test_towardzero): Likewise.
32724         (lrint_test_downward): Likewise.
32725         (lrint_test_upward): Likewise.
32726         (llrint_test): Likewise.
32727         (llrint_test_tonearest): Likewise.
32728         (llrint_test_towardzero): Likewise.
32729         (llrint_test_downward): Likewise.
32730         (llrint_test_upward): Likewise.
32731         (log_test): Likewise.
32732         (log10_test): Likewise.
32733         (log1p_test): Likewise.
32734         (log2_test): Likewise.
32735         (logb_test): Likewise.
32736         (logb_test_downward): Likewise.
32737         (lround_test): Likewise.
32738         (llround_test): Likewise.
32739         (modf_test): Likewise.
32740         (nearbyint_test): Likewise.
32741         (nextafter_test): Likewise.
32742         (nexttoward_test): Likewise.
32743         (pow_test): Likewise.
32744         (pow_test_tonearest): Likewise.
32745         (pow_test_towardzero): Likewise.
32746         (pow_test_downward): Likewise.
32747         (pow_test_upward): Likewise.
32748         (remainder_test): Likewise.
32749         (remainder_test_tonearest): Likewise.
32750         (remainder_test_towardzero): Likewise.
32751         (remainder_test_downward): Likewise.
32752         (remainder_test_upward): Likewise.
32753         (remquo_test): Likewise.
32754         (rint_test): Likewise.
32755         (rint_test_tonearest): Likewise.
32756         (rint_test_towardzero): Likewise.
32757         (rint_test_downward): Likewise.
32758         (rint_test_upward): Likewise.
32759         (round_test): Likewise.
32760         (scalb_test): Likewise.
32761         (scalbn_test): Likewise.
32762         (scalbln_test): Likewise.
32763         (signbit_test): Likewise.
32764         (sin_test): Likewise.
32765         (sin_test_tonearest): Likewise.
32766         (sin_test_towardzero): Likewise.
32767         (sin_test_downward): Likewise.
32768         (sin_test_upward): Likewise.
32769         (sincos_test): Likewise.
32770         (sinh_test): Likewise.
32771         (sinh_test_tonearest): Likewise.
32772         (sinh_test_towardzero): Likewise.
32773         (sinh_test_downward): Likewise.
32774         (sinh_test_upward): Likewise.
32775         (sqrt_test): Likewise.
32776         (tan_test): Likewise.
32777         (tan_test_tonearest): Likewise.
32778         (tan_test_towardzero): Likewise.
32779         (tan_test_downward): Likewise.
32780         (tan_test_upward): Likewise.
32781         (tanh_test): Likewise.
32782         (tgamma_test): Likewise.
32783         (trunc_test): Likewise.
32784         (y0_test): Likewise.
32785         (y1_test): Likewise.
32786         (yn_test): Likewise.
32787         (significand_test): Likewise.
32789 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32791         [BZ #15381]
32792         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32794 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32796         [BZ #14894]
32797         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32798         __ppc_mdoio and __ppc_mdoom.
32799         * manual/platform.texi: Document new functions __ppc_yield,
32800         __ppc_mdoio and __ppc_mdoom.
32802 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32804         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32805         (main): Mention "tls" pseudo-hwcap is legacy.
32806         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32808 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32810         * math/gen-libm-test.pl (parse_args): Output only string of
32811         arguments as text for test name, not full call or descriptions of
32812         tests for extra outputs.
32813         (generate_testfile): Do not pass function name to parse_args.
32814         Generate this_func variable from START.
32815         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32816         field to arg_str.
32817         (struct test_ff_f_data): Likewise.
32818         (test_ff_f_data_nexttoward): Likewise.
32819         (struct test_fi_f_data): Likewise.
32820         (struct test_fl_f_data): Likewise.
32821         (struct test_if_f_data): Likewise.
32822         (struct test_fff_f_data): Likewise.
32823         (struct test_c_f_data): Likewise.
32824         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32825         (struct test_fF_f1_data): Likewise.
32826         (struct test_ffI_f1_data): Likewise.
32827         (struct test_c_c_data): Rename test_name field to arg_str.
32828         (struct test_cc_c_data): Likewise.
32829         (struct test_f_i_data): Likewise.
32830         (struct test_ff_i_data): Likewise.
32831         (struct test_f_l_data): Likewise.
32832         (struct test_f_L_data): Likewise.
32833         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32834         and extra2_name.
32835         (COMMON_TEST_SETUP): New macro.
32836         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32837         (COMMON_TEST_CLEANUP): Likewise.
32838         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32839         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32840         macros.
32841         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32842         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32843         macros.
32844         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32845         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32846         cleanup macros.
32847         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32848         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32849         macros.
32850         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32851         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32852         macros.
32853         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32854         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32855         cleanup macros.
32856         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32857         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32858         cleanup macros.
32859         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32860         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32861         cleanup macros.
32862         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32863         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32864         macros.
32865         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32866         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32867         macros.
32868         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32869         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32870         macros.
32871         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32872         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32873         cleanup macros.
32874         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32875         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32876         cleanup macros.
32877         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32878         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32879         macros.
32880         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32881         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32882         cleanup macros.
32883         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32884         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32885         macros.
32886         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32887         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32888         macros.
32889         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32890         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32891         cleanup macros.
32892         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32894 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32896         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32897         to _sifields.sigfault.
32898         (si_addr_lsb): Define new macro.
32899         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32900         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32901         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32903 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32905         [BZ #15441]
32906         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32907         returns -1.
32908         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32909         null return -1.
32910         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32911         loading the domain.
32913 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32915         * math/gen-libm-test.pl (parse_args): Do not include expected
32916         result in test name.
32917         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32918         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32919         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32920         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32921         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32924 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32926         * benchtests/Makefile: Sort function entries.
32928         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32929         tanh, asinh, acosh, atanh.
32930         * benchtests/acos-inputs: New file.
32931         * benchtests/acosh-inputs: New file.
32932         * benchtests/asin-inputs: New file.
32933         * benchtests/asinh-inputs: New file.
32934         * benchtests/atanh-inputs: New file.
32935         * benchtests/cosh-inputs: New file.
32936         * benchtests/log-inputs: New file.
32937         * benchtests/sinh-inputs: New file.
32938         * benchtests/tanh-inputs: New file.
32940 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32942         [BZ #15339]
32943         * posix/tst-getaddrinfo4.c: New test.
32944         * posix/Makefile (tests): Add it.
32946 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32948         [BZ #15339]
32949         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32950         when no services were used.
32951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32952         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32954 2013-05-21  Andreas Schwab  <schwab@suse.de>
32956         [BZ #15014]
32957         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32958         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32959         successful.
32960         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32961         redundant variable declarations and reallocation of buffer when
32962         parsing as IPv6 address.  Always set NSS status when called from
32963         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32964         buffer too small.  Correct computation of needed size.
32965         * nss/Makefile (tests): Add test-digits-dots.
32966         * nss/test-digits-dots.c: New test.
32968 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32970         * benchtests/Makefile: Remove instructions for adding
32971         benchmark tests.
32972         * benchtests/README: New file to explain how to execute and
32973         enhance the benchmark tests.
32975 2013-05-21  Andreas Schwab  <schwab@suse.de>
32977         [BZ #15493]
32978         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32979         * setjmp/tst-sigsetjmp.c: New test.
32981 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32983         * sysdeps/x86_64/memset.S (memset): New implementation.
32984         (__bzero): Likewise.
32985         (__memset_tail): New function.
32987 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32989         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32990         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32991         __memcpy_sse2_unaligned ifunc selection.
32992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32993         Add memcpy-sse2-unaligned.S.
32994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32995         Add: __memcpy_sse2_unaligned.
32997 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32999         [BZ #15490]
33000         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33001         math_force_eval before restoring floating-point envrionment.
33002         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33003         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33004         Likewise.
33005         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33006         <math_private.h>.
33007         (__nearbyintl): Use math_force_eval before restoring
33008         floating-point environment.
33009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33011         * math/gen-libm-test.pl (special_functions): Remove.
33012         (parse_args): Don't handle TEST_extra.  Handle functions with no
33013         return value.
33014         * math/libm-test.inc (struct test_sincos_data): Replace with
33015         struct test_fFF_11_data.
33016         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33017         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33018         (sincos_test_data): Change element type to struct
33019         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33020         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33021         RUN_TEST_LOOP_sincos.
33022         * math/README.libm-test: Don't mention special handling of
33023         individual functions.
33024         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33026         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33027         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33028         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33031         * math/gen-libm-test.pl (get_variable): Remove function.
33032         (parse_args): Don't show pointer parameters to call in test
33033         names.  Use "extra output N" in test names for extra outputs
33034         rather than naming variables.
33036 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33038         [BZ #15488]
33039         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33040         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33041         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33042         double tests.
33043         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33044         disable.
33045         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33046         check_long_double.
33048         * math/gen-libm-test.pl (@tests): Remove variable.
33049         ($count): Likewise.
33050         (new_test): Remove function.
33051         (show_exceptions): New function.
33052         (special_functions): Use show_exceptions instead of new_test.
33053         (parse_args): Likewise.
33054         (generate_testfile): Pass only function name in generated call to
33055         print_max_error or print_complex_max_error.
33056         (get_ulps): Do not handle complex tests specially.
33057         (output_test): Rename to ...
33058         (get_all_ulps_for_test): ... this.  Return a string rather than
33059         printing to a file.  Require ulps to be present.
33060         (output_ulps): Generate arrays rather than #defines.
33061         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33062         (struct ulp_data): New type.
33063         (BUILD_COMPLEX_ULP): Remove macro.
33064         (compare_ulp_data): New function.
33065         (find_ulps): Likewise.
33066         (find_test_ulps): Likewise.
33067         (find_function_ulps): Likewise.
33068         (find_complex_function_ulps): Likewise.
33069         (print_max_error): Determine allowed ulps using
33070         find_function_ulps.
33071         (print_complex_max_error): Determine allowed ulps using
33072         find_complex_function_ulps.
33073         (check_float_internal): Determine max ulps using find_test_ulps.
33074         (check_float): Do not take max_ulp parameter.  Update call to
33075         check_float_internal.
33076         (check_complex): Likewise.
33077         (check_int): Do not take max_ulp parameter.
33078         (check_long): Likewise.
33079         (check_bool): Likewise.
33080         (check_longlong): Likewise.
33081         (struct test_f_f_data): Remove max_ulp field.
33082         (struct test_ff_f_data): Likewise.
33083         (struct test_ff_f_data_nexttoward): Likewise.
33084         (struct test_fi_f_data): Likewise.
33085         (struct test_fl_f_data): Likewise.
33086         (struct test_if_f_data): Likewise.
33087         (struct test_fff_f_data): Likewise.
33088         (struct test_c_f_data): Likewise.
33089         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33090         (struct test_fF_f1_data): Likewise.
33091         (struct test_ffI_f1_data): Likewise.
33092         (struct test_c_c_data): Remove max_ulp field.
33093         (struct test_cc_c_data): Likewise.
33094         (struct test_f_i_data): Likewise.
33095         (struct test_ff_i_data): Likewise.
33096         (struct test_f_l_data): Likewise.
33097         (struct test_f_L_data): Likewise.
33098         (struct test_sincos_data): Likewise.
33099         (RUN_TEST_f_f): Do not handle ulps.
33100         (RUN_TEST_LOOP_f_f): Likewise.
33101         (RUN_TEST_2_f): Likewise.
33102         (RUN_TEST_LOOP_2_f): Likewise.
33103         (RUN_TEST_fff_f): Likewise.
33104         (RUN_TEST_LOOP_fff_f): Likewise.
33105         (RUN_TEST_c_f): Likewise.
33106         (RUN_TEST_LOOP_c_f): Likewise.
33107         (RUN_TEST_f_f1): Likewise.
33108         (RUN_TEST_LOOP_f_f1): Likewise.
33109         (RUN_TEST_fF_f1): Likewise.
33110         (RUN_TEST_LOOP_fF_f1): Likewise.
33111         (RUN_TEST_fI_f1): Likewise.
33112         (RUN_TEST_LOOP_fI_f1): Likewise.
33113         (RUN_TEST_ffI_f1): Likewise.
33114         (RUN_TEST_LOOP_ffI_f1): Likewise.
33115         (RUN_TEST_c_c): Likewise.
33116         (RUN_TEST_LOOP_c_c): Likewise.
33117         (RUN_TEST_cc_c): Likewise.
33118         (RUN_TEST_LOOP_cc_c): Likewise.
33119         (RUN_TEST_f_i): Likewise.
33120         (RUN_TEST_LOOP_f_i): Likewise.
33121         (RUN_TEST_f_i_tg): Likewise.
33122         (RUN_TEST_LOOP_f_i_tg): Likewise.
33123         (RUN_TEST_ff_i_tg): Likewise.
33124         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33125         (RUN_TEST_f_b): Likewise.
33126         (RUN_TEST_LOOP_f_b): Likewise.
33127         (RUN_TEST_f_b_tg): Likewise.
33128         (RUN_TEST_LOOP_f_b_tg): Likewise.
33129         (RUN_TEST_f_l): Likewise.
33130         (RUN_TEST_LOOP_f_l): Likewise.
33131         (RUN_TEST_f_L): Likewise.
33132         (RUN_TEST_LOOP_f_L): Likewise.
33133         (RUN_TEST_sincos): Likewise.
33134         (RUN_TEST_LOOP_sincos): Likewise.
33136 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33138         [BZ #15480]
33139         [BZ #15485]
33140         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33141         main case of finite arguments, set rounding mode to FE_TONEAREST
33142         and discard exceptions.
33143         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33144         exceptions.
33145         (remainder_tonearest_test_data): New variable.
33146         (remainder_test_tonearest): New function.
33147         (remainder_towardzero_test_data): New variable.
33148         (remainder_test_towardzero): New function.
33149         (remainder_downward_test_data): New variable.
33150         (remainder_test_downward): New function.
33151         (remainder_upward_test_data): New variable.
33152         (remainder_test_upward): New function.
33153         (main): Call the new test functions.
33155         * math/libm-test.inc (struct test_f_f1_data): Remove field
33156         extra_init.
33157         (struct test_fF_f1_data): Likewise.
33158         (struct test_ffI_f1_data): Likewise.
33159         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33160         based on value of EXTRA_EXPECTED.
33161         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33162         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33163         EXTRA_VAR based on value of EXTRA_EXPECTED.
33164         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33165         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33166         EXTRA_VAR based on value of EXTRA_EXPECTED.
33167         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33168         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33169         EXTRA_VAR based on value of EXTRA_EXPECTED.
33170         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33171         * math/gen-libm-test.pl (parse_args): Don't output initializers
33172         for extra output values.
33174         * math/libm-test.inc (check_int): Expect result to be exactly
33175         equal to expected value and do not handle ulps.
33176         (check_long): Likewise.
33177         (check_longlong): Likewise.
33179         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33180         exceptions.
33181         (cimag_test_data): Likewise.
33182         (conj_test_data): Likewise.
33183         (copysign_test_data): Likewise.
33184         (cproj_test_data): Likewise.
33185         (creal_test_data): Likewise.
33186         (fabs_test_data): Likewise.
33187         (fdim_test_data): Likewise.
33188         (finite_test_data): Likewise.
33189         (floor_test_data): Likewise.
33190         (fmax_test_data): Likewise.
33191         (fmin_test_data): Likewise.
33192         (fmod_test_data): Likewise.
33193         (fpclassify_test_data): Likewise.
33194         (frexp_test_data): Likewise.
33195         (ilogb_test_data): Likewise.
33196         (isfinite_test_data): Likewise.
33197         (isgreater_test_data): Likewise.
33198         (isgreaterequal_test_data): Likewise.
33199         (isinf_test_data): Likewise.
33200         (isless_test_data): Likewise.
33201         (islessequal_test_data): Likewise.
33202         (islessgreater_test_data): Likewise.
33203         (isnan_test_data): Likewise.
33204         (isnormal_test_data): Likewise.
33205         (issignaling_test_data): Likewise.
33206         (isunordered_test_data): Likewise.
33207         (ldexp_test_data): Likewise.
33208         (lrint_test_data): Likewise.
33209         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33210         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33211         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33212         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33213         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33214         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33215         test input.
33216         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33217         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33218         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33219         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33220         that test input.
33221         (lrint_downward_test_data): Test for "inexact" exceptions.
33222         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33223         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33224         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33225         test input.
33226         (lrint_upward_test_data): Test for "inexact" exceptions.
33227         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33228         test input.
33229         (llrint_test_data): Test for "inexact" exceptions.
33230         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33231         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33232         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33233         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33234         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33235         (llrint_downward_test_data): Test for "inexact" exceptions.
33236         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33237         (llrint_upward_test_data): Test for "inexact" exceptions.
33238         (logb_test_data): Likewise.
33239         (logb_downward_test_data): Likewise.
33240         (nextafter_test_data): Likewise.
33241         (nexttoward_test_data): Likewise.
33242         (remainder_test_data): Likewise.
33243         (remquo_test_data): Likewise.
33244         (scalbn_test_data): Likewise.
33245         (scalbln_test_data): Likewise.
33246         (signbit_test_data): Likewise.
33247         (sqrt_test_data): Likewise.
33248         (significand_test_data): Likewise.
33250 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33252         [BZ #15424]
33253         * benchtests/bench-modf.c (struct args): Mark arg0 as
33254         volatile.
33255         * scripts/bench.pl: Mark members of struct args as volatile.
33257 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33259         [BZ # 15497]
33260         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33261         negative infinity on POWER6 or lower.
33262         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33264 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33266         [BZ #15442]
33267         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33268         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33269         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33270         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33271         (_FP_SETQNAN): New macro.
33272         (_FP_SETQNAN_SEMIRAW): Likewise.
33273         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33274         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33275         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33276         (FP_EXTEND): Use _FP_FRAC_SNANP.
33277         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33278         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33279         into account.
33280         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33281         New macro.
33282         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33283         Likewise.
33285 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33287         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33288         with DIVIDE_BY_ZERO_EXCEPTION.
33289         (gamma_test_data): Likewise.
33290         (lgamma_test_data): Likewise.
33291         (log_test_data): Likewise.
33292         (log10_test_data): Likewise.
33293         (log2_test_data): Likewise.
33294         (tgamma_test_data): Likewise.
33296         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33297         (acos_test_tonearest): Likewise.
33298         (acos_test_towardzero): Likewise.
33299         (acos_test_downward): Likewise.
33300         (acos_test_upward): Likewise.
33301         (acosh_test): Likewise.
33302         (asin_test): Likewise.
33303         (asin_test_tonearest): Likewise.
33304         (asin_test_towardzero): Likewise.
33305         (asin_test_downward): Likewise.
33306         (asin_test_upward): Likewise.
33307         (asinh_test): Likewise.
33308         (atan_test): Likewise.
33309         (atanh_test): Likewise.
33310         (atan2_test): Likewise.
33311         (cabs_test): Likewise.
33312         (cacos_test): Likewise.
33313         (cacosh_test): Likewise.
33314         (casin_test): Likewise.
33315         (casinh_test): Likewise.
33316         (catan_test): Likewise.
33317         (catanh_test): Likewise.
33318         (cbrt_test): Likewise.
33319         (ccos_test): Likewise.
33320         (ccosh_test): Likewise.
33321         (cexp_test): Likewise.
33322         (clog_test): Likewise.
33323         (clog10_test): Likewise.
33324         (cos_test): Likewise.
33325         (cos_test_tonearest): Likewise.
33326         (cos_test_towardzero): Likewise.
33327         (cos_test_downward): Likewise.
33328         (cos_test_upward): Likewise.
33329         (cosh_test): Likewise.
33330         (cosh_test_tonearest): Likewise.
33331         (cosh_test_towardzero): Likewise.
33332         (cosh_test_downward): Likewise.
33333         (cosh_test_upward): Likewise.
33334         (cpow_test): Likewise.
33335         (csin_test): Likewise.
33336         (csinh_test): Likewise.
33337         (csqrt_test): Likewise.
33338         (ctan_test): Likewise.
33339         (ctan_test_tonearest): Likewise.
33340         (ctan_test_towardzero): Likewise.
33341         (ctan_test_downward): Likewise.
33342         (ctan_test_upward): Likewise.
33343         (ctanh_test): Likewise.
33344         (ctanh_test_tonearest): Likewise.
33345         (ctanh_test_towardzero): Likewise.
33346         (ctanh_test_downward): Likewise.
33347         (ctanh_test_upward): Likewise.
33348         (erf_test): Likewise.
33349         (erfc_test): Likewise.
33350         (exp_test): Likewise.
33351         (exp_test_tonearest): Likewise.
33352         (exp_test_towardzero): Likewise.
33353         (exp_test_downward): Likewise.
33354         (exp_test_upward): Likewise.
33355         (exp10_test): Likewise.
33356         (exp2_test): Likewise.
33357         (expm1_test): Likewise.
33358         (fmod_test): Likewise.
33359         (gamma_test): Likewise.
33360         (hypot_test): Likewise.
33361         (j0_test): Likewise.
33362         (j1_test): Likewise.
33363         (jn_test): Likewise.
33364         (lgamma_test): Likewise.
33365         (log_test): Likewise.
33366         (log10_test): Likewise.
33367         (log1p_test): Likewise.
33368         (log2_test): Likewise.
33369         (logb_test_downward): Likewise.
33370         (pow_test): Likewise.
33371         (pow_test_tonearest): Likewise.
33372         (pow_test_towardzero): Likewise.
33373         (pow_test_downward): Likewise.
33374         (pow_test_upward): Likewise.
33375         (remainder_test): Likewise.
33376         (remquo_test): Likewise.
33377         (sin_test): Likewise.
33378         (sin_test_tonearest): Likewise.
33379         (sin_test_towardzero): Likewise.
33380         (sin_test_downward): Likewise.
33381         (sin_test_upward): Likewise.
33382         (sincos_test): Likewise.
33383         (sinh_test): Likewise.
33384         (sinh_test_tonearest): Likewise.
33385         (sinh_test_towardzero): Likewise.
33386         (sinh_test_downward): Likewise.
33387         (sinh_test_upward): Likewise.
33388         (sqrt_test): Likewise.
33389         (tan_test): Likewise.
33390         (tan_test_tonearest): Likewise.
33391         (tan_test_towardzero): Likewise.
33392         (tan_test_downward): Likewise.
33393         (tan_test_upward): Likewise.
33394         (tanh_test): Likewise.
33395         (tgamma_test): Likewise.
33396         (y0_test): Likewise.
33397         (y1_test): Likewise.
33398         (yn_test): Likewise.
33400         * math/gen-libm-test.pl (adjust_arg): Remove function.
33401         (special_function): Remove argument $in_func.  Only handle
33402         generating output for tables of tests, not inside functions.
33403         (parse_args): Likewise.
33404         (generate_testfile): Remove variable $in_func.  Update call to
33405         parse_args.
33406         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33407         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33408         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33409         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33410         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33411         (MAX_VALUE_INIT): Rename macro to max_value.
33412         (MIN_VALUE_INIT): Rename macro to min_value.
33413         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33414         (plus_zero): Remove variable.
33415         (minus_zero): Likewise.
33416         (plus_infty): Likewise.
33417         (minus_infty): Likewise.
33418         (qnan_value): Likewise.
33419         (max_value): Likewise.
33420         (min_value): Likewise.
33421         (min_subnorm_value): Likewise.
33423 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33425         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33426         uint64_t or uint32_t usage.
33427         * crypt/sha256-block.c: Likewise.
33428         * crypt/sha256-crypt.c: Likewise.
33429         * crypt/sha256.c: Likewise.
33430         * crypt/sha512-block.c: Likewise.
33431         * crypt/sha512-crypt.c: Likewise.
33432         * crypt/sha512.c: Likewise.
33433         * debug/backtrace-tst.c: Likewise.
33434         * debug/pcprofiledump.c: Likewise.
33435         * elf/cache.c: Likewise.
33436         * elf/dl-cache.c: Likewise.
33437         * elf/dl-misc.c: Likewise.
33438         * elf/dl-profile.c: Likewise.
33439         * elf/dl-support.c: Likewise.
33440         * elf/ldconfig.c: Likewise.
33441         * elf/sprof.c: Likewise.
33442         * iconv/dummy-repertoire.c: Likewise.
33443         * iconv/iconv_charmap.c: Likewise.
33444         * iconv/skeleton.c: Likewise.
33445         * iconvdata/8bit-generic.c: Likewise.
33446         * iconvdata/cp737.h: Likewise.
33447         * iconvdata/cp775.h: Likewise.
33448         * iconvdata/ibm1008.h: Likewise.
33449         * iconvdata/ibm1025.h: Likewise.
33450         * iconvdata/ibm1046.h: Likewise.
33451         * iconvdata/ibm1097.h: Likewise.
33452         * iconvdata/ibm1112.h: Likewise.
33453         * iconvdata/ibm1122.h: Likewise.
33454         * iconvdata/ibm1123.h: Likewise.
33455         * iconvdata/ibm1124.h: Likewise.
33456         * iconvdata/ibm1129.h: Likewise.
33457         * iconvdata/ibm1130.h: Likewise.
33458         * iconvdata/ibm1132.h: Likewise.
33459         * iconvdata/ibm1133.h: Likewise.
33460         * iconvdata/ibm1137.h: Likewise.
33461         * iconvdata/ibm1140.h: Likewise.
33462         * iconvdata/ibm1141.h: Likewise.
33463         * iconvdata/ibm1142.h: Likewise.
33464         * iconvdata/ibm1143.h: Likewise.
33465         * iconvdata/ibm1144.h: Likewise.
33466         * iconvdata/ibm1145.h: Likewise.
33467         * iconvdata/ibm1146.h: Likewise.
33468         * iconvdata/ibm1147.h: Likewise.
33469         * iconvdata/ibm1148.h: Likewise.
33470         * iconvdata/ibm1149.h: Likewise.
33471         * iconvdata/ibm1153.h: Likewise.
33472         * iconvdata/ibm1154.h: Likewise.
33473         * iconvdata/ibm1155.h: Likewise.
33474         * iconvdata/ibm1156.h: Likewise.
33475         * iconvdata/ibm1157.h: Likewise.
33476         * iconvdata/ibm1158.h: Likewise.
33477         * iconvdata/ibm1160.h: Likewise.
33478         * iconvdata/ibm1161.h: Likewise.
33479         * iconvdata/ibm1162.h: Likewise.
33480         * iconvdata/ibm1163.h: Likewise.
33481         * iconvdata/ibm1164.h: Likewise.
33482         * iconvdata/ibm1166.h: Likewise.
33483         * iconvdata/ibm1167.h: Likewise.
33484         * iconvdata/ibm12712.h: Likewise.
33485         * iconvdata/ibm1390.h: Likewise.
33486         * iconvdata/ibm1399.h: Likewise.
33487         * iconvdata/ibm16804.h: Likewise.
33488         * iconvdata/ibm4517.h: Likewise.
33489         * iconvdata/ibm4899.h: Likewise.
33490         * iconvdata/ibm4909.h: Likewise.
33491         * iconvdata/ibm4971.h: Likewise.
33492         * iconvdata/ibm5347.h: Likewise.
33493         * iconvdata/ibm803.h: Likewise.
33494         * iconvdata/ibm856.h: Likewise.
33495         * iconvdata/ibm901.h: Likewise.
33496         * iconvdata/ibm902.h: Likewise.
33497         * iconvdata/ibm9030.h: Likewise.
33498         * iconvdata/ibm9066.h: Likewise.
33499         * iconvdata/ibm921.h: Likewise.
33500         * iconvdata/ibm922.h: Likewise.
33501         * iconvdata/ibm9448.h: Likewise.
33502         * iconvdata/isiri-3342.h: Likewise.
33503         * iconvdata/jis0201.h: Likewise.
33504         * include/link.h: Likewise.
33505         * include/netdb.h: Likewise.
33506         * inet/check_native.c: Likewise.
33507         * inet/check_pf.c: Likewise.
33508         * inet/getipv4sourcefilter.c: Likewise.
33509         * inet/getnameinfo.c: Likewise.
33510         * inet/getsourcefilter.c: Likewise.
33511         * inet/htonl.c: Likewise.
33512         * inet/setipv4sourcefilter.c: Likewise.
33513         * inet/setsourcefilter.c: Likewise.
33514         * inet/test-inet6_opt.c: Likewise.
33515         * inet/tst-network.c: Likewise.
33516         * locale/C-collate.c: Likewise.
33517         * locale/C-ctype.c: Likewise.
33518         * locale/C-time.c: Likewise.
33519         * locale/C-translit.h: Likewise.
33520         * locale/loadarchive.c: Likewise.
33521         * locale/programs/3level.h: Likewise.
33522         * locale/programs/charmap.c: Likewise.
33523         * locale/programs/charmap.h: Likewise.
33524         * locale/programs/ld-address.c: Likewise.
33525         * locale/programs/ld-collate.c: Likewise.
33526         * locale/programs/ld-ctype.c: Likewise.
33527         * locale/programs/ld-identification.c: Likewise.
33528         * locale/programs/ld-measurement.c: Likewise.
33529         * locale/programs/ld-messages.c: Likewise.
33530         * locale/programs/ld-monetary.c: Likewise.
33531         * locale/programs/ld-name.c: Likewise.
33532         * locale/programs/ld-numeric.c: Likewise.
33533         * locale/programs/ld-paper.c: Likewise.
33534         * locale/programs/ld-telephone.c: Likewise.
33535         * locale/programs/ld-time.c: Likewise.
33536         * locale/programs/linereader.c: Likewise.
33537         * locale/programs/locale.c: Likewise.
33538         * locale/programs/locarchive.c: Likewise.
33539         * locale/programs/locfile.h: Likewise.
33540         * locale/programs/repertoire.c: Likewise.
33541         * locale/programs/simple-hash.c: Likewise.
33542         * locale/programs/simple-hash.h: Likewise.
33543         * malloc/memusage.c: Likewise.
33544         * malloc/memusagestat.c: Likewise.
33545         * nis/nis_defaults.c: Likewise.
33546         * nis/nis_hash.c: Likewise.
33547         * nis/nis_print.c: Likewise.
33548         * nis/nis_xdr.c: Likewise.
33549         * nscd/connections.c: Likewise.
33550         * nscd/hstcache.c: Likewise.
33551         * nscd/nscd_gethst_r.c: Likewise.
33552         * nscd/nscd_getserv_r.c: Likewise.
33553         * nscd/nscd_helper.c: Likewise.
33554         * nscd/servicescache.c: Likewise.
33555         * nss/makedb.c: Likewise.
33556         * nss/nss_db/db-XXX.c: Likewise.
33557         * nss/nss_db/db-initgroups.c: Likewise.
33558         * nss/nss_db/db-netgrp.c: Likewise.
33559         * nss/nss_files/files-network.c: Likewise.
33560         * nss/nss_files/files-parse.c: Likewise.
33561         * posix/bug-regex5.c: Likewise.
33562         * posix/fnmatch_loop.c: Likewise.
33563         * posix/regcomp.c: Likewise.
33564         * posix/regexec.c: Likewise.
33565         * posix/tst-rfc3484-2.c: Likewise.
33566         * posix/tst-rfc3484-3.c: Likewise.
33567         * posix/tst-rfc3484.c: Likewise.
33568         * resolv/nss_dns/dns-canon.c: Likewise.
33569         * resolv/nss_dns/dns-network.c: Likewise.
33570         * resolv/res_init.c: Likewise.
33571         * resolv/res_mkquery.c: Likewise.
33572         * resolv/tst-aton.c: Likewise.
33573         * stdlib/cxa_atexit.c: Likewise.
33574         * stdlib/cxa_finalize.c: Likewise.
33575         * stdlib/gen-fpioconst.c: Likewise.
33576         * stdlib/strtol_l.c: Likewise.
33577         * string/tst-endian.c: Likewise.
33578         * sunrpc/auth_des.c: Likewise.
33579         * sunrpc/clnt_udp.c: Likewise.
33580         * sunrpc/rtime.c: Likewise.
33581         * sunrpc/svcauth_des.c: Likewise.
33582         * sunrpc/xdr.c: Likewise.
33583         * sunrpc/xdr_intXX_t.c: Likewise.
33584         * sunrpc/xdr_rec.c: Likewise.
33585         * sysdeps/generic/ldconfig.h: Likewise.
33586         * sysdeps/generic/ldsodefs.h: Likewise.
33587         * sysdeps/generic/memusage.h: Likewise.
33588         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33589         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33590         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33591         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33592         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33594         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33595         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33596         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33598         * sysdeps/posix/getaddrinfo.c: Likewise.
33599         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33600         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33601         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33602         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33603         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33604         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33605         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33606         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33607         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33608         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33609         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33610         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33611         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33612         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33613         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33614         * sysdeps/x86_64/dl-tls.h: Likewise.
33615         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33616         * time/alt_digit.c: Likewise.
33617         * time/era.c: Likewise.
33618         * wcsmbs/tst-c16c32-1.c: Likewise.
33620 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33622         * math/libm-test.inc (struct test_sincos_data): New type.
33623         (RUN_TEST_LOOP_sincos): New macro.
33624         (sincos_test_data): New variable.
33625         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33627 2013-05-16  Richard Henderson  <rth@redhat.com>
33629         * math/atest-exp2.c (LIMB64): New macro.
33630         (CONSTSZ): New macro.
33631         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33632         (hexdig): Move ...
33633         (print_mpn_fp): ... to function scope.
33634         (read_mpn_hex): Remove.
33635         (get_log2): Remove.
33636         (exp2_mpn): Use mp_log2.
33637         (main): Use mp_exp1.
33639 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33641         * math/libm-test.inc: Remove comment about not testing "inexact"
33642         exceptions.
33643         (INEXACT_EXCEPTION): New macro.
33644         (NO_INEXACT_EXCEPTION): Likewise.
33645         (INVALID_EXCEPTION_OK): Update value.
33646         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33647         (OVERFLOW_EXCEPTION_OK): Likewise.
33648         (UNDERFLOW_EXCEPTION_OK): Likewise.
33649         (IGNORE_ZERO_INF_SIGN): Likewise.
33650         (ERRNO_UNCHANGED): Likewise.
33651         (ERRNO_EDOM): Likewise.
33652         (ERRNO_ERANGE): Likewise.
33653         (test_exceptions): Handle testing "inexact" exceptions.
33654         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33655         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33656         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33657         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33658         INEXACT_EXCEPTION.
33659         (rint_towardzero_test_data): Likewise.
33660         (rint_downward_test_data): Likewise.
33661         (rint_upward_test_data): Likewise.
33663         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33664         with OVERFLOW_EXCEPTION.
33665         (exp10_test_data): Likewise.
33666         (exp2_test_data): Likewise.
33667         (expm1_test_data): Likewise.
33668         (lgamma_test_data): Likewise.
33669         (pow_test_data): Likewise.
33670         (tgamma_test_data): Likewise.
33671         (yn_test_data): Remove duplicate test of overflow.
33673         * math/libm-test.inc (struct test_cc_c_data): New type.
33674         (RUN_TEST_LOOP_cc_c): New macro.
33675         (cpow_test_data): New variable.
33676         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33678         * math/libm-test.inc (struct test_f_L_data): New type.
33679         (RUN_TEST_LOOP_f_L): New macro.
33680         (llrint_test_data): New variable.
33681         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33682         (llrint_tonearest_test_data): New variable.
33683         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33684         (llrint_towardzero_test_data): New variable.
33685         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33686         (llrint_downward_test_data): New variable.
33687         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33688         (llrint_upward_test_data): New variable.
33689         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33690         (llround_test_data): New variable.
33691         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33693 2013-05-13  Peter Collingbourne  <pcc@google.com>
33695         * math/atest-exp2.c (get_log2): Remove const attribute.
33697 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33699         * math/libm-test.inc (struct test_f_l_data): New type.
33700         (RUN_TEST_LOOP_f_l): New macro.
33701         (lrint_test_data): New variable.
33702         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33703         (lrint_tonearest_test_data): New variable.
33704         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33705         (lrint_towardzero_test_data): New variable.
33706         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33707         (lrint_downward_test_data): New variable.
33708         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33709         (lrint_upward_test_data): New variable.
33710         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33711         (lround_test_data): New variable.
33712         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33714 2013-05-15  Peter Collingbourne  <pcc@google.com>
33716         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33717         (EXTRACT_WORDS64) Use where appropriate.
33718         (INSERT_WORDS64) Likewise.
33720         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33721         constraints with x constraints.
33722         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33724         * malloc/obstack.c (_obstack_compat): Add initializer.
33726 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33728         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33729         si_trapno and add si_addr_lsb to _sifields.sigfault.
33730         (si_trapno): Remove macro.
33731         (si_addr_lsb): Define new macro.
33732         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33734 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33736         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33737         instead of TEST_f_l.
33738         (llrint_test_tonearest): Likewise.
33739         (llrint_test_towardzero): Likewise.
33740         (llrint_test_downward): Likewise.
33741         (llrint_test_upward): Likewise.
33742         (llround_test): Likewise.
33744         * math/libm-test.inc (struct test_f_i_data): Add comment.
33745         (RUN_TEST_LOOP_f_b): New macro.
33746         (RUN_TEST_LOOP_f_b_tg): Likewise.
33747         (finite_test_data): New variable.
33748         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33749         (isfinite_test_data): New variable.
33750         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33751         (isinf_test_data): New variable.
33752         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33753         (isnan_test_data): New variable.
33754         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33755         (isnormal_test_data): New variable.
33756         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33757         (issignaling_test_data): New variable.
33758         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33759         (signbit_test_data): New variable.
33760         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33762         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33763         with INVALID_EXCEPTION.
33764         (acosh_test_data): Likewise.
33765         (asin_test_data): Likewise.
33766         (atanh_test_data): Likewise.
33767         (fmod_test_data): Likewise.
33768         (log_test_data): Likewise.
33769         (log10_test_data): Likewise.
33770         (log2_test_data): Likewise.
33771         (pow_test_data): Likewise.
33772         (sqrt_test_data): Likewise.
33773         (y0_test_data): Likewise.
33774         (y1_test_data): Likewise.
33775         (yn_test_data): Likewise.
33777         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33778         function contents.
33780         * math/libm-test.inc (struct test_ff_i_data): New type.
33781         (RUN_TEST_LOOP_ff_i_tg): New macro.
33782         (isgreater_test_data): New variable.
33783         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33784         (isgreaterequal_test_data): New variable.
33785         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33786         (isless_test_data): New variable.
33787         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33788         (islessequal_test_data): New variable.
33789         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33790         (islessgreater_test_data): New variable.
33791         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33792         (isunordered_test_data): New variable.
33793         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33795 2013-05-14  David S. Miller  <davem@davemloft.net>
33797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33799 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33801         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33803         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33804         extra_test to int.
33805         (struct test_f_i_data): Change type of max_ulp to int.
33807         * math/libm-test.inc (test_ffI_f1_data): New type.
33808         (RUN_TEST_LOOP_ffI_f1): New macro.
33809         (remquo_test_data): New variable.
33810         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33812         * setjmp/tst-setjmp-fp.c: New file.
33813         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33814         (link-libm): New variable.
33815         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33817         * math/libm-test.inc (struct test_f_i_data): New type.
33818         (RUN_TEST_LOOP_f_i): New macro.
33819         (RUN_TEST_LOOP_f_i_tg): Likewise.
33820         (fpclassify_test_data): New variable.
33821         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33822         (ilogb_test_data): New variable.
33823         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33825         * math/libm-test.inc (scalbln_test): Correct function name in END
33826         call.
33828         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33829         (RUN_TEST_LOOP_fI_f1): New macro.
33830         (frexp_test_data): New variable.
33831         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33833         * math/libm-test.inc (struct test_fF_f1_data): New type.
33834         (RUN_TEST_LOOP_fF_f1): New macro.
33835         (modf_test_data): New variable.
33836         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33838         * math/libm-test.inc (struct test_f_f1_data): New type.
33839         (RUN_TEST_LOOP_f_f1): New macro.
33840         (gamma_test_data): New variable.
33841         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33842         (lgamma_test_data): New variable.
33843         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33845 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33847         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33848         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33849         (main): Comment "tls" pseudo-hwcap.
33851 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33853         * math/libm-test.inc (struct test_fl_f_data): New type.
33854         (RUN_TEST_LOOP_fl_f): New variable.
33855         (scalbln_test_data): New variable.
33856         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33858         * math/libm-test.inc (struct test_fi_f_data): New type.
33859         (RUN_TEST_LOOP_fi_f): New macro.
33860         (ldexp_test_data): New variable.
33861         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33862         (scalbn_test_data): New variable.
33863         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33865         * math/libm-test.inc (struct test_c_f_data): New type.
33866         (RUN_TEST_LOOP_c_f): New macro.
33867         (cabs_test_data): New variable.
33868         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33869         (carg_test_data): New variable.
33870         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33871         (cimag_test_data): New variable.
33872         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33873         (creal_test_data): New variable.
33874         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33876         * math/libm-test.inc (struct test_if_f_data): New type.
33877         (RUN_TEST_LOOP_if_f): New macro.
33878         (jn_test_data): New variable.
33879         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33880         (yn_test_data): New variable.
33881         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33883         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33885 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33887         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33888         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33890 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33892         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33893         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33894         (bench-deps): Add bench-timing.h.
33895         * benchtests-bench-skeleton.c: Include bench-timing.h.
33896         (main): Use TIMING_* macros instead of clock_gettime.
33897         * benchtests/bench-timing.h: New file.
33899         [BZ #14582]
33900         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33901         Renamed from _LIB_VERSION.
33902         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33904 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33906         * math/libm-test.inc (struct test_fff_f_data): New type.
33907         (RUN_TEST_LOOP_fff_f): New macro.
33908         (fma_test_data): New variable.
33909         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33910         (fma_towardzero_test_data): New variable.
33911         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33912         (fma_downward_test_data): New variable.
33913         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33914         (fma_upward_test_data): New variable.
33915         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33917         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33918         (struct test_c_c_data): New type.
33919         (RUN_TEST_LOOP_c_c): New macro.
33920         (cacos_test_data): New variable.
33921         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33922         (cacosh_test_data): New variable.
33923         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33924         (casin_test_data): New variable.
33925         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33926         (casinh_test_data): New variable.
33927         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33928         (catan_test_data): New variable.
33929         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33930         (catanh_test_data): New variable.
33931         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33932         (ccos_test_data): New variable.
33933         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33934         (ccosh_test_data): New variable.
33935         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33936         (cexp_test_data): New variable.
33937         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33938         (clog_test_data): New variable.
33939         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33940         (clog10_test_data): New variable.
33941         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33942         (conj_test_data): New variable.
33943         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33944         (cproj_test_data): New variable.
33945         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33946         (csin_test_data): New variable.
33947         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33948         (csinh_test_data): New variable.
33949         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33950         (csqrt_test_data): New variable.
33951         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33952         (ctan_test_data): New variable.
33953         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33954         (ctan_tonearest_test_data): New variable.
33955         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33956         (ctan_towardzero_test_data): New variable.
33957         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33958         (ctan_downward_test_data): New variable.
33959         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33960         (ctan_upward_test_data): New variable.
33961         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33962         (ctanh_test_data): New variable.
33963         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33964         (ctanh_tonearest_test_data): New variable.
33965         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33966         (ctanh_towardzero_test_data): New variable.
33967         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33968         (ctanh_downward_test_data): New variable.
33969         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33970         (ctanh_upward_test_data): New variable.
33971         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33972         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33973         of BUILD_COMPLEX.
33975         * math/libm-test.inc (struct test_ff_f_data): New type.
33976         (struct test_ff_f_data_nexttoward): Likewise.
33977         (RUN_TEST_LOOP_2_f): New macro.
33978         (RUN_TEST_LOOP_ff_f): Likewise.
33979         (atan2_test_data): New variable.
33980         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33981         (copysign_test_data): New variable.
33982         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33983         (fdim_test_data): New variable.
33984         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33985         (fmax_test_data): New variable.
33986         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33987         (fmin_test_data): New variable.
33988         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33989         (fmod_test_data): New variable.
33990         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33991         (hypot_test_data): New variable.
33992         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33993         (nextafter_test_data): New variable.
33994         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33995         (nexttoward_test_data): New variable.
33996         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33997         (pow_test_data): New variable.
33998         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33999         (pow_tonearest_test_data): New variable.
34000         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34001         (pow_towardzero_test_data): New variable.
34002         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34003         (pow_downward_test_data): New variable.
34004         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34005         (pow_upward_test_data): New variable.
34006         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34007         (remainder_test_data): New variable.
34008         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34009         (scalb_test_data): New variable.
34010         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34011         * sysdeps/i386/fpu/libm-test-ulps: Update.
34013 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34015         * math/libm-test.inc (fma_test): Use max_value instead of local
34016         variable fltmax.
34017         (nextafter_test): Likewise.
34019         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34020         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34021         (acos_downward_test_data): New variable.
34022         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34023         (acos_upward_test_data): New variable.
34024         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34025         (acosh_test_data): New variable.
34026         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34027         (asin_test_data): New variable.
34028         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34029         (asin_tonearest_test_data): New variable.
34030         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34031         (asin_towardzero_test_data): New variable.
34032         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34033         (asin_downward_test_data): New variable.
34034         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34035         (asin_upward_test_data): New variable.
34036         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34037         (asinh_test_data): New variable.
34038         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34039         (atan_test_data): New variable.
34040         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34041         (atanh_test_data): New variable.
34042         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34043         (cbrt_test_data): New variable.
34044         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34045         (ceil_test_data): New variable.
34046         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34047         (cos_test_data): New variable.
34048         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34049         (cos_tonearest_test_data): New variable.
34050         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34051         (cos_towardzero_test_data): New variable.
34052         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34053         (cos_downward_test_data): New variable.
34054         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34055         (cos_upward_test_data): New variable.
34056         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34057         (cosh_test_data): New variable.
34058         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34059         (cosh_tonearest_test_data): New variable.
34060         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34061         (cosh_towardzero_test_data): New variable.
34062         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34063         (cosh_downward_test_data): New variable.
34064         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34065         (cosh_upward_test_data): New variable.
34066         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34067         (erf_test_data): New variable.
34068         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34069         (erfc_test_data): New variable.
34070         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34071         (exp_test_data): New variable.
34072         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34073         (exp_tonearest_test_data): New variable.
34074         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34075         (exp_towardzero_test_data): New variable.
34076         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34077         (exp_downward_test_data): New variable.
34078         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34079         (exp_upward_test_data): New variable.
34080         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34081         (exp10_test_data): New variable.
34082         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34083         (exp2_test_data): New variable.
34084         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34085         (expm1_test_data): New variable.
34086         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34087         (fabs_test_data): New variable.
34088         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34089         (floor_test_data): New variable.
34090         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34091         (j0_test_data): New variable.
34092         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34093         (j1_test_data): New variable.
34094         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34095         (log_test_data): New variable.
34096         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34097         (log10_test_data): New variable.
34098         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34099         (log1p_test_data): New variable.
34100         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34101         (log2_test_data): New variable.
34102         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34103         (logb_test_data): New variable.
34104         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34105         (logb_downward_test_data): New variable.
34106         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34107         (nearbyint_test_data): New variable.
34108         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34109         (rint_test_data): New variable.
34110         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34111         (rint_tonearest_test_data): New variable.
34112         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34113         (rint_towardzero_test_data): New variable.
34114         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34115         (rint_downward_test_data): New variable.
34116         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34117         (rint_upward_test_data): New variable.
34118         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34119         (round_test_data): New variable.
34120         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34121         (sin_test_data): New variable.
34122         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34123         (sin_tonearest_test_data): New variable.
34124         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34125         (sin_towardzero_test_data): New variable.
34126         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34127         (sin_downward_test_data): New variable.
34128         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34129         (sin_upward_test_data): New variable.
34130         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34131         (sinh_test_data): New variable.
34132         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34133         (sinh_tonearest_test_data): New variable.
34134         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34135         (sinh_towardzero_test_data): New variable.
34136         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34137         (sinh_downward_test_data): New variable.
34138         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34139         (sinh_upward_test_data): New variable.
34140         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34141         (sqrt_test_data): New variable.
34142         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34143         (tan_test_data): New variable.
34144         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34145         (tan_tonearest_test_data): New variable.
34146         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34147         (tan_towardzero_test_data): New variable.
34148         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34149         (tan_downward_test_data): New variable.
34150         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34151         (tan_upward_test_data): New variable.
34152         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34153         (tanh_test_data): New variable.
34154         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34155         (tgamma_test_data): New variable.
34156         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34157         (trunc_test_data): New variable.
34158         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34159         (y0_test_data): New variable.
34160         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34161         (y1_test_data): New variable.
34162         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34163         (significand_test_data): New variable.
34164         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34166 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34168         [BZ #12387]
34169         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34171 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34173         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34175 2013-05-10  Andreas Jaeger  <aj@suse.de>
34177         [BZ #15448]
34178         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34179         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34181 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34183         * math/gen-libm-test.pl (adjust_arg): New function.
34184         (special_functions): Handle generating output in both functions
34185         and arrays.
34186         (parse_args): Likewise.
34187         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34188         $in_func argument to parse_args.
34189         * math/libm-test.inc (struct test_f_f_data): New type.
34190         (IF_ROUND_INIT_): New macro.
34191         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34192         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34193         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34194         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34195         (ROUND_RESTORE_): Likewise.
34196         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34197         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34198         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34199         (ROUND_RESTORE_FE_UPWARD): Likewise.
34200         (RUN_TEST_LOOP_f_f): New macro.
34201         (acos_test_data): New variable.
34202         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34203         (acos_tonearest_test_data): New variable.
34204         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34206 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34208         * benchtests/bench-skeleton.c (startup): Fix coding style.
34210 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34212         [BZ #6809]
34213         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34214         negative infinity argument.
34215         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34216         negative infinity argument.
34217         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34218         negative infinity argument.
34219         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34220         domain errors.
34222 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34224         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34225         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34226         * iconv/iconv_prog.c (main): Likewise.
34227         * locale/programs/charmap-dir.c (charmap_readdir)
34228         (fopen_uncompressed): Likewise.
34229         * locale/programs/locfile.c (siblings_uncached)
34230         (write_locale_data): Use lstat64 instead of lstat.
34231         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34232         stat.
34234 2013-05-10  Andreas Jaeger  <aj@suse.de>
34236         [BZ #15395]
34237         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34238         localization.
34239         Include <locale.h>.
34241 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34243         * elf/dl-close.c (_dl_close_worker): Add comments.
34245 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34247         [BZ #15359]
34248         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34249         high part of pi/2.
34250         (__ieee754_rem_pio2l): Update comments.
34252         [BZ #15429]
34253         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34254         high part of pi/2.
34255         (__ieee754_rem_pio2l): Update comments.
34257         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34258         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34260         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34261         M_PI_4l.
34263         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34264         (M_PI_34_LOG10El): Likewise.
34265         (M_PI2_LOG10El): Likewise.
34266         (M_PI4_LOG10El): Likewise.
34267         (M_PI_LOG10El): Likewise.
34269 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34273 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34275         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34276         (MINUS_ZERO_INIT): Likewise.
34277         (PLUS_INFTY_INIT): Likewise.
34278         (MINUS_INFTY_INIT): Likewise.
34279         (QNAN_VALUE_INIT): Likewise.
34280         (MAX_VALUE_INIT): Likewise.
34281         (MIN_VALUE_INIT): Likewise.
34282         (MIN_SUBNORM_VALUE_INIT): Likewise.
34283         (plus_zero): Initialize with PLUS_ZERO_INIT.
34284         (minus_zero): Initialize with MINUS_ZERO_INIT.
34285         (plus_infty): Initialize with PLUS_INFTY_INIT.
34286         (minus_infty): Initialize with MINUS_INFTY_INIT.
34287         (qnan_value): Initialize with QNAN_VALUE_INIT.
34288         (max_value): Initialize with MAX_VALUE_INIT.
34289         (min_value): Initialize with MIN_VALUE_INIT.
34290         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34292         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34293         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34294         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34295         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34297         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34298         (RUN_TEST_2_f): Likewise.
34299         (RUN_TEST_ff_f): Likewise.
34300         (RUN_TEST_fi_f): Likewise.
34301         (RUN_TEST_fl_f): Likewise.
34302         (RUN_TEST_fff_f): Likewise.
34303         (RUN_TEST_c_f): Likewise.
34304         (RUN_TEST_f_f1): Likewise.
34305         (RUN_TEST_fF_f1): Likewise.
34306         (RUN_TEST_fI_f1): Likewise.
34307         (RUN_TEST_ffI_f1): Likewise.
34308         (RUN_TEST_c_c): Likewise.
34309         (RUN_TEST_cc_c): Likewise.
34310         (RUN_TEST_f_i): Likewise.
34311         (RUN_TEST_f_i_tg): Likewise.
34312         (RUN_TEST_ff_i_tg): Likewise.
34313         (RUN_TEST_f_b): Likewise.
34314         (RUN_TEST_f_b_tg): Likewise.
34315         (RUN_TEST_f_l): Likewise.
34316         (RUN_TEST_f_L): Likewise.
34317         (RUN_TEST_sincos): Likewise.
34318         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34319         whether to show exceptions.  Do not include ");\n" in return
34320         value.
34321         (special_functions): Output call to RUN_TEST_sincos instead of
34322         check_float calls.  Update calls to new_test.
34323         (parse_args): Output call to single RUN_TEST_* macro instead of
34324         check_* calls and other assignments.  Update calls to new_test.
34326         [BZ #2546]
34327         [BZ #2560]
34328         [BZ #5159]
34329         [BZ #15426]
34330         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34331         input to result for tgamma overflow.
34332         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34333         (gamma_coeff): New variable.
34334         (NCOEFF): New macro.
34335         (gamma_positive): New function.
34336         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34337         underflow here.  Use gamma_positive instead of exp (lgamma) for
34338         other arguments.
34339         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34340         (gamma_coeff): New variable.
34341         (NCOEFF): New macro.
34342         (gammaf_positive): New function.
34343         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34344         underflow here.  Use gamma_positive instead of exp (lgamma) for
34345         other arguments.
34346         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34347         (gamma_coeff): New variable.
34348         (NCOEFF): New macro.
34349         (gammal_positive): New function.
34350         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34351         underflow here.  Use gamma_positive instead of exp (lgamma) for
34352         other arguments.
34353         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34354         (gamma_coeff): New variable.
34355         (NCOEFF): New macro.
34356         (gammal_positive): New function.
34357         (__ieee754_gammal_r): Handle positive infinity, overflow and
34358         underflow here.  Handle NaN the same as positive infinity.  Remove
34359         check x < 0xffffffff for negative integers.  Use gamma_positive
34360         instead of exp (lgamma) for other arguments.
34361         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34362         (gamma_coeff): New variable.
34363         (NCOEFF): New macro.
34364         (gammal_positive): New function.
34365         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34366         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34367         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34368         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34369         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34370         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34371         * sysdeps/generic/math_private.h (__gamma_productf): New
34372         prototype.
34373         (__gamma_product): Likewise.
34374         (__gamma_productl): Likewise.
34375         * math/Makefile (libm-calls): Add gamma_product.
34376         * math/libm-test.inc (tgamma_test): Add more tests.
34377         * sysdeps/i386/fpu/libm-test-ulps: Update.
34378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34380 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34382         * benchtests/bench-skeleton.c (main): Preheat CPU.
34384 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34386         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34388 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34390         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34391         and _dl_skip_args_internal.
34393 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34395         * manual/message.texi (Message Translation): Talk about users.
34396         Message to key mapping impacts design.
34398 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34400         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34402         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34404         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34405         * sysdeps/wordsize-64/glob64.c: ... here.
34407         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34408         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34409         New macros.
34411         * debug/getlogin_r_chk.c: Moved to ...
34412         * login/getlogin_r_chk.c: ... here.
34413         * debug/Makefile (routines): Move getlogin_r_chk to ...
34414         * login/Makefile (routines): ... here.
34415         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34416         * login/Versions (libc: GLIBC_2.4): ... here.
34418         * io/poll.c (__poll): Renamed from poll.
34419         Add libc_hidden_def.
34420         (poll): Define as weak alias.
34422         * debug/ptsname_r_chk.c: Moved to ...
34423         * login/ptsname_r_chk.c: ... here.
34424         * debug/Makefile (routines): Move ptsname_r_chk to ...
34425         * login/Makefile (routines): ... here.
34426         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34427         * login/Versions (libc: GLIBC_2.4): ... here.
34429         * posix/getlogin.c: Moved to ...
34430         * login/getlogin.c: ... here.
34431         * posix/getlogin_r.c: Moved to ...
34432         * login/getlogin_r.c: ... here.
34433         * posix/getlogin_r.c: Moved to ...
34434         * login/getlogin_r.c: ... here.
34435         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34436         * login/Makefile (routines): ... here.
34437         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34438         * login/Versions (libc: GLIBC_2.0): ... here.
34440         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34441         (setrlimit): Define as weak alias.
34443         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34444         Call __ names for open, ftruncate, and close.
34445         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34446         (truncate): Define as weak alias.
34448 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34450         * math/gen-libm-test.pl (parse_args): Initialize x before each
34451         test of frexp, modf and remquo.
34453         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34454         test signgam value.
34456 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34458         [BZ #15418]
34459         [BZ #15419]
34460         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34461         internal tests.
34462         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34464 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34466         * elf/dl-writev.h: New file.
34467         * elf/dl-misc.c: Include it.
34468         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34469         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34471 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34473         * math/libm-test.inc (noXFails): Remove variable.
34474         (noXPasses): Likewise.
34475         (BUILD_COMPLEX_INT): Remove macro.
34476         (print_screen): Remove xfail argument.
34477         (print_screen_max_error): Likewise.
34478         (update_stats): Likewise.
34479         (print_max_error): Likewise.  Update calls to other affected
34480         functions.
34481         (print_complex_max_error): Likewise.
34482         (test_single_exception): Update calls to print_screen.
34483         (test_single_errno): Likewise.
34484         (check_float_internal): Remove xfail argument.  Update calls to
34485         other affected functions.
34486         (check_float): Likewise.
34487         (check_complex): Likewise.
34488         (check_int): Likewise.
34489         (check_long): Likewise.
34490         (check_bool): Likewise.
34491         (check_longlong): Likewise.
34492         (main): Don't print noXFails and noXPasses.
34493         * math/gen-libm-test.pl (top level): Don't mention expected
34494         failure handling in comment.
34495         (new_test): Don't handle expected failures.
34496         (parse_args): Don't mention expected failure handling in comment.
34497         (generate_testfile): Don't handle expected failures.
34498         (parse_ulps): Likewise.
34499         (print_ulps_file): Likewise.
34500         (get_failure): Remove function.
34501         (output_test): Don't handle expected failures.
34502         * make/README.libm-test: Don't mention expected failure handling.
34504         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34505         (minus_zero): Likewise.
34506         (plus_infty): Likewise.
34507         (minus_infty): Likewise.
34508         (qnan_value): Likewise.
34509         (max_value): Likewise.
34510         (min_value): Likewise.
34511         (min_subnorm_value): Likewise.
34512         (initialize): Do not initialize those variables dynamically.
34514 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34516         * io/open.c (__open_2): Moved to ...
34517         * io/open_2.c: ... this new file.
34518         * io/open64.c (__open64_2): Moved to ...
34519         * io/open64_2.c: ... this new file.
34520         * io/openat.c (__openat_2): Moved to ...
34521         * io/openat_2.c: ... this new file.
34522         * io/openat64.c (__openat64_2): Moved to ...
34523         * io/openat64_2.c: ... this new file.
34524         * io/Makefile (routines): Add them.
34525         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34526         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34527         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34528         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34529         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34530         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34531         (__openat64): Add hidden_ver.
34532         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34533         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34535         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34536         Separately conditionalize setting of GLRO(dl_sysinfo) so
34537         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34538         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34540 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34542         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34544         definition.
34545         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34546         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34547         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34548         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34549         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34551 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34553         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34554         test signgam value.
34556         * math/libm-test.inc (hypot_test): Do not use
34557         IGNORE_ZERO_INF_SIGN.
34559 2013-05-03  Andreas Jaeger  <aj@suse.de>
34561         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34562         Linux 3.9.
34563         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34564         (PF_MAX): Adjust for VSOCK change.
34566 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34570 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34572         [BZ #15264]
34573         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34574         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34575         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34577 2013-05-02  David S. Miller  <davem@davemloft.net>
34579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34581 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34583         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34585 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34587         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34589 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34591         [BZ #14952]
34592         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34593         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34594         Use __attribute__ ((__gnu_inline__)).
34595         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34596         Don't use __attribute__ ((__gnu_inline__)).
34598 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34600         [BZ #15423]
34601         * math/s_catan.c (__catan): Handle small real or imaginary part of
34602         input specially to avoid spurious underflow.
34603         * math/s_catanf.c (__catanf): Likewise.
34604         * math/s_catanh.c (__catanh): Likewise.
34605         * math/s_catanhf.c (__catanhf): Likewise.
34606         * math/s_catanhl.c (__catanhl): Likewise.
34607         * math/s_catanl.c (__catanl): Likewise.
34608         * math/libm-test.inc (catan_test): Add more tests.
34609         (catanh_test): Likewise.
34610         * sysdeps/i386/fpu/libm-test-ulps: Update.
34611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34613 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34617 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34619         [BZ #15416]
34620         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34621         accurately for denominator in atan2.
34622         * math/s_catanf.c (__catanf): Likewise.
34623         * math/s_catanh.c (__catanh): Likewise.
34624         * math/s_catanhf.c (__catanhf): Likewise.
34625         * math/s_catanhl.c (__catanhl): Likewise.
34626         * math/s_catanl.c (__catanl): Likewise.
34627         * math/libm-test.inc (catan_test): Add more tests.
34628         (catanh_test): Likewise.
34629         * sysdeps/i386/fpu/libm-test-ulps: Update.
34630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34632 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34636         * benchtests/Makefile (bench): Remove slow benchmarks.
34637         * benchtests/atan-inputs: Add slow benchmark inputs.
34638         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34639         (BENCH_FUNC): Accept variant offset.
34640         (VARIANT): Define.
34641         * benchtests/bench-skeleton.c (main): Run benchmark for each
34642         variant.
34643         * benchtests/cos-inputs: Add slow benchmark inputs.
34644         * benchtests/exp-inputs: Likewise.
34645         * benchtests/pow-inputs: Likewise.
34646         * benchtests/sin-inputs: Likewise.
34647         * benchtests/slowatan-inputs: Remove.
34648         * benchtests/slowatan.c: Remove.
34649         * benchtests/slowcos-inputs: Remove.
34650         * benchtests/slowcos.c: Remove.
34651         * benchtests/slowexp-inputs: Remove.
34652         * benchtests/slowexp.c: Remove.
34653         * benchtests/slowpow-inputs: Remove.
34654         * benchtests/slowpow.c: Remove.
34655         * benchtests/slowsin-inputs: Remove.
34656         * benchtests/slowsin.c: Remove.
34657         * benchtests/slowtan-inputs: Remove.
34658         * benchtests/slowtan.c: Remove.
34659         * benchtests/tan-inputs: Add slow benchmark inputs.
34660         * scripts/bench.pl: Parse comments and directives.
34662         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34663         in CPPFLAGS.
34664         ($(objpfx)bench-%.c): Remove *-ITER.
34665         * benchtests/bench-modf.c: Remove definition of ITER.
34666         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34667         (main): Loop for DURATION seconds instead of fixed number of
34668         iterations.
34669         * scripts/bench.pl: Don't expect iterations in parameters.
34671 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34673         * io/fchdir.c (__fchdir): Renamed from fchdir.
34674         (fchdir): Define as weak alias.
34676 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34678         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34679         (ERRNO_EDOM): Likewise.
34680         (ERRNO_ERANGE): Likewise.
34681         (noErrnoTests): New variable.
34682         (init_max_error): Set errno to 0.
34683         (test_single_errno): New function.
34684         (test_errno): Likewise.
34685         (check_float_internal): Call test_errno.  Set errno to 0.
34686         (check_complex): Refer to errno tests in comment.
34687         (check_int): Call test_errno.  Set errno to 0.
34688         (check_long): Likewise.
34689         (check_bool): Likewise.
34690         (check_longlong): Likewise.
34691         (cos_test): Use ERRNO_* flags for errno tests instead of
34692         check_int.
34693         (expm1_test): Likewise.
34694         (fmod_test): Likewise.
34695         (ilogb_test): Likewise.
34696         (lgamma_test): Likewise.
34697         (pow_test): Likewise.
34698         (remainder_test): Likewise.
34699         (sin_test): Likewise.
34700         (tan_test): Likewise.
34701         (yn_test): Likewise.
34702         (initialize): Set errno to 0.
34703         (main): Print number of errno tests.
34704         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34706 2013-04-29  Andreas Jaeger  <aj@suse.de>
34708         [BZ #15084]
34709         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34710         and RES_USEVC.
34712         [BZ #15085]
34713         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34714         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34715         unimplemented.
34717         [BZ #15380]
34718         * stdlib/random.c (__initstate): Return NULL if
34719         __initstate fails.
34721         [BZ #15086]
34722         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34723         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34724         RES_SNGLKUPREOP.
34726 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34730 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34732         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34733         of individual tests.
34734         (casin_test): Likewise.
34735         (casinh_test): Likewise.
34737 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34739         [BZ #15409]
34740         * math/s_catan.c (__catan): Handle arguments with large real or
34741         imaginary part separately without squaring.
34742         * math/s_catanf.c (__catanf): Likewise.
34743         * math/s_catanh.c (__catanh): Likewise.
34744         * math/s_catanhf.c (__catanhf): Likewise.
34745         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34746         and redefine.
34747         (__catanhl): Handle arguments with large real or imaginary part
34748         separately without squaring.
34749         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34750         and redefine.
34751         (__catanl): Handle arguments with large real or imaginary part
34752         separately without squaring.
34753         * math/libm-test.inc (catan_test): Add more tests.
34754         (catanh_test): Likewise.
34755         * sysdeps/i386/fpu/libm-test-ulps: Update.
34756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34758 2013-04-27  Andreas Jaeger  <aj@suse.de>
34760         [BZ #15007]
34761         * stdlib/stdlib.h: Update guards for qecvt.
34762         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34763         <stdlib.h>.
34765 2013-04-27  Allan McRae  <allan@archlinux.org>
34767         * sysdeps/i386/fpu/libm-test-ulps: Update.
34769 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34771         [BZ #15406]
34772         * math/s_catan.c: Include <float.h>.
34773         (__catan): Ensure underflow exception occurs for underflowed
34774         result.
34775         * math/s_catanf.c: Include <float.h>.
34776         (__catanf): Ensure underflow exception occurs for underflowed
34777         result.
34778         * math/s_catanh.c: Include <float.h>.
34779         (__catanh): Ensure underflow exception occurs for underflowed
34780         result.
34781         * math/s_catanhf.c: Include <float.h>.
34782         (__catanhf): Ensure underflow exception occurs for underflowed
34783         result.
34784         * math/s_catanhl.c: Include <float.h>.
34785         (__catanhl): Ensure underflow exception occurs for underflowed
34786         result.
34787         * math/s_catanl.c: Include <float.h>.
34788         (__catanl): Ensure underflow exception occurs for underflowed
34789         result.
34790         * math/libm-test.inc (catan_test): Add more tests.
34791         (catanh_test): Likewise.
34793         [BZ #15405]
34794         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34795         underflowed result.
34796         * math/s_ccoshf.c (__ccoshf): Likewise.
34797         * math/s_ccoshl.c (__ccoshl): Likewise.
34798         * math/s_csin.c (__csin): Likewise.
34799         * math/s_csinf.c (__csinf): Likewise.
34800         * math/s_csinh.c (__csinh): Likewise.
34801         * math/s_csinhf.c (__csinhf): Likewise.
34802         * math/s_csinhl.c (__csinhl): Likewise.
34803         * math/s_csinl.c (__csinl): Likewise.
34804         * math/libm-test.inc (ccos_test): Add more tests.
34805         (ccosh_test): Likewise.
34806         (csin_test): Likewise.
34807         (csinh_test): Likewise.
34809 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34811         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34812         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34813         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34814         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34815         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34816         powerpc/power5+/fpu folders.
34817         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34820 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34824 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34826         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34827         additions to variable.
34828         [$(config-machine) = x86_64] (modules-names): Likewise.
34829         ($(objpfx)tst-audit3): Remove dependency.
34830         ($(objpfx)tst-audit3.out): Likewise.
34831         ($(objpfx)tst-audit4): Likewise.
34832         ($(objpfx)tst-audit4.out): Likewise.
34833         ($(objpfx)tst-audit5): Likewise.
34834         ($(objpfx)tst-audit5.out): Likewise.
34835         ($(objpfx)tst-audit6): Likewise.
34836         ($(objpfx)tst-audit6.out): Likewise.
34837         ($(objpfx)tst-audit7): Likewise.
34838         ($(objpfx)tst-audit7.out): Likewise.
34839         (tst-audit3-ENV): Remove variable.
34840         (tst-audit4-ENV): Likewise.
34841         (tst-audit5-ENV): Likewise.
34842         (tst-audit6-ENV): Likewise.
34843         (tst-audit7-ENV): Likewise.
34844         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34845         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34846         addition to variable.
34847         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34848         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34849         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34850         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34851         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34852         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34853         tst-audit3, tst-audit4 and tst-audit5.
34854         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34855         tst-audit6 and tst-audit7.
34856         [$(subdir) = elf] (modules-names): Add audit modules for those
34857         tests.
34858         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34859         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34860         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34861         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34862         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34863         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34864         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34865         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34866         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34867         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34868         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34869         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34870         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34871         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34872         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34873         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34874         Likewise.
34875         [$(subdir) = elf && $(config-cflags-avx) = yes]
34876         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34877         [$(subdir) = elf && $(config-cflags-avx) = yes]
34878         (CFLAGS-tst-auditmod4a.c): Likewise.
34879         [$(subdir) = elf && $(config-cflags-avx) = yes]
34880         (CFLAGS-tst-auditmod4b.c): Likewise.
34881         [$(subdir) = elf && $(config-cflags-avx) = yes]
34882         (CFLAGS-tst-auditmod6b.c): Likewise.
34883         [$(subdir) = elf && $(config-cflags-avx) = yes]
34884         (CFLAGS-tst-auditmod6c.c): Likewise.
34885         [$(subdir) = elf && $(config-cflags-avx) = yes]
34886         (CFLAGS-tst-auditmod7b.c): Likewise.
34887         * elf/tst-audit3.c: Move to ...
34888         * sysdeps/x86_64/tst-audit3.c: ... here.
34889         * elf/tst-audit4.c: Move to ...
34890         * sysdeps/x86_64/tst-audit4.c: ... here.
34891         * elf/tst-audit5.c: Move to ...
34892         * sysdeps/x86_64/tst-audit5.c: ... here.
34893         * elf/tst-audit6.c: Move to ...
34894         * sysdeps/x86_64/tst-audit6.c: ... here.
34895         * elf/tst-audit7.c: Move to ...
34896         * sysdeps/x86_64/tst-audit7.c: ... here.
34897         * elf/tst-auditmod3a.c: Move to ...
34898         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34899         * elf/tst-auditmod3b.c: Move to ...
34900         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34901         * elf/tst-auditmod4a.c: Move to ...
34902         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34903         * elf/tst-auditmod4b.c: Move to ...
34904         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34905         * elf/tst-auditmod5a.c: Move to ...
34906         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34907         * elf/tst-auditmod5b.c: Move to ...
34908         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34909         * elf/tst-auditmod6a.c: Move to ...
34910         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34911         * elf/tst-auditmod6b.c: Move to ...
34912         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34913         * elf/tst-auditmod6c.c: Move to ...
34914         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34915         * elf/tst-auditmod7a.c: Move to ...
34916         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34917         * elf/tst-auditmod7b.c: Move to ...
34918         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34920 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34922         [BZ #15366]
34923         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34924         define unconditionally.
34925         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34926         define unconditionally.
34927         (INT8_C, INT16_C, etc.): Likewise.
34929 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34931         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34932         __ehdr_start with hidden visibility.
34934         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34936 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34938         * math/libm-test.inc (cos_test): Use accurate hex constants.
34939         (sincost_test): Likewise.
34941 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34943         * math/libm-test.inc (catan_test): Add more tests.
34944         (catanh_test): Likewise.
34946         * math/s_catanf.c (__catanf): Use suffixed floating-point
34947         constants.
34948         * math/s_catanhf.c (__catanhf): Likewise.
34949         * math/s_catanhl.c (__catanhl): Likewise.
34950         * math/s_catanl.c (__catanl): Likewise.
34952         [BZ #15394]
34953         * math/s_catan.c (__catan): Calculate imaginary part of result
34954         with log1p not log unless computing log of number close to 0.
34955         * math/s_catanf.c (__catanf): Likewise.
34956         * math/s_catanl.c (__catanl): Likewise.
34957         * math/s_catanh.c (__catanh): Calculate real part of result with
34958         log1p not log unless computing log of number close to 0.
34959         * math/s_catanhf.c (__catanhf): Likewise.
34960         * math/s_catanhl.c (__catanhl): Likewise.
34961         * math/libm-test.inc (catan_test): Add more tests.
34962         (catanh_test): Likewise.
34963         * sysdeps/i386/fpu/libm-test-ulps: Update.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34968         * benchtests/Makefile: Mention files in which fast and slow
34969         paths of math functions are implemented.
34971 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34973         * sysdeps/posix/timespec_get.c: New file.
34975 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34977         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34978         POWER.
34979         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34980         for POWER.
34981         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34982         powerpc/power5/fpu folders.
34983         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34984         * benchtests/Makefile: Add modf testcase.
34985         * benchtests/bench-modf.c: New file: Benchmark test for mo
34987 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34989         [BZ #14888]
34990         * time/Makefile (tests): Add tst-strptime-whitespace.
34991         * time/strptime_l.c (get_number): Use ISSPACE.
34992         (__strptime_internal): Likewise.
34993         * time/tst-strptime-whitespace.c: New test case.
34995 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34997         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34998         member.
34999         (_nss_files_init): Set it here.
35001 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35003         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35004         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35005         unsigned.
35007 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35009         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35011 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35014         size just once.
35016 2013-04-21  David S. Miller  <davem@davemloft.net>
35018         * po/ru.po: Update Russion translation from translation project.
35020 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35022         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35023         and setfsgid.
35025 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35027         * configure.in: Remove i386 configure warning. Remove i386 case.
35028         * configure: Regenerate.
35029         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35030         Add example to error message.
35031         * sysdeps/i386/configure: Regenerate.
35033 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35035         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35036         slowtan.
35037         * benchtests/cos-inputs: New file.
35038         * benchtests/slowcos-inputs: New file.
35039         * benchtests/slowcos.c: New file.
35040         * benchtests/slowtan-inputs: New file.
35041         * benchtests/slowtan.c: New file.
35042         * benchtests/tan-inputs: New file.
35044 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35046         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35047         considered kosher.
35049 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35051         * benchtests/Makefile: Include cppflags-iterator.mk to add
35052         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35054         * Makefile.in (bench-clean): New target.
35055         * benchtests/Makefile (bench-clean): Likewise.
35057 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35059         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35061 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35063         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35065 2013-04-15  Andreas Schwab  <schwab@suse.de>
35067         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35068         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35069         * nscd/pwdcache.c (cache_addpw): Likewise.
35070         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35071         more than recsize.
35073 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35075         * benchtests/Makefile (bench): Write all output to
35076         bench-out.tmp together.
35078 2013-04-15  Andreas Schwab  <schwab@suse.de>
35080         * nscd/nscd.c (main): Don't fork again after closing files.
35082 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35084         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35086         * benchtests/Rules (bench-deps): Collect dependencies into a
35087         single variable.  Add Makefile to dependencies.
35088         ($(objpfx)bench-%.c): Depend on bench-deps.
35090 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35091             Xavier Roche  <roche+kml2@exalead.com>
35093         [BZ #15361]
35094         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35095         just that it's a file descriptor.
35096         * manual/llio.texi (Synchronizing AIO Operations): Update description
35097         for EBADF error from aio_fsync.
35099 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35101         * Rules (bench): Move target definition...
35102         * benchtests/Makefile: ... here.
35104 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35106         * math/libm-test.inc (cos_test): Fix PI/2 test.
35107         (sincos_test): Likewise.
35108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35109         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35111 2013-04-11  Andreas Schwab  <schwab@suse.de>
35113         [BZ #13988]
35114         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35115         accept exponent character only when digits were seen.
35116         * stdio-common/Makefile (tests): Add bug26.
35117         * stdio-common/bug26.c: New file.
35119         [BZ #14293]
35120         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35121         non-freeable.
35123 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35125         * Makeconfig (rtld-prefix): Define built linker prefix.
35126         * Rules (run-bench): Use it.
35127         * math/Makefile (run-regen-ulps): Likewise.
35129         * Rules (bench): Remove eval.
35131 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35132             Roland McGrath  <roland@hack.frob.com>
35133             Ondrej Bilka  <neleai@seznam.cz>
35135         [BZ #15346]
35136         * time/getdate.c: Include ctype.h and alloca.h.
35137         (__getdate_r): Trim leading and trailing spaces of input.
35138         * time/tst-getdate.c (tests): Add tests with leading and
35139         trailing spaces.
35141 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35143         [BZ #14280]
35144         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35145         when computing value.
35147 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35149         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35150         Use testrun.sh to run libm tests.
35152         [BZ #15309]
35153         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35155 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35157         [BZ #15264]
35158         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35160 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35162         * Makefile.in (regen-ulps): New target.
35163         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35164         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35165         [ifneq (no,$(PERL)] (regen-ulps): New target.
35166         [ifeq (no,$(PERL)] (regen-ulps): New target.
35167         * math/libm-test.inc (ulps_file_name): Define.
35168         (output_dir): New variable.
35169         (options): Add "output-dir" option.
35170         (parse_opt): Handle 'o' case.
35171         (main): If output_dir is non-NULL use it as a prefix
35172         otherwise use "".
35173         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35175 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35177         [BZ #10060, #10062]
35178         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35179         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35180         fail configure if __sync_val_compare_and_swap is not inlined.
35181         * sysdeps/i386/configure: Regenerate.
35182         * configure.in: Build for i686 when configured for i386.
35183         * configure: Regenerate.
35184         * README: Remove i386 reference.
35186 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35188         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35189         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35191 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35193         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35194         (lmsnanval): New variables.
35195         (F): Add conversion tests.
35196         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35197         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35199         * stdio-common/tstdiomisc.c (F): Properly collect individual
35200         tests' results.
35202         [BZ #14686, #15336]
35203         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35204         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35205         Instead, use input NaN values or generate a qNaN by arithmetic
35206         operation.  Also fix bugs to comply with the standard.
35207         * math/libm-test.inc (remainder_test): Add more tests.
35209         [BZ #15335, #15342]
35210         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35212         input NaN values or generate a qNaN by arithmetic operation.
35214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35215         unreachable code.
35217         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35218         definitions.
35220 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35222         [BZ #14478]
35223         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35224         underflowed result.
35225         * math/s_cexpf.c (__cexpf): Likewise.
35226         * math/s_cexpl.c (__cexpl): Likewise.
35227         * math/libm-test.inc (cexp_test): Add more tests.
35229 2013-04-03  Andreas Schwab  <schwab@suse.de>
35231         [BZ #15330]
35232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35233         order arrays from heap if bigger than alloca cutoff.
35235 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35237         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35238         (SNAN_TESTS_double): Refer to GCC PR56831.
35239         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35240         GCC PR56828.
35242 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35244         * Rules (bench): Move bench.out after the run is complete.
35246         * Rules (bench): Echo currently running benchmark.
35248         * benchtests/Makefile (bench): Add atan and slowatan.
35249         * benchtests/atan-inputs: New file.
35250         * benchtests/slowatan-inputs: New file.
35251         * benchtests/slowatan.c: New file.
35253         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35255         its value.
35257         [BZ #15305]
35258         * sysdeps/unix/sysv/linux/kernel-features.h
35259         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35260         __ASSUME_XFS_RESTRICTED_CHOWN.
35261         * sysdeps/unix/sysv/linux/pathconf.c
35262         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35263         Save and restore errno.
35265 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35267         [BZ #15327]
35268         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35269         arguments using __kernel_casinh.
35270         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35271         arguments using __kernel_casinhf.
35272         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35273         arguments using __kernel_casinhl.
35274         * math/libm-test.inc (cacosh_test): Add more tests.
35275         * sysdeps/i386/fpu/libm-test-ulps: Update.
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35283         * bench/Makefile (bench): Add sin and slowsin.
35284         * benchtests/sin-inputs: New file.
35285         * benchtests/slowsin-inputs: New file.
35286         * benchtests/slowsin.c: New file.
35288         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35289         (bench): Add slowexp and slowpow.
35290         (exp-ITER): Increase iterations.
35291         (pow-ITER): Likewise.
35292         * benchtests/exp-inputs: Change input.
35293         * benchtests/pow-inputs: Likewise.
35294         * benchtests/slowexp-inputs: New file.
35295         * benchtests/slowexp.c: New file.
35296         * benchtests/slowpow-inputs: New file.
35297         * benchtests/slowpow.c: New file.
35299 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35301         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35302         instructions.
35303         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35304         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35305         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35306         * benchtests/Makefile: Add rint benchtest.
35307         * benchtests/rint-inputs: Input for rint benchtest.
35309 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35311         * Versions.def (libm): Add GLIBC_2.18.
35312         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35313         hidden libm prototypes.
35314         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35315         * math/Makefile (libm-calls): Add s_issignaling.
35316         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35317         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35318         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35319         declaration.
35320         * math/math.h [__USE_GNU] (issignaling): New macro.
35321         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35322         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35323         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35324         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35325         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35326         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35327         * manual/arith.texi (issignaling): New section.
35328         * manual/libm-err-tab.pl (@all_functions): Update comment.
35329         * math/gen-libm-test.pl (parse_args): Apply special handling for
35330         issignaling.
35331         * math/libm-test.inc (print_float, issignaling_test): New
35332         functions.
35333         (check_float_internal): Add issignaling checks.
35334         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35335         default definition.
35336         * sysdeps/powerpc/math-tests.h: New file.
35337         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35338         tests.
35339         * math/test-snan.c (TEST_FUNC): Likewise.
35341 2013-03-30  David S. Miller  <davem@davemloft.net>
35343         * po/de.po: Update from translation team.
35345 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35347         [BZ #10357]
35348         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35349         imaginary part less than 1.0 and real part less than 0.5
35350         specially.
35351         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35352         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35353         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35354         (cacos_test): Add more tests.
35355         (casin_test): Likewise.
35356         (casinh_test): Likewise.
35357         * sysdeps/i386/fpu/libm-test-ulps: Update.
35358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35360 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35362         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35363         ONE with its value.
35365         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35366         (__pow_mp): Replace ONE and MONE with their values.
35367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35369         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35370         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35371         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35372         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35374         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35376         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35377         (__pow_mp): Replace ZERO and MZERO with their values.
35378         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35379         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35382         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35383         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35384         (__sqr): Likewise.
35386         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35388         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35390 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35392         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35393         Declare with __attribute__ ((weak)).
35394         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35395         Call __call_tls_dtors only if it's not NULL.
35397 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35399         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35400         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35401         magic __ehdr_start linker symbol if it's defined.
35402         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35403         them up here if it was already done.
35405         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35406         (_dl_aux_init): Use const in cast when setting it.
35407         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35408         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35409         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35411         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35412         Declare them here.
35413         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35414         * csu/libc-tls.c: Nor here.
35415         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35417         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35418         (__libc_message): Never call vsyslog.
35420 2013-03-28  Alan Modra  <amodra@gmail.com>
35422         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35423         Define as empty.
35424         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35425         Likewise.
35427 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35429         [BZ #15214]
35430         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35431         underflow.
35432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35434 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35436         [BZ #15304]
35437         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35438         Don't add gid passed as argument.
35440         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35442 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35444         [BZ #15307]
35445         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35446         imaginary part between 1.0 and 1.5 and real part less than 0.5
35447         specially.
35448         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35449         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35450         * math/libm-test.inc (cacos_test): Add more tests.
35451         (casin_test): Likewise.
35452         (casinh_test): Likewise.
35453         * sysdeps/i386/fpu/libm-test-ulps: Update.
35454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35456 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35458         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35459         constants.
35460         (norm): Likewise.
35461         (denorm): Likewise.
35462         (__dbl_mp): Likewise.
35463         (add_magnitudes): Likewise.
35464         (sub_magnitudes): Likewise.
35465         (__add): Likewise.
35466         (__sub): Likewise.
35467         (__mul): Likewise.
35468         (__sqr): Likewise.
35469         (__inv): Likewise.
35470         (__dvd): Likewise.
35472         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35473         commented code.
35474         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35475         (__dubcos): Likewise.
35476         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35477         (__ieee754_acos): Likewise.
35478         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35479         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35480         (__exp1): Likewise.
35481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35483         (log1): Likewise.
35484         (my_log2): Likewise.
35485         (checkint): Likewise.
35486         * sysdeps/ieee754/dbl-64/e_remainder.c
35487         (__ieee754_remainder): Likewise.
35488         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35489         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35490         (bsloww): Likewise.
35491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35493         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35495         MANTISSA_STORE_T to store computations on mantissa.  Use
35496         macros for rounding and division.
35497         (denorm): Likewise.
35498         (__dbl_mp): Likewise.
35499         (add_magnitudes): Likewise.
35500         (sub_magnitudes): Likewise.
35501         (__mul): Likewise.
35502         (__sqr): Likewise.
35503         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35504         powers of two in terms of TWOPOW macro.
35505         (mp_no): Make type of mantissa as MANTISSA_T.
35506         [!RADIXI]: Define RADIXI.
35507         [!TWO52]: Define TWO52.
35508         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35510 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35512         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35513         llroundl symbol when building for PPC32.
35515 2013-03-24  Mark H Weaver  <mhw@netris.org>
35517         * manual/arith.texi (Normalization Functions): Fix prototypes for
35518         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35520 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35522         [BZ #13889]
35523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35524         high value to check if expl overflow.
35525         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35526         to check for underflow and overflow.
35527         * math/libm-test.inc: Add exp test.
35529 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35531         [BZ #11120]
35532         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35533         with NOT_IN_libc.
35535 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35537         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35538         symbol.
35540 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35542         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35543         wrap blocks consisting of several statements.
35545         * sysdeps/generic/math-tests.h: New file.
35546         * sysdeps/i386/fpu/math-tests.h: Likewise.
35547         * math/test-snan.c: Include it.
35548         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35550 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35552         [BZ #15285]
35553         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35554         (__ieee754_j0l): Do not improve calculations using cos of twice
35555         input for inputs above LDBL_MAX / 2.0L.
35556         (__ieee754_y0l): Likewise.
35557         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35558         (__ieee754_j1l): Do not improve calculations using cos of twice
35559         input for inputs above LDBL_MAX / 2.0L.
35560         (__ieee754_y1l): Likewise.
35561         * math/libm-test.inc (j0_test): Add another test.
35562         (j1_test): Likewise.
35563         (y0_test): Likewise.
35564         (y1_test): Likewise.
35565         * sysdeps/i386/fpu/libm-test-ulps: Update.
35567 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35569         * Rules ($(objpfx)bench-%.c): Include code from a C source
35570         file.
35572 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35574         [BZ #15287]
35575         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35576         imaginary part 1.0 and real part less than 0.5 specially.
35577         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35578         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35579         * math/libm-test.inc (cacos_test): Add more tests.
35580         (casin_test): Likewise.
35581         (casinh_test): Likewise.
35582         * sysdeps/i386/fpu/libm-test-ulps: Update.
35583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35585 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35587         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35588         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35590 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35592         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35593         * config.make.in (config-cflags-sse4): Remove variable.
35594         (config-cflags-avx): Likewise.
35595         (config-cflags-sse2avx): Likewise.
35596         (config-cflags-novzeroupper): Likewise.
35597         (config-asflags-i686): Likewise.
35598         (have-mfma4): Likewise.
35599         (have-as-vis3): Likewise.
35600         (MIG): Likewise.
35601         * configure.in (MIG): Do not AC_SUBST.
35602         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35603         (libc_cv_cc_sse4): Do not AC_SUBST.
35604         (libc_cv_cc_avx): Likewise.
35605         (libc_cv_cc_sse2avx): Likewise.
35606         (libc_cv_cc_novzeroupper): Likewise.
35607         (libc_cv_cc_fma4): Likewise.
35608         (libc_cv_as_i686): Likewise.
35609         (libc_cv_sparc_as_vis3): Likewise.
35610         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35611         LIBC_CONFIG_VAR.
35612         (config-asflags-i686): Likewise.
35613         (config-cflags-avx): Likewise.
35614         (config-cflags-sse2avx): Likewise.
35615         (have-mfma4): Likewise.
35616         (config-cflags-novzeroupper): Likewise.
35617         * sysdeps/mach/configure.in (MIG): Likewise.
35618         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35619         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35620         LIBC_CONFIG_VAR.
35621         (config-cflags-avx): Likewise.
35622         (config-cflags-sse2avx): Likewise.
35623         (have-mfma4): Likewise.
35624         (config-cflags-novzeroupper): Likewise.
35625         * configure: Regenerated.
35626         * sysdeps/i386/configure: Likewise.
35627         * sysdeps/mach/configure: Likewise.
35628         * sysdeps/sparc/configure: Likewise.
35629         * sysdeps/x86_64/configure: Likewise.
35631 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35633         [BZ #14812]
35634         * locale/programs/localedef.c (options): Put N_ translation marker
35635         on argument names, not just descriptions.
35637 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35639         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35641 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35643         [BZ #14176]
35644         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35646 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35648         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35649         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35650         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35651         [!BEFORE_ABORT] (before_abort): New function.
35652         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35653         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35654         (writev_for_fatal): New function.
35655         (WRITEV_FOR_FATAL): New macro; call that.
35656         (backtrace_and_maps): New function.
35657         (BEFORE_ABORT): New macro; call that.
35658         (struct str_list): Type removed.
35659         (__libc_message, __libc_fatal): Functions removed.
35660         Include <sysdeps/posix/libc_fatal.c> instead.
35662 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35664         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35665         constants.
35666         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35667         double constants.
35669 2013-03-19  Andreas Schwab  <schwab@suse.de>
35671         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35672         * sysdeps/gnu/configure: Regenerate.
35674         * configure.in: Substitute libc_cv_rtlddir.
35675         * configure: Regenerate.
35676         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35677         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35678         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35679         * elf/Makefile (install-others, CFLAGS-interp.c)
35680         (ldso_install, common-ldd-rewrite): Likewise.
35681         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35682         $(inst_slibdir)/$(rtld-installed-name).
35683         * scripts/rellns-sh: Add -p option.
35684         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35685         for source.
35687 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35689         * manual/nptl.texi: Renamed to ...
35690         * manual/threads.texi: ... this.
35691         * manual/Makefile (chapters): Update.
35693 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35695         [BZ #14812]
35696         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35697         on argument names, not just descriptions.
35698         * malloc/memusagestat.c (options): Likewise.
35699         * nss/getent.c (options): Likewise.
35701 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35703         [BZ #14812]
35704         * iconv/iconv_prog.c (options): Put N_ translation marker
35705         on argument names, not just descriptions.
35706         * iconv/iconvconfig.c (options): Likewise.
35708 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35710         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35711         implementation which is faster on all x86_64 architectures.
35712         Tested on AMD, Intel Nehalem, SNB, IVB.
35713         * sysdeps/x86_64/strnlen.S: Likewise.
35715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35716         Remove all multiarch strlen and strnlen versions.
35717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35718         Remove strlen and strnlen related parts.
35720         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35721         Inline strlen part.
35722         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35724         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35725         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35726         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35727         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35728         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35729         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35731 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35733         * manual/memory.texi (Malloc Tunable Parameters):
35734         Sort parameters alphabetically. Add comments for missing entries.
35736 2013-03-17  David S. Miller  <davem@davemloft.net>
35738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35740 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35742         [BZ #15283]
35743         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35744         for arguments at most half maximum finite value.
35745         * math/libm-test.inc (j0_test): Add more tests.
35746         (j1_test): Likewise.
35747         (y0_test): Likewise.
35748         (y1_test): Likewise.
35749         * sysdeps/i386/fpu/libm-test-ulps: Update.
35750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35752         [BZ #14155]
35753         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35754         1 / x and functions P and Q for arguments above 0x1p256L.
35755         (__ieee754_y0l): Likewise.
35756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35757         (__ieee754_y1l): Likewise.
35758         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35759         (j1_test): Likewise.
35760         (y0_test): Likewise.
35761         (y1_test): Likewise.
35763 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35765         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35766         variable.
35768 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35770         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35771         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35772         zero since it's initialized to EXEC_PAGESIZE.
35774         * sysdeps/unix/sysv/linux/ldsodefs.h
35775         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35776         * sysdeps/generic/ldsodefs.h: ... here.
35778 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35780         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35782         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35783         math/test-snan.c.
35784         * math/test-snan.c: Renamed from
35785         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35786         * math/Makefile (tests): Add test-snan.
35787         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35788         test-powerpc-snan.
35790         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35791         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35792         functions.
35793         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35794         __builtin_nan family of functions.
35795         * math/libm-test.inc (initialize): Initialize qnan_value with
35796         __builtin_nan family of functions.
35797         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35798         Remove variables.
35799         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35800         Remove functions.
35801         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35802         storage class.  Initialize qNaN_var and sNaN_var with
35803         __builtin_nan and __builtin_nans families of functions,
35804         respectively.
35806         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35807         (sqrt_test): Remove duplicate test with qNaN input.
35808         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35809         (round_test, signbit_test, significand_test): Note missing +/-Inf
35810         as well as qNaN tests.
35812         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35813         qNaN_var.  Fix a few strings, too.
35814         * math/libm-test.inc (nan_value): Rename to qnan_value.
35815         * math/gen-libm-test.pl (%beautify): Adjust to that.
35816         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35817         * math/test-misc.c (main): Likewise.
35818         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35819         to __qnan_bytes, and __qnan_union, respectively.
35820         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35821         Likewise.
35822         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35823         and lqnanval, respectively.
35824         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35825         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35826         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35827         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35829         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35830         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35831         doubles.
35833         * math/test-misc.c (main): Fix copy'n'pastos.
35834         * misc/tst-efgcvt.c (special): Likewise.
35836         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35837         Remove declarations.
35839 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35841         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35842         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35843         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35844         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35846 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35848         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35849         macro to return vdso values correctly in IFUNC implementations.
35850         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35851         Optimization by using IFUNC.
35853 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35854             Richard Henderson  <rth@redhat.com>
35855             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35857         * Makefile.in (bench): New target.
35858         * NEWS: Mention the benchmark framework.
35859         * Rules (bench): Likewise.
35860         (binaries-bench): Generate binaries for functions to
35861         benchmark.
35862         * benchtests/Makefile: New makefile for benchmark tests.
35863         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35864         programs.
35865         * benchtests/exp-inputs: New input file for EXP function.
35866         * benchtests/pow-inputs: New input file for POW function.
35867         * scripts/bench.pl: New script to generate source files for
35868         benchmark programs.
35870 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35872         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35874         computations on mantissa.  Use macros for rounding and
35875         division.
35876         (denorm): Likewise.
35877         (__dbl_mp): Likewise.
35878         (add_magnitudes): Likewise.
35879         (sub_magnitudes): Likewise.
35880         (__mul): Likewise.
35881         (__sqr): Likewise.
35882         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35883         powers of two in terms of TWOPOW macro.
35884         (mp_no): Make type of mantissa as MANTISSA_T.
35885         [!RADIXI]: Define RADIXI.
35886         [!TWO52]: Define TWO52.
35887         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35889         * manual/nptl.texi (cindex): Modify threads to pthreads.
35891 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35893         * sysdeps/x86_64/preconfigure: Regenerated.
35895 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35897         [BZ #14155]
35898         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35899         0x1p28 and above.
35900         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35901         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35902         0x1p28 and above.
35903         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35904         * math/libm-test.inc (j0_test): Do not allow one spurious
35905         underflow exception.
35906         (y1_test): Likewise.
35908 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35910         * manual/Makefile (chapters): Add nptl.
35911         * manual/debug.texi (Debugging Support): Add link to Threads
35912         chapter.
35913         * manual/nptl.texi: New file.
35915         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35917 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35919         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35920         for non-NULL pointer before the memory validity test. Pointed
35921         out by Holger Brunck <holger.brunck@keymile.com>.
35923 2013-03-13  Andreas Schwab  <schwab@suse.de>
35925         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35926         instead of .os.
35928 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35930         * timezone/zic.c: Update from tzcode 2013b.
35932 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35934         * manual/install.texi (Configuring and compiling):
35935         Mention i686 and i586.
35936         * INSTALL: Regenerate.
35938 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35940         * sysdeps/init_array/elf-init.c: New file.
35941         * csu/elf-init.c
35942         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35943         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35945         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35946         __gmon_start__ as global, but as static with a .preinit_array pointer.
35947         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35948         * sysdeps/init_array/crti.S: New file, empty except for comments.
35949         * sysdeps/init_array/crtn.S: Likewise.
35951 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35953         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35954         definining bcopy.
35955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35956         Remove Prefer_SSE_for_memop.
35957         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35958         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35959         HAS_PREFER_SSE_FOR_MEMOP.
35960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35961         memset-x86-64.
35962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35963         Remove bzero, memset ifunc support.
35964         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35965         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35966         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35967         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35969 2013-03-11  Andreas Schwab  <schwab@suse.de>
35971         [BZ #15234]
35972         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35973         by SHLIB_COMPAT.
35974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35975         (GLIBC_2.16): Remove pthread_atfork.
35977 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35979         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35980         (ptestcases.h): Likewise.
35982 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35984         * Makeconfig ($(common-objpfx)config.status): Depend on
35985         sysdeps/*/preconfigure{,.in} too.
35987 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35989         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35990         (__free_hook): Use void * instead of __malloc_ptr_t.
35991         (__malloc_hook): Likewise.
35992         (__realloc_hook): Likewise.
35993         (__memalign_hook): Likewise.
35994         (__after_morecore_hook): Likewise.
35995         * malloc/arena.c (save_malloc_hook): Likewise.
35996         (save_free_hook): Likewise.
35997         * malloc/hooks.c (malloc_hook_ini): Likewise.
35998         (realloc_hook_ini): Likewise.
35999         (memalign_hook_ini): Likewise.
36000         * malloc/malloc.c (malloc_hook_ini): Likewise.
36001         (realloc_hook_ini): Likewise.
36002         (memalign_hook_ini): Likewise.
36003         (__free_hook): Likewise.
36004         (__malloc_hook): Likewise.
36005         (__realloc_hook): Likewise.
36006         (__memalign_hook): Likewise.
36007         (__libc_malloc): Likewise.
36008         (__libc_free): Likewise.
36009         (__libc_realloc): Likewise.
36010         (__libc_memalign): Likewise.
36011         (__libc_valloc): Likewise.
36012         (__libc_pvalloc): Likewise.
36013         (__libc_calloc): Likewise.
36014         (__posix_memalign): Likewise.
36015         * malloc/morecore.c (__sbrk): Likewise.
36016         (__default_morecore): Likewise.
36018         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36020         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36021         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36022         __malloc_ptrdiff_t.
36024         * malloc/malloc.h (__malloc_size_t): Remove macro.
36025         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36026         __malloc_size_t.
36027         (old_memalign_hook): Likewise.
36028         (old_realloc_hook): Likewise.
36029         (struct hdr): Likewise.
36030         (flood): Likewise.
36031         (mallochook): Likewise.
36032         (memalignhook): Likewise.
36033         (reallochook): Likewise.
36034         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36035         (tr_old_realloc_hook): Likewise.
36036         (tr_old_memalign_hook): Likewise.
36037         (tr_mallochook): Likewise.
36038         (tr_reallochook): Likewise.
36039         (tr_memalignhook): Likewise.
36041 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36044         default_ldbl_pack and using as default implementation.
36045         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36046         implementation.
36047         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36048         redundant definition.
36049         (ldbl_insert_mantissa): Likewise.
36050         (ldbl_canonicalize): Likewise.
36051         (ldbl_nearbyint): Likewise.
36052         (ldbl_pack): Rename to ldbl_pack_ppc.
36053         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36054         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36055         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36057 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36060         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36061         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36062         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36064         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36065         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36066         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36068 2013-03-07  Andreas Jaeger  <aj@suse.de>
36070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36071         bits/mman-linux.h.
36073 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36075         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36076         Include mpa.h and declare __MPEXP.
36077         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36078         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36079         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36080         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36081         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36082         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36083         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36085         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36086         (__slowpow): Use long double EXPL and LOGL functions to
36087         compute POW.
36088         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36089         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36090         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36091         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36092         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36093         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36096         intermediate variable to calculate exponent.
36097         (__sqr): Likewise.
36098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36099         Likewise.
36100         (__sqr): Likewise.
36102         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36103         [!NO__SQR]: Define __sqr.
36104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36105         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36106         sysdeps/ieee754/dbl-64/mpa.c.
36107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36109         [BZ #12723]
36110         * posix/Makefile (tests): Add tst-pathconf.
36111         * posix/tst-pathconf.c: New test case.
36112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36113         _PC_PIPE_BUF.
36114         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36116 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36118         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36120 2013-03-06  Andreas Jaeger  <aj@suse.de>
36122         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36123         definition via __MAP_ANONYMOUS.
36125         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36126         it's not part of Linux headers.
36128         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36129         (MAP_HUGE_MASK): Define.
36131         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36132         Define.
36133         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36135         Define.
36136         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36137         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36138         Define.
36139         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36141         Define.
36142         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36144         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36145         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36146         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36147         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36148         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36149         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36151         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36152         Handle f2fs.
36154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36155         Handle f2fs and efivarfs.
36157         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36158         f2fs.
36160         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36161         (EFIVARFS_MAGIC): Add.
36162         (F2FS_LINK_MAX): Add.
36164 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36166         * stdio-common/vfprintf.c: Replace __builtin_expect with
36167         __glibc_unlikely.
36169 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36171         [BZ #13550]
36172         * sysdeps/generic/bp-sym.h: Remove file.
36173         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36174         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36175         <bp-sym.h> and <bp-asm.h>.
36176         (__longjmp): Don't use BP_SYM.
36177         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36178         and <bp-asm.h>.
36179         (memcpy): Don't use BP_SYM.
36180         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36181         <bp-sym.h> and <bp-asm.h>.
36182         (memcpy): Don't use BP_SYM.
36183         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36184         <bp-asm.h>.
36185         (memcpy): Don't use BP_SYM.
36186         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36187         <bp-asm.h>.
36188         (memset): Don't use BP_SYM.
36189         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36190         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36191         (__bzero): Don't use BP_SYM.
36192         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36193         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36194         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36195         <bp-sym.h> and <bp-asm.h>.
36196         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36197         pointers.
36198         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36199         <bp-sym.h> and <bp-asm.h>.
36200         (memcpy): Don't use BP_SYM.
36201         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36202         <bp-sym.h> and <bp-asm.h>.
36203         (memset): Don't use BP_SYM.
36204         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36205         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36206         (__bzero): Don't use BP_SYM.
36207         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36208         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36209         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36210         <bp-sym.h> and <bp-asm.h>.
36211         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36212         pointers.
36213         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36214         <bp-sym.h> and <bp-asm.h>.
36215         (memcpy): Don't use BP_SYM.
36216         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36217         <bp-sym.h> and <bp-asm.h>.
36218         (memset): Don't use BP_SYM.
36219         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36220         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36221         (__bzero): Don't use BP_SYM.
36222         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36223         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36224         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36225         <bp-sym.h> and <bp-asm.h>.
36226         (__memchr): Don't use BP_SYM.
36227         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36228         <bp-sym.h> and <bp-asm.h>.
36229         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36230         pointers.
36231         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36232         <bp-sym.h> and <bp-asm.h>.
36233         (memcpy): Don't use BP_SYM.
36234         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36235         <bp-sym.h> and <bp-asm.h>.
36236         (__mempcpy): Don't use BP_SYM.
36237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36238         <bp-sym.h> and <bp-asm.h>.
36239         (__memrchr): Don't use BP_SYM.
36240         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36241         <bp-sym.h> and <bp-asm.h>.
36242         (memset): Don't use BP_SYM.
36243         (__bzero): Likewise.
36244         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36245         <bp-sym.h> and <bp-asm.h>.
36246         (__rawmemchr): Don't use BP_SYM.
36247         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36248         <bp-sym.h> and <bp-asm.h>.
36249         (__STRCMP): Don't use BP_SYM.
36250         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36251         <bp-sym.h> and <bp-asm.h>.
36252         (strchr): Don't use BP_SYM.
36253         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36254         <bp-sym.h> and <bp-asm.h>.
36255         (__strchrnul): Don't use BP_SYM.
36256         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36257         <bp-sym.h> and <bp-asm.h>.
36258         (strlen): Don't use BP_SYM.
36259         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36260         <bp-sym.h> and <bp-asm.h>.
36261         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36262         pointers.
36263         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36264         <bp-sym.h> and <bp-asm.h>.
36265         (__strnlen): Don't use BP_SYM.
36266         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36267         <bp-sym.h> and <bp-asm.h>.
36268         (__GI__setjmp): Don't use BP_SYM.
36269         (_setjmp): Likewise.
36270         (__sigsetjmp): Likewise.
36271         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36272         (L(start_addresses)): Don't use BP_SYM.
36273         (_start): Likewise.
36274         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36275         <bp-asm.h>.
36276         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36277         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36278         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36279         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36280         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36281         <bp-asm.h>.
36282         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36283         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36284         about bounded pointers.
36285         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36286         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36287         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36288         <bp-asm.h>.
36289         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36290         about bounded pointers.  Remove GKM FIXME comments.
36291         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36292         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36293         <bp-asm.h>.
36294         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36295         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36296         Remove GKM FIXME comments.
36297         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36298         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36299         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36300         <bp-asm.h>.
36301         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36302         about bounded pointers.  Remove GKM FIXME comment.
36303         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36304         and <bp-asm.h>.
36305         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36306         pointers.
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36308         <bp-sym.h> and <bp-asm.h>.
36309         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36311         <bp-sym.h> and <bp-asm.h>.
36312         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36313         comment.
36315 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36317         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36318         call free(NULL).
36320 2013-03-05  David S. Miller  <davem@davemloft.net>
36322         * po/es.po: Update from translation team.
36324 2013-03-05  Andreas Jaeger  <aj@suse.de>
36326         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36327         <bits/mman-linux.h>.
36328         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36329         is fine.
36330         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36331         <bits/mman-linux.h> to end of file.
36332         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36333         is fine.
36334         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36335         <bits/mman-linux.h> to end of file.
36336         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36337         is fine.
36338         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36339         <bits/mman-linux.h> to end of file.
36341         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36342         (MCL_CURRENT, MCL_FUTURE): Define here.
36344 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36346         [BZ #15232]
36347         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36348         attribute_hidden.
36349         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36351 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36354         fourth parameter needed for rt_sigprocmask syscall.
36355         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36356         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36357         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36358         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36359         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36360         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36362 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36364         [BZ #13550]
36365         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36366         comment about bounded pointers.
36367         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36368         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36370 2013-03-04  Andreas Jaeger  <aj@suse.de>
36372         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36373         common definitions.
36375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36376         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36377         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36378         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36379         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36380         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36382 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36384         [BZ #15055]
36385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36386         __ieee754_sqrl instead of __sqrl.
36388 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36390         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36391         * sysdeps/powerpc/fpu_control.h: ... here.
36392         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36393         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36394         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36395         * sysdeps/powerpc/bits/mathinline.h: ... here.
36397 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36399         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36400         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36401         to just [NEED_DL_SYSINFO_DSO].
36402         * elf/dl-support.c: Likewise.
36403         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36404         * elf/rtld.c (dl_main): Likewise.
36405         * elf/setup-vdso.h (setup_vdso): Likewise.
36406         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36407         * sysdeps/unix/sysv/linux/dl-sysdep.c
36408         (_dl_discover_osversion): Likewise.
36410 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36412         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36413         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36415 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36417         * NEWS: Mention libm performance improvements and non-x86 PI
36418         futex support.
36420         * csu/libc-start.c (__pthread_initialize_minimal): Change
36421         function arguments.
36422         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36424 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36426         [BZ #13550]
36427         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36428         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36429         <bp-sym.h> and <bp-asm.h>.
36430         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36431         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36432         and <bp-asm.h>.
36433         (memcpy): Don't use BP_SYM.
36434         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36435         <bp-asm.h>.
36436         (__mpn_add_n): Don't use BP_SYM.
36437         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36438         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36439         and <bp-asm.h>.
36440         (__mpn_addmul_1): Don't use BP_SYM.
36441         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36442         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36443         <bp-sym.h>.
36444         (_setjmp): Don't use BP_SYM.
36445         (__novmx_setjmp): Likewise.
36446         (__GI__setjmp): Likewise.
36447         (__vmx_setjmp): Likewise.
36448         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36449         <bp-sym.h>.
36450         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36451         (__bzero): Don't use BP_SYM.
36452         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36453         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36454         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36455         <bp-sym.h> and <bp-asm.h>.
36456         (memcpy): Don't use BP_SYM.
36457         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36458         <bp-sym.h> and <bp-asm.h>.
36459         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36460         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36461         <bp-sym.h> and <bp-asm.h>.
36462         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36463         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36464         <bp-asm.h>.
36465         (__mpn_lshift): Don't use BP_SYM.
36466         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36467         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36468         <bp-asm.h>.
36469         (memset): Don't use BP_SYM.
36470         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36471         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36472         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36473         <bp-asm.h>.
36474         (__mpn_mul_1): Don't use BP_SYM.
36475         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36476         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36477         <bp-sym.h> and <bp-asm.h>.
36478         (memcmp): Don't use BP_SYM.
36479         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36480         <bp-sym.h> and <bp-asm.h>.
36481         (memcpy): Don't use BP_SYM.
36482         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36483         <bp-sym.h> and <bp-asm.h>.
36484         (memset): Don't use BP_SYM.
36485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36486         <bp-sym.h> and <bp-asm.h>.
36487         (strncmp): Don't use BP_SYM.
36488         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36489         <bp-sym.h> and <bp-asm.h>.
36490         (memcpy): Don't use BP_SYM.
36491         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36492         <bp-sym.h> and <bp-asm.h>.
36493         (memset): Don't use BP_SYM.
36494         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36495         <bp-sym.h> and <bp-asm.h>.
36496         (__memchr): Don't use BP_SYM.
36497         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36498         <bp-sym.h> and <bp-asm.h>.
36499         (memcmp): Don't use BP_SYM.
36500         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36501         <bp-sym.h> and <bp-asm.h>.
36502         (memcpy): Don't use BP_SYM.
36503         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36504         <bp-sym.h> and <bp-asm.h>.
36505         (__mempcpy): Don't use BP_SYM.
36506         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36507         <bp-sym.h> and <bp-asm.h>.
36508         (__memrchr): Don't use BP_SYM.
36509         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36510         <bp-sym.h> and <bp-asm.h>.
36511         (memset): Don't use BP_SYM.
36512         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36513         <bp-sym.h> and <bp-asm.h>.
36514         (__rawmemchr): Don't use BP_SYM.
36515         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36516         <bp-sym.h> and <bp-asm.h>.
36517         (__STRCMP): Don't use BP_SYM.
36518         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36519         <bp-sym.h> and <bp-asm.h>.
36520         (strchr): Don't use BP_SYM.
36521         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36522         <bp-sym.h> and <bp-asm.h>.
36523         (__strchrnul): Don't use BP_SYM.
36524         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36525         <bp-sym.h> and <bp-asm.h>.
36526         (strlen): Don't use BP_SYM.
36527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36528         <bp-sym.h> and <bp-asm.h>.
36529         (strncmp): Don't use BP_SYM.
36530         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36531         <bp-sym.h> and <bp-asm.h>.
36532         (__strnlen): Don't use BP_SYM.
36533         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36534         <bp-asm.h>.
36535         (__mpn_rshift): Don't use BP_SYM.
36536         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36537         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36538         <bp-sym.h> and <bp-asm.h>.
36539         (__sigsetjmp): Don't use BP_SYM.
36540         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36541         (L(start_addresses)): Don't use BP_SYM.
36542         (_start): Likewise.
36543         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36544         <bp-asm.h>.
36545         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36546         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36547         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36548         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36549         <bp-asm.h>.
36550         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36551         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36552         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36553         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36554         <bp-asm.h>.
36555         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36556         comments.
36557         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36558         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36559         <bp-asm.h>.
36560         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36561         FIXME comments.
36562         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36563         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36564         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36565         <bp-asm.h>.
36566         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36567         comment.
36568         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36569         and <bp-asm.h>.
36570         (strncmp): Don't use BP_SYM,
36571         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36572         <bp-asm.h>.
36573         (__mpn_sub_n): Don't use BP_SYM.
36574         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36575         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36576         and <bp-asm.h>.
36577         (__mpn_submul_1): Don't use BP_SYM.
36578         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36580         <bp-sym.h> and <bp-asm.h>.
36581         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36583         <bp-sym.h> and <bp-asm.h>.
36584         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36585         comment.
36587 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36590         Use ZK to minimize writes to Z.
36591         (sub_magnitudes): Simplify code a bit.
36592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36593         Use ZK to minimize writes to Z.
36594         (sub_magnitudes): Simplify code a bit.
36596 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36598         * csu/gmon-start.c: Add special exception to license text.
36600 2013-02-27  Richard Henderson  <rth@redhat.com>
36602         * scripts/config.guess: Update from config.git.
36603         * scripts/config.sub: Likewise.
36605 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36609         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36611         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36613         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36615         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36617 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36619         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36620         [$(build-shared = yes].
36622 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36624         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36625         (__mul): Reduce iterations for calculating mantissa.
36627         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36628         MPTWO.
36629         (__mpranred): Likewise.
36631         [BZ #15160]
36632         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36633         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36635 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36637         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36638         Define __attribute__.
36640 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36642         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36643         unused.
36644         * posix/regex_internal.h (__attribute): Remove.
36645         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36646         (re_string_context_at): Likewise.
36647         (bitset_not): Use __attribute__ and mark function as possibly
36648         unused.
36649         (bitset_merge): Likewise.
36650         (bitset_mask): Likewise.
36651         (re_string_char_size_at): Likewise.
36652         (re_string_wchar_at): Likewise.
36653         (re_string_elem_size_at): Likewise.
36655 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36657         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36658         code.
36659         (cc32): Likewise.
36661         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36662         (__acr): Likewise.
36663         (__cpy): Likewise.
36664         (norm): Likewise.
36665         (denorm): Likewise.
36666         (__dbl_mp): Likewise.
36667         (add_magnitudes): Likewise.
36668         (sub_magnitudes): Likewise.
36669         (__mul): Likewise.
36670         (__inv): Likewise.
36672         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36673         style.
36675         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36676         style.
36678         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36679         code.
36681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36682         up changes with default code.
36683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36684         Likewise.
36686 2013-02-24  Allan McRae  <allan@archlinux.org>
36688         * manual/socket.texi (The Internet Namespace): Order menu items
36689         to match that in the file.
36691         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36692         node listing of the info page menu.
36694 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36696         [BZ #13550]
36697         * sysdeps/i386/bp-asm.h: Remove file.
36698         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36699         (PARMS): Do not use macros from bp-asm.h.
36700         (S1): Likewise.
36701         (S2): Likewise.
36702         (SIZE): Likewise.
36703         (__mpn_add_n): Do not use BP_SYM
36704         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36705         "bp-asm.h".
36706         (PARMS): Do not use macros from bp-asm.h.
36707         (S1): Likewise.
36708         (SIZE): Likewise.
36709         (__mpn_addmul_1): Do not use BP_SYM
36710         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36711         "bp-asm.h".
36712         (PARMS): Do not use macros from bp-asm.h.
36713         (SIGMSK): Likewise.
36714         (_setjmp): Likewise.  Do not use BP_SYM.
36715         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36716         "bp-asm.h".
36717         (PARMS): Do not use macros from bp-asm.h.
36718         (SIGMSK): Likewise.
36719         (setjmp): Likewise.  Do not use BP_SYM.
36720         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36721         "bp-asm.h".
36722         (PARMS): Do not use macros from bp-asm.h.
36723         (__frexp): Do not use BP_SYM.
36724         (frexp): Likewise.
36725         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36726         "bp-asm.h".
36727         (PARMS): Do not use macros from bp-asm.h.
36728         (__frexpf): Do not use BP_SYM.
36729         (frexpf): Likewise.
36730         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36731         "bp-asm.h".
36732         (PARMS): Do not use macros from bp-asm.h.
36733         (__frexpl): Do not use BP_SYM.
36734         (frexpl): Likewise.
36735         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36736         "bp-asm.h".
36737         (PARMS): Do not use macros from bp-asm.h.
36738         (__remquo): Do not use BP_SYM.
36739         (remquo): Likewise.
36740         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36741         "bp-asm.h".
36742         (PARMS): Do not use macros from bp-asm.h.
36743         (__remquof): Do not use BP_SYM.
36744         (remquof): Likewise.
36745         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36746         "bp-asm.h".
36747         (PARMS): Do not use macros from bp-asm.h.
36748         (__remquol): Do not use BP_SYM.
36749         (remquol): Likewise.
36750         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36751         "bp-asm.h".
36752         (PARMS): Do not use macros from bp-asm.h.
36753         (DEST): Likewise.
36754         (SRC): Likewise.
36755         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36756         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36757         "bp-asm.h".
36758         (PARMS): Do not use macros from bp-asm.h.
36759         (strlen): Do not use BP_SYM.
36760         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36761         "bp-asm.h".
36762         (PARMS): Do not use macros from bp-asm.h.
36763         (S1): Likewise.
36764         (S2): Likewise.
36765         (SIZE): Likewise.
36766         (__mpn_add_n): Do not use BP_SYM.
36767         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36768         "bp-asm.h".
36769         (PARMS): Do not use macros from bp-asm.h.
36770         (S1): Likewise.
36771         (SIZE): Likewise.
36772         (__mpn_addmul_1): Do not use BP_SYM.
36773         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36774         weak_alias.
36775         (bzero): Likewise.
36776         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36777         "bp-asm.h".
36778         (PARMS): Do not use macros from bp-asm.h.
36779         (S): Likewise.
36780         (SIZE): Likewise.
36781         (__mpn_lshift): Do not use BP_SYM.
36782         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36783         "bp-asm.h".
36784         (PARMS): Do not use macros from bp-asm.h.
36785         (DEST): Likewise.
36786         (SRC): Likewise.
36787         (LEN): Likewise.
36788         (memcpy): Likewise.  Do not use BP_SYM.
36789         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36790         libc_hidden_def and weak_alias.
36791         (mempcpy): Do not use BP_SYM in weak_alias.
36792         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36793         "bp-asm.h".
36794         (PARMS): Do not use macros from bp-asm.h.
36795         (DEST): Likewise.
36796         (LEN): Likewise.
36797         [!BZERO_P] (CHR): Likewise.
36798         (memset): Likewise.  Do not use BP_SYM.
36799         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36800         "bp-asm.h".
36801         (PARMS): Do not use macros from bp-asm.h.
36802         (S1): Likewise.
36803         (SIZE): Likewise.
36804         (__mpn_mul_1): Do not use BP_SYM.
36805         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36806         "bp-asm.h".
36807         (PARMS): Do not use macros from bp-asm.h.
36808         (S): Likewise.
36809         (SIZE): Likewise.
36810         (__mpn_rshift): Do not use BP_SYM.
36811         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36812         "bp-asm.h".
36813         (PARMS): Do not use macros from bp-asm.h.
36814         (STR): Likewise.
36815         (CHR): Likewise.
36816         (strchr): Likewise.  Do not use BP_SYM.
36817         (index): Do not use BP_SYM in weak_alias.
36818         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36824         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36825         "bp-asm.h".
36826         (PARMS): Do not use macros from bp-asm.h.
36827         (strlen): Do not use BP_SYM.
36828         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36829         "bp-asm.h".
36830         (PARMS): Do not use macros from bp-asm.h.
36831         (S1): Likewise.
36832         (S2): Likewise.
36833         (SIZE): Likewise.
36834         (__mpn_sub_n): Do not use BP_SYM.
36835         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36836         "bp-asm.h".
36837         (PARMS): Do not use macros from bp-asm.h.
36838         (S1): Likewise.
36839         (SIZE): Likewise.
36840         (__mpn_submul_1): Do not use BP_SYM.
36841         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36842         "bp-asm.h".
36843         (PARMS): Do not use macros from bp-asm.h.
36844         (S1): Likewise.
36845         (S2): Likewise.
36846         (SIZE): Likewise.
36847         (__mpn_add_n): Do not use BP_SYM.
36848         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36849         weak_alias.
36850         (bzero): Likewise.
36851         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36852         "bp-asm.h".
36853         (PARMS): Do not use macros from bp-asm.h.
36854         (BLK2): Likewise.
36855         (LEN): Likewise.
36856         (memcmp): Do not use BP_SYM.
36857         (bcmp): Do not use BP_SYM in weak_alias.
36858         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36859         "bp-asm.h".
36860         (PARMS): Do not use macros from bp-asm.h.
36861         (DEST): Likewise.
36862         (SRC): Likewise.
36863         (LEN): Likewise.
36864         (memcpy): Likewise.  Do not use BP_SYM.
36865         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36866         "bp-asm.h".
36867         (PARMS): Do not use macros from bp-asm.h.
36868         (DEST): Likewise.
36869         (SRC): Likewise.
36870         (LEN): Likewise.
36871         (memmove): Likewise.  Do not use BP_SYM.
36872         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36873         "bp-asm.h".
36874         (PARMS): Do not use macros from bp-asm.h.
36875         (DEST): Likewise.
36876         (SRC): Likewise.
36877         (LEN): Likewise.
36878         (__mempcpy): Likewise.  Do not use BP_SYM.
36879         (mempcpy): Do not use BP_SYM in weak_alias.
36880         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36881         "bp-asm.h".
36882         (PARMS): Do not use macros from bp-asm.h.
36883         (DEST): Likewise.
36884         (LEN): Likewise.
36885         [!BZERO_P] (CHR): Likewise.
36886         (memset): Likewise.  Do not use BP_SYM.
36887         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36888         "bp-asm.h".
36889         (PARMS): Do not use macros from bp-asm.h.
36890         (STR2): Likewise.
36891         (strcmp): Do not use BP_SYM.
36892         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36893         "bp-asm.h".
36894         (PARMS): Do not use macros from bp-asm.h.
36895         (STR): Likewise.
36896         (DELIM): Likewise.
36897         [USE_AS_STRTOK_R] (SAVE): Likewise.
36898         (FUNCTION): Likewise.  Do not use BP_SYM.
36899         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36900         aliases.
36901         (strtok_r): Likewise.
36902         (__GI___strtok_r): Likewise.
36903         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36904         (PARMS): Do not use macros from bp-asm.h.
36905         (S): Likewise.
36906         (SIZE): Likewise.
36907         (__mpn_lshift): Do not use BP_SYM.
36908         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36909         (PARMS): Do not use macros from bp-asm.h.
36910         (STR): Likewise.
36911         (CHR): Likewise.
36912         (__memchr): Do not use BP_SYM.
36913         (memchr): Do not use BP_SYM in weak_alias.
36914         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36915         (PARMS): Do not use macros from bp-asm.h.
36916         (BLK2): Likewise.
36917         (LEN): Likewise.
36918         (memcmp): Do not use BP_SYM.
36919         (bcmp): Do not use BP_SYM in weak_alias.
36920         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36921         (PARMS): Do not use macros from bp-asm.h.
36922         (S1): Likewise.
36923         (SIZE): Likewise.
36924         (__mpn_mul_1): Do not use BP_SYM.
36925         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36926         "bp-asm.h".
36927         (PARMS): Do not use macros from bp-asm.h.
36928         (STR): Likewise.
36929         (CHR): Likewise.
36930         (__rawmemchr): Do not use BP_SYM.
36931         (rawmemchr): Do not use BP_SYM in weak_alias.
36932         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36933         (PARMS): Do not use macros from bp-asm.h.
36934         (S): Likewise.
36935         (SIZE): Likewise.
36936         (__mpn_rshift): Do not use BP_SYM.
36937         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36938         (PARMS): Do not use macros from bp-asm.h.
36939         (SIGMSK): Likewise.
36940         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36941         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36942         (_start): Do not use BP_SYM.
36943         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36944         (PARMS): Do not use macros from bp-asm.h.
36945         (DEST): Likewise.
36946         (SRC): Likewise.
36947         (__stpcpy): Likewise.  Do not use BP_SYM.
36948         (stpcpy): Do not use BP_SYM in weak_alias.
36949         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36950         "bp-asm.h".
36951         (PARMS): Do not use macros from bp-asm.h.
36952         (DEST): Likewise.
36953         (SRC): Likewise.
36954         (LEN): Likewise.
36955         (__stpncpy): Likewise.  Do not use BP_SYM.
36956         (stpncpy): Do not use BP_SYM in weak_alias.
36957         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36958         (PARMS): Do not use macros from bp-asm.h.
36959         (STR): Likewise.
36960         (CHR): Likewise.
36961         (strchr): Likewise.  Do not use BP_SYM.
36962         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36963         "bp-asm.h".
36964         (PARMS): Do not use macros from bp-asm.h.
36965         (STR): Likewise.
36966         (CHR): Likewise.
36967         (__strchrnul): Likewise.  Do not use BP_SYM.
36968         (strchrnul): Do not use BP_SYM in weak_alias.
36969         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36970         "bp-asm.h".
36971         (PARMS): Do not use macros from bp-asm.h.
36972         (STOP): Likewise.
36973         (strcspn): Do not use BP_SYM.
36974         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36975         "bp-asm.h".
36976         (PARMS): Do not use macros from bp-asm.h.
36977         (STR): Likewise.
36978         (STOP): Likewise.
36979         (strpbrk): Likewise.  Do not use BP_SYM.
36980         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36981         "bp-asm.h".
36982         (PARMS): Do not use macros from bp-asm.h.
36983         (STR): Likewise.
36984         (CHR): Likewise.
36985         (strrchr): Likewise.  Do not use BP_SYM.
36986         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36987         (PARMS): Do not use macros from bp-asm.h.
36988         (SKIP): Likewise.
36989         (strspn): Do not use BP_SYM.
36990         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36991         (PARMS): Do not use macros from bp-asm.h.
36992         (STR): Likewise.
36993         (DELIM): Likewise.
36994         (SAVE): Likewise.
36995         (FUNCTION): Likewise.  Do not use BP_SYM.
36996         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36997         aliases.
36998         (strtok_r): Likewise.
36999         (__GI___strtok_r): Likewise.
37000         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37001         (PARMS): Do not use macros from bp-asm.h.
37002         (S1): Likewise.
37003         (S2): Likewise.
37004         (SIZE): Likewise.
37005         (__mpn_sub_n): Do not use BP_SYM.
37006         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37007         "bp-asm.h".
37008         (PARMS): Do not use macros from bp-asm.h.
37009         (S1): Likewise.
37010         (SIZE): Likewise.
37011         (__mpn_submul_1): Do not use BP_SYM.
37012         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37013         <bp-sym.h>.
37014         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37015         and <bp-asm.h>.
37016         (PARMS): Do not use macros from bp-asm.h.
37017         (FLAGS): Likewise.
37018         (PTID): Likewise.
37019         (TLS): Likewise.
37020         (CTID): Likewise.
37021         (__clone): Do not use BP_SYM.
37022         (clone): Do not use BP_SYM in weak_alias.
37023         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37024         and <bp-asm.h>.
37025         (PARMS): Do not use macros from bp-asm.h.
37026         (LEN): Likewise.
37027         (__mmap64): Do not use BP_SYM.
37028         (mmap64): Do not use BP_SYM in weak_alias.
37029         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37030         <bp-sym.h> and <bp-asm.h>.
37031         (PARMS): Do not use macros from bp-asm.h.
37032         (__posix_fadvise64_l64): Do not use BP_SYM.
37033         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37034         (PARMS): Do not use macros from bp-asm.h.
37035         (NSOPS): Likewise.
37036         (semtimedop): Do not use BP_SYM.
37037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37038         and <bp-asm.h>.
37040 2013-02-21  Allan McRae  <allan@archlinux.org>
37042         * manual/message.texi (Charset conversion in gettext):
37043         Move @end statement to beginning of line.
37045 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37048         static.
37049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37050         Likewise.
37052         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37053         (denorm): Likewise.
37054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37057 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37059         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37060         tail-call to the resolved function if pltexit isn't needed.
37062 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37065         or Y being zero as being unlikely.
37066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37067         Likewise.
37069 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37071         * manual/nss.texi (System Databases and Name Service Switch):
37072         Remove frobnicate @pxref.
37074 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37076         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37077         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37079 2013-02-20  Petr Machata  <pmachata@redhat.com>
37081         * elf/elf.h (R_ARM_TARGET1): New macro.
37082         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37083         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37084         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37085         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37086         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37087         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37088         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37089         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37090         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37091         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37092         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37093         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37094         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37095         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37096         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37097         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37098         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37099         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37100         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37101         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37102         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37103         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37104         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37105         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37106         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37107         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37108         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37109         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37110         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37111         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37112         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37113         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37114         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37115         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37116         (R_ARM_THM_GOT_BREL12): Likewise.
37117         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37118         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37119         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37120         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37121         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37122         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37123         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37124         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37125         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37127 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37129         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37130         __attribute_used__ to __attribute__ ((unused)).
37132 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37134         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37135         powerpc mpa.c.
37136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37137         comment formatting.
37138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37140 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37142         [BZ #13550]
37143         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37144         Remove macro.
37145         (ENTER): Remove both macro definitions.
37146         (LEAVE): Likewise.
37147         (CHECK_BOUNDS_LOW): Likewise.
37148         (CHECK_BOUNDS_HIGH): Likewise.
37149         (CHECK_BOUNDS_BOTH): Likewise.
37150         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37151         (RETURN_BOUNDED_POINTER): Likewise.
37152         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37153         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37154         (POP_ERRNO_LOCATION_RETURN): Likewise.
37155         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37156         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37157         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37158         macros.
37159         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37160         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37161         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37162         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37163         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37164         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37165         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37166         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37167         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37168         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37169         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37170         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37171         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37172         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37173         removed macros.
37174         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37175         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37176         macros.
37177         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37178         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37179         * sysdeps/i386/i586/memset.S (memset): Likewise.
37180         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37181         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37182         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37183         macros.
37184         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37185         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37186         Change uses of L(2) to L(out).
37187         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37188         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37189         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37190         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37191         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37192         removed macros.
37193         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37194         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37195         macros.
37196         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37197         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37198         (RETURN): Do not use macro LEAVE.
37199         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37200         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37201         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37202         * sysdeps/i386/i686/memset.S (memset): Likewise.
37203         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37204         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37205         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37206         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37207         Likewise.
37208         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37209         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37210         L(1_2) and L(1_3) into L(1).
37211         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37212         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37213         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37214         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37215         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37216         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37217         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37218         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37219         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37220         macros.
37221         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37222         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37223         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37224         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37225         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37226         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37227         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37228         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37229         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37230         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37231         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37232         * sysdeps/i386/strspn.S (strspn): Likewise.
37233         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37234         conditional code.
37235         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37236         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37237         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37238         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37239         L(1_3) into L(1_1).
37240         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37241         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37242         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37243         macros.
37244         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37246 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37248         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37249         macro.
37251 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37253         * math/atest-exp.c (exp_mpn): Remove ROUND.
37254         * math/atest-exp2.c (exp_mpn): Likewise.
37255         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37257         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37258         * stdlib/tst-tls-atexit-lib.c: Likewise.
37259         * stdlib/tst-tls-atexit.c: Likewise.
37261 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37263         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37264         and __attribute_alloc_size__.
37266 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37268         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37269         __attribute_alloc_size__.
37270         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37271         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37273 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37275         * include/programs/xmalloc.h: New file.
37276         * catgets/gencat.c: Include it.
37277         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37278         * elf/pldd.c: Likewise.
37279         * iconv/iconv_charmap.c: Likewise.
37280         * iconv/iconvconfig.c: Likewise.
37281         * iconv/strtab.c: Likewise.
37282         * locale/programs/locale.c: Likewise.
37283         * locale/programs/localedef.h: Likewise.
37284         * locale/programs/simple-hash.c: Likewise.
37285         * nscd/nscd.h: Likewise.
37286         * nss/makedb.c: Likewise.
37287         * sysdeps/generic/ldconfig.h: Likewise.
37289 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37291         * Versions.def: Add GLIBC_2.18.
37292         * include/link.h (struct link_map): New member l_tls_dtor_count.
37293         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37294         (__call_tls_dtors): Likewise.
37295         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37296         __cxa_thread_atexit_impl.
37297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37298         Likewise.
37299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37300         Likewise.
37301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37302         Likewise.
37303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37304         Likewise.
37305         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37307         Likewise.
37308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37309         Likewise.
37310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37312         Likewise.
37313         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37314         (tests): Add test case tst-tls-atexit.
37315         (modules-names): Add shared library for tst-tls-atexit.
37316         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37317         (GLIBC_PRIVATE): Add __call_tls_dtors.
37318         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37319         for libstdc++.
37320         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37321         * stdlib/tst-tls-atexit.c: New test case.
37322         * stdlib/tst-tls-atexit-lib.c: New test case.
37324         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37326         * elf/Versions (ld): Add _dl_find_dso_for_object.
37327         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37328         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37329         (dl_open_worker): Use _dl_find_dso_for_object.
37330         * elf/dl-sym.c (do_sym): Likewise.
37331         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37333 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37335         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37336         Syntactic changes only.
37337         (_dl_runtime_profile): Do a tail-call to the resolved function.
37339 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37341         [BZ #13550]
37342         * sysdeps/x86_64/bp-asm.h: Remove file.
37343         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37344         <bp-sym.h> and <bp-asm.h>.
37345         (__clone): Do not use BP_SYM.
37346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37347         <bp-sym.h> and <bp-asm.h>.
37348         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37349         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37350         "bp-asm.h".
37351         (_setjmp): Do not use BP_SYM.
37352         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37353         "bp-asm.h".
37354         (setjmp): Do not use BP_SYM.
37355         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37356         libc_hidden_def.
37357         (mempcpy): Do not use BP_SYM in weak_alias.
37358         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37359         "bp-asm.h".
37360         (strchr): Do not use BP_SYM.
37361         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37362         "bp-asm.h".
37363         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37364         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37365         (_start): Do not use BP_SYM.
37366         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37367         "bp-asm.h".
37368         (strcat): Do not use BP_SYM.
37369         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37370         "bp-asm.h".
37371         (STRCMP): Do not use BP_SYM.
37372         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37373         "bp-asm.h".
37374         (STRCPY): Do not use BP_SYM.
37375         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37376         "bp-asm.h".
37377         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37378         "bp-asm.h".
37379         (FUNCTION): Do not use BP_SYM.
37380         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37381         weak_alias.
37382         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37384 2013-02-17  Andreas Jaeger  <aj@suse.de>
37386         * time/Versions: Sort entries.
37387         * string/Versions: Likewise.
37388         * resolv/Versions: Likewise.
37389         * posix/Versions: Likewise.
37390         * iconv/Versions: Likewise.
37391         * elf/Versions: Likewise.
37392         * wcsmbs/Versions: Likewise.
37394 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37397         loop termination condition.
37399         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37400         variable to calculate EZ.
37401         (__sqr): Likewise.
37403         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37404         the lower precision input.
37406 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37408         [BZ #13550]
37409         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37410         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37411         (run-via-rtld-prefix): Do not handle %-bp tests.
37412         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37413         (all-object-suffixes): Remove .ob.
37414         (bppfx): Remove variable.
37415         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37416         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37417         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37418         [$(build-bounded) = yes] (libtype.ob): Likewise.
37419         * Makerules (elide-routines.ob): Remove variable.
37420         (do-tests-clean): Do not handle *-bp.out.
37421         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37422         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37423         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37424         (tests): Do not include $(tests-bp.out).
37425         (xtests): Do not include $(xtests-bp.out).
37426         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37427         [$(build-bounded) = yes] ($(addprefix
37428         $(objpfx),$(binaries-bounded))): Remove rule.
37429         ($(objpfx)%-bp.out): Remove rule.
37430         * config.make.in (build-bounded): Remove variable.
37431         * crypt/Makefile [$(build-bounded) = yes]
37432         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37433         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37434         append to variable.
37435         [$(build-bounded) = yes] (install-lib): Likewise.
37436         [$(build-bounded) = yes] (generated): Likewise.
37437         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37438         Remove rule.
37439         * intl/Makefile [$(build-bounded) = yes]
37440         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37441         * math/Makefile [$(build-bounded) = yes]
37442         ($(tests:%=$(objpfx)%-bp): Likewise.
37443         * misc/Makefile [$(build-bounded) = yes]
37444         ($(objpfx)tst-tsearch-bp): Likewise.
37445         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37446         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37447         Remove dependency.
37448         * string/Makefile (o-objects.ob): Remove variable.
37449         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37450         (CFLAGS-.ob): Remove variable.
37451         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37452         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37453         both definitions of variable.
37454         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37455         (ASFLAGS-.ob): Remove variable.
37457 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37459         [BZ #13550]
37460         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37461         Remove __BOUNDED_POINTERS__ from condition.
37462         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37463         * string/bits/string2.h [!__NO_STRING_INLINES &&
37464         !__BOUNDED_POINTERS__]: Likewise.
37465         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37468         Remove conditional code.
37469         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37470         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37471         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37472         condition.
37474         [BZ #13550]
37475         * csu/libc-start.c: Do not include <bp-sym.h>.
37476         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37477         * elf/dl-open.c: Do not include <bp-sym.h>.
37478         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37479         * math/fegetenv.c: Do not include <bp-sym.h>.
37480         (fegetenv): Do not use BP_SYM in versioned symbols.
37481         * nptl/sysdeps/pthread/bits/libc-lockP.h
37482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37483         <bp-sym.h>.
37484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37485         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37487         (__pthread_mutex_destroy): Likewise.
37488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37489         (__pthread_mutex_lock): Likewise.
37490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37491         (__pthread_mutex_trylock): Likewise.
37492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37493         (__pthread_mutex_unlock): Likewise.
37494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37495         (__pthread_mutexattr_init): Likewise.
37496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37497         (__pthread_mutexattr_destroy): Likewise.
37498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37499         (__pthread_mutexattr_settype): Likewise.
37500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37501         (__pthread_rwlock_init): Likewise.
37502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37503         (__pthread_rwlock_destroy): Likewise.
37504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37505         (__pthread_rwlock_rdlock): Likewise.
37506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37507         (__pthread_rwlock_tryrdlock): Likewise.
37508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37509         (__pthread_rwlock_wrlock): Likewise.
37510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37511         (__pthread_rwlock_trywrlock): Likewise.
37512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37513         (__pthread_rwlock_unlock): Likewise.
37514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37515         (__pthread_key_create): Likewise.
37516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37517         (__pthread_setspecific): Likewise.
37518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37519         (__pthread_getspecific): Likewise.
37520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37521         Likewise.
37522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37523         (_pthread_cleanup_push_defer): Likewise.
37524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37525         (_pthread_cleanup_pop_restore): Likewise.
37526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37527         (pthread_setcancelstate): Likewise.
37528         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37529         <bp-sym.h>.
37530         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37531         (memchr): Do not use BP_SYM in weak_alias.
37532         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37533         (fegetenv): Do not use BP_SYM in versioned symbols.
37534         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37535         (fesetenv): Do not use BP_SYM in versioned symbols.
37536         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37537         (feupdateenv): Do not use BP_SYM in versioned symbols.
37538         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37539         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37540         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37541         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37542         (open64): Do not use BP_SYM in weak_alias.
37543         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37544         (fegetenv): Do not use BP_SYM in versioned symbols.
37545         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37546         (fesetenv): Do not use BP_SYM in versioned symbols.
37547         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37548         (feupdateenv): Do not use BP_SYM in versioned symbols.
37549         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37550         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37551         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37552         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37553         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37554         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37555         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37556         <bp-sym.h>.
37557         (__libc_start_main): Do not use BP_SYM.
37559 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37562         redundant return line.
37563         (norm): Likewise.
37564         (denorm): Likewise.
37565         (dbl_mp): Likewise.
37566         (sub_magnitudes): Likewise.
37567         (__add): Likewise.
37568         (__sub): Likewise.
37569         (__mul): Likewise.
37570         (__inv): Likewise.
37571         (__dvd): Likewise.
37572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37573         (norm): Likewise.
37574         (denorm): Likewise.
37575         (dbl_mp): Likewise.
37576         (sub_magnitudes): Likewise.
37577         (__add): Likewise.
37578         (__sub): Likewise.
37579         (__mul): Likewise.
37580         (__inv): Likewise.
37581         (__dvd): Likewise.
37583         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37584         instead of __mul.
37585         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37586         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37587         (cc32): Likewise.
37589         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37590         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37592         of __mul for squares.
37593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37594         function
37595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37596         Likewise.
37597         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37598         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37600 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37602         [BZ #13550]
37603         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37604         code.
37605         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37606         prototype or function definition.  Rename ubp_* variables and
37607         parameters.  Remove argv definitions conditional on
37608         [__BOUNDED_POINTERS__].
37609         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37610         * elf/dl-runtime.c (_dl_fixup): Likewise.
37611         * include/set-hooks.h (RUN_HOOK): Likewise.
37612         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37613         definition.
37614         * string/strcpy.c (strcpy): Do not use __unbounded.
37615         * sysdeps/generic/frame.h (struct layout): Likewise.
37616         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37617         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37618         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37619         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37620         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37621         (__backtrace): Likewise.
37622         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37623         use __ptrvalue.
37624         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37625         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37626         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37627         Likewise.
37628         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37629         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37630         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37631         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37632         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37633         Do not use __unbounded.
37634         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37635         Rename __unboundedrlimits parameter to rlimits in prototype.
37636         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37637         Do not use __unbounded.
37638         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37639         not use __ptrvalue.
37640         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37641         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37642         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37643         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37644         __ptrvalue or __unbounded.
37645         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37646         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37647         use __unbounded.
37648         (__new_msgctl): Do not use __ptrvalue.
37649         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37650         __unbounded.
37651         (__libc_msgrcv): Do not use __ptrvalue.
37652         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37653         startup_info): Do not use __unbounded.
37654         (__libc_start_main): Likewise.  Rename ubp_* variables and
37655         parameters.  Remove argv definitions conditional on
37656         [__BOUNDED_POINTERS__].
37657         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37658         __ptrvalue.
37659         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37660         use __unbounded.
37661         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37662         or __ptrvalue.
37663         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37664         use __unbounded.
37665         (__new_shmctl): Do not use __ptrvalue.
37666         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37667         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37668         Likewise.
37669         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37670         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37671         (__libc_sigaction): Likewise.
37672         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37673         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37674         Likewise.
37675         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37677 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37679         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37681         * string/mempcpy.c: Implement by calling memcpy.
37683 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37688         evaluation.
37690         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37691         values in the mantissa.
37693         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37694         minimize writes to Z.
37695         (sub_magnitudes): Simplify code a bit.
37697 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37699         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37700         from the message.  The linker prefixes all warnings with that already.
37702 2013-02-12  Andreas Schwab  <schwab@suse.de>
37704         [BZ #15078]
37705         * posix/regexec.c (extend_buffers): Add parameter min_len.
37706         (check_matching): Pass minimum needed length.
37707         (clean_state_log_if_needed): Likewise.
37708         (get_subexp): Likewise.
37709         * posix/Makefile (tests): Add bug-regex34.
37710         (bug-regex34-ENV): Define.
37711         * posix/bug-regex34.c: New file.
37713         [BZ #11561]
37714         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37715         elements compare against the byte sequence of it, not its name.
37716         * posix/Makefile (tests): Add bug-regex35.
37717         (bug-regex35-ENV): Define.
37718         * posix/bug-regex35.c: New file.
37720 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37722         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37723         comment.
37724         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37725         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37726         (CHECK_EOL): Add undef.
37728 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37730         * bits/stdlib-bsearch.h: New file.
37731         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37732         * stdlib/stdlib.h: Likewise.
37734 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37736         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37737         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37738         declaration.
37739         * manual/search.texi (Array Search Function): Add missing const in
37740         lfind prototype.
37741         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37742         declaration to use rlim_t.
37743         (Basic Scheduling Functions): Remove erroneous const from
37744         sched_getparam prototype.  Remove erroneous * from
37745         sched_get_priority_max and sched_get_priority_min prototypes.
37746         (Resource Usage): Fix summary @comment on vtimes to refer to
37747         sys/vtimes.h rather than vtimes.h.
37748         Add missing *s in vtimes prototype.
37749         (Limits on Resources): Fix ulimit prototype to return long int.
37750         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37751         prototypes to use long int rather than double.
37752         (BSD Random): Fix initstate and setstate to use char *, not void *.
37753         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37754         prototype to make second argument 'struct aiocb64 *const[]'.
37755         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37756         (Status of AIO Operations): Remove erroneous const in aio_return and
37757         aio_return64 prototypes.
37758         (Synchronizing I/O): Fix sync prototype to return void.
37759         * manual/startup.texi (Suboptions): Remove an erroneous const in
37760         getsubopt prototype.
37761         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37762         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37763         use size_t rather than int.
37764         (Scanning All Users): Likewise for getpwent_r.
37765         (Setting Groups): Add missing const to setgroups prototype.
37766         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37767         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37768         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37769         'const void *' rather than 'const char *'.
37770         (Host Address Functions): Likewise for inet_ntop.
37771         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37772         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37773         ssize_t for return value.
37774         (Sending Data): Likewise for send, sendto, sendmsg.
37775         (Socket Option Functions): Add a missing const in setsockopt prototype.
37776         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37777         use wchar_t for the argument.
37778         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37779         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37780         take no arguments.
37781         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37782         double/float/long double for second argument.
37783         Fix return types of significand, significandf, significandl.
37784         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37785         argument in fchmod prototype.
37786         (File Owner): Use uid_t and gid_t in fchown prototype.
37787         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37788         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37789         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37790         use 'const struct dirent **' as argument types to CMP function pointer
37791         argument.
37792         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37793         (File Times): Fix summary magic @comment for struct utimbuf and utime
37794         to refer to utime.h, not time.h.
37795         * manual/string.texi (Argz Functions): Add missing const in
37796         argz_extract and argz_next prototypes.
37797         (Finding Tokens in a String): Likewise for basename.
37798         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37799         (Copying and Concatenation): Fix typo in wmemmove prototype.
37800         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37801         (Signal Stack): Remove erroneous const in sigstack prototype.
37802         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37803         prototype.
37804         (Simple Calendar Time): Likewise for stime.
37805         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37806         prototype.
37807         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37808         say sys/sysctl.h instead.
37809         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37810         and vsyslog prototypes.
37812 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37814         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37815         Remove.
37817 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37819         * misc/sys/mman.h: Fix typo in mremap comment.
37821 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37823         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37824         the '\0' terminator.
37826 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37828         [BZ #13550]
37829         * debug/segfault.c: Don't include <bp-checks.h>.
37830         * sysdeps/generic/bp-checks.h: Remove file.
37831         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37832         (__GETDENTS): Don't use CHECK_N.
37833         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37834         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37835         (__getgroups): Don't use CHECK_N.
37836         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37837         (setgroups): Don't use CHECK_N.
37838         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37839         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37840         (__libc_msgrcv): Don't use CHECK_N.
37841         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37842         (__libc_msgsnd): Don't use CHECK_N.
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37844         <bp-checks.h>.
37845         (__libc_pread): Don't use CHECK_N.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37847         include <bp-checks.h>.
37848         (__libc_pread64): Don't use CHECK_N.
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37850         include <bp-checks.h>.
37851         (__libc_pwrite): Don't use CHECK_N.
37852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37853         include <bp-checks.h>.
37854         (__libc_pwrite64): Don't use CHECK_N.
37855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37856         <bp-checks.h>.
37857         (__libc_pread): Don't use CHECK_N.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37859         include <bp-checks.h>.
37860         (__libc_pread64): Don't use CHECK_N.
37861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37862         include <bp-checks.h>.
37863         (__libc_pwrite): Don't use CHECK_N.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37865         include <bp-checks.h>.
37866         (__libc_pwrite64): Don't use CHECK_N.
37867         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37868         (do_pread): Don't use CHECK_N.
37869         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37870         (do_pread64): Don't use CHECK_N.
37871         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37872         (do_pwrite): Don't use CHECK_N.
37873         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37874         (do_pwrite64): Don't use CHECK_N.
37875         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37876         (__libc_readv): Don't use CHECK_N.
37877         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37878         (semop): Don't use CHECK_N.
37879         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37880         <bp-checks.h>.
37881         (semtimedop): Don't use CHECK_N.
37882         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37883         (__libc_pread): Don't use CHECK_N.
37884         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37885         <bp-checks.h>.
37886         (__libc_pread64): Don't use CHECK_N.
37887         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37888         <bp-checks.h>.
37889         (__libc_pwrite): Don't use CHECK_N.
37890         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37891         <bp-checks.h>.
37892         (__libc_pwrite64): Don't use CHECK_N.
37893         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37894         <bp-checks.h>.
37895         (__libc_msgrcv): Don't use CHECK_N.
37896         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37897         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37898         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37899         (__libc_writev): Don't use CHECK_N.
37901 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37903         * string/strcpy.c: Removed unused variable.
37905         * Makeconfig (+sysdep-includes): Define with := rather than =.
37906         Use an existing include/ subdir of each sysdeps dir before it.
37908 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37910         * nscd/connection.c (register_traced_file): Comment function.
37911         [HAVE_INOTIFY] (union __inev): Define.
37912         [HAVE_INOTIFY] (inotify_check_files): New function.
37913         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37914         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37915         clear_db_cache.
37916         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37918 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37920         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37921         loaded if not already and that a failure is permanent.
37923 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37925         [BZ #15006]
37926         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37927         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37929 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37931         [BZ #13550]
37932         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37933         (CHECK_1_NULL_OK): Likewise.
37934         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37935         (__fxstat): Do not use CHECK_1.
37936         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37937         <bp-checks.h>.
37938         (___fxstat64): Do not use CHECK_1.
37939         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37940         <bp-checks.h>.
37941         (__fxstatat): Do not use CHECK_1.
37942         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37943         <bp-checks.h>.
37944         (__fxstatat64): Do not use CHECK_1.
37945         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37946         <bp-checks.h>.
37947         (__fxstat): Do not use CHECK_1.
37948         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37949         <bp-checks.h>.
37950         (__fxstatat): Do not use CHECK_1.
37951         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37952         <bp-checks.h>.
37953         (__getresgid): Do not use CHECK_1.
37954         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37955         <bp-checks.h>.
37956         (__getresuid): Do not use CHECK_1.
37957         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37958         <bp-checks.h>.
37959         (__lxstat): Do not use CHECK_1.
37960         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37961         <bp-checks.h>.
37962         (__old_msgctl): Do not use CHECK_1.
37963         (__new_msgctl): Likewise.
37964         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37965         <bp-checks.h>.
37966         (__new_setrlimit): Do not use CHECK_1.
37967         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37968         <bp-checks.h>.
37969         (__old_shmctl): Do not use CHECK_1.
37970         (__new_shmctl): Likewise.
37971         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37972         <bp-checks.h>.
37973         (__xstat): Do not use CHECK_1.
37974         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37975         (__lxstat): Do not use CHECK_1.
37976         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37977         <bp-checks.h>.
37978         (___lxstat64): Do not use CHECK_1.
37979         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37980         (__old_msgctl): Do not use CHECK_1.
37981         (__new_msgctl): Likewise.
37982         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37983         <bp-checks.h>.
37984         (__gettimeofday): Do not use CHECK_1.
37985         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37986         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37987         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37988         <bp-checks.h>.
37989         (__gettimeofday): Do not use CHECK_1.
37990         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37991         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37992         (__new_shmctl): Do not use CHECK_1.
37993         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37994         <bp-checks.h>.
37995         (do_sigtimedwait): Do not use CHECK_1.
37996         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37997         <bp-checks.h>.
37998         (do_sigwaitinfo): Do not use CHECK_1.
37999         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38000         <bp-checks.h>.
38001         (msgctl): Do not use CHECK_1.
38002         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38003         <bp-checks.h>.
38004         (shmctl): Do not use CHECK_1.
38005         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38006         (ustat): Do not use CHECK_1.
38007         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38008         <bp-checks.h>.
38009         (__fxstat): Do not use CHECK_1.
38010         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38011         <bp-checks.h>.
38012         (__fxstatat): Do not use CHECK_1.
38013         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38014         <bp-checks.h>.
38015         (__lxstat): Do not use CHECK_1.
38016         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38017         <bp-checks.h>.
38018         (__xstat): Do not use CHECK_1.
38019         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38020         (__xstat): Do not use CHECK_1.
38021         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38022         (___xstat64): Do not use CHECK_1.
38024         [BZ #13550]
38025         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38026         definitions.
38027         (CHECK_BOUNDS_HIGH): Likewise.
38028         * string/strcpy.c: Do not include <bp-checks.h>.
38029         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38031 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38033         * nscd/nscd-client.h (__nscd_drop_map_ref):
38034         Add __attribute__ ((unused)).
38035         * nis/nss-nisplus.h (niserr2nss): Likewise.
38037         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38038         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38040         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38041         Remove inline keyword.
38042         * include/rounding-mode.h (round_away): Likewise.
38043         * libio/wfileops.c (adjust_wide_data): Likewise.
38044         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38045         (__m128i_strloadu_tolower): Likewise.
38046         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38047         (__m128i_strloadu_tolower): Likewise.
38048         * time/mktime.c (ydhms_diff): Likewise.
38049         * locale/elem-hash.h (elem_hash): Likewise.
38050         * locale/setlocale.c (setdata): Likewise.
38051         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38052         (re_string_wchar_at): Likewise.
38053         (bitset_not, bitset_merge, bitset_mask): Likewise.
38054         [!(__GNUC__ > 3)] (inline): Remove macro.
38055         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38056         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38057         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38058         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38059         * string/memcmp.c (memcmp_bytes): Likewise.
38060         * locale/programs/locarchive.c (compute_hashval): Likewise.
38061         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38062         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38063         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38064         * nss/getent.c (print_rpc, print_protocols): Likewise.
38065         (print_passwd, print_group, print_aliases): Likewise.
38066         * nis/nss-nisplus.h (niserr2nss): Likewise.
38067         * nscd/connections.c (restart_p): Likewise.
38068         Change return type to bool.
38070 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38072         * Makeconfig (all-Depend-files): Add existing
38073         $(sorted-subdirs:=/Depend) files.
38074         (all-subdirs): Remove nss.
38075         * sysdeps/unix/inet/Subdirs: Add it here instead.
38076         * hesiod/Depend: New file.
38078         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38079         instead of calling alloca.
38081         * io/lseek.c (__lseek): Rename to __libc_lseek.
38082         Define __lseek as an alias.
38084         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38086 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38088         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38089         else clause and remove check for non-standard endianness.
38091 2013-02-04  David S. Miller  <davem@davemloft.net>
38093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38095 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38097         [BZ #13550]
38098         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38099         (__ubp_memchr): Remove prototype.
38100         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38101         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38102         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38103         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38104         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38105         Remove alias.
38106         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38107         (__ubp_memchr): Likewise.
38108         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38109         (__ubp_memchr): Likewise.
38110         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38111         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38112         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38113         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38114         CHECK_STRING.
38115         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38116         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38117         (__getcwd): Do not use CHECK_STRING.
38118         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38119         <bp-checks.h>.
38120         (__real_chown): Do not use CHECK_STRING.
38121         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38122         <bp-checks.h>.
38123         (fchownat): Do not use CHECK_STRING.
38124         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38125         CHECK_STRING.
38126         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38127         <bp-checks.h>.
38128         (__lchown): Do not use CHECK_STRING.
38129         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38130         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38131         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38132         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38134         include <bp-checks.h>.
38135         (truncate64): Do not use CHECK_STRING.
38136         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38137         <bp-checks.h>.
38138         (__real_chown): Do not use CHECK_STRING.
38139         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38140         <bp-checks.h>.
38141         (__lchown): Do not use CHECK_STRING.
38142         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38143         <bp-checks.h>.
38144         (__chown): Do not use CHECK_STRING.
38145         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38146         <bp-checks.h>.
38147         (truncate64): Do not use CHECK_STRING.
38148         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38149         Likewise.
38150         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38151         (__xmknod): Do not use CHECK_STRING.
38152         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38153         <bp-checks.h>.
38154         (__xmknodat): Do not use CHECK_STRING.
38155         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38156         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38158 2013-02-04  Andreas Schwab  <schwab@suse.de>
38160         [BZ #14142]
38161         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38162         * include/netdb.h: Likewise for h_errno.
38163         * elf/tst-stackguard1.c: Include <tls.h>.
38165 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38167         * elf/link.h (struct link_map): Extend the l_addr comment.
38168         * include/link.h (struct link_map): Likewise.
38170 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38172         [BZ #13550]
38173         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38174         (BOUNDED_1): Remove macro.
38175         * debug/backtrace.c: Don't include <bp-checks.h>.
38176         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38177         (__backtrace): Likewise.
38178         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38179         <bp-checks.h>.
38180         (__backtrace): Don't use BOUNDED_1.
38181         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38182         <bp-checks.h>.
38183         (__backtrace): Don't use BOUNDED_1.
38184         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38185         (__backtrace): Don't use BOUNDED_1.
38186         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38187         (shmat): Don't use BOUNDED_N.
38189 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38191         [BZ #13550]
38192         * sysdeps/generic/bp-start.h: Remove file.
38193         * csu/libc-start.c: Don't include <bp-start.h>.
38194         (LIBC_START_MAIN): Set up __environ directly instead of using
38195         INIT_ARGV_and_ENVIRON.
38196         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38197         <bp-start.h>.
38199         [BZ #13550]
38200         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38201         definitions.
38202         (CHECK_FCNTL): Likewise.
38203         (CHECK_N_PAGES): Likewise.
38205         [BZ #13550]
38206         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38207         definitions.
38208         (CHECK_SIGSET_NULL_OK): Likewise.
38209         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38210         <bp-checks.h>.
38211         (sigpending): Don't use CHECK_SIGSET.
38212         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38213         <bp-checks.h>.
38214         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38215         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38216         <bp-checks.h>.
38217         (do_sigsuspend): Don't use CHECK_SIGSET.
38218         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38219         use CHECK_SIGSET.
38220         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38221         (do_sigwait): Don't use CHECK_SIGSET.
38222         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38223         use CHECK_SIGSET.
38224         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38225         include <bp-checks.h>.
38226         (sigpending): Don't use CHECK_SIGSET.
38227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38228         include <bp-checks.h>.
38229         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38230         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38231         <bp-checks.h>.
38232         (sigpending): Don't use CHECK_SIGSET.
38233         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38234         <bp-checks.h>.
38235         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38237         [BZ #13550]
38238         * sysdeps/generic/bp-semctl.h: Remove file.
38239         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38240         <bp-checks.h> and <bp-semctl.h>.
38241         (__old_semctl): Don't use CHECK_SEMCTL.
38242         (__new_semctl): Likewise.
38243         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38244         and <bp-semctl.h>.
38245         (__old_semctl): Don't use CHECK_SEMCTL.
38246         (__new_semctl): Likewise.
38247         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38248         <bp-checks.h> and <bp-semctl.h>.
38249         (__old_semctl): Don't use CHECK_SEMCTL.
38250         (__new_semctl): Likewise.
38251         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38252         <bp-checks.h> and <bp-semctl.h>.
38253         (semctl): Don't use CHECK_SEMCTL.
38255         [BZ #13550]
38256         * Makerules (elide-bp-thunks): Remove variable.
38257         (elide-routines.oS): Don't use $(elide-bp-thunks).
38258         (elide-routines.os): Likewise.
38259         (elide-routines.o): Likewise.
38260         (elide-routines.op): Likewise.
38261         (elide-routines.og): Likewise.
38262         (objects): Don't use $(bp-thunks).
38263         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38264         include.
38265         (common-generated): Do not add s-proto-bp.d.
38266         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38267         (int): Likewise.
38268         (typ): Likewise.
38269         Do not generate makefile rules for bounded-pointer thunks.
38270         * sysdeps/generic/bp-thunks.h: Remove file.
38271         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38272         * sysdeps/unix/s-proto-bp.S: Likewise.
38274         [BZ #15062]
38275         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38276         parts of result separately when argument is not close to line from
38277         -i to i and one part of argument is small.
38278         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38279         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38280         * math/libm-test.inc (cacos_test): Add more tests.
38281         (casin_test): Likewise.
38282         (casinh_test): Likewise.
38283         * sysdeps/i386/fpu/libm-test-ulps: Update.
38284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286 2013-01-31  David S. Miller  <davem@davemloft.net>
38288         * po/de.po: Update from translation team.
38290 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38292         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38294 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38296         * configure.in (_AC_PROG_CC_C89): New definition.
38297         * configure: Regenerate.
38299         * configure.in (AC_PROG_CPP): New definition.
38300         * configure: Regenerate.
38302 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38304         * debug/tst-backtrace.h: New file.
38305         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38306         (ret): Remove variable.
38307         (x): Likewise.
38308         (FAIL): Remove macro.
38309         (NO_INLINE): Likewise.
38310         (fn1): Use match function instead of strstr.
38311         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38312         (ret): Remove variable.
38313         (x): Likewise.
38314         (FAIL): Remove macro.
38315         (NO_INLINE): Likewise.
38316         (fn): Use match function instead of strstr.
38317         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38318         (ret): Remove variable.
38319         (x): Likewise.
38320         (FAIL): Remove macro.
38321         (NO_INLINE): Likewise.
38322         (handle_signal): Use match function instead of strstr.
38323         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38324         (ret): Remove variable.
38325         (x): Likewise.
38326         (FAIL): Remove macro.
38327         (NO_INLINE): Likewise.
38328         (handle_signal): Use match function instead of strstr.
38330 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38332         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38334 2013-01-23  David S. Miller  <davem@davemloft.net>
38336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38337         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38338         argument of CAS if possible.
38339         * sysdeps/sparc/sparc64/bits/atomic.h
38340         (__arch_compare_and_exchange_val_32_acq): Likewise.
38341         (__arch_compare_and_exchange_val_64_acq): Likewise.
38343 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38345         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38346         * sysdeps/posix/ulimit.c: ... this.
38347         Include <limits.h>.
38348         * sysdeps/unix/bsd/ulimit.c: Remove file.
38350 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38352         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38353         (LDFLAGS-tst-array5): Likewise.
38355 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38357         [BZ #15036]
38358         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38359         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38360         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38361         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38363 2013-01-21  David S. Miller  <davem@davemloft.net>
38365         * sysdeps/sparc/backtrace.c: New file.
38366         * sysdeps/sparc/sparc32/backtrace.h: New file.
38367         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38368         * sysdeps/sparc/sparc64/backtrace.h: New file.
38369         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38370         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38371         -funwind-tables.
38373 2013-01-21  Andreas Schwab  <schwab@suse.de>
38375         [BZ #15020]
38376         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38377         closed its stdout.
38379 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38382         "mpa2.h".
38383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38385 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38386             Mark Mitchell  <mark@codesourcery.com>
38387             Tom de Vries  <tom@codesourcery.com>
38388             Paul Pluzhnikov  <ppluzhnikov@google.com>
38390         * debug/tst-backtrace2.c: New file.
38391         * debug/tst-backtrace3.c: Likewise.
38392         * debug/tst-backtrace4.c: Likewise.
38393         * debug/tst-backtrace5.c: Likewise.
38394         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38395         (CFLAGS-tst-backtrace3.c): Likewise.
38396         (CFLAGS-tst-backtrace4.c): Likewise.
38397         (CFLAGS-tst-backtrace5.c): Likewise.
38398         (LDFLAGS-tst-backtrace2): Likewise.
38399         (LDFLAGS-tst-backtrace3): Likewise.
38400         (LDFLAGS-tst-backtrace4): Likewise.
38401         (LDFLAGS-tst-backtrace5): Likewise.
38402         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38403         tst-backtrace4 and tst-backtrace5.
38405 2013-01-18  Anton Blanchard  <anton@samba.org>
38406             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38408         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38409         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38410         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38411         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38413         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38414         "+r" and remove output regs list as redundant.  Add explicit inline
38415         asm to specify register of return val to work around compiler codegen
38416         bug.  Remove (int) cast on return value.  Add return type parameter to
38417         use in macro so that this macro does not truncate return value for
38418         64-bit values.
38419         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38420         pass to INTERNAL_VSYSCALL_NCS.
38421         (INLINE_VSYSCALL): Add 'long int' as return type to
38422         INTERNAL_VSYSCALL_NCS macro invocation.
38423         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38424         INTERNAL_VSYSCALL_NCS macro invocation.
38425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38427 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38429         [BZ #14496]
38430         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38431         Fix application of SIMD FP exception mask.
38433         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38434         mp_no from a power of two.
38435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38436         __mpexp_twomm1.  Use __pow_mp.
38438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38439         multiplication.
38441 2013-01-17  David S. Miller  <davem@davemloft.net>
38443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38445 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #15023]
38448         * include/complex.h: Condition contents on [!_COMPLEX_H].
38449         (__kernel_casinhf): New prototype.
38450         (__kernel_casinh): Likewise.
38451         (__kernel_casinhl): Likewise.
38452         * math/Makefile (libm_calls): Add k_casinh.
38453         * math/k_casinh.c: New file.
38454         * math/k_casinhf.c: Likewise.
38455         * math/k_casinhl.c: Likewise.
38456         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38457         finite nonzero arguments.
38458         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38459         finite nonzero arguments.
38460         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38461         finite nonzero arguments.
38462         * math/s_casinh.c: Do not include <float.h>.
38463         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38464         * math/s_casinhf.c: Do not include <float.h>.
38465         (__casinhf): Move code for finite nonzero arguments to
38466         k_casinhf.c.
38467         * math/s_casinhl.c: Do not include <float.h>.
38468         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38469         redefine.
38470         (__casinhl): Move code for finite nonzero arguments to
38471         k_casinhl.c.
38472         * math/libm-test.inc (cacos_test): Add more tests.
38473         * sysdeps/i386/fpu/libm-test-ulps: Update.
38474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38476 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38478         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38479         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38480         [!HAVE_MREMAP]: Remove [defined linux] case.
38481         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38483 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38485         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38487 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38489         * elf/elf.h (R_386_SIZE32): New relocation.
38490         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38491         R_386_SIZE32.
38492         (elf_machine_rela): Likewise.
38493         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38494         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38496 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38498         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38499         (FP_FAST_FMA): Do not define.
38500         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38501         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38502         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38503         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38504         !_SOFT_FLOAT]: Likewise.
38505         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38506         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38507         value.
38508         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38509         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38510         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38511         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38512         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38513         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38514         file.
38516 2013-01-16  Andreas Schwab  <schwab@suse.de>
38518         [BZ #14327]
38519         * include/stdlib.h (__mktemp): Add declaration.
38520         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38521         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38523 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38525         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38526         definitions.
38527         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38528         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38529         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38530         definitions here.
38531         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38532         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38533         definitions.
38534         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38535         and ONE.
38536         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38537         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38538         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38539         definitions.
38540         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38541         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38542         definitions.
38543         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38545         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38547 2013-01-15  David S. Miller  <davem@davemloft.net>
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38550         trunc{,f} to libm-sysdep_routes.
38551         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38553         file.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38556         file.
38557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38558         file.
38559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38561         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38562         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38563         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38564         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38565         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38566         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38569         nearbyint{,f} to libm-sysdep_routes.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38572         New file.
38573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38574         file.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38576         New file.
38577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38578         file.
38579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38581         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38582         file.
38583         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38584         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38585         file.
38586         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38587         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38588         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38590         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38591         libc_feholdexcept and libc_fesetenv.
38593 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38595         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38597 2013-01-14  David S. Miller  <davem@davemloft.net>
38599         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38600         (SPARC_ASM_VIS2_IFUNC): Likewise.
38601         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38603         use of 'siam' instruction.
38604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38605         Likewise.
38606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38607         Likewise.
38608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38609         Likewise.
38610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38615         file.
38616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38617         file.
38618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38619         file.
38620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38621         file.
38622         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38623         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38627         new VIS2 routines.
38628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38631         Likewise.
38632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38637         routines to libm-sysdep_routines.
38638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38641         fdim/fdimf to libm-sysdep_routines.
38642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38643         file.
38644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38646         file.
38647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38650         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38651         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38652         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38653         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38655 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38657         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38658         to optimize copies.
38660         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38665         local variable MPTWO.
38666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38667         Likewise.
38669 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38671         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38672         GLOB_NOESCAPE.
38674 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38676         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38678 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38680         * manual/pattern.texi (glob_t): Document gl_flags.
38681         (glob64_t): Likewise.
38683 2013-01-11  David S. Miller  <davem@davemloft.net>
38685         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38686         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38687         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38688         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38689         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38690         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38691         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38692         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38693         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38694         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38695         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38696         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38697         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38699         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38700         sparc V9 rather than using V8 code.
38701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38704         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38705         Move to...
38706         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38707         Here.
38709 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38711         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38712         not in the main loop.
38713         * configure: Regenerated.
38715 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38717         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38718         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38719         to just #else.
38720         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38721         [!__GLIBC_HAVE_LONG_LONG] case.
38722         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38723         condition to just #else.
38724         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38725         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38726         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38727         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38728         unconditional.
38729         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38730         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38731         #elif condition to just #else.
38732         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38733         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38734         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38735         #elif condition to just #else.
38737 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38739         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38740         (EF_MIPS_ARCH_64): Fix value.
38741         (EF_MIPS_ARCH_32R2): New.
38742         (EF_MIPS_ARCH_64R2): New.
38744 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38746         * Makeconfig (+link-pie-before-libc): New.
38747         (+link-pie-after-libc): Likewise.
38748         (+link-pie-tests): Likewise.
38749         (+link-pie): Rewritten.
38750         (link-before-libc): Remove $(config-LDFLAGS).
38751         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38752         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38753         (config-LDFLAGS): Renamed to ...
38754         (rtld-LDFLAGS): This.
38755         (rtld-tests-LDFLAGS): New macro.
38756         (link-libc-rpath-link): Likewise.
38757         (link-libc-tests-rpath-link): Likewise.
38758         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38759         (link-libc): Prepand $(link-libc-rpath-link).
38760         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38761         (test-program-prefix): New macro.
38762         (test-via-rtld-prefix): Likewise.
38763         (test-program-cmd): Likewise.
38764         (host-test-program-cmd): Likewise.
38765         * Makefile ($(common-objpfx)testrun.sh): Replace
38766         $(run-program-prefix) with $(test-program-prefix).
38767         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38768         $(rtld-LDFLAGS).
38769         ($(common-objpfx)shlib.lds): Likewise.
38770         (build-module-helper): Likewise.
38771         ($(common-objpfx)format.lds): Likewise.
38772         * Rules (binaries-pie-tests): New.
38773         (binaries-pie-notests): Likewise.
38774         (binaries-pie): Rewritten.
38775         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38776         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38777         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38778         (make-test-out): Replace $(host-built-program-cmd) with
38779         $(host-test-program-cmd).
38780         * config.make.in (build-hardcoded-path-in-tests): New variable.
38781         * configure.in (--enable-hardcoded-path-in-tests): New configure
38782         option.
38783         (hardcoded_path_in_tests): New AC_SUBST.
38784         * configure: Regenerated.
38785         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38786         $(built-program-cmd) with $(test-program-cmd).
38787         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38788         (test_program_cmd): This.
38789         * elf/Makefile ($(objpfx)order.out): Run test with
38790         $(test-program-prefix).
38791         ($(objpfx)order2.out): Likewise.
38792         ($(objpfx)tst-initorder.out): Likewise.
38793         ($(objpfx)tst-initorder2.out): Likewise.
38794         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38795         $(test-program-cmd).
38796         ($(objpfx)tst-array1-static.out): Likewise.
38797         ($(objpfx)tst-array2.out): Likewise.
38798         ($(objpfx)tst-array3.out): Likewise.
38799         ($(objpfx)tst-array4.out): Likewise.
38800         ($(objpfx)tst-array5.out): Likewise.
38801         ($(objpfx)tst-array5-static.out): Likewise.
38802         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38803         $(test-program-cmd).
38804         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38805         $(run-program-prefix) with $(test-program-prefix).
38806         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38807         (test_program_prefix): This.
38808         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38809         $(run-program-prefix) with $(test-program-prefix).
38810         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38811         (test_program_prefix): This.
38812         * iconvdata/tst-tables.sh: Likewise.
38813         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38814         $(run-program-prefix) with $(test-program-prefix).
38815         ($(objpfx)tst-translit.out): Likewise.
38816         ($(objpfx)tst-gettext2.out): Likewise.
38817         ($(objpfx)tst-gettext4.out): Likewise.
38818         ($(objpfx)tst-gettext6.out): Likewise.
38819         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38820         (test_program_prefix): This.
38821         * intl/tst-gettext2.sh: Likewise.
38822         * intl/tst-gettext4.sh  Likewise.
38823         * intl/tst-gettext6.sh: Likewise.
38824         * intl/tst-translit.sh: Likewise.
38825         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38826         with $(test-program-cmd).
38827         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38828         $(run-program-prefix) with $(test-program-prefix).
38829         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38830         (test_program_prefix): This.
38831         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38832         $(run-program-prefix) with $(test-program-prefix).
38833         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38834         (test_program_prefix): This.
38835         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38836         * posix/Makefile ($(objpfx)globtest.out): Replace
38837         $(run-via-rtld-prefix) and $(test-wrapper) with
38838         $(test-program-prefix) and $(test-via-rtld-prefix).
38839         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38840         $(test-program-prefix).
38841         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38842         $(host-test-program-cmd).
38843         (tst-spawn-ARGS): Likewise.
38844         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38845         $(test-program-prefix).
38846         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38847         (test_via_rtld_prefix): This.
38848         (test_wrapper): Renamed to ...
38849         (test_program_prefix): This.
38850         (run_program_prefix): Replaced by test_program_prefix.
38851         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38852         (test_program_prefix): This.
38853         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38854         with $(host-test-program-cmd).
38855         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38856         $(run-program-prefix) with $(test-program-prefix).
38857         ($(objpfx)tst-printf.out): Likewise.
38858         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38859         $(test-program-cmd).
38860         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38861         (test_program_prefix): This.
38862         * stdio-common/tst-unbputc.sh: Likewise.
38863         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38864         $(run-program-prefix) with $(test-program-prefix).
38865         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38866         (test_program_prefix): This.
38867         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38868         $(built-program-cmd) with $(test-program-cmd).
38870 2013-01-11  Andreas Jaeger  <aj@suse.de>
38872         [BZ #15003]
38873         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38874         value. Sync with Linux 3.7.
38876 2013-01-10  David S. Miller  <davem@davemloft.net>
38878         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38879         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38880         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38882 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38884         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38885         never set.
38886         * configure: Regenerated.
38888 2013-01-10  David S. Miller  <davem@davemloft.net>
38890         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38891         sparc V9 rather than using V8 code.
38892         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38893         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38895 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38897         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38898         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38899         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38900         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38901         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38902         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38903         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38904         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38905         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38906         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38907         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38908         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38909         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38910         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38911         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38912         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38913         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38914         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38915         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38916         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38917         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38918         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38919         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38920         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38921         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38922         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38923         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38925 2013-01-10  David S. Miller  <davem@davemloft.net>
38927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38929 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38931         * posix/Makefile (tests-static): New variable.
38932         (tests): Add $(tests-static).
38933         (tst-exec-static-ARGS): New variable.
38934         (tst-spawn-static-ARGS): Likewise.
38935         * posix/tst-exec-static.c: New file.
38936         * posix/tst-spawn-static.c: Likewise.
38937         * posix/tst-exec.c: Support run directly.
38938         * posix/tst-spawn.c: Likewise.
38940 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38942         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38943         long.
38944         * math/bits/mathcalls.h (llrint): Likewise.
38945         (llround): Likewise.
38946         * stdlib/stdlib.h (struct drand48_data): Likewise.
38947         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38948         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38949         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38950         Likewise.
38951         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38952         Likewise.
38953         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38954         (elf_greg_t): Likewise.
38955         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38956         (__jmp_buf): Likewise.
38957         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38958         definitions.
38959         (llrint): Likewise, for all definitions.
38960         (llrintl): Likewise.
38962         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38963         Remove [__GNUC__] condition.
38964         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38965         condition to just [__USE_ISOC99].
38966         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38968 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38970         [BZ #14200]
38971         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38972         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38973         defined.
38974         (_POSIX_V6_ILP32_OFF32): Likewise.
38975         (_XBS5_ILP32_OFF32): Likewise.
38976         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38977         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38979 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38981         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38984         doubles __mpexp_twomm1.  Adjust usage.
38985         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38986         Remove.
38988 2013-01-10  Andreas Schwab  <schwab@suse.de>
38990         [BZ #14964]
38991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38992         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38994 2013-01-09  David S. Miller  <davem@davemloft.net>
38996         [BZ #15003]
38997         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38998         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38999         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39000         (TCP_FASTOPEN): Define.
39001         (tcp_repair_opt): New structure.
39002         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39003         enum values.
39004         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39005         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39006         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39007         (tcp_cookie_transactions): New structure.
39009 2013-01-09  Anton Blanchard  <anton@samba.org>
39011         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39012         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39013         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39014         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39016 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39018         * include/features.h (__USE_ANSI): Remove.
39020 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39022         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39024         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39026 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         * sysdeps/s390/fpu/libm-test-ulps: Update.
39030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39032         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39033         (__acr): Likewise.
39034         (__cpy): Likewise.
39035         (norm): Likewise.
39036         (denorm): Likewise.
39037         (__mp_dbl): Likewise.
39038         (__dbl_mp): Likewise.
39039         (add_magnitudes): Likewise.
39040         (sub_magnitudes): Likewise.
39041         (__add): Likewise.
39042         (__sub): Likewise.
39043         (__mul): Likewise.
39044         (__inv): Likewise.
39045         (__dvd): Likewise.
39046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39047         (__acr): Likewise.
39048         (__cpy): Likewise.
39049         (norm): Likewise.
39050         (denorm): Likewise.
39051         (__mp_dbl): Likewise.
39052         (__dbl_mp): Likewise.
39053         (add_magnitudes): Likewise.
39054         (sub_magnitudes): Likewise.
39055         (__add): Likewise.
39056         (__sub): Likewise.
39057         (__mul): Likewise.
39058         (__inv): Likewise.
39059         (__dvd): Likewise.
39060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39061         (__acr): Likewise.
39062         (__cpy): Likewise.
39063         (norm): Likewise.
39064         (denorm): Likewise.
39065         (__mp_dbl): Likewise.
39066         (__dbl_mp): Likewise.
39067         (add_magnitudes): Likewise.
39068         (sub_magnitudes): Likewise.
39069         (__add): Likewise.
39070         (__sub): Likewise.
39071         (__mul): Likewise.
39072         (__inv): Likewise.
39073         (__dvd): Likewise.
39075 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39077         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39078         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39079         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39080         2 && __USE_EXTERN_INLINES]: Likewise.
39082 2013-01-08  Andreas Jaeger  <aj@suse.de>
39084         [BZ# 14985]
39085         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39086         Remove.
39087         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39088         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39090 2013-01-07  Anton Blanchard  <anton@samba.org>
39092         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39093         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39094         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39095         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39096         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39097         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39098         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39099         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39101         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39102         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39103         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39104         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39105         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39106         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39107         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39108         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39110         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39111         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39112         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39113         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39114         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39115         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39116         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39117         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39118         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39119         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39120         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39121         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39122         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39124         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39125         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39126         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39127         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39128         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39129         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39130         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39131         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39132         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39133         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39134         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39136 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39138         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39139         (__MALLOC_PMT): Likewise.
39140         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39141         [__GNUC__], only on [_LIBC].
39142         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39143         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39144         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39145         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39146         forward declaration.
39147         (realloc_hook_ini): Likewise.
39148         (memalign_hook_ini): Likewise.
39149         (__libc_memalign): Do not use __MALLOC_PMT in variable
39150         declaration.
39151         (__libc_valloc): Likewise.
39152         (__libc_pvalloc): Likewise.
39153         (__libc_calloc): Likewise.
39154         (__posix_memalign): Likewise.
39156         [BZ #14996]
39157         * math/s_casinh.c: Include <float.h>.
39158         (__casinh): Do not do computation with squaring and square root
39159         for large arguments.
39160         * math/s_casinhf.c: Include <float.h>.
39161         (__casinhf): Do not do computation with squaring and square root
39162         for large arguments.
39163         * math/s_casinhl.c: Include <float.h>.
39164         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39165         (__casinhl): Do not do computation with squaring and square root
39166         for large arguments.
39167         * math/libm-test.inc (casin_test): Add more tests.
39168         (casinh_test): Likewise.
39169         * sysdeps/i386/fpu/libm-test-ulps: Update.
39170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39172 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39174         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39175         (__x86_64_raw_data_cache_size): Likewise.
39176         (__x86_64_data_cache_size_half): Likewise.
39177         (__x86_64_raw_data_cache_size_half): Likewise.
39178         (__x86_64_shared_cache_size): Likewise.
39179         (__x86_64_raw_shared_cache_size): Likewise.
39180         (__x86_64_shared_cache_size_half): Likewise.
39181         (__x86_64_raw_shared_cache_size_half): Likewise.
39182         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39183         to ...
39184         (__x86_data_cache_size): This.
39185         (__x86_64_raw_data_cache_size): Renamed to ...
39186         (__x86_raw_data_cache_size): This.
39187         (__x86_64_data_cache_size_half): Renamed to ...
39188         (__x86_data_cache_size_half): This.
39189         (__x86_64_raw_data_cache_size_half): Renamed to ...
39190         (__x86_raw_data_cache_size_half): This.
39191         (__x86_64_shared_cache_size): Renamed to ...
39192         (__x86_shared_cache_size): This.
39193         (__x86_64_raw_shared_cache_size): Renamed to ...
39194         (__x86_raw_shared_cache_size): This.
39195         (__x86_64_shared_cache_size_half): Renamed to ...
39196         (__x86_shared_cache_size_half): This.
39197         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39198         (__x86_raw_shared_cache_size_half): This.
39199         * sysdeps/x86_64/memcpy.S: Updated.
39200         * sysdeps/x86_64/memset.S: Likewise.
39201         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39205 2013-01-04  David S. Miller  <davem@davemloft.net>
39207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39209 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39211         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39212         1 to avoid redefinition warning.
39213         (__USE_GNU): Don't define.
39214         (init_signaling_nan): Protoize.
39216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39218 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39220         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39222         (__cpymn): Likewise.
39223         (norm): Remove commented code.
39224         (denorm): Likewise.
39225         (__mp_dbl): Likewise.
39226         (__inv): Likewise.
39227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39228         (__cpymn): Likewise.
39229         (norm): Remove commented code.
39230         (denorm): Likewise.
39231         (__mp_dbl): Likewise.
39232         (__inv): Likewise.
39234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39235         mp_no value for 1.0 and 2.0.
39236         (norm): Use RADIXI instead of radixi.d.
39237         (denorm): Likewise.
39238         (__mul): Use 0.0 instead of zero.d.
39239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39240         mp_no value for 1.0 and 2.0.
39241         (norm): Use RADIXI instead of radixi.d.
39242         (denorm): Likewise.
39243         (__mul): Use 0.0 instead of zero.d.
39245 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39247         [BZ #14994]
39248         * math/s_casinh.c (__casinh): Reduce finite argument to first
39249         quadrant then set signs of results at the end.
39250         * math/s_casinhf.c (__casinhf): Likewise.
39251         * math/s_casinhl.c (__casinhl): Likewise.
39252         * math/libm-test.inc (casin_test): Add more tests.
39253         (casinh_test): Likewise.
39254         * sysdeps/i386/fpu/libm-test-ulps: Update.
39255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39259         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39261         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39263         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39264         declarations.
39265         (denorm): Likewise.
39266         (__mp_dbl): Likewise.
39267         (__inv): Likewise.
39269         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39270         and adjust the header comment.
39272         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39273         variable name from declaration.
39275 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39278         Initialize COMMON_CPUID_INDEX_7 element.
39279         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39280         (CPUID_RTM): Likewise.
39281         (HAS_RTM): Likewise.
39282         (COMMON_CPUID_INDEX_7): New enum.
39284 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39286         [BZ #14981]
39287         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39288         size is zero, record memory as freed.
39290 2013-01-03  Andreas Jaeger  <aj@suse.de>
39292         * po/ia.po: Add new Interlingua translation.
39294 2012-01-03  Allan McRae  <allan@archlinux.org>
39296         * locale/programs/localedef.c: Fix description of '--posix' flag.
39298 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39300         * NEWS: Update dates in second copyright notice.
39301         * README: Update copyright dates in example.
39302         * manual/libc.texinfo: Update copyright dates.
39303         * scripts/test-installation.pl: Update copyright date in --version
39304         output.
39306         * hurd/ctty-input.c: Fix copyright notice formatting.
39307         * hurd/ctty-output.c: Likewise.
39308         * hurd/dtable.c: Likewise.
39309         * hurd/hurd-raise.c: Likewise.
39310         * hurd/hurdprio.c: Likewise.
39311         * hurd/msgportdemux.c: Likewise.
39312         * misc/sys/file.h: Likewise.
39313         * misc/sys/ioctl.h: Likewise.
39314         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39315         * sysdeps/mach/hurd/chdir.c: Likewise.
39316         * sysdeps/mach/hurd/fchdir.c: Likewise.
39317         * sysdeps/mach/hurd/rename.c: Likewise.
39318         * sysdeps/mach/hurd/rmdir.c: Likewise.
39319         * sysdeps/mach/hurd/seekdir.c: Likewise.
39320         * sysdeps/mach/hurd/setsid.c: Likewise.
39321         * sysdeps/posix/wait3.c: Likewise.
39323         * All files with FSF copyright notices: Update copyright dates
39324         using scripts/update-copyrights.
39325         * intl/plural.c: Regenerated.
39326         * locale/programs/charmap-kw.h: Likewise.
39327         * locale/programs/locfile-kw.h: Likewise.
39329 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39331         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39332         four values.
39334         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39335         calculation loop and add branch prediction.
39337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39338         check access beyond bounds of m1np.
39340         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39341         MPTWO.
39342         (__inv): Remove local variable MPTWO to use the global
39343         constant.
39344         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39345         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39346         variable MPTWO.
39347         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39348         MP3HALFS static const.
39350 2013-01-01  David S. Miller  <davem@davemloft.net>
39352         * po/ca.po: Update from translation team.
39354 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39356         * scripts/update-copyrights: New file.
39357         * Makeconfig: Reformat copyright notice.
39358         * ctype/ctype.h: Likewise.
39359         * debug/swprintf_chk.c: Likewise.
39360         * elf/dl-cache.c: Likewise.
39361         * elf/dl-debug.c: Likewise.
39362         * elf/dl-object.c: Likewise.
39363         * grp/initgroups.c: Likewise.
39364         * hurd/Makefile: Likewise.
39365         * hurd/hurd/signal.h: Likewise.
39366         * hurd/hurdfault.c: Likewise.
39367         * hurd/hurdioctl.c: Likewise.
39368         * hurd/hurdlookup.c: Likewise.
39369         * hurd/intr-msg.c: Likewise.
39370         * iconv/gconv_open.c: Likewise.
39371         * libio/swprintf.c: Likewise.
39372         * locale/lc-ctype.c: Likewise.
39373         * locale/nl_langinfo.c: Likewise.
39374         * mach/Machrules: Likewise.
39375         * mach/Makefile: Likewise.
39376         * malloc/obstack.h: Likewise.
39377         * manual/Makefile: Likewise.
39378         * manual/tsort.awk: Likewise.
39379         * misc/bits/stab.def: Likewise.
39380         * nis/nis_print_group_entry.c: Likewise.
39381         * nis/nis_table.c: Likewise.
39382         * nis/nss_compat/compat-pwd.c: Likewise.
39383         * nis/nss_compat/compat-spwd.c: Likewise.
39384         * po/Makefile: Likewise.
39385         * posix/fnmatch.c: Likewise.
39386         * posix/regex.h: Likewise.
39387         * resolv/Makefile: Likewise.
39388         * resolv/nss_dns/dns-network.c: Likewise.
39389         * resolv/res_hconf.c: Likewise.
39390         * scripts/gen-sorted.awk: Likewise.
39391         * soft-fp/soft-fp.h: Likewise.
39392         * stdio-common/printf.h: Likewise.
39393         * stdlib/monetary.h: Likewise.
39394         * stdlib/random.c: Likewise.
39395         * stdlib/random_r.c: Likewise.
39396         * sysdeps/generic/Makefile: Likewise.
39397         * sysdeps/gnu/Makefile: Likewise.
39398         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39399         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39400         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39402         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39405         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39406         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39408         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39409         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39410         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39411         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39412         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39413         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39414         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39415         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39416         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39417         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39418         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39419         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39420         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39421         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39422         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39423         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39424         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39425         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39426         * sysdeps/mach/hurd/errnos.awk: Likewise.
39427         * sysdeps/mach/hurd/fork.c: Likewise.
39428         * sysdeps/mach/hurd/getcwd.c: Likewise.
39429         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39430         * sysdeps/mach/hurd/mmap.c: Likewise.
39431         * sysdeps/mach/hurd/utimes.c: Likewise.
39432         * sysdeps/mach/hurd/xmknod.c: Likewise.
39433         * sysdeps/posix/profil.c: Likewise.
39434         * sysdeps/posix/readdir_r.c: Likewise.
39435         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39436         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39437         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39438         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39440         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39441         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39442         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39444         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39446         * sysdeps/pthread/lio_listio.c: Likewise.
39447         * sysdeps/sparc/dl-procinfo.h: Likewise.
39448         * sysdeps/unix/i386/sysdep.S: Likewise.
39449         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39450         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39451         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39452         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39454         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39455         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39456         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39457         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39458         * sysdeps/wordsize-32/divdi3.c: Likewise.
39459         * time/sys/time.h: Likewise.
39460         * wcsmbs/Makefile: Likewise.
39462 2013-01-01  David S. Miller  <davem@davemloft.net>
39464         * po/fr.po: Update from translation team.
39466         * catgets/gencat.c: Update copyright year.
39467         * csu/version.c: Likewise.
39468         * debug/catchsegv.sh: Likewise.
39469         * debug/pcprofiledump.c: Likewise.
39470         * debug/xtrace.sh: Likewise.
39471         * elf/ldconfig.c: Likewise.
39472         * elf/ldd.bash.in: Likewise.
39473         * elf/pldd.c: Likewise.
39474         * elf/sotruss.ksh: Likewise.
39475         * elf/sprof.c: Likewise.
39476         * iconv/iconv_prog.c: Likewise.
39477         * iconv/iconvconfig.c: Likewise.
39478         * locale/programs/locale.c: Likewise.
39479         * locale/programs/localedef.c: Likewise.
39480         * login/programs/pt_chown.c: Likewise.
39481         * malloc/memusage.sh: Likewise.
39482         * malloc/memusagestat.c: Likewise.
39483         * malloc/mtrace.pl: Likewise.
39484         * nscd/nscd.c: Likewise.
39485         * nss/getent.c: Likewise.
39486         * nss/makedb.c: Likewise.
39487         * posix/getconf.c: Likewise.
39489 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39491         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39492         numbers.
39494 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39496         * math/bits/mathcalls.h (modf): Use __nonnull.
39498 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39500         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39501         (split): Use macro CN instead of the bare value.
39502         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39503         could be used.
39504         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39505         instead of the bare value.
39506         (power1): Likewise.
39508 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39510         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39511         __ATAN_TWOM.
39512         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39514         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39515         their values.
39516         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39517         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39518         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39519         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39521 2012-12-28  Andreas Jaeger  <aj@suse.de>
39523         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39524         values are from Linux 3.7.
39526         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39527         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39529 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39531         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39532         TRUE case.
39534         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39535         (norm): Likewise.
39536         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39537         variables with preprocessor constants.
39538         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39539         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39540         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39542 2012-12-27  Bruno Haible  <bruno@clisp.org>
39544         [BZ #14317]
39545         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39546         only if needed.
39548 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39551         and use variable directly.
39552         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39554         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39555         MPONE.
39556         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39558         variable MPONE.
39559         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39561         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39562         include directive.  Remove local variable MPONE.
39563         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39564         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39565         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39567 2012-12-25  David S. Miller  <davem@davemloft.net>
39569         * version.h (RELEASE): Set to "development".
39570         (VERSION): Set to "2.17.90".
39571         * NEWS: Add 2.18 section.
39573 2012-12-21  David S. Miller  <davem@davemloft.net>
39575         * po/hr.po: Update from translation team.
39577 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39579         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39581 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39583         * NEWS:  Mention new memcpy for MIPS.
39585 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39587         * manual/contrib.texi (Contributors): Spelling correction.
39589 2012-12-15  David S. Miller  <davem@davemloft.net>
39591         * po/ru.po: Update from translation team.
39593 2012-12-13  David S. Miller  <davem@davemloft.net>
39595         * NEWS: Mention IFUNC testsuite enhancements.
39597         * po/pl.po: Update from translation team.
39598         * po/bg.po: Likewise.
39600         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39601         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39603 2012-12-11  David S. Miller  <davem@davemloft.net>
39605         * po/sv.po: Update from translation team.
39607         * po/vi.po: Update from translation team.
39609         * po/cs.po: Update from translation team.
39611         * po/de.po: Update from translation team.
39612         * po/eo.po: Likewise.
39613         * po/nl.po: Likewise.
39615 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39617         [BZ #14246]
39618         * manual/argp.texi (Argp Helper Functions): Move node to follow
39619         Argp Parsing State.
39621         [BZ #14872]
39622         * manual/conf.texi (Limits on File System Capacity): Mention if
39623         terminating null is included in the max size.
39625 2012-12-10  Andreas Jaeger  <aj@suse.de>
39627         * po/cs.po: Update from translation team.
39629 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39631         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39632         void pointer and cast to uintptr_t.
39633         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39634         path.
39635         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39636         * sysdeps/s390/s390-64/memset.S: Likewise.
39638 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39640         [BZ #14833]
39641         * menual/message.texi (Message Translation): Fix typos.
39642         (Helper programs for gettext): Likewise.
39644 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39646         [BZ #14898]
39647         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39648         Change to -1.
39650 2012-12-07  David S. Miller  <davem@davemloft.net>
39652         * po/libc.pot: Update.
39654 2012-12-07  Richard Henderson  <rth@redhat.com>
39656         [BZ #10114]
39657         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39658         normal/normal case to before the switch.
39659         (_FP_DIV): Likewise.
39661 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39662             Mike Frysinger  <vapier@gentoo.org>
39664         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39665         check for __NR_fadvise64_64.
39667 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39669         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39670         0, not just to plain "0" as a statement.
39671         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39672         with cw.
39674 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39676         * NEWS: Use sourceware.org in Bugzilla URL.
39678 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39681         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39683         * stdio-common/tst-put-error.c (do_test): Add newline to the
39684         padded test to ensure flush.
39686 2012-12-05  Jeff Law  <law@redhat.com>
39688         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39690 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39692         * README: Don't refer to ports add-on as distributed separately.
39693         Mention AArch64 in list of systems supported in the ports add-on.
39695         * LICENSES: Add more non-FSF copyright and license notices.
39697         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39698         ((unused)).
39700         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39702         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39703         10000 as width of padded output.
39705 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39707         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39710         variable LX with __attribute__ ((unused)).
39711         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39712         Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39716         with __attribute__ ((unused)).
39718 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39720         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39722 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39724         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39725         (CFLAGS-nldbl-acos.c): New variable.
39726         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39727         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39728         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39729         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39730         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39731         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39732         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39733         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39734         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39735         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39736         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39737         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39738         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39739         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39740         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39741         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39742         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39743         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39744         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39745         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39746         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39747         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39748         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39749         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39750         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39751         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39752         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39753         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39754         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39755         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39756         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39757         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39758         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39759         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39760         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39761         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39762         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39763         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39764         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39765         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39766         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39767         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39768         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39769         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39770         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39771         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39772         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39773         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39774         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39775         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39776         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39777         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39778         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39779         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39780         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39781         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39782         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39783         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39784         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39785         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39786         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39787         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39788         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39789         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39790         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39791         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39792         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39793         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39794         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39795         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39796         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39797         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39798         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39799         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39800         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39801         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39802         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39803         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39804         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39805         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39806         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39807         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39808         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39809         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39810         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39811         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39812         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39813         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39814         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39815         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39816         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39817         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39818         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39819         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39820         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39821         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39822         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39825         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39827         [BZ #14914]
39828         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39829         whole low double instead of just low 47 bits when splitting values
39830         into two parts.
39832 2012-12-03  Allan McRae  <allan@archlinux.org>
39834         * manual/stdio.texi (Predefined Printf Handlers): Remove
39835         @hsep and @vsep usage.
39837 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39839         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39840         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39842 2012-12-03  Jeff Law  <law@redhat.com>
39844         * time/sys/time.h (settimeofday): Do not mark TV argument
39845         as __nonnull.
39847 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39849         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39850         when currently writing and seek to current position when not.
39851         * libio/Makefile (tests): Remove bug-fclose1.
39852         * libio/bug-fclose1.c: Delete.
39854 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39856         * manual/arith.texi (feenableexcept): Fix typo.
39857         (fedisableexcept): Likewise.
39859 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39861         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39862         second, differently-typed declaration, rather than a cast.
39864 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39866         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39867         * include/rpc/svc.h: ... here.
39869 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39871         [BZ #13013]
39872         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39873         depending n and resplen2 to catch cases where answer
39874         equals answerp2.
39876 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39878         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39879         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39881 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39885 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39887         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39889 2012-11-28  Jeff Law  <law@redhat.com>
39891         [BZ #13761]
39892         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39893         dataset_temporary.  Track alloca usage into alloca_used.
39894         If dataset is large allocate and release it via malloc/free.
39896 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39898         [BZ #14197]
39899         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39901 2012-11-28  David S. Miller  <davem@davemloft.net>
39903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39905 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39907         [BZ #14803]
39908         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39909         of pi/2 rounded to nearest to 64 bits.
39910         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39911         nearest to 64 bits.
39912         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39913         bits.
39915 2012-11-28  Jeff Law <law@redhat.com>
39916             Martin Osvald <mosvald@redhat.com>
39918         [BZ #14889]
39919         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39920         * sunrpc/svc.c: Include time.h.
39921         (__svc_accept_failed): New function.
39922         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39923         any reason other than EINTR, call __svc_accept_failed.
39924         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39925         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39927 2012-11-28  Andreas Schwab  <schwab@suse.de>
39929         * scripts/abilist.awk: Also handle indirect functions in .opd
39930         section.
39932 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39934         [BZ #13881]
39935         * sysdeps/x86/fpu/powl_helper.c: New file.
39936         * sysdeps/x86/fpu/Makefile: Likewise.
39937         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39938         (p3): New object.
39939         (__ieee754_powl): Use __powl_helper for finite arguments except
39940         integer exponents below 8.
39941         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39942         (p3): New object.
39943         (__ieee754_powl): Use __powl_helper for finite arguments except
39944         integer exponents below 8.
39945         * math/libm-test.inc (pow_test): Add more tests and enable some
39946         previously disabled tests.
39947         * sysdeps/i386/fpu/libm-test-ulps: Update.
39948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39950 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39951             Carlos O'Donell  <carlos_odonell@mentor.com>
39953         * nss/makedb.c (is_prime): Assert that input is odd and greater
39954         than 4.  Note that fact in a comment too.
39955         (next_prime): Add 4 to input.
39957 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39959         [BZ #11741]
39960         * libio/Makefile (tests): Add test case tst-fwrite-error.
39961         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39962         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39963         * libio/tst-fwrite-error.c: New test case.
39965 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39967         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39968         before casting to void *.
39969         * include/libc-internal.h (__pointer_type): New macro.
39970         (__integer_if_pointer_type_sub): Likewise.
39971         (__integer_if_pointer_type): Likewise.
39972         (cast_to_integer): Likewise.
39973         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39974         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39975         before casting to atomic64_t.
39976         (atomic_exchange_acq): Likewise.
39977         (__arch_exchange_and_add_body): Likewise.
39978         (__arch_add_body): Likewise.
39979         (atomic_add_negative): Likewise.
39980         (atomic_add_zero): Likewise.
39982 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39984         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39985         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39986         (add_fdes): Likewise.
39987         (linear_search_fdes): Likewise.
39988         (binary_search_unencoded_fdes): Likewise.
39990 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39992         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39994 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39996         * configure.in: Autodetect C++ header directories.
39997         * configure: Regenerated.
39999 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40001         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40003 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40007 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40009         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40010         LDBL_MANT_DIG == 106]: Disable some tests.
40011         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40012         Likewise.
40013         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40014         Likewise.
40016         [BZ #14871]
40017         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40018         input for small inputs.  Return +/- pi/2 for large inputs.
40019         * math/libm-test.inc (atan_test): Add more tests.
40021         * sysdeps/generic/unwind-dw2-fde-glibc.c
40022         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40023         __attribute__ ((unused)).
40025         [BZ #14645]
40026         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40027         x * y if x and y are nonzero and z is zero.
40029         [BZ #14811]
40030         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40031         nonzero exponents with absolute value below 0x1p-117 to +/-
40032         0x1p-117.
40034         [BZ #14869]
40035         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40036         up arguments below 2**-450, not just those below 2**-500.
40037         * math/libm-test.inc (hypot_test): Add another test.
40039         [BZ #14868]
40040         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40041         Return a+b for ratio over 2**120, not 2**60.
40042         * math/libm-test.inc (hypot_test): Add another test.
40044         * math/libm-test.inc (clog_test): Use
40045         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40046         (clog10_test): Likewise.
40048         [BZ #6778]
40049         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40051 2012-11-22  Andreas Schwab  <schwab@suse.de>
40053         * sysdeps/i386/fpu/libm-test-ulps: Update.
40055 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40057         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40058         printf output with newline.
40060 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40062         [BZ #14865]
40063         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40064         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40065         -z nodlopen, -z initfirst and -z execstack support.
40066         * configure: Regenerated.
40068         * elf/elf.h (DF_1_NODIRECT): New macro.
40069         (DF_1_IGNMULDEF): Likewise.
40070         (DF_1_NOKSYMS): Likewise.
40071         (DF_1_NOHDR): Likewise.
40072         (DF_1_EDITED): Likewise.
40073         (DF_1_NORELOC): Likewise.
40074         (DF_1_SYMINTPOSE): Likewise.
40075         (DF_1_GLOBAUDIT): Likewise.
40076         (DF_1_SINGLETON): Likewise.
40077         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40078         DT_1_SUPPORTED_MASK bits.
40079         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40081 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40083         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40085 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40087         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40088         macro.
40090         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40091         (sendmmsg): Move declarations...
40092         * socket/sys/socket.h: ... here.
40093         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40094         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40095         include it from...
40096         * socket/recvmmsg.c: ... this new file.
40097         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40098         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40099         definition of __sendmmsg hidden.
40100         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40101         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40102         Move ENOSYS stub into and include it from...
40103         * socket/sendmmsg.c: ... this new file.
40104         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40105         (sysdep_routines): Move recvmmsg and sendmmsg...
40106         * socket/Makefile (routines): ... here.
40107         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40108         (GLIBC_PRIVATE): Add __sendmmsg.
40109         * include/sys/socket.h (__sendmmsg): Add declarations.
40110         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40111         sendmmsg.
40113 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40115         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40116         variable I1 with __attribute__ ((unused)).
40117         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40119 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40121         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40122         DUMMY variables with __attribute__ ((unused)).
40124         * bits/byteswap.h: Include <bits/types.h>.
40125         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40127 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40129         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40130         string_t.  Do not manually set errno.
40131         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40132         length with __strnlen.  Make sure to both set errno and return it on
40133         failure.
40135 2012-11-19  David S. Miller  <davem@davemloft.net>
40137         With help from Joseph Myers.
40138         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40139         very large arguments properly.
40140         * math/libm-test.inc (atan_test): New tests.
40141         (atan2_test): New tests.
40142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40145 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40147         [BZ #14856]
40148         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40149         Define to 3.
40151         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40152         [POSIX] (EADDRNOTAVAIL): Likewise.
40153         [POSIX] (EAFNOSUPPORT): Likewise.
40154         [POSIX] (EALREADY): Likewise.
40155         [POSIX] (ECONNABORTED): Likewise.
40156         [POSIX] (ECONNREFUSED): Likewise.
40157         [POSIX] (ECONNRESET): Likewise.
40158         [POSIX] (EDESTADDRREQ): Likewise.
40159         [POSIX] (EDQUOT): Likewise.
40160         [POSIX] (EHOSTUNREACH): Likewise.
40161         [POSIX] (EIDRM): Likewise.
40162         [POSIX] (EISCONN): Likewise.
40163         [POSIX] (ELOOP): Likewise.
40164         [POSIX] (EMULTIHOP): Likewise.
40165         [POSIX] (ENETDOWN): Likewise.
40166         [POSIX] (ENETUNREACH): Likewise.
40167         [POSIX] (ENOBUFS): Likewise.
40168         [POSIX] (ENODATA): Likewise.
40169         [POSIX] (ENOLINK): Likewise.
40170         [POSIX] (ENOMSG): Likewise.
40171         [POSIX] (ENOPROTOOPT): Likewise.
40172         [POSIX] (ENOSR): Likewise.
40173         [POSIX] (ENOSTR): Likewise.
40174         [POSIX] (ENOTCONN): Likewise.
40175         [POSIX] (ENOTSOCK): Likewise.
40176         [POSIX] (EOPNOTSUPP): Likewise.
40177         [POSIX] (EOVERFLOW): Likewise.
40178         [POSIX] (EPROTO): Likewise.
40179         [POSIX] (EPROTONOSUPPORT): Likewise.
40180         [POSIX] (EPROTOTYPE): Likewise.
40181         [POSIX] (ESTALE): Likewise.
40182         [POSIX] (ETIME): Likewise.
40183         [POSIX] (ETXTBSY): Likewise.
40184         [POSIX] (EWOULDBLOCK): Likewise.
40185         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40186         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40187         [POSIX] (SEEK_CUR): Likewise.
40188         [POSIX] (SEEK_END): Likewise.
40189         [POSIX || UNIX98] (mode_t): Do not require.
40190         [POSIX] (off_t): Likewise.
40191         [POSIX] (pid_t): Likewise.
40192         [POSIX] (sys/stat.h): Do not allow header.
40193         [POSIX] (unistd.h): Likewise.
40194         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40195         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40196         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40197         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40198         require.
40199         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40200         sigevent): Specify elements.
40201         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40202         entry.
40203         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40204         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40206         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40207         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40208         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40209         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40210         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40211         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40212         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40213         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40214         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40215         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40216         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40217         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40218         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40219         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40220         Likewise.
40221         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40222         Likewise.
40223         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40224         Likewise.
40225         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40226         Likewise.
40227         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40228         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40229         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40230         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40231         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40232         Specify lower bound on value.
40233         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40234         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40235         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40236         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40237         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40238         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40239         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40240         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40241         value.
40242         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40243         as optional.
40244         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40245         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40246         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40247         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40248         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40249         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40250         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40251         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40252         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40253         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40254         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40255         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40256         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40257         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40258         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40259         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40260         entry.
40261         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40262         optional.
40263         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40264         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40265         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40266         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40267         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40268         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40269         Likewise.
40270         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40271         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40272         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40273         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40274         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40275         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40276         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40277         as optional.
40278         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40279         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40280         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40281         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40282         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40283         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40284         specify as optional.
40285         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40286         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40287         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40288         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40289         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40290         [XPG3] (NL_LANGMAX): Likewise.
40291         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40292         [POSIX || XPG3] (NL_NMAX): Likewise.
40293         [POSIX || XPG3] (NL_SETMAX): Likewise.
40294         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40295         [XPG3] (NZERO): Likewise.
40296         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40297         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40298         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40299         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40300         (REG_ERANGE): Expect.
40301         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40302         optional-constant.
40303         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40304         Use (void) in prototype.
40305         [POSIX] (*_t): Allow.
40306         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40307         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40308         (WRDE_BADVAL): Expect.
40310         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40311         expect.
40312         [XPG3 || XPG4] (O_RSYNC): Likewise.
40313         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40314         Likewise.
40315         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40316         [XPG3 || XPG4] (sigqueue): Likewise.
40317         [XPG3 || XPG4] (sigtimedwait): Likewise.
40318         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40319         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40320         [XPG3 || XPG4] (vsnprintf): Likewise.
40321         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40322         Likewise.
40323         [XPG3 || XPG4] (blksize_t): Likewise.
40324         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40325         Likewise.
40326         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40327         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40328         [XPG3 || XPG4] (struct itimerspec): Likewise.
40329         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40330         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40331         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40332         [XPG3 || XPG4] (clockid_t): Likewise.
40333         [XPG3 || XPG4] (timer_t): Likewise.
40334         [XPG3 || XPG4] (clock_getres): Likewise.
40335         [XPG3 || XPG4] (clock_gettime): Likewise.
40336         [XPG3 || XPG4] (clock_settime): Likewise.
40337         [XPG3 || XPG4] (nanosleep): Likewise.
40338         [XPG3 || XPG4] (timer_create): Likewise.
40339         [XPG3 || XPG4] (timer_delete): Likewise.
40340         [XPG3 || XPG4] (timer_gettime): Likewise.
40341         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40342         [XPG3 || XPG4] (timer_settime): Likewise.
40343         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40344         [XPG3 || XPG4] (getlogin_r): Likewise.
40345         [XPG3 || XPG4] (pread): Likewise.
40346         [XPG3 || XPG4] (pthread_atfork): Likewise.
40347         [XPG3 || XPG4] (pwrite): Likewise.
40349         [BZ #14835]
40350         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40351         <bits/siginfo.h>.
40353 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40355         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40356         finalizing MALLSTREAM.
40358         * sysdeps/mach/hurd/syncfs.c: New file.
40360 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40362         [BZ #14719]
40363         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40364         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40365         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40366         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40367         (_nss_dns_gethostbyname4_r): Likewise.
40368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40369         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40371 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40373         [BZ #13763]
40374         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40376 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40378         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40379         * elf/cache.c (print_entry): Print ",AArch64" for
40380         FLAG_AARCH64_LIB64
40382         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40383         * elf/cache.c (print_entry): Print ",hard-float" for
40384         FLAG_ARM_LIBHF.
40386 2012-11-18  David S. Miller  <davem@davemloft.net>
40388         With help from Joseph Myers.
40389         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40390         cutoff to 2**-13.
40391         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40392         cutoff to 2**-25.
40393         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40394         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40395         small.
40396         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40397         * math/libm-test.inc (y0_test): New tests.
40398         (y1_test): New tests.
40399         * sysdeps/i386/fpu/libm-test-ulps: Update.
40400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40403 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40405         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40406         64-bit targets.
40407         * configure: Regenerated.
40409 2012-11-17  David S. Miller  <davem@davemloft.net>
40411         [BZ #14811]
40412         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40413         nonzero exponents with absolute value below 0x1p-128 to +/-
40414         0x1p-128.
40416 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40418         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40420         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40422         * posix/getconf-speclist.c: New file.
40423         * posix/posix-envs.def: Likewise.
40424         * posix/confstr.c (START_ENV_GROUP): New macro.
40425         (END_ENV_GROUP): Likewise.
40426         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40427         (KNOWN_PRESENT_ENV_STRING): Likewise.
40428         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40429         (UNKNOWN_ENVIRONMENT): Likewise.
40430         (confstr): Include posix-envs.def instead of handling
40431         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40432         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40433         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40434         (END_ENV_GROUP): Likewise.
40435         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40436         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40437         (UNKNOWN_ENVIRONMENT): Likewise.
40438         (__sysconf): Include posix-envs.def instead of handling associated
40439         cases directly here.
40440         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40441         preprocessing getconf-speclist.c rather than running getconf or
40442         generating empty file.
40444 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40446         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40448 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40450         [BZ #14672]
40451         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40453 2012-11-16  David S. Miller  <davem@davemloft.net>
40455         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40456         smaller than LDBL_EPSILON/2.0L, just return xm1.
40458 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40460         * elf/tst-array1.c (init): Set constructor priority to 1000.
40461         (fini): Set destructor priority to 1000.
40462         * elf/tst-array2dep.c: Likewise.
40464 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40466         [BZ #11741]
40467         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40468         (_IO_new_file_xsputn): Also return EOF if none of the input
40469         data was written when overflow failed.
40470         * libio/iopadn.c (_IO_padn): Likewise.
40471         * libio/iowpadn.c (_IO_wpadn): Likewise.
40472         * stdio-common/tst-put-error.c: Add copyright notice.
40473         (do_test): Add case for printing padded string.
40474         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40475         _IO_padn returned error.
40476         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40477         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40478         return EOF.
40480 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40482         * libio/libioP.h: Add comment note that the references to C++
40483         bits are now obsolete.
40485 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40487         * math/libm-test.inc (check_complex): Use asprintf.
40489 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40491         * debug/pcprofiledump.c (print_version): Update copyright year.
40492         * malloc/memusagestat.c (print_version): Likewise.
40494 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40496         [BZ #14831]
40497         * elf/Makefile (tests): Add tst-audit8.
40498         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40499         ($(objpfx)tst-audit8.out): New target.
40500         (tst-audit8-ENV): New variable.
40501         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40502         audit if l_reloc_result is NULL.
40503         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40504         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40505         * elf/tst-audit8.c: New file.
40507 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40509         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40510         * misc/Makefile (CFLAGS-select.c): Define.
40511         * posix/Makefile (CFLAGS-pause.c): Define.
40513 2012-11-13  David S. Miller  <davem@davemloft.net>
40515         * crypt/Makefile: Move test targets after toplevel Rules
40516         inclusion.  Grab any necessary sysdep routines when linking.
40517         * crypt/md5.c (md5_process_block): Remove define, we will always
40518         name it __md5_process_block.
40519         (md5_finish_ctx): Update md5_process_block call.
40520         (md5_stream): Likewise.
40521         (md5_process_bytes): Likewise.
40522         (md5_process_block): Rename to __md5_process_block and move to ...
40523         * crypt/md5-block.c: ... here.
40524         * crypt/sha256.c (sha256_process_block): Move to ...
40525         * crypt/sha256-block.c: ... here.
40526         * crypt/sha512.c (sha512_process_block): Move to ...
40527         * crypt/sha512-block.c: ... here.
40528         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40529         path.
40530         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40531         * sysdeps/sparc/sparc64/multiarch/Makefile
40532         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40533         crypt subdir.
40534         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40535         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40536         multiarch changes.
40537         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40538         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40539         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40540         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40541         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40542         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40543         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40544         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40545         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40546         file.
40547         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40548         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40549         file.
40550         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40552 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40554         * timezone/tzselect.ksh: Update from tzcode git revision
40555         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40556         * timezone/zdump.c: Likewise.
40557         * timezone/zic.c: Likewise.
40558         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40559         in TZVERSION setting, not $(PKGVERSION).
40560         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40561         REPORT_BUGS_TO settings.
40563         [BZ #14838]
40564         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40565         macro.
40567 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40569         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40570         detection to immediately after _FP_ROUND().
40571         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40572         bits are 0.
40574 2012-11-11  David S. Miller  <davem@davemloft.net>
40576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40577         inttypes.h
40578         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40579         __close rather than their public counterparts.
40581 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40583         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40584         file.
40585         [UNIX98] (sem_timedwait): Do not expect.
40586         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40587         [XPG4 || UNIX98] (sockatmark): Do not expect.
40588         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40589         (clock_getcpuclockid): Do not expect.
40590         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40591         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40592         Do not expect.
40593         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40594         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40595         [UNIX98] (vwscanf): Likewise.
40596         [UNIX98] (vswscanf): Likewise.
40598 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40600         * timezone/version.h: Remove file.
40601         * timezone/README: Do not refer to version.h.
40602         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40603         $(objpfx)version.h.
40604         ($(objpfx)zdump.o): Likewise.
40605         ($(objpfx)version.h): New target.
40607         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40608         2012i.
40609         * timezone/README: Don't mention modification to tzselect.ksh.
40610         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40611         work on unmodified tzselect.ksh.  Substitute version numbers in
40612         tzselect.ksh.
40614         * Makefile (format-me): Remove.
40615         (INSTALL): Adjust indentation.  Use commands directly instead of
40616         using $(format-me).
40618         * aclocal.m4 (ACX_PKGVERSION): New macro.
40619         (ACX_BUGURL): Likewise.
40620         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40621         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40622         (REPORT_BUGS_TO): Likewise.
40623         * configure: Regenerated.
40624         * config.h.in (PKGVERSION): New macro.
40625         (REPORT_BUGS_TO): Likewise.
40626         * config.make.in (PKGVERSION): New variable.
40627         (PKGVERSION_TEXI): Likewise.
40628         (REPORT_BUGS_TO): Likewise.
40629         (REPORT_BUGS_TEXI): Likewise.
40630         * Makefile (format-me): Use -I$(common-objpfx)manual.
40631         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40632         ($(common-objpfx)manual/%): New target.
40633         (manual/%): Remove target.
40634         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40635         (print_version): Use PKGVERSION.
40636         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40637         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40638         and REPORT_BUGS_TO.
40639         ($(objpfx)xtrace): Likewise.
40640         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40641         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40642         (print_version): Use PKGVERSION.
40643         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40644         (do_version): Use PKGVERSION.
40645         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40646         REPORT_BUGS_TO.
40647         (common-ldd-rewrite): Likewise.
40648         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40649         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40650         (print_version): Use PKGVERSION.
40651         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40652         * elf/pldd.c (argp_program_bug_address): Remove variable.
40653         (more_help): New function.
40654         (argp): Use more_help.
40655         (print_version): Use PKGVERSION.
40656         * elf/sln.c (main): Use PKGVERSION.
40657         (usage): Use REPORT_BUGS_TO.
40658         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40659         (top level): Use PKGVERSION.
40660         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40661         (print_version): Use PKGVERSION.
40662         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40663         (print_version): Use PKGVERSION.
40664         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40665         (print_version): Use PKGVERSION.
40666         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40667         (print_version): Use PKGVERSION.
40668         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40669         (print_version): Use PKGVERSION.
40670         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40671         (print_version): Use PKGVERSION.
40672         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40673         and BUGURL.
40674         ($(objpfx)memusage): Likewise.
40675         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40676         (do_version): Use PKGVERSION.
40677         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40678         (print_version): Use PKGVERSION.
40679         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40680         ($PKGVERSION): New variable.
40681         ($REPORT_BUGS_TO): Likewise.
40682         (usage): Use $REPORT_BUGS_TO.
40683         (top level): Use $PKGVERSION.
40684         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40685         ($(objpfx)pkgvers.texi): New rule.
40686         ($(objpfx)stamp-pkgvers): Likewise.
40687         * manual/install.texi: Include pkgvers.texi.
40688         (--with-pkgversion): Document new configure option.
40689         (--with-bugurl): Likewise.
40690         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40691         than necessarily for this particular distribution.  Use
40692         REPORT_BUGS_TO for where to report bugs.
40693         * INSTALL: Regenerated.
40694         * manual/libc.texinfo: Include pkgvers.texi.
40695         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40696         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40697         (print_version): Use PKGVERSION.
40698         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40699         (print_version): Use PKGVERSION.
40700         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40701         (print_version): Use PKGVERSION.
40702         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40703         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40704         macro.
40705         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40706         (print_version): Use PKGVERSION.
40707         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40708         (print_version): Use PKGVERSION.
40709         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40710         and PKGVERSION.
40712         * timezone/checktab.awk: Update from tzcode 2012i.
40713         * timezone/ialloc.c: Likewise.
40714         * timezone/private.h: Likewise.
40715         * timezone/scheck.c: Likewise.
40716         * timezone/tzfile.h: Likewise.
40717         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40718         (TZVERSION): Hardcode tzcode version number.
40719         * timezone/zdump.c: Update from tzcode 2012i.
40720         * timezone/zic.c: Likewise.
40721         * timezone/version.h: New file.
40722         * timezone/README: Describe version.h.  Update upstream location.
40724         [BZ #14824]
40725         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40726         (mktemp): Enable declaration.
40727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40731         Likewise.
40732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40733         Likewise.
40734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40735         Likewise.
40736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40737         Likewise.
40738         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40739         Likewise.
40740         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40741         Likewise.
40743         [BZ #14821]
40744         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40745         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40746         for copies of such integer values.
40747         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40748         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40750 2012-11-09  Andreas Jaeger  <aj@suse.de>
40752         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40753         definitions and declarations that are provided by
40754         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40756 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40758         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40759         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40760         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40761         definition.
40763 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40765         * elf/elf.h: Update comment before AArch64 relocations.
40767 2012-11-07  David S. Miller  <davem@davemloft.net>
40769         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40770         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40771         (__start_context): Declare.
40772         (__makecontext_ret): Delete.
40773         (__makecontext): Hook up __start_context instead of
40774         __makecontext_ret.
40775         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40776         (sysdep_routines): Add __start_context when in stdlib.
40778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40780         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40781         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40782         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40783         hardcoded "nm".
40784         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40785         (READELF): New variable.  Use it instead of hardcoded "readelf".
40787 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40789         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40790         * sysdeps/x86/Makefile: Here.
40791         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40792         * sysdeps/x86/tst-xmmymm.sh: This.
40794 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40796         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40797         expectations.
40798         [UNIX98] (pthread_barrier_t): Do not expect.
40799         [UNIX98] (pthread_barrierattr_t): Likewise.
40800         [UNIX98] (pthread_spinlock_t): Likewise.
40801         [UNIX98] (pthread_barrier_destroy): Likewise.
40802         [UNIX98] (pthread_barrier_init): Likewise.
40803         [UNIX98] (pthread_barrier_wait): Likewise.
40804         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40805         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40806         [UNIX98] (pthread_barrierattr_init): Likewise.
40807         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40808         [UNIX98] (pthread_getcpuclockid): Likewise.
40809         [UNIX98] (pthread_mutex_timedlock): Likewise.
40810         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40811         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40812         [UNIX98] (pthread_sigmask): Likewise.
40813         [UNIX98] (pthread_spin_destroy): Likewise.
40814         [UNIX98] (pthread_spin_init): Likewise.
40815         [UNIX98] (pthread_spin_lock): Likewise.
40816         [UNIX98] (pthread_spin_trylock): Likewise.
40817         [UNIX98] (pthread_spin_unlock): Likewise.
40818         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40819         Do not expect.
40820         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40822         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40823         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40824         [XPG3 || XPG4] (pthread_key_t): Likewise.
40825         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40826         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40827         [XPG3 || XPG4] (pthread_once_t): Likewise.
40828         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40829         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40831         [XPG3 || XPG4] (pthread_t): Likewise.
40833         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40834         not expect.
40835         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40837         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40838         Change function return type to int.
40840         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40841         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40842         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40843         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40844         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40845         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40846         [!POSIX] (posix_madvise): Likewise.
40847         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40848         && !UNIX98].
40849         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40850         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40851         (mode_t): Likewise.
40852         (posix_mem_offset): Likewise.
40853         (posix_typed_mem_get_info): Likewise.
40854         (posix_typed_mem_open): Likewise.
40856         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40857         Change condition to [XOPEN2K8].
40859         * conform/conformtest.pl: Preprocess allow-header data with -x c
40860         instead of from stdin.
40861         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40862         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40863         [C99-based standards] (cerfc): Likewise.
40864         [C99-based standards] (cexp2): Likewise.
40865         [C99-based standards] (cexpm1): Likewise.
40866         [C99-based standards] (clog10): Likewise.
40867         [C99-based standards] (clog1p): Likewise.
40868         [C99-based standards] (clog2): Likewise.
40869         [C99-based standards] (clgamma): Likewise.
40870         [C99-based standards] (ctgamma): Likewise.
40871         [C99-based standards] (cerff): Likewise.
40872         [C99-based standards] (cerfcf): Likewise.
40873         [C99-based standards] (cexp2f): Likewise.
40874         [C99-based standards] (cexpm1f): Likewise.
40875         [C99-based standards] (clog10f): Likewise.
40876         [C99-based standards] (clog1pf): Likewise.
40877         [C99-based standards] (clog2f): Likewise.
40878         [C99-based standards] (clgammaf): Likewise.
40879         [C99-based standards] (ctgammaf): Likewise.
40880         [C99-based standards] (cerfl): Likewise.
40881         [C99-based standards] (cerfcl): Likewise.
40882         [C99-based standards] (cexp2l): Likewise.
40883         [C99-based standards] (cexpm1l): Likewise.
40884         [C99-based standards] (clog10l): Likewise.
40885         [C99-based standards] (clog1pl): Likewise.
40886         [C99-based standards] (clog2l): Likewise.
40887         [C99-based standards] (clgammal): Likewise.
40888         [C99-based standards] (ctgammal): Likewise.
40889         * conform/data/inttypes.h-data [C99-based standards]: Include
40890         stdint.h-data.  Remove all expectations for stdint.h contents.
40891         [C99-based standards] (PRI*): Do not allow.
40892         [C99-based standards] (SCN*): Likewise.
40893         [C99-based standards] (*_t): Likewise.
40894         [C99-based-standards] (PRId8): Expect macro.
40895         [C99-based-standards] (PRIi8): Likewise.
40896         [C99-based-standards] (PRIo8): Likewise.
40897         [C99-based-standards] (PRIu8): Likewise.
40898         [C99-based-standards] (PRIx8): Likewise.
40899         [C99-based-standards] (PRIX8): Likewise.
40900         [C99-based-standards] (SCNd8): Likewise.
40901         [C99-based-standards] (SCNi8): Likewise.
40902         [C99-based-standards] (SCNo8): Likewise.
40903         [C99-based-standards] (SCNu8): Likewise.
40904         [C99-based-standards] (SCNx8): Likewise.
40905         [C99-based-standards] (PRIdLEAST8): Likewise.
40906         [C99-based-standards] (PRIiLEAST8): Likewise.
40907         [C99-based-standards] (PRIoLEAST8): Likewise.
40908         [C99-based-standards] (PRIuLEAST8): Likewise.
40909         [C99-based-standards] (PRIxLEAST8): Likewise.
40910         [C99-based-standards] (PRIXLEAST8): Likewise.
40911         [C99-based-standards] (SCNdLEAST8): Likewise.
40912         [C99-based-standards] (SCNiLEAST8): Likewise.
40913         [C99-based-standards] (SCNoLEAST8): Likewise.
40914         [C99-based-standards] (SCNuLEAST8): Likewise.
40915         [C99-based-standards] (SCNxLEAST8): Likewise.
40916         [C99-based-standards] (PRIdFAST8): Likewise.
40917         [C99-based-standards] (PRIiFAST8): Likewise.
40918         [C99-based-standards] (PRIoFAST8): Likewise.
40919         [C99-based-standards] (PRIuFAST8): Likewise.
40920         [C99-based-standards] (PRIxFAST8): Likewise.
40921         [C99-based-standards] (PRIXFAST8): Likewise.
40922         [C99-based-standards] (SCNdFAST8): Likewise.
40923         [C99-based-standards] (SCNiFAST8): Likewise.
40924         [C99-based-standards] (SCNoFAST8): Likewise.
40925         [C99-based-standards] (SCNuFAST8): Likewise.
40926         [C99-based-standards] (SCNxFAST8): Likewise.
40927         [C99-based-standards] (PRId16): Likewise.
40928         [C99-based-standards] (PRIi16): Likewise.
40929         [C99-based-standards] (PRIo16): Likewise.
40930         [C99-based-standards] (PRIu16): Likewise.
40931         [C99-based-standards] (PRIx16): Likewise.
40932         [C99-based-standards] (PRIX16): Likewise.
40933         [C99-based-standards] (SCNd16): Likewise.
40934         [C99-based-standards] (SCNi16): Likewise.
40935         [C99-based-standards] (SCNo16): Likewise.
40936         [C99-based-standards] (SCNu16): Likewise.
40937         [C99-based-standards] (SCNx16): Likewise.
40938         [C99-based-standards] (PRIdLEAST16): Likewise.
40939         [C99-based-standards] (PRIiLEAST16): Likewise.
40940         [C99-based-standards] (PRIoLEAST16): Likewise.
40941         [C99-based-standards] (PRIuLEAST16): Likewise.
40942         [C99-based-standards] (PRIxLEAST16): Likewise.
40943         [C99-based-standards] (PRIXLEAST16): Likewise.
40944         [C99-based-standards] (SCNdLEAST16): Likewise.
40945         [C99-based-standards] (SCNiLEAST16): Likewise.
40946         [C99-based-standards] (SCNoLEAST16): Likewise.
40947         [C99-based-standards] (SCNuLEAST16): Likewise.
40948         [C99-based-standards] (SCNxLEAST16): Likewise.
40949         [C99-based-standards] (PRIdFAST16): Likewise.
40950         [C99-based-standards] (PRIiFAST16): Likewise.
40951         [C99-based-standards] (PRIoFAST16): Likewise.
40952         [C99-based-standards] (PRIuFAST16): Likewise.
40953         [C99-based-standards] (PRIxFAST16): Likewise.
40954         [C99-based-standards] (PRIXFAST16): Likewise.
40955         [C99-based-standards] (SCNdFAST16): Likewise.
40956         [C99-based-standards] (SCNiFAST16): Likewise.
40957         [C99-based-standards] (SCNoFAST16): Likewise.
40958         [C99-based-standards] (SCNuFAST16): Likewise.
40959         [C99-based-standards] (SCNxFAST16): Likewise.
40960         [C99-based-standards] (PRId32): Likewise.
40961         [C99-based-standards] (PRIi32): Likewise.
40962         [C99-based-standards] (PRIo32): Likewise.
40963         [C99-based-standards] (PRIu32): Likewise.
40964         [C99-based-standards] (PRIx32): Likewise.
40965         [C99-based-standards] (PRIX32): Likewise.
40966         [C99-based-standards] (SCNd32): Likewise.
40967         [C99-based-standards] (SCNi32): Likewise.
40968         [C99-based-standards] (SCNo32): Likewise.
40969         [C99-based-standards] (SCNu32): Likewise.
40970         [C99-based-standards] (SCNx32): Likewise.
40971         [C99-based-standards] (PRIdLEAST32): Likewise.
40972         [C99-based-standards] (PRIiLEAST32): Likewise.
40973         [C99-based-standards] (PRIoLEAST32): Likewise.
40974         [C99-based-standards] (PRIuLEAST32): Likewise.
40975         [C99-based-standards] (PRIxLEAST32): Likewise.
40976         [C99-based-standards] (PRIXLEAST32): Likewise.
40977         [C99-based-standards] (SCNdLEAST32): Likewise.
40978         [C99-based-standards] (SCNiLEAST32): Likewise.
40979         [C99-based-standards] (SCNoLEAST32): Likewise.
40980         [C99-based-standards] (SCNuLEAST32): Likewise.
40981         [C99-based-standards] (SCNxLEAST32): Likewise.
40982         [C99-based-standards] (PRIdFAST32): Likewise.
40983         [C99-based-standards] (PRIiFAST32): Likewise.
40984         [C99-based-standards] (PRIoFAST32): Likewise.
40985         [C99-based-standards] (PRIuFAST32): Likewise.
40986         [C99-based-standards] (PRIxFAST32): Likewise.
40987         [C99-based-standards] (PRIXFAST32): Likewise.
40988         [C99-based-standards] (SCNdFAST32): Likewise.
40989         [C99-based-standards] (SCNiFAST32): Likewise.
40990         [C99-based-standards] (SCNoFAST32): Likewise.
40991         [C99-based-standards] (SCNuFAST32): Likewise.
40992         [C99-based-standards] (SCNxFAST32): Likewise.
40993         [C99-based-standards] (PRId64): Likewise.
40994         [C99-based-standards] (PRIi64): Likewise.
40995         [C99-based-standards] (PRIo64): Likewise.
40996         [C99-based-standards] (PRIu64): Likewise.
40997         [C99-based-standards] (PRIx64): Likewise.
40998         [C99-based-standards] (PRIX64): Likewise.
40999         [C99-based-standards] (SCNd64): Likewise.
41000         [C99-based-standards] (SCNi64): Likewise.
41001         [C99-based-standards] (SCNo64): Likewise.
41002         [C99-based-standards] (SCNu64): Likewise.
41003         [C99-based-standards] (SCNx64): Likewise.
41004         [C99-based-standards] (PRIdLEAST64): Likewise.
41005         [C99-based-standards] (PRIiLEAST64): Likewise.
41006         [C99-based-standards] (PRIoLEAST64): Likewise.
41007         [C99-based-standards] (PRIuLEAST64): Likewise.
41008         [C99-based-standards] (PRIxLEAST64): Likewise.
41009         [C99-based-standards] (PRIXLEAST64): Likewise.
41010         [C99-based-standards] (SCNdLEAST64): Likewise.
41011         [C99-based-standards] (SCNiLEAST64): Likewise.
41012         [C99-based-standards] (SCNoLEAST64): Likewise.
41013         [C99-based-standards] (SCNuLEAST64): Likewise.
41014         [C99-based-standards] (SCNxLEAST64): Likewise.
41015         [C99-based-standards] (PRIdFAST64): Likewise.
41016         [C99-based-standards] (PRIiFAST64): Likewise.
41017         [C99-based-standards] (PRIoFAST64): Likewise.
41018         [C99-based-standards] (PRIuFAST64): Likewise.
41019         [C99-based-standards] (PRIxFAST64): Likewise.
41020         [C99-based-standards] (PRIXFAST64): Likewise.
41021         [C99-based-standards] (SCNdFAST64): Likewise.
41022         [C99-based-standards] (SCNiFAST64): Likewise.
41023         [C99-based-standards] (SCNoFAST64): Likewise.
41024         [C99-based-standards] (SCNuFAST64): Likewise.
41025         [C99-based-standards] (SCNxFAST64): Likewise.
41026         [C99-based-standards] (PRIdMAX): Likewise.
41027         [C99-based-standards] (PRIiMAX): Likewise.
41028         [C99-based-standards] (PRIoMAX): Likewise.
41029         [C99-based-standards] (PRIuMAX): Likewise.
41030         [C99-based-standards] (PRIxMAX): Likewise.
41031         [C99-based-standards] (PRIXMAX): Likewise.
41032         [C99-based-standards] (SCNdMAX): Likewise.
41033         [C99-based-standards] (SCNiMAX): Likewise.
41034         [C99-based-standards] (SCNoMAX): Likewise.
41035         [C99-based-standards] (SCNuMAX): Likewise.
41036         [C99-based-standards] (SCNxMAX): Likewise.
41037         [C99-based-standards] (PRIdPTR): Likewise.
41038         [C99-based-standards] (PRIiPTR): Likewise.
41039         [C99-based-standards] (PRIoPTR): Likewise.
41040         [C99-based-standards] (PRIuPTR): Likewise.
41041         [C99-based-standards] (PRIxPTR): Likewise.
41042         [C99-based-standards] (PRIXPTR): Likewise.
41043         [C99-based-standards] (SCNdPTR): Likewise.
41044         [C99-based-standards] (SCNiPTR): Likewise.
41045         [C99-based-standards] (SCNoPTR): Likewise.
41046         [C99-based-standards] (SCNuPTR): Likewise.
41047         [C99-based-standards] (SCNxPTR): Likewise.
41048         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41049         allow.
41050         * conform/data/stdint.h-data: Update comments to clarify
41051         requirements.
41052         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41053         type.
41054         [C99-based standards] (INT8_MAX): Likewise.
41055         [C99-based standards] (INT16_MIN): Likewise.
41056         [C99-based standards] (INT16_MAX): Likewise.
41057         [C99-based standards] (INT32_MIN): Likewise.
41058         [C99-based standards] (INT32_MAX): Likewise.
41059         [C99-based standards] (INT64_MIN): Likewise.
41060         [C99-based standards] (INT64_MAX): Likewise.
41061         [C99-based standards] (UINT8_MAX): Likewise.
41062         [C99-based standards] (UINT16_MAX): Likewise.
41063         [C99-based standards] (UINT32_MAX): Likewise.
41064         [C99-based standards] (UINT64_MAX): Likewise.
41065         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41066         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41067         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41068         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41069         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41070         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41071         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41072         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41073         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41074         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41075         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41076         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41077         [C99-based standards] (INT_FAST8_MIN): Likewise.
41078         [C99-based standards] (INT_FAST8_MAX): Likewise.
41079         [C99-based standards] (INT_FAST16_MIN): Likewise.
41080         [C99-based standards] (INT_FAST16_MAX): Likewise.
41081         [C99-based standards] (INT_FAST32_MIN): Likewise.
41082         [C99-based standards] (INT_FAST32_MAX): Likewise.
41083         [C99-based standards] (INT_FAST64_MIN): Likewise.
41084         [C99-based standards] (INT_FAST64_MAX): Likewise.
41085         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41086         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41087         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41088         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41089         [C99-based standards] (INTPTR_MIN): Likewise.
41090         [C99-based standards] (INTPTR_MAX): Likewise.
41091         [C99-based standards] (UINTPTR_MAX): Likewise.
41092         [C99-based standards] (INTMAX_MIN): Likewise.
41093         [C99-based standards] (INTMAX_MAX): Likewise.
41094         [C99-based standards] (UINTMAX_MAX): Likewise.
41095         [C99-based standards] (PTRDIFF_MIN): Likewise.
41096         [C99-based standards] (PTRDIFF_MAX): Likewise.
41097         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41098         [C99-based standards] (SIZE_MAX): Likewise.
41099         [C99-based standards] (WCHAR_MAX): Likewise.
41100         [C99-based standards] (WINT_MAX): Likewise.
41101         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41102         constraint on value.
41103         [C99-based standards] (WCHAR_MIN): Likewise.
41104         [C99-based standards] (WINT_MIN): Likewise.
41105         [C99-based standards] (*_t): Allow.
41106         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41107         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41108         Include math.h-data and complex.h-data.  Remove all expectations
41109         of math.h and complex.h contents.
41110         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41111         at end of line.
41112         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41113         (struct tm): Expect tag.
41114         [C99-based-standards] (wcstof): Expect function.
41115         [C99-based-standards] (wcstold): Likewise.
41116         [C99-based-standards] (wcstoll): Likewise.
41117         [C99-based-standards] (wcstoull): Likewise.
41118         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41119         macro-int-constant.  Specify type.
41120         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41121         constraint on value.
41122         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41123         Specify type.
41124         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41125         Specify value.
41126         [ISO C standards]: Do not allow headers.
41127         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41128         wcs[abcdefghijklmnopqrstuvwxyz]*.
41129         [ISO C standards] (*_t): Do not allow.
41130         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41131         Expect function.
41132         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41133         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41134         Specify type.
41135         [ISO C standards]: Do not allow headers.
41136         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41137         is[abcdefghijklmnopqrstuvwxyz]*.
41138         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41139         to[abcdefghijklmnopqrstuvwxyz]*.
41140         [ISO C standards] (*_t): Do not allow.
41141         * conform/data/stdalign.h-data: New file.
41142         * conform/data/stdbool.h-data: Likewise.
41143         * conform/data/stdnoreturn.h-data: Likewise.
41145 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41147         [BZ #14815]
41148         * manual/filesys.texi (Directory Entries): Typo fix.
41149         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41151 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41153         * elf/elf.h (EM_AARCH64): New macro.
41154         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41155         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41156         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41157         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41158         (R_AARCH64_TLSDESC): Likewise.
41159         (NT_ARM_TLS): Likewise.
41160         (NT_ARM_HW_BREAK): Likewise.
41161         (NT_ARM_HW_WATCH): Likewise.
41163 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41165         [BZ #14811]
41166         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41167         (__ieee754_powl): Saturate nonzero exponents with absolute value
41168         below 0x1p-79 to +/- 0x1p-79.
41169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41170         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41171         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41172         nonzero exponents with absolute value below 0x1p-32 to +/-
41173         0x1p-32.
41174         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41175         (__ieee754_powl): Saturate nonzero exponents with absolute value
41176         below 0x1p-79 to +/- 0x1p-79.
41177         * math/libm-test.inc (pow_test): Add more tests.
41179 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41181         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41182         _dl_s390_cap_flags with kernel. Increase string length.
41183         (_dl_s390_platforms): Add z196 and zEC12.
41185 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41187         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41188         Change XOPEN21K to XOPEN2K.
41190 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41192         * string/memmove.c: Use memcpy when possible.
41194 2012-11-06  Andreas Jaeger  <aj@suse.de>
41196         * po/eo.po: Update from translation team.
41198 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41200         [BZ #14793]
41201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41202         exponent and small x and y exponents, scale x or y up.  Increase
41203         by 2 the exponent used in scaling up.
41204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41206         * math/libm-test.inc (fma_test): Add more tests.
41207         (fma_test_towardzero): Likewise.
41208         (fma_test_downward): Likewise.
41209         (fma_test_upward): Likewise.
41211 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41213         [BZ #14805]
41214         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41215         fenv_t *.
41217         [BZ #14801]
41218         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41219         namespace for names of struct fields.
41220         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41221         fenv_t fields.
41222         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41223         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41225 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41227         [BZ #3665]
41228         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41230 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41232         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41233         PTR_DEMANGLE.
41235         [BZ #5246]
41236         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41237         PTR_DEMANGLE.
41239 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41241         [BZ #14797]
41242         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41243         definitely overflow as x * y not x * y + z.
41244         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41245         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41246         * math/libm-test.inc (fma_test): Add more tests.
41247         (fma_test_towardzero): Likewise.
41248         (fma_test_downward): Likewise.
41249         (fma_test_upward): Likewise.
41251 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41253         [BZ #157]
41255         * include/stub-tag.h: Remove file.
41256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41257         '#include' of it.
41258         * manual/maint.texi (Porting): Don't reference it.
41259         * Makerules ($(objpfx)stubs): Likewise.
41260         * dirent/closedir.c: Don't include <stub-tag.h>.
41261         * dirent/dirfd.c: Likewise.
41262         * dirent/fdopendir.c: Likewise.
41263         * dirent/getdents.c: Likewise.
41264         * dirent/getdents64.c: Likewise.
41265         * dirent/opendir.c: Likewise.
41266         * dirent/readdir.c: Likewise.
41267         * dirent/readdir64.c: Likewise.
41268         * dirent/readdir64_r.c: Likewise.
41269         * dirent/readdir_r.c: Likewise.
41270         * dirent/rewinddir.c: Likewise.
41271         * dirent/seekdir.c: Likewise.
41272         * dirent/telldir.c: Likewise.
41273         * gmon/profil.c: Likewise.
41274         * grp/setgroups.c: Likewise.
41275         * inet/if_index.c: Likewise.
41276         * io/access.c: Likewise.
41277         * io/chdir.c: Likewise.
41278         * io/chmod.c: Likewise.
41279         * io/chown.c: Likewise.
41280         * io/close.c: Likewise.
41281         * io/dup.c: Likewise.
41282         * io/dup2.c: Likewise.
41283         * io/dup3.c: Likewise.
41284         * io/euidaccess.c: Likewise.
41285         * io/faccessat.c: Likewise.
41286         * io/fchdir.c: Likewise.
41287         * io/fchmod.c: Likewise.
41288         * io/fchmodat.c: Likewise.
41289         * io/fchown.c: Likewise.
41290         * io/fchownat.c: Likewise.
41291         * io/fcntl.c: Likewise.
41292         * io/flock.c: Likewise.
41293         * io/fstatfs.c: Likewise.
41294         * io/fstatfs64.c: Likewise.
41295         * io/fstatvfs.c: Likewise.
41296         * io/fstatvfs64.c: Likewise.
41297         * io/futimens.c: Likewise.
41298         * io/fxstat.c: Likewise.
41299         * io/fxstat64.c: Likewise.
41300         * io/fxstatat.c: Likewise.
41301         * io/fxstatat64.c: Likewise.
41302         * io/getcwd.c: Likewise.
41303         * io/isatty.c: Likewise.
41304         * io/lchmod.c: Likewise.
41305         * io/lchown.c: Likewise.
41306         * io/link.c: Likewise.
41307         * io/linkat.c: Likewise.
41308         * io/lseek.c: Likewise.
41309         * io/lseek64.c: Likewise.
41310         * io/lxstat64.c: Likewise.
41311         * io/mkdir.c: Likewise.
41312         * io/mkdirat.c: Likewise.
41313         * io/mkfifo.c: Likewise.
41314         * io/mkfifoat.c: Likewise.
41315         * io/open.c: Likewise.
41316         * io/open64.c: Likewise.
41317         * io/openat.c: Likewise.
41318         * io/openat64.c: Likewise.
41319         * io/pipe.c: Likewise.
41320         * io/pipe2.c: Likewise.
41321         * io/poll.c: Likewise.
41322         * io/posix_fadvise.c: Likewise.
41323         * io/posix_fadvise64.c: Likewise.
41324         * io/posix_fallocate.c: Likewise.
41325         * io/posix_fallocate64.c: Likewise.
41326         * io/read.c: Likewise.
41327         * io/readlink.c: Likewise.
41328         * io/readlinkat.c: Likewise.
41329         * io/rmdir.c: Likewise.
41330         * io/sendfile.c: Likewise.
41331         * io/sendfile64.c: Likewise.
41332         * io/statfs.c: Likewise.
41333         * io/statfs64.c: Likewise.
41334         * io/statvfs.c: Likewise.
41335         * io/statvfs64.c: Likewise.
41336         * io/symlink.c: Likewise.
41337         * io/symlinkat.c: Likewise.
41338         * io/ttyname.c: Likewise.
41339         * io/ttyname_r.c: Likewise.
41340         * io/umask.c: Likewise.
41341         * io/unlink.c: Likewise.
41342         * io/unlinkat.c: Likewise.
41343         * io/utime.c: Likewise.
41344         * io/utimensat.c: Likewise.
41345         * io/write.c: Likewise.
41346         * io/xmknod.c: Likewise.
41347         * io/xmknodat.c: Likewise.
41348         * io/xstat.c: Likewise.
41349         * io/xstat64.c: Likewise.
41350         * login/getpt.c: Likewise.
41351         * login/grantpt.c: Likewise.
41352         * login/unlockpt.c: Likewise.
41353         * math/e_acoshl.c: Likewise.
41354         * math/e_acosl.c: Likewise.
41355         * math/e_asinl.c: Likewise.
41356         * math/e_atan2l.c: Likewise.
41357         * math/e_atanhl.c: Likewise.
41358         * math/e_coshl.c: Likewise.
41359         * math/e_expl.c: Likewise.
41360         * math/e_fmodl.c: Likewise.
41361         * math/e_gammal_r.c: Likewise.
41362         * math/e_hypotl.c: Likewise.
41363         * math/e_j0l.c: Likewise.
41364         * math/e_j1l.c: Likewise.
41365         * math/e_jnl.c: Likewise.
41366         * math/e_lgammal_r.c: Likewise.
41367         * math/e_log10l.c: Likewise.
41368         * math/e_log2l.c: Likewise.
41369         * math/e_logl.c: Likewise.
41370         * math/e_powl.c: Likewise.
41371         * math/e_rem_pio2l.c: Likewise.
41372         * math/e_sinhl.c: Likewise.
41373         * math/e_sqrtl.c: Likewise.
41374         * math/fclrexcpt.c: Likewise.
41375         * math/fedisblxcpt.c: Likewise.
41376         * math/feenablxcpt.c: Likewise.
41377         * math/fegetenv.c: Likewise.
41378         * math/fegetexcept.c: Likewise.
41379         * math/fegetround.c: Likewise.
41380         * math/feholdexcpt.c: Likewise.
41381         * math/fesetenv.c: Likewise.
41382         * math/fesetround.c: Likewise.
41383         * math/feupdateenv.c: Likewise.
41384         * math/fgetexcptflg.c: Likewise.
41385         * math/fraiseexcpt.c: Likewise.
41386         * math/fsetexcptflg.c: Likewise.
41387         * math/ftestexcept.c: Likewise.
41388         * math/k_cosl.c: Likewise.
41389         * math/k_rem_pio2l.c: Likewise.
41390         * math/k_sinl.c: Likewise.
41391         * math/k_tanl.c: Likewise.
41392         * math/s_asinhl.c: Likewise.
41393         * math/s_atanl.c: Likewise.
41394         * math/s_cbrtl.c: Likewise.
41395         * math/s_erfl.c: Likewise.
41396         * math/s_expm1l.c: Likewise.
41397         * math/s_log1pl.c: Likewise.
41398         * math/s_tanhl.c: Likewise.
41399         * misc/acct.c: Likewise.
41400         * misc/brk.c: Likewise.
41401         * misc/chflags.c: Likewise.
41402         * misc/chroot.c: Likewise.
41403         * misc/fchflags.c: Likewise.
41404         * misc/fgetxattr.c: Likewise.
41405         * misc/flistxattr.c: Likewise.
41406         * misc/fremovexattr.c: Likewise.
41407         * misc/fsetxattr.c: Likewise.
41408         * misc/fsync.c: Likewise.
41409         * misc/ftruncate.c: Likewise.
41410         * misc/futimes.c: Likewise.
41411         * misc/futimesat.c: Likewise.
41412         * misc/getdomain.c: Likewise.
41413         * misc/getdtsz.c: Likewise.
41414         * misc/gethostid.c: Likewise.
41415         * misc/gethostname.c: Likewise.
41416         * misc/getloadavg.c: Likewise.
41417         * misc/getpagesize.c: Likewise.
41418         * misc/getsysstats.c: Likewise.
41419         * misc/getxattr.c: Likewise.
41420         * misc/gtty.c: Likewise.
41421         * misc/ioctl.c: Likewise.
41422         * misc/lgetxattr.c: Likewise.
41423         * misc/listxattr.c: Likewise.
41424         * misc/llistxattr.c: Likewise.
41425         * misc/lremovexattr.c: Likewise.
41426         * misc/lsetxattr.c: Likewise.
41427         * misc/lutimes.c: Likewise.
41428         * misc/madvise.c: Likewise.
41429         * misc/mincore.c: Likewise.
41430         * misc/mlock.c: Likewise.
41431         * misc/mlockall.c: Likewise.
41432         * misc/mmap.c: Likewise.
41433         * misc/mprotect.c: Likewise.
41434         * misc/msync.c: Likewise.
41435         * misc/munlock.c: Likewise.
41436         * misc/munlockall.c: Likewise.
41437         * misc/munmap.c: Likewise.
41438         * misc/preadv.c: Likewise.
41439         * misc/preadv64.c: Likewise.
41440         * misc/ptrace.c: Likewise.
41441         * misc/pwritev.c: Likewise.
41442         * misc/pwritev64.c: Likewise.
41443         * misc/readv.c: Likewise.
41444         * misc/reboot.c: Likewise.
41445         * misc/remap_file_pages.c: Likewise.
41446         * misc/removexattr.c: Likewise.
41447         * misc/revoke.c: Likewise.
41448         * misc/select.c: Likewise.
41449         * misc/setdomain.c: Likewise.
41450         * misc/setegid.c: Likewise.
41451         * misc/seteuid.c: Likewise.
41452         * misc/sethostid.c: Likewise.
41453         * misc/sethostname.c: Likewise.
41454         * misc/setregid.c: Likewise.
41455         * misc/setreuid.c: Likewise.
41456         * misc/setxattr.c: Likewise.
41457         * misc/sstk.c: Likewise.
41458         * misc/stty.c: Likewise.
41459         * misc/swapoff.c: Likewise.
41460         * misc/swapon.c: Likewise.
41461         * misc/sync.c: Likewise.
41462         * misc/syncfs.c: Likewise.
41463         * misc/syscall.c: Likewise.
41464         * misc/truncate.c: Likewise.
41465         * misc/ualarm.c: Likewise.
41466         * misc/usleep.c: Likewise.
41467         * misc/ustat.c: Likewise.
41468         * misc/utimes.c: Likewise.
41469         * misc/vhangup.c: Likewise.
41470         * misc/writev.c: Likewise.
41471         * posix/_exit.c: Likewise.
41472         * posix/alarm.c: Likewise.
41473         * posix/execve.c: Likewise.
41474         * posix/fexecve.c: Likewise.
41475         * posix/fork.c: Likewise.
41476         * posix/fpathconf.c: Likewise.
41477         * posix/getaddrinfo.c: Likewise.
41478         * posix/getegid.c: Likewise.
41479         * posix/geteuid.c: Likewise.
41480         * posix/getgid.c: Likewise.
41481         * posix/getgroups.c: Likewise.
41482         * posix/getlogin.c: Likewise.
41483         * posix/getlogin_r.c: Likewise.
41484         * posix/getpgid.c: Likewise.
41485         * posix/getpid.c: Likewise.
41486         * posix/getppid.c: Likewise.
41487         * posix/getresgid.c: Likewise.
41488         * posix/getresuid.c: Likewise.
41489         * posix/getsid.c: Likewise.
41490         * posix/getuid.c: Likewise.
41491         * posix/glob64.c: Likewise.
41492         * posix/nanosleep.c: Likewise.
41493         * posix/pathconf.c: Likewise.
41494         * posix/pause.c: Likewise.
41495         * posix/posix_madvise.c: Likewise.
41496         * posix/pread.c: Likewise.
41497         * posix/pread64.c: Likewise.
41498         * posix/pwrite.c: Likewise.
41499         * posix/pwrite64.c: Likewise.
41500         * posix/sched_getaffinity.c: Likewise.
41501         * posix/sched_getp.c: Likewise.
41502         * posix/sched_gets.c: Likewise.
41503         * posix/sched_primax.c: Likewise.
41504         * posix/sched_primin.c: Likewise.
41505         * posix/sched_rr_gi.c: Likewise.
41506         * posix/sched_setaffinity.c: Likewise.
41507         * posix/sched_setp.c: Likewise.
41508         * posix/sched_sets.c: Likewise.
41509         * posix/sched_yield.c: Likewise.
41510         * posix/setgid.c: Likewise.
41511         * posix/setlogin.c: Likewise.
41512         * posix/setpgid.c: Likewise.
41513         * posix/setresgid.c: Likewise.
41514         * posix/setresuid.c: Likewise.
41515         * posix/setsid.c: Likewise.
41516         * posix/setuid.c: Likewise.
41517         * posix/sleep.c: Likewise.
41518         * posix/spawni.c: Likewise.
41519         * posix/sysconf.c: Likewise.
41520         * posix/times.c: Likewise.
41521         * posix/wait.c: Likewise.
41522         * posix/wait3.c: Likewise.
41523         * posix/wait4.c: Likewise.
41524         * posix/waitpid.c: Likewise.
41525         * resolv/gai_sigqueue.c: Likewise.
41526         * resource/getpriority.c: Likewise.
41527         * resource/getrlimit.c: Likewise.
41528         * resource/getrusage.c: Likewise.
41529         * resource/nice.c: Likewise.
41530         * resource/setpriority.c: Likewise.
41531         * resource/setrlimit.c: Likewise.
41532         * resource/ulimit.c: Likewise.
41533         * rt/aio_cancel.c: Likewise.
41534         * rt/aio_fsync.c: Likewise.
41535         * rt/aio_read.c: Likewise.
41536         * rt/aio_sigqueue.c: Likewise.
41537         * rt/aio_suspend.c: Likewise.
41538         * rt/aio_write.c: Likewise.
41539         * rt/clock_getres.c: Likewise.
41540         * rt/clock_gettime.c: Likewise.
41541         * rt/clock_nanosleep.c: Likewise.
41542         * rt/clock_settime.c: Likewise.
41543         * rt/lio_listio.c: Likewise.
41544         * rt/mq_close.c: Likewise.
41545         * rt/mq_getattr.c: Likewise.
41546         * rt/mq_notify.c: Likewise.
41547         * rt/mq_open.c: Likewise.
41548         * rt/mq_receive.c: Likewise.
41549         * rt/mq_send.c: Likewise.
41550         * rt/mq_setattr.c: Likewise.
41551         * rt/mq_timedreceive.c: Likewise.
41552         * rt/mq_timedsend.c: Likewise.
41553         * rt/mq_unlink.c: Likewise.
41554         * rt/shm_open.c: Likewise.
41555         * rt/shm_unlink.c: Likewise.
41556         * rt/timer_create.c: Likewise.
41557         * rt/timer_delete.c: Likewise.
41558         * rt/timer_getoverr.c: Likewise.
41559         * rt/timer_gettime.c: Likewise.
41560         * rt/timer_settime.c: Likewise.
41561         * setjmp/__longjmp.c: Likewise.
41562         * setjmp/setjmp.c: Likewise.
41563         * signal/kill.c: Likewise.
41564         * signal/killpg.c: Likewise.
41565         * signal/raise.c: Likewise.
41566         * signal/sigaction.c: Likewise.
41567         * signal/sigaltstack.c: Likewise.
41568         * signal/sigblock.c: Likewise.
41569         * signal/sigignore.c: Likewise.
41570         * signal/sigintr.c: Likewise.
41571         * signal/signal.c: Likewise.
41572         * signal/sigpause.c: Likewise.
41573         * signal/sigpending.c: Likewise.
41574         * signal/sigqueue.c: Likewise.
41575         * signal/sigreturn.c: Likewise.
41576         * signal/sigset.c: Likewise.
41577         * signal/sigsetmask.c: Likewise.
41578         * signal/sigstack.c: Likewise.
41579         * signal/sigsuspend.c: Likewise.
41580         * signal/sigtimedwait.c: Likewise.
41581         * signal/sigvec.c: Likewise.
41582         * signal/sigwait.c: Likewise.
41583         * signal/sigwaitinfo.c: Likewise.
41584         * signal/sysv_signal.c: Likewise.
41585         * socket/accept.c: Likewise.
41586         * socket/accept4.c: Likewise.
41587         * socket/bind.c: Likewise.
41588         * socket/connect.c: Likewise.
41589         * socket/getpeername.c: Likewise.
41590         * socket/getsockname.c: Likewise.
41591         * socket/getsockopt.c: Likewise.
41592         * socket/isfdtype.c: Likewise.
41593         * socket/listen.c: Likewise.
41594         * socket/recv.c: Likewise.
41595         * socket/recvfrom.c: Likewise.
41596         * socket/recvmsg.c: Likewise.
41597         * socket/send.c: Likewise.
41598         * socket/sendmsg.c: Likewise.
41599         * socket/sendto.c: Likewise.
41600         * socket/setsockopt.c: Likewise.
41601         * socket/shutdown.c: Likewise.
41602         * socket/sockatmark.c: Likewise.
41603         * socket/socket.c: Likewise.
41604         * socket/socketpair.c: Likewise.
41605         * stdio-common/ctermid.c: Likewise.
41606         * stdio-common/cuserid.c: Likewise.
41607         * stdio-common/remove.c: Likewise.
41608         * stdio-common/rename.c: Likewise.
41609         * stdio-common/renameat.c: Likewise.
41610         * stdio-common/tempname.c: Likewise.
41611         * stdlib/getcontext.c: Likewise.
41612         * stdlib/makecontext.c: Likewise.
41613         * stdlib/setcontext.c: Likewise.
41614         * stdlib/swapcontext.c: Likewise.
41615         * stdlib/system.c: Likewise.
41616         * streams/fattach.c: Likewise.
41617         * streams/fdetach.c: Likewise.
41618         * streams/getmsg.c: Likewise.
41619         * streams/getpmsg.c: Likewise.
41620         * streams/putmsg.c: Likewise.
41621         * streams/putpmsg.c: Likewise.
41622         * sysdeps/unix/bsd/getpt.c: Likewise.
41623         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41624         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41625         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41627         Likewise.
41628         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41629         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41630         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41631         * sysvipc/msgctl.c: Likewise.
41632         * sysvipc/msgget.c: Likewise.
41633         * sysvipc/msgrcv.c: Likewise.
41634         * sysvipc/msgsnd.c: Likewise.
41635         * sysvipc/semctl.c: Likewise.
41636         * sysvipc/semget.c: Likewise.
41637         * sysvipc/semop.c: Likewise.
41638         * sysvipc/semtimedop.c: Likewise.
41639         * sysvipc/shmat.c: Likewise.
41640         * sysvipc/shmctl.c: Likewise.
41641         * sysvipc/shmdt.c: Likewise.
41642         * sysvipc/shmget.c: Likewise.
41643         * termios/tcdrain.c: Likewise.
41644         * termios/tcflow.c: Likewise.
41645         * termios/tcflush.c: Likewise.
41646         * termios/tcgetattr.c: Likewise.
41647         * termios/tcgetpgrp.c: Likewise.
41648         * termios/tcsendbrk.c: Likewise.
41649         * termios/tcsetattr.c: Likewise.
41650         * termios/tcsetpgrp.c: Likewise.
41651         * time/adjtime.c: Likewise.
41652         * time/clock.c: Likewise.
41653         * time/getitimer.c: Likewise.
41654         * time/gettimeofday.c: Likewise.
41655         * time/setitimer.c: Likewise.
41656         * time/settimeofday.c: Likewise.
41657         * time/stime.c: Likewise.
41658         * time/time.c: Likewise.
41660 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41662         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41663         /usr/old/bin.
41665         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41666         instead of spaces.
41667         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41669 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41671         [BZ #14796]
41672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41673         FE_TONEAREST before applying Dekker multiplication and Knuth
41674         addition.  Clear inexact exceptions and check for exact zero
41675         results afterwards.
41676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41677         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41679         * math/libm-test.inc (fma_test): Add more tests.
41680         (fma_test_towardzero): Likewise.
41681         (fma_test_downward): Likewise.
41682         (fma_test_upward): Likewise.
41683         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41684         function.
41685         (libc_fesetround): New macro.
41686         (libc_fesetroundf): Likewise.
41687         (libc_fesetroundl): Likewise.
41688         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41689         function.
41690         (libc_fesetround_387): Likewise.
41691         (libc_fesetroundf): New macro.
41692         (libc_fesetround): Likewise.
41693         (libc_fesetroundl): Likewise.
41694         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41695         function.
41696         (libc_fesetroundf): New macro.
41697         (libc_fesetround): Likewise.
41698         (libc_fesetroundl): Likewise.
41699         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41700         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41701         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41702         libm_hidden_ver.
41703         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41704         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41705         libm_hidden_def.
41706         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41707         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41708         libm_hidden_ver.
41709         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41710         libm_hidden_def.
41712         [BZ #3439]
41713         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41714         integer constant usable in #if and use that to give value to enum
41715         constant.
41716         (FE_DIVBYZERO): Likewise.
41717         (FE_UNDERFLOW): Likewise.
41718         (FE_OVERFLOW): Likewise.
41719         (FE_INVALID): Likewise.
41720         (FE_INVALID_SNAN): Likewise.
41721         (FE_INVALID_ISI): Likewise.
41722         (FE_INVALID_IDI): Likewise.
41723         (FE_INVALID_ZDZ): Likewise.
41724         (FE_INVALID_IMZ): Likewise.
41725         (FE_INVALID_COMPARE): Likewise.
41726         (FE_INVALID_SOFTWARE): Likewise.
41727         (FE_INVALID_SQRT): Likewise.
41728         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41729         (FE_TONEAREST): Likewise.
41730         (FE_TOWARDZERO): Likewise.
41731         (FE_UPWARD): Likewise.
41732         (FE_DOWNWARD): Likewise.
41733         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41734         (FE_DIVBYZERO): Likewise.
41735         (FE_OVERFLOW): Likewise.
41736         (FE_UNDERFLOW): Likewise.
41737         (FE_INEXACT): Likewise.
41738         (FE_TONEAREST): Likewise.
41739         (FE_DOWNWARD): Likewise.
41740         (FE_UPWARD): Likewise.
41741         (FE_TOWARDZERO): Likewise.
41742         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41743         (FE_UNDERFLOW): Likewise.
41744         (FE_OVERFLOW): Likewise.
41745         (FE_DIVBYZERO): Likewise.
41746         (FE_INVALID): Likewise.
41747         (FE_TONEAREST): Likewise.
41748         (FE_TOWARDZERO): Likewise.
41749         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41750         (FE_OVERFLOW): Likewise.
41751         (FE_UNDERFLOW): Likewise.
41752         (FE_DIVBYZERO): Likewise.
41753         (FE_INEXACT): Likewise.
41754         (FE_TONEAREST): Likewise.
41755         (FE_TOWARDZERO): Likewise.
41756         (FE_UPWARD): Likewise.
41757         (FE_DOWNWARD): Likewise.
41758         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41759         (FE_DIVBYZERO): Likewise.
41760         (FE_OVERFLOW): Likewise.
41761         (FE_UNDERFLOW): Likewise.
41762         (FE_INEXACT): Likewise.
41763         (FE_TONEAREST): Likewise.
41764         (FE_DOWNWARD): Likewise.
41765         (FE_UPWARD): Likewise.
41766         (FE_TOWARDZERO): Likewise.
41768 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41770         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41772 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41774         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41775         commands.  Quote $PWD.
41776         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41777         -x" by "export".
41778         (remove_newlines): Remove.
41780 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41782         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41783         * stdlib/stdlib.h (atof): Moved to ...
41784         * include/bits/stdlib-float.h: Here.  New file.
41785         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41786         * stdlib/bits/stdlib-float.h: New file.
41787         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41788         -mno-sse -mno-mmx.
41789         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41790         <xmmintrin.h>.
41792 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41794         * conform/conformtest.pl (@headers): Add fenv.h.
41795         * conform/data/fenv.h-data: New file.
41796         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41797         include of <math/fenv.h>.
41799         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41800         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41801         && !UNIX98].  Enables tests for XOPEN2K8.
41802         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41803         POSIX2008]: Likewise.
41805         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41806         (struct rusage): Do not expect type or its members.
41808         [BZ #3439]
41809         * math/math.h (FP_NAN): Define macro to integer constant usable in
41810         #if and use that to give value to enum constant.
41811         (FP_INFINITE): Likewise.
41812         (FP_ZERO): Likewise.
41813         (FP_SUBNORMAL): Likewise.
41814         (FP_NORMAL): Likewise.
41816 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41818         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41819         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41820         arguments.
41822 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41824         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41825         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41826         autoconf-time if not.
41827         * configure.in: Remove AC_PREREQ.
41829 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41831         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41832         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41833         of the internal implementation.
41835 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41837         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41838         except include of <misc/sys/syslog.h>.
41840 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41843         function returns with a NULL context exit with zero.
41845 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41847         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41849 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41851         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41852         (run_program_cmd): This.
41853         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41854         (tst_langinfo): New variable.  Use it.
41856 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41858         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41859         floating point opcodes.
41861 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41863         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41864         variable.
41866         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41868         * sysdeps/mach/hurd/powerpc: Remove directory.
41869         * sysdeps/mach/powerpc: Likewise.
41871 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41873         * scripts/check-local-headers.sh: Ignore c++ headers.
41875 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41877         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41878         __libc_cleanup_region_start argument.
41880 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41882         [BZ #14784]
41883         [BZ #14785]
41884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41885         x * y using scaling, not as x * y + z.
41886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41888         * math/libm-test.inc (fma_test): Add more tests.
41889         (fma_test_towardzero): Likewise.
41890         (fma_test_downward): Likewise.
41891         (fma_test_upward): Likewise.
41893 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41895         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41897 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41899         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41900         New variable.
41902 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41904         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41906 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41909         Fix sort order.
41910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41911         Likewise.
41913 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41916         Fix the order of the list for glibc 2.17.
41917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41918         Likewise.
41920 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41924 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41926         [BZ #14610]
41927         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41928         for low part of x being zero before using __atanl (y).
41929         * math/libm-test.inc (atan2_test): Add another test.
41931         * manual/install.texi (Configuring and compiling): Document
41932         general use of test-wrapper and test-wrapper-env.
41933         * INSTALL: Regenerated.
41935         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41936         (__fma): Do not extract and scale down low bits on after-rounding
41937         systems when result rounded to normal precision would have normal
41938         exponent.
41939         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41940         (__fmal): Do not extract and scale down low bits on after-rounding
41941         systems when result rounded to normal precision would have normal
41942         exponent.
41943         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41944         (__fmal): Do not extract and scale down low bits on after-rounding
41945         systems when result rounded to normal precision would have normal
41946         exponent.
41947         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41948         macro.
41949         (fma_test): Add more tests.
41950         (fma_test_towardzero): Likewise.
41951         (fma_test_downward): Likewise.
41952         (fma_test_upward): Likewise.
41954 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41956         * sysdeps/i386/tininess.h: Renamed to ...
41957         * sysdeps/x86/tininess.h: This.
41958         * sysdeps/x86_64/tininess.h: Removed.
41960 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41962         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41963         input.  Use $(build-program-cmd).
41964         ($(objpfx)tst-array1-static.out): Likewise.
41965         ($(objpfx)tst-array2.out): Likewise.
41966         ($(objpfx)tst-array3.out): Likewise.
41967         ($(objpfx)tst-array4.out): Likewise.
41968         ($(objpfx)tst-array5.out): Likewise.
41969         ($(objpfx)tst-array5-static.out): Likewise.
41971 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41973         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41974         if defined.
41976         * nss/nsswitch.h (nss_interface_function): Provide new
41977         macro for use with NSS functions.
41978         * grp/initgroups.c: Use new macro.
41979         * nss/getXXbyYY.c: Likewise.
41980         * nss/getXXbyYY_r.c: Likewise.
41981         * nss/getXXent.c: Likewise.
41982         * nss/getXXent_r.c: Likewise.
41983         * sysdeps/posix/getaddrinfo.c: Likewise.
41985 2012-10-30  Andreas Jaeger  <aj@suse.de>
41987         * po/ru.po: Update Russion translation from translation project.
41989 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41991         [BZ #14152]
41992         [BZ #14783]
41993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41994         result and shift together with sticky bit instead of replicating
41995         round-to-nearest rounding.
41996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41997         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41998         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41999         missing underflow exceptions.
42000         (fma_test_towardzero): Add more tests.
42001         (fma_test_downward): Likewise.
42002         (fma_test_upward): Likewise.
42004         [BZ #14047]
42005         * sysdeps/generic/tininess.h: New file.
42006         * sysdeps/i386/tininess.h: Likewise.
42007         * sysdeps/sh/tininess.h: Likewise.
42008         * sysdeps/x86_64/tininess.h: Likewise.
42009         * stdlib/tst-strtod-underflow.c: Likewise.
42010         * stdlib/tst-tininess.c: Likewise.
42011         * stdlib/strtod_l.c: Include <tininess.h>.
42012         (round_and_return): Do not set errno for exact underflow cases.
42013         Force an underflow exception when setting errno for underflow.
42014         Determine underflow based on rounding to normal precision if
42015         TININESS_AFTER_ROUNDING.
42016         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42017         ERANGE for exact underflow cases.
42018         * stdlib/Makefile (tests): Add tst-tininess and
42019         tst-strtod-underflow.
42020         ($(objpfx)tst-tininess): Use $(link-libm).
42021         ($(objpfx)tst-strtod-underflow): Likewise.
42023 2012-10-30  Andreas Jaeger  <aj@suse.de>
42025         [BZ#14767]
42026         * elf/Makefile (tests): Remove conditional for have-initfini-array
42027         since this is now always required and the variable does not exist
42028         anymore.
42029         (tests-static): Likewise.
42030         (modules-names): Likewise.
42032         * po/eo.po: Add Esperanto translation from translation project.
42034         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42035         merged with constructor/destructor.
42036         (init_array): Likewise.
42037         * elf/tst-array2dep.c (fini_array): Likewise.
42038         (init_array): Likewise.
42040 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42042         * manual/message.texi: Delete @cartouche tags.
42044 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42046         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42047         EOPNOTSUPP.
42048         * sysdeps/mach/hurd/fsync.c: Likewise.
42050         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42051         [_POSIX_REALTIME_SIGNALS]: Change condition to
42052         [_POSIX_REALTIME_SIGNALS > 0].
42054 2012-10-27  Andreas Jaeger  <aj@suse.de>
42056         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42057         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42059         [__WORDSIZE != 64]: Likewise.
42061 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42063         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42064         *  iconvdata/tst-tables.sh: Likewise.
42066 2012-10-25  David S. Miller  <davem@davemloft.net>
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42069         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42070         of strtoull.
42072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42073         ifunc-impl-list.c
42074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42075         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42076         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42077         file.
42079 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42081         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42082         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42083         __getdirentries.
42085 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42086             Jim Blandy  <jimb@codesourcery.com>
42088         * scripts/cross-test-ssh.sh: New file.
42089         * manual/install.texi (Configuring and compiling): Document use of
42090         cross-test-ssh.sh.
42091         * INSTALL: Regenerated.
42093 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42095         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42096         EOPNOTSUPP.
42098 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42100         * Makeconfig (run-program-prefix): Fix comment.
42102 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42103             Jim Blandy  <jimb@codesourcery.com>
42105         * Makeconfig (test-wrapper): New variable,
42106         (test-wrapper-env): Likewise.
42107         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42108         (run-built-tests): Define to yes.
42109         (run-program-prefix): Use $(test-wrapper).
42110         (built-program-cmd): Likewise.
42111         * Rules (make-test-out): Use $(test-wrapper-env) and
42112         $(host-built-program-cmd).
42113         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42114         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42115         tst-pathopt.sh.
42116         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42117         $(test-wrapper-env) to tst-rtld-load-self.sh.
42118         ($(objpfx)order2.out): Use $(test-wrapper).
42119         ($(objpfx)tst-initorder.out): Likewise.
42120         ($(objpfx)tst-initorder2.out): Likewise.
42121         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42122         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42123         (test_wrapper_env): New variable.  Use it to run ld.so.
42124         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42125         Use it to run ld.so.
42126         (test_wrapper_env): Likewise.
42127         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42128         $(test-wrapper) to run-iconv-test.sh.
42129         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42130         (ICONV): Use $test_wrapper.
42131         * posix/Makefile ($(objpfx)globtest.out): Pass
42132         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42133         globtest.sh, not $(run-program-prefix).
42134         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42135         (test_wrapper): Likewise.
42136         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42137         set together with run_via_rtld_prefix.
42138         (run_program_prefix): Define in terms of test_wrapper and
42139         run_via_rtld_prefix.
42141 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42143         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42144         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42145         Targets removed.
42147         [BZ #14743]
42148         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42149         Declare __clock_getres, __clock_gettime, __clock_settime,
42150         __clock_nanosleep, and __clock_getcpuclockid.
42151         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42152         Remove librt_hidden_def (clock_gettime).
42153         * sysdeps/unix/clock_gettime.c: Likewise.
42154         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42155         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42156         * rt/clock_getres.c: Define __clock_getres as an alias.
42157         * sysdeps/posix/clock_getres.c: Likewise.
42158         * rt/clock_settime.c: Define __clock_settime as an alias.
42159         * sysdeps/unix/clock_settime.c: Likewise.
42160         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42161         * sysdeps/unix/clock_nanosleep.c: Likewise.
42162         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42163         * rt/clock-compat.c: New file.
42164         * rt/Makefile (librt-routines): Add clock-compat and move
42165         $(clock-routines) to ...
42166         (routines): ... here, new variable.
42167         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42168         Don't add get_clockfreq here.
42169         * rt/Versions (libc: GLIBC_2.17): New version set.
42170         Add clock_* symbols here.
42171         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42172         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42173         (GLIBC_2.17): Add clock_* symbols.
42174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42178         Likewise.
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42180         Likewise.
42181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42185         * NEWS: Mention the move.
42187         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42188         Use __open, __read, __close rather than their public counterparts.
42189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42190         (__get_clockfreq_via_cpuinfo): Likewise.
42191         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42192         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42194         * config.h.in (HAVE_IFUNC): New #undef.
42195         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42196         was successful.
42197         * configure: Regenerated.
42199 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42201         * configure.in: Move READELF check to start of file.
42202         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42203         libc_cv_asm_gnu_indirect_function in the process.
42204         * configure: Regenerated.
42206 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42208         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42209         send the output to /dev/null.
42210         (libc_cv_cc_with_libunwind): Likewise.
42211         (libc_cv_as_noexecstack): Likewise.
42212         * configure: Regenerate.
42214 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42216         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42218         * posix/globtest.sh (TMPDIR): Do not set.
42219         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42220         (testout): Likewise.
42222 2012-10-24  Andreas Jaeger  <aj@suse.de>
42224         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42225         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42226         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42227         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42228         posix_fadvise64, posix_fallocate64.
42230         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42231         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42232         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42233         Likewise.
42234         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42235         Likewise.
42236         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42239         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42240         <bits/fcntl-linux.h>.
42241         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42244         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42245         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42246         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42247         [__WORDSIZE != 64]: Likewise.
42249 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42251         * Makeconfig (run-built-tests): New variable.
42252         * Rules [$(cross-compiling) = yes]: Change condition to
42253         [$(run-built-tests) = no].
42254         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42255         to [$(run-built-tests) = yes].
42256         * elf/Makefile [$(cross-compiling) = no]: Likewise
42257         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42258         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42259         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42260         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42261         * io/Makefile [$(cross-compiling) = no]: Likewise.
42262         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42263         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42264         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42265         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42266         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42267         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42268         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42269         * string/Makefile [$(cross-compiling) = no]: Likewise.
42271         * posix/Makefile ($(objpfx)globtest.out): Pass
42272         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42273         $(rtld-installed-name).
42274         * posix/globtest.sh (elf_objpfx): Remove variable.
42275         (rtld_installed_name): Likewise.
42276         (library_path): Likewise.
42277         (run_program_prefix): New variable.  Use for running globtest
42278         binary.
42280 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42281             Joseph Myers  <joseph@codesourcery.com>
42283         * Makeconfig (host-built-program-cmd): New variable.
42284         * elf/Makefile (tst-stackguard1-ARGS): Use
42285         $(host-built-program-cmd).
42286         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42287         (tst-spawn-ARGS): Likewise.
42288         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42290 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42291             Jim Blandy  <jimb@codesourcery.com>
42293         * Makeconfig (run-via-rtld-prefix): New variable.
42294         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42295         (built-program-cmd): Likewise.
42297 2012-10-22  Andreas Jaeger  <aj@suse.de>
42299         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42300         __O_RSYNC if it exists, otherwise to O_SYNC.
42302 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42303             Joseph Myers  <joseph@codesourcery.com>
42305         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42306         /dev/null.
42307         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42308         from /dev/null
42309         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42310         /dev/null.
42312 2012-10-22  Andreas Jaeger  <aj@suse.de>
42314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42315         Define always.
42316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42319         bits/fcntl-linux.h.
42321         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42322         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42325         to __O_LARGEFILE.
42326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42327         to __O_LARGEFILE.
42329 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42330             Joseph Myers  <joseph@codesourcery.com>
42332         * config.make.in (NM): New variable.
42334 2012-10-21  Andreas Jaeger  <aj@suse.de>
42336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42337         definitions and declarations that are provided by
42338         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42340 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42342         [BZ #14683]
42343         * elf/Makefile (tests-static): Add tst-leaks1-static.
42344         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42345         ($(objpfx)tst-leaks1-static): New rule.
42346         ($(objpfx)tst-leaks1-static-mem): Likewise.
42347         (tst-leaks1-static-ENV): New macro.
42348         * elf/dl-open.c (dl_open_worker): Check the main application
42349         only if SHARED is defined.
42350         * elf/tst-leaks1-static.c: New file.
42352 2012-10-20  Andreas Jaeger  <aj@suse.de>
42354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42355         generic values for Linux.
42356         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42357         and declarations that are provided by <bits/fcntl-linux.h> and
42358         include <bits/fcntl-linux.h>.
42359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42360         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42362 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42364         * io/fcntl.h: Move include of <bits/types.h> to the top and
42365         include it unconditionally.
42367 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42369         * wcsmbs/Makefile (tests-ifunc): New variable.
42370         (tests): Add $(tests-ifunc).
42371         * wcsmbs/test-wcschr-ifunc.c: New file.
42372         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42373         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42374         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42375         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42376         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42378         * string/Makefile (tests-ifunc): New variable.
42379         (tests): Add $(tests-ifunc).
42380         * string/test-memccpy.c (TEST_NAME): New macro.
42381         * string/test-memchr.c (TEST_NAME): Likewise.
42382         * string/test-memcmp.c (TEST_NAME): Likewise.
42383         * string/test-memcpy.c (TEST_NAME): Likewise.
42384         * string/test-memmem.c (TEST_NAME): Likewise.
42385         * string/test-memmove.c (TEST_NAME): Likewise.
42386         * string/test-memset.c (TEST_NAME): Likewise.
42387         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42388         * string/test-stpcpy.c (TEST_NAME): Likewise.
42389         * string/test-stpncpy.c (TEST_NAME): Likewise.
42390         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42391         * string/test-strcasestr.c (TEST_NAME): Likewise.
42392         * string/test-strcat.c (TEST_NAME): Likewise.
42393         * string/test-strchr.c (TEST_NAME): Likewise.
42394         * string/test-strcmp.c(TEST_NAME): Likewise.
42395         * string/test-strcpy.c (TEST_NAME): Likewise.
42396         * string/test-strcspn.c (TEST_NAME): Likewise.
42397         * string/test-strlen.c (TEST_NAME): Likewise.
42398         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42399         * string/test-strncmp.c (TEST_NAME): Likewise.
42400         * string/test-strncpy.c (TEST_NAME): Likewise.
42401         * string/test-strnlen.c (TEST_NAME): Likewise.
42402         * string/test-strpbrk.c (TEST_NAME): Likewise.
42403         * string/test-strrchr.c (TEST_NAME): Likewise.
42404         * string/test-strspn.c (TEST_NAME): Likewise.
42405         * string/test-strstr.c (TEST_NAME): Likewise.
42406         * string/test-bcopy-ifunc.c: New file.
42407         * string/test-bzero-ifunc.c: Likewise.
42408         * string/test-memccpy-ifunc.c: Likewise.
42409         * string/test-memchr-ifunc.c: Likewise.
42410         * string/test-memcmp-ifunc.c: Likewise.
42411         * string/test-memcpy-ifunc.c: Likewise.
42412         * string/test-memmem-ifunc.c: Likewise.
42413         * string/test-memmove-ifunc.c: Likewise.
42414         * string/test-mempcpy-ifunc.c: Likewise.
42415         * string/test-memset-ifunc.c: Likewise.
42416         * string/test-rawmemchr-ifunc.c: Likewise.
42417         * string/test-stpcpy-ifunc.c: Likewise.
42418         * string/test-stpncpy-ifunc.c: Likewise.
42419         * string/test-strcasecmp-ifunc.c: Likewise.
42420         * string/test-strcasestr-ifunc.c: Likewise.
42421         * string/test-strcat-ifunc.c: Likewise.
42422         * string/test-strchr-ifunc.c: Likewise.
42423         * string/test-strchrnul-ifunc.c: Likewise.
42424         * string/test-strcmp-ifunc.c: Likewise.
42425         * string/test-strcpy-ifunc.c: Likewise.
42426         * string/test-strcspn-ifunc.c: Likewise.
42427         * string/test-strlen-ifunc.c: Likewise.
42428         * string/test-strncasecmp-ifunc.c: Likewise.
42429         * string/test-strncat-ifunc.c: Likewise.
42430         * string/test-strncmp-ifunc.c: Likewise.
42431         * string/test-strncpy-ifunc.c: Likewise.
42432         * string/test-strnlen-ifunc.c: Likewise.
42433         * string/test-strpbrk-ifunc.c: Likewise.
42434         * string/test-strrchr-ifunc.c: Likewise.
42435         * string/test-strspn-ifunc.c: Likewise.
42436         * string/test-strstr-ifunc.c: Likewise.
42438         * debug/Makefile (tests-ifunc): New variable.
42439         (tests): Add $(tests-ifunc).
42440         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42441         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42442         * debug/test-stpcpy_chk-ifunc.c: New file.
42443         * debug/test-strcpy_chk-ifunc.c: Likewise.
42445 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42447         [BZ #13601]
42448         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42449         header is not read in.
42451 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42453         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42454         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42455         directly.  Pass built executable to script as
42456         $(built-program-cmd).
42457         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42458         $testprogram without using LD_LIBRARY_PATH and $ldso.
42460         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42461         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42462         $(rtld-installed-name).
42463         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42464         (rtld_installed_name): Likewise.
42465         (library_path): Likewise.
42466         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42467         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42468         $(run-program-prefix) to tst-tables.sh.
42469         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42470         it to run tst-table-from and tst-table-to.
42471         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42472         Pass it to tst-table.sh.
42473         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42474         $(run-program-prefix) to tst-gettext.sh.
42475         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42476         tst-translit.sh.
42477         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42478         tst-gettext2.sh.
42479         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42480         to run tst-gettext.
42481         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42482         to run tst-gettext2.
42483         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42484         to run tst-translit.
42485         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42486         $(run-program-prefix) to tst-mtrace.sh.
42487         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42488         to run tst-mtrace.
42489         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42490         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42491         $(rtld-installed-name).
42492         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42493         (rtld_installed_name): Likewise.
42494         (run_program_prefix): New variable.  Use it to run wordexp-test.
42496         * Makeconfig (ARCH): Remove all definitions.
42497         (machine): Likewise.
42498         [ARCH]: Remove conditional code.
42499         [!objdir]: Give error.
42500         [!objdir] (objpfx): Remove.
42501         [!objdir] (common-objpfx): Likewise.
42502         [!objdir] (common-objdir): Likewise.
42503         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42504         AC_CONFIG_FILES call.
42505         * configure: Regenerated.
42507         [BZ #13888]
42508         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42509         or TMPDIR.
42510         (testout): Likewise.
42512         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42513         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42514         $(rtld-installed-name).
42515         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42516         (rtld_installed_name): Likwise.
42517         (runit): Remove function.
42518         (run_getconf): New variable,  Use it for running getconf binary.
42520 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42522         [BZ #14716]
42523         * string/test-memmem.c (check_result): New function.
42524         (do_one_test): Use it.
42525         (check1): New function.
42526         (test_main): Use it.
42528 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42530         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42532 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42534         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42535         (_G_LSEEK64): Likewise.
42536         (_G_MMAP64): Likewise.
42537         (_G_FSTAT64): Likewise.
42538         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42539         (_G_LSEEK64): Likewise.
42540         (_G_MMAP64): Likewise.
42541         (_G_FSTAT64): Likewise.
42542         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42543         unconditional.  Call __mmap64 directly.
42544         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42545         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42546         __lseek64 directly.
42547         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42548         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42549         __mmap64 directly.
42550         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42551         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42552         __lseek64 directly.
42553         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42554         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42555         __lseek64 directly.
42556         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42557         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42558         __lseek64 directly.
42559         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42560         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42561         __fxstat64 directly.
42562         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42563         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42564         unconditional.
42565         (freopen64) [!_G_OPEN64]: Remove conditional code.
42566         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42567         unconditional.
42568         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42569         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42570         unconditional.
42571         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42572         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42573         unconditional.
42574         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42575         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42576         unconditional.
42577         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42578         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42579         unconditional.
42580         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42581         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42582         unconditional.
42583         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42584         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42585         unconditional.
42586         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42588 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42590         [BZ #12140]
42591         * manual/memory.texi (Malloc Tunable Parameters): Add note
42592         about free list pointers overwriting some perturb bytes.
42593         Wording suggested by Roland McGrath.
42595 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42597         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42598         (lgamma_test): Likewise.
42599         (tgamma_test): Likewise.
42601 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42603         [BZ #14700]
42604         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42605         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42607 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42609         * NEWS: Mention BZ #14716.
42610         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42611         when removing AVAILABLE1_USES_J macro.
42613 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42615         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42616         (__bswap_64): __uint64_t for unsigned 64-bit int.
42618 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42620         * include/string.h (memmem): Declare libc hidden alias.
42621         * string/memmem.c (memmem): Define libc hidden alias.
42622         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42623         __read, __close instead of open, read, close.
42625 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42628         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42629         global and hidden.
42630         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42631         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42632         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42633         Likewise.
42634         (__rawmemchr_sse2): Likewise.
42635         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42636         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42637         (__strchr_sse2): Likewise.
42638         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42639         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42640         (__strcasecmp_sse2): Likewise.
42641         (__strncasecmp_sse2): Likewise.
42642         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42643         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42644         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42645         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42646         (__strrchr_sse2): Likewise.
42647         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42648         ifunc-impl-list.c.
42649         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42650         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42651         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42652         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42653         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42654         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42655         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42656         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42657         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42658         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42659         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42660         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42661         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42662         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42663         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42664         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42665         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42666         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42667         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42668         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42669         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42670         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42671         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42672         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42673         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42674         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42675         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42676         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42677         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42678         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42680         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42681         global and hidden.
42682         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42683         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42684         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42685         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42686         Likewise.
42687         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42688         Likewise.
42689         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42690         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42691         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42692         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42693         ifunc-impl-list.c.
42694         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42695         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42696         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42697         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42698         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42699         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42700         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42701         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42702         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42703         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42704         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42705         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42706         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42707         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42708         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42709         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42710         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42711         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42712         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42714         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42715         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42716         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42717         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42718         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42719         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42720         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42721         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42722         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42723         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42724         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42725         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42726         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42727         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42728         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42729         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42730         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42731         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42732         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42733         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42734         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42736         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42737         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42738         * include/ifunc-impl-list.h: New file.
42739         * misc/ifunc-impl-list.c: Likewise.
42740         * misc/Makefile (routines): Add ifunc-impl-list.
42741         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42742         * string/test-string.h: Include <ifunc-impl-list.h>.
42743         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42744         TEST_NAME]: New variables.
42745         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42746         are defined.
42747         (test_init): Call __libc_ifunc_impl_list to initialize
42748         func_list if TEST_IFUNC and TEST_NAME are defined.
42750         * string/Makefile (strop-tests): Add bcopy and bzero.
42751         * string/test-bcopy.c: New file.
42752         * string/test-bzero.c: Likewise.
42753         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42754         defined.
42755         * string/test-memset.c: Support bzero test if TEST_BZERO is
42756         defined.
42757         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42758         __libc_memmove.
42759         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42760         __libc_memset.
42761         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42762         of memset.
42764 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42766         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42767         * configure: Regenerated.
42769         * Makeconfig (+link-static-before-libc): Don't include
42770         $(link-static-libc).
42772         * libio/libio.h (_IO_pos_t): Remove.
42774 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42776         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42777         McGrath.
42779 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42781         * crypt/crypt-entry.c: Include fips-private.h.
42782         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42783         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42784         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42785         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42787 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42789         * crypt/crypt-private.h: Include stdbool.h.
42790         (_ufc_setup_salt_r): Return bool.
42791         * crypt/crypt-entry.c: Include errno.h.
42792         (__crypt_r): Return NULL with EINVAL for bad salt.
42793         * crypt/crypt_util.c (bad_for_salt): New.
42794         (_ufc_setup_salt_r): Check that salt is long enough and within
42795         the specified alphabet.
42796         * crypt/badsalttest.c: New file.
42797         * crypt/Makefile (tests): Add it.
42798         ($(objpfx)badsalttest): New.
42800 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42802         * NEWS: Add entry for BZ #14602.
42804 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42806         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42807         type-generic.
42808         * math/libm-test.inc: Update comment listing what functions and
42809         macros are tested.
42810         (isgreater_test): New function.
42811         (isgreaterequal_test): Likewise.
42812         (isless_test): Likewise.
42813         (islessequal_test): Likewise.
42814         (islessgreater_test): Likewise.
42815         (isunordered_test): Likewise.
42816         (main): Call the new functions.
42818 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42820         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42821         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42822         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42823         * sysdeps/i386/configure: Regenerated.
42824         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42825         * sysdeps/mach/configure: Regenerated.
42826         * sysdeps/mach/hurd/configure: Regenerated.
42827         * sysdeps/powerpc/configure: Regenerated.
42828         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42829         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42830         * sysdeps/s390/s390-32/configure: Regenerated.
42831         * sysdeps/s390/s390-64/configure: Regenerated.
42832         * sysdeps/sh/configure: Regenerated.
42833         * sysdeps/sparc/configure: Regenerated.
42834         * sysdeps/unix/sysv/linux/configure: Regenerated.
42835         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42836         * sysdeps/x86_64/configure: Regenerated.
42838         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42839         defined.  Don't check if MAP is NULL.
42841 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42843         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42844         (_G_stat64): Likewise.
42845         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42846         (_G_stat64): Likewise.
42847         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42848         instead of struct _G_stat64.
42849         * libio/fileops.c (mmap_remap_check): Likewise.
42850         (decide_maybe_mmap): Likewise.
42851         (_IO_new_file_seekoff): Likewise.
42852         (_IO_file_stat): Likewise.
42853         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42854         _G_off64_t.
42855         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42856         instead of struct _G_stat64.
42857         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42859 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42861         [BZ #14602]
42862         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42863         Replace with ...
42864         (CHECK_EOL): New macro.
42865         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42866         CHECK_EOL.
42867         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42868         Replace with CHECK_EOL.
42869         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42870         Replace with CHECK_EOL.
42872 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42874         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42875         type-generic.
42876         * math/libm-test.inc: Update comment listing what functions and
42877         macros are tested.
42878         (finite_test): New function.
42879         (isinf_test): Likewise.
42880         (isnan_test): Likewise.
42881         (fpclassify_test): Test subnormal input.
42882         (isfinite_test): Likewise.
42883         (isnormal_test): Likewise.
42884         (main): Call the new functions.
42886 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42888         [BZ #14660]
42889         * Makerules (%.dynsym): Force C locale when running
42890         $(OBJDUMP) --dynamic-syms.
42892 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42894         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42895         <stdint.h>.
42897 2012-10-06  David S. Miller  <davem@davemloft.net>
42899         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42900         upper 32-bits of the length value in %o2 since we use branch-on-register
42901         tests which consider the entire 64-bit register.
42903 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42905         * string/test-strstr.c (check2): Add a test for page boundary.
42907 2012-10-05  David S. Miller  <davem@davemloft.net>
42909         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42910         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42911         file.
42912         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42913         sysdep_routines.
42914         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42915         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42916         and bzero when HWCAP_SPARC_CRYPTO is present.
42918 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42920         [BZ #14602]
42921         * string/test-strstr.c (check2): New function.
42922         (test_main): Call check2.
42924         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42925         and bug-strchr1.
42926         * string/bug-strcasestr1.c (do_test): Moved to ...
42927         * string/test-strcasestr.c (check1): Here.  New function.
42928         (do_one_test): Break out result checking code into ...
42929         (check_result): This.  New function.
42930         (do_one_test): Call check_result.
42931         (test_main): Call check1.
42932         * string/bug-strchr1.c (do_test): Moved to ...
42933         * string/test-strchr.c (check1): Here.  New function.
42934         (do_one_test): Break out result checking code into ...
42935         (check_result): This.  New function.
42936         (do_one_test): Call check_result.
42937         (test_main): Call check1.
42938         * string/bug-strstr1.c (main): Moved to ...
42939         * string/test-strstr.c (check1): Here.  New function.
42940         (do_one_test): Break out result checking code into ...
42941         (check_result): This.  New function.
42942         (do_one_test): Call check_result.
42943         (test_main): Call check1.
42944         * string/bug-strcasestr1.c: Removed.
42945         * string/bug-strchr1.c: Likewise.
42946         * string/bug-strstr1.c: Likewise.
42948         * elf/Makefile (dl-routines): Add hwcaps.
42949         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42950         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42951         (_dl_important_hwcaps): Moved to ...
42952         * elf/dl-hwcaps.c: Here.  New file.
42953         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42955         [BZ #14557]
42956         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42957         if IS_IN_rtld isn't defined.
42959         * elf/dl-support.c (_dl_sysinfo_map): New.
42960         Include "get-dynamic-info.h" and "setup-vdso.h".
42961         (_dl_non_dynamic_init): Call setup_vdso.
42962         * elf/dynamic-link.h: Don't include <assert.h>.
42963         (elf_get_dynamic_info): Moved to ...
42964         * elf/get-dynamic-info.h: Here.  New file.
42965         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42966         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42967         * elf/setup-vdso.h: Here.  New file.
42968         * elf/rtld.c: Include "setup-vdso.h".
42969         (dl_main): Call setup_vdso.
42971 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42973         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42974         creal in comment listing functions tested.  List finite, isinf,
42975         isnan, isless, islessequal, isgreater, isgreaterequal,
42976         islessgreater, isunordered, lgamma_r and pow10 as functions and
42977         macros not tested.  Mention which functions not tested are aliases
42978         for other functions.  Fix typo.  Note that signs of NaNs are not
42979         tested.
42981         * scripts/config.guess: Update from config.git.
42982         * scripts/config.sub: Likewise.
42984 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42986         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42987         * misc/madvise.c (madvise): Renamed to __madvise.
42988         Make madvise a weak alias.
42989         * include/sys/mman.h: Declare __madvise.
42990         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42991         * sysdeps/unix/syscalls.list
42992         (madvise): Make __madvise the strong name, and madvise a weak alias.
42993         * sysdeps/unix/sysv/linux/syscalls.list
42994         (madvise, mmap): Remove redundant entries.
42995         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42996         * malloc/malloc.c (mtrim): Likewise.
42997         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42999 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43001         * sysdeps/mach/hurd/dl-cache.c: File removed.
43002         * config.h.in (USE_LDCONFIG): New #undef.
43003         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43004         * configure: Regenerated.
43005         * elf/Makefile (dl-routines): Add dl-cache only under
43006         [$(use-ldconfig) = yes].
43007         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43008         cache on [USE_LDCONFIG].
43009         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43010         [USE_LDCONFIG].
43011         * elf/rtld.c (dl_main): Likewise.
43013 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43015         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43016         _SC_LEVEL4_CACHE_LINESIZE.
43018 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43020         * sysdeps/unix/bsd/confstr.h: File removed.
43022 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43024         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43025         sys/sdt-config.h.
43027 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43029         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43030         Make 'mapoff' field ElfW(Off) rather than off_t.
43032 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43034         * nscd/Makefile: Remove nscd-cflags and all its users.
43035         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43036         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43038         [BZ #10631]
43039         * malloc.c (malloc_printerr): Clarify error message.
43041 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43043         [BZ #14648]
43044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43045         Set bit_FMA_Usable if FMA is supported.
43046         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43047         macro.
43048         (bit_FMA4_Usable): Updated.
43049         (index_FMA_Usable): New macro.
43050         (CPUID_FMA): Likewise
43051         (HAS_FMA): Defined with bit_FMA_Usable.
43053 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43055         * bits/types.h (__swblk_t): Type removed.
43056         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43057         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43059         (__SWBLK_T_TYPE): Likewise.
43060         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43061         (__SWBLK_T_TYPE): Likewise.
43062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43063         (__SWBLK_T_TYPE): Likewise.
43064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43065         (__SWBLK_T_TYPE): Likewise.
43067 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43068             Honza Horak <hhorak@redhat.com>
43070         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43071         (xdr_mapname): Use YPMAXMAP as maxsize.
43072         (xdr_peername): Use YPMAXPEER as maxsize.
43073         (xdr_keydat): Use YPAXRECORD as maxsize.
43074         (xdr_valdat): Use YPMAXRECORD as maxsize.
43076 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43078         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43080         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43081         * csu/init-first.c: ... here.
43082         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43083         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43084         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43085         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43086         * sysdeps/i386/init-first.c: File removed.
43087         * sysdeps/sh/init-first.c: File removed.
43089 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43091         [BZ #14645]
43092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43093         if x * y might underflow to zero and z is zero.
43094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43096         * math/libm-test.inc (min_subnorm_value): New variable.
43097         (fma_test): Add more tests.
43098         (fma_test_towardzero): Likewise.
43099         (fma_test_downward): Likewise
43100         (fma_test_upward): Likewise.
43101         (initialize): Set min_subnorm_value.
43103 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43105         [BZ #14638]
43106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43107         0 + 0.
43108         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43109         mode for addition resulting in exact zero.
43110         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43112         exact 0 + 0.
43113         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43115         * math/libm-test.inc (fma_test): Add more tests.
43116         (fma_test_towardzero): New function.
43117         (fma_test_downward): Likewise.
43118         (fma_test_upward): Likewise.
43119         (main): Call the new functions.
43121 2012-09-28  David S. Miller  <davem@davemloft.net>
43123         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43125 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43127         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43128         instead of SIGALRM.
43130         * sysdeps/gnu/_G_config.h: Moved to ...
43131         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43132         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43133         * sysdeps/generic/_G_config.h: ... here.
43135         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43137         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43139         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43140         Conditionalize target on [libnss_test1.so-version].
43142         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43144         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43145         (elfobjdir): Move out of conditionals.
43147         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43148         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43149         (__nss_lookup_function): Conditionalize label remove_from_tree on
43150         [!DO_STATIC_NSS || SHARED], matching its only use.
43152 2012-09-28  David S. Miller  <davem@davemloft.net>
43154         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43155         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43156         file.
43157         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43158         sysdep_routines.
43159         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43161         when HWCAP_SPARC_CRYPTO is present.
43163 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43165         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43167 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43169         [BZ #6530]
43170         * stdio-common/vfprintf.c (process_string_arg): Revert
43171         2000-07-22 change.
43173 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43175         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43176         for testcase.
43177         * stdio-common/tst-sprintf.c: Include <locale.h>
43178         (main): Test sprintf's handling of incomplete multibyte
43179         characters.
43181 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43183         * elf/dl-runtime.c (VERSYMIDX): Removed.
43184         * elf/dl-version.c (VERSYMIDX): Likewise.
43185         * elf/do-rel.h (VERSYMIDX): Likewise.
43186         (VALIDX): Likewise.
43187         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43188         * elf/rtld.c (VALIDX): Likewise.
43189         (ADDRIDX): Likewise.
43190         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43191         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43192         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43193         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43194         (VALIDX): Likewise.
43195         (ADDRIDX): Likewise.
43197 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43199         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43201 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43203         [BZ #11438]
43204         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43205         to global scope.
43206         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43207         addresses are in the same scope as 192.0.2/24.
43208         * posix/gai.conf: Document new scope table defaults.
43210 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43212         [BZ #5298]
43213         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43214         for ftell.  Compute offsets from write pointers instead.
43215         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43217 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219         [BZ #14543]
43220         * libio/Makefile (tests): New test case tst-fseek.
43221         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43222         combination works in wide mode.
43223         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43224         state when the external buffer state changes.
43226 2012-09-27  David S. Miller  <davem@davemloft.net>
43228         [BZ #14376]
43229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43230         pass reloc->r_addend in as the 'high' argument to
43231         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43235 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43237         * rt/tst-aio2.c: Include <pthread.h>.
43238         * rt/tst-aio3.c: Likewise.
43240 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43242         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43244 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43246         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43247         contents on [SHARED].
43249 2012-09-26  Marek Polacek  <polacek@redhat.com>
43251         [BZ #14530]
43252         [BZ #13741]
43253         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43254         for C++ and GCC <4.3 as well as for non GCC compilers.
43256 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43260 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43262         * Makefile.in (all, install): Declare with .PHONY.
43263         Reported by Michael Hope <michael.hope@linaro.org>.
43265 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43267         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43268         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43269         system header.
43270         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43271         Likewise.
43272         (sydep_routines): Add the new and the internal functions.
43273         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43274         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43276         (GLIBC_2.17): Add the new function.
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43278         (GLIBC_2.17): Likewise.
43279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43280         (GLIBC_2.17): Likewise.
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43282         (GLIBC_2.17): Likewise.
43283         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43285 2012-09-25  Alan Modra  <amodra@gmail.com>
43287         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43288         Add release barrier before setting once_control to say
43289         initialisation is done.  Add hints on lwarx.  Use macro in
43290         place of isync.
43291         (clear_once_control): Add release barrier.
43293 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43295         [BZ #13629]
43296         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43297         specially.
43298         * math/s_clog10.c (__clog10): Likewise.
43299         * math/s_clog10f.c (__clog10f): Likewise.
43300         * math/s_clog10l.c (__clog10l): Likewise.
43301         * math/s_clogf.c (__clogf): Likewise.
43302         * math/s_clogl.c (__clogl): Likewise.
43303         * math/Makefile (libm-calls): Add x2y2m1.
43304         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43305         (__x2y2m1): Likewise.
43306         (__x2y2m1l): Likewise.
43307         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43308         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43309         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43310         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43311         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43312         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43313         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43314         * sysdeps/i386/fpu/libm-test-ulps: Update.
43315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43317         [BZ #14621]
43318         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43319         int as type of variable DEPTH.
43320         (glob): Use size_t instead of int as type of variables NEWCOUNT
43321         and OLD_PATHC.
43323 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43325         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43326         Add s_sincosf-sse2.
43327         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43328         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43329         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43330         macros for using routine as __sincosf_ia32.
43331         Use macro for function declaration and weak_alias.
43332         * sysdeps/i386/fpu/libm-test-ulps: Update.
43334         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43337         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43338         subnormal argument.
43339         * math/s_cexpf.c (__cexpf): Likewise.
43340         * math/s_csinf.c (__csinf): Likewise.
43341         * math/s_csinhf.c (__csinhf): Likewise.
43342         * math/s_ctanf.c (__ctanf): Likewise.
43343         * math/s_ctanhf.c (__ctanhf): Likewise.
43344         * math/s_ccosh.c (__ccoshf): Likewise.
43345         * math/s_cexp.c (__cexpl): Likewise.
43346         * math/s_csin.c (__csin): Likewise.
43347         * math/s_csinh.c (__csinh): Likewise.
43348         * math/s_ctan.c (__ctan): Likewise.
43349         * math/s_ctanh.c (ctanh): Likewise.
43350         * math/s_ccoshl.c (__ccoshl): Likewise.
43351         * math/s_cexpl.c (__cexpl): Likewise.
43352         * math/s_csinl.c (__csinl): Likewise.
43353         * math/s_csinhl.c (__csinhl): Likewise.
43354         * math/s_ctanl.c (__ctanl): Likewise.
43355         * math/s_ctanhl.c (__ctanhl): Likewise.
43357 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43359         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43360         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43361         (_IO_off_t): Define to __off_t, not _G_off_t.
43362         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43363         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43364         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43365         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43366         type of __dummy and __dummy2 fields.
43367         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43368         (_G_ssize_t): Likewise.
43369         (_G_off_t): Likewise.
43370         (_G_pid_t): Likewise.
43371         (_G_uid_t): Likewise.
43372         (_G_wchar_t): Likewise.
43373         (_G_wint_t): Likewise.
43374         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43375         (_G_ssize_t): Likewise.
43376         (_G_off_t): Likewise.
43377         (_G_pid_t): Likewise.
43378         (_G_uid_t): Likewise.
43379         (_G_wchar_t): Likewise.
43380         (_G_wint_t): Likewise.
43381         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43382         (_G_ssize_t): Likewise.
43383         (_G_off_t): Likewise.
43384         (_G_pid_t): Likewise.
43385         (_G_uid_t): Likewise.
43386         (_G_wchar_t): Likewise.
43387         (_G_wint_t): Likewise.
43389 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43391         * malloc/arena.c: Include malloc-sysdep.h.
43392         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43393         is sufficient to shrink the heap or an unmap is needed.
43394         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43395         new function check_may_shrink_heap.
43396         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43397         new function check_may_shrink_heap.
43399 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43401         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43402         comments.
43404 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43406         * catgets/test-gencat.sh: Add "set -e".
43407         * elf/tst-pathopt.sh: Likewise.
43408         * grp/tst_fgetgrent.sh: Likewise.
43409         * iconvdata/run-iconv-test.sh: Likewise.
43410         * intl/tst-gettext.sh: Likewise.
43411         * intl/tst-gettext2.sh: Likewise.
43412         * intl/tst-gettext4.sh: Likewise.
43413         * intl/tst-gettext6.sh: Likewise.
43414         * intl/tst-translit.sh: Likewise.
43415         * io/ftwtest-sh: Likewise.
43416         * libio/test-freopen.sh: Likewise.
43417         * malloc/tst-mtrace.sh: Likewise.
43418         * posix/globtest.sh: Likewise.
43419         * posix/tst-getconf.sh: Likewise.
43420         * posix/wordexp-tst.sh: Likewise.
43421         * stdio-common/tst-printf.sh: Likewise.
43422         * stdio-common/tst-unbputc.sh: Likewise.
43423         * stdlib/tst-fmtmsg.sh: Likewise.
43424         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43425         * catgets/Makefile: Do not specify -e option when running
43426         testsuite shell scripts.
43427         * elf/Makefile: Likewise.
43428         * grp/Makefile: Likewise.
43429         * iconvdata/Makefile: Likewise.
43430         * intl/Makefile: Likewise.
43431         * io/Makefile: Likewise.
43432         * libio/Makefile: Likewise.
43433         * malloc/Makefile: Likewise.
43434         * posix/Makefile: Likewise.
43435         * stdio-common/Makefile: Likewise.
43436         * stdlib/Makefile: Likewise.
43437         * sysdeps/x86_64/Makefile: Likewise.
43439         * io/ftwtest-sh: Add copyright header.
43440         * posix/globtest.sh: Likewise.
43441         * posix/tst-getconf.sh: Likewise.
43442         * posix/wordexp-tst.sh: Likewise.
43443         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43445 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43447         [BZ #13679]
43448         * Makeconfig (+link): Defined as $(+link-static) if
43449         $(build-shared) isn't yes.
43450         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43451         isn't yes.
43452         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43454         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43456         [BZ #14562]
43457         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43458         new chunk size with MALLOC_ALIGN_MASK.
43460 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43462         [BZ #5044]
43463         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43464         <rounding-mode.h>.
43465         (__printf_fphex): Determine rounding using get_rounding_mode and
43466         round_away.
43467         * stdio-common/tst-printf-round.c (struct hex_test): New
43468         structure.
43469         (hex_tests): New variable.
43470         (test_hex_in_one_mode): New function.
43471         (do_test): Also run tests for hex float output.
43473 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43475         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43476         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43477         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43478         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43479         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43480         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43481         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43482         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43484 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43486         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43487         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43488         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43489         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43491 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43493         [BZ #14579]
43494         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43495         mode only.
43496         * elf/tst-rtld-load-self.sh: New test.
43497         * elf/Makefile: Run it.
43499 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43501         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43502         (tst-writev-ENV): Remove.
43503         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43505 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43507         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43509 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43511         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43512         unconditional.
43513         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43514         Likewise.
43515         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43516         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43517         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43518         Likewise.
43520 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43522         [BZ #14587]
43523         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43524         * config.make.in (have-cpp-asm-debuginfo): Removed.
43525         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43526         * configure: Regenerated.
43528 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43530         [BZ #5044]
43531         * stdio-common/printf_fp.c: Include <stdbool.h> and
43532         <rounding-mode.h>.
43533         (___printf_fp): Determine rounding using get_rounding_mode and
43534         round_away.
43535         * stdio-common/tst-printf-round.c: New file.
43536         * stdio-common/Makefile (tests): Add tst-printf-round.
43537         (link-libm): New variable.
43538         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43540 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43542         [BZ #14576]
43543         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43544         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43545         Likewise.
43546         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43547         Likewise.
43549 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43551         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43552         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43553         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43554         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43556 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43558         [BZ #14518]
43559         * include/rounding-mode.h: New file.
43560         * sysdeps/generic/get-rounding-mode.h: Likewise.
43561         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43562         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43563         (MAX_VALUE): New macro.
43564         (MIN_VALUE): Likewise.
43565         (overflow_value): New function.
43566         (underflow_value): Likewise.
43567         (round_and_return): Use overflow_value and underflow_value to
43568         determine return values in overflow and underflow cases.  Use
43569         round_away to determine rounding depending on rounding mode.
43570         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43571         determine return values in overflow and underflow cases.
43572         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43573         (struct test_results): New structure.
43574         (struct test): Use struct test_results to store expected results
43575         for all rounding modes.
43576         (TEST): Include expected results for all rounding modes.
43577         (test_in_one_mode): New function.
43578         (do_test): Use test_in_one_mode to compute and check results.
43579         Check results for all rounding modes.
43580         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43581         $(link-libm).
43583 2012-12-09  Allan McRae  <allan@archlinux.org>
43585         * sysdeps/i386/fpu/libm-test-ulps: Update
43587 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43589         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43590         (_G_int32_t): Likewise.
43591         (_G_uint16_t): Likewise.
43592         (_G_uint32_t): Likewise.
43593         (_G_HAVE_BOOL): Likewise.
43594         (_G_HAVE_ATEXIT): Likewise.
43595         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43596         (_G_HAVE_IO_FILE_OPEN): Likewise.
43597         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43598         (_G_int32_t): Likewise.
43599         (_G_uint16_t): Likewise.
43600         (_G_uint32_t): Likewise.
43601         (_G_HAVE_BOOL): Likewise.
43602         (_G_HAVE_ATEXIT): Likewise.
43603         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43604         (_G_HAVE_IO_FILE_OPEN): Likewise.
43605         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43606         (_G_int32_t): Likewise.
43607         (_G_uint16_t): Likewise.
43608         (_G_uint32_t): Likewise.
43609         (_G_HAVE_BOOL): Likewise.
43610         (_G_HAVE_ATEXIT): Likewise.
43611         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43612         (_G_HAVE_IO_FILE_OPEN): Likewise.
43614 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43616         * csu/libc-tls.c: Update copyright years.
43618 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43620         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43621         [!_G_USING_THUNKS]: Remove conditional code.
43622         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43623         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43625         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43626         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43627         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43628         (_G_VTABLE_LABEL_PREFIX): Likewise.
43629         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43630         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43631         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43632         (_G_VTABLE_LABEL_PREFIX): Likewise.
43633         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43634         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43635         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43636         (_G_VTABLE_LABEL_PREFIX): Likewise.
43637         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43639 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43641         * libio/Makefile: Include ../Makeconfig before tests.
43642         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43643         only if $(build-shared) is yes.
43645         * iconv/gconv_db.c: Update copyright years.
43647 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43649         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43650         unwind info if defined PIC. Fix special cases description.
43651         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43653         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43654         DP_HI_MASK entry.
43655         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43657 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43659         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43661         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43662         is NULL.
43664         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43665         (LDLIBS-tst-chk4): This.
43666         (LDFLAGS-tst-chk5): Renamed to ...
43667         (LDLIBS-tst-chk5): This.
43668         (LDFLAGS-tst-chk6): Renamed to ...
43669         (LDLIBS-tst-chk6): This.
43670         (LDFLAGS-tst-lfschk4): Renamed to ...
43671         (LDLIBS-tst-lfschk4): This.
43672         (LDFLAGS-tst-lfschk5): Renamed to ...
43673         (LDLIBS-tst-lfschk5): This.
43674         (LDFLAGS-tst-lfschk6): Renamed to ...
43675         (LDLIBS-tst-lfschk6): This.
43677         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43678         on $(common-objpfx)soversions.mk.
43680 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43682         [BZ #10014]
43683         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43684         example host name.
43686 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43688         * malloc/arena.c (arena_get_retry): New function that gets
43689         another arena for the caller to try its request on.
43690         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43691         current arena cannot fulfill the request.
43692         (__libc_memalign): Likewise.
43693         (__libc_memalign): Likewise.
43694         (__libc_pvalloc): Likewise.
43695         (__libc_calloc): Likewise.
43697 2012-09-05  John Tobey  <john.tobey@gmail.com>
43699         [BZ #13542]
43700         * manual/arith.texi (Operations on Complex): Fix description
43701         of carg branch cut.
43703 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43705         [BZ #10014]
43706         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43707         host name.
43709         [BZ #10038]
43710         * manual/memory.texi (Memory): Make order of menu items match
43711         order of sections.
43713 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43715         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43716         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43717         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43719 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43721         * csu/libc-tls.c (static_dtv): Renamed to ...
43722         (_dl_static_dtv): This.  Make it global.
43723         (_dl_initial_dtv): Removed.
43724         (__libc_setup_tls): Updated.
43725         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43726         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43727         DL_INITIAL_DTV.
43729 2012-09-06  Petr Machata  <pmachata@redhat.com>
43731         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43732         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43733         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43734         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43736 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43738         [BZ #14545]
43739         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43740         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43741         freeing dtv[-1].
43743 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43745         [BZ #14544]
43746         * Makeconfig (link-static-before-libc): Replace $(+prector)
43747         with $(+prectorT).
43748         (link-static-after-libc): Replace $(+postctor) with
43749         $(+postctorT).
43750         (link-bounded): Replace $(+prector)/$(+postctor) with
43751         $(+prectorT)/$(+postctorT).
43752         (+prectorT): New macro.
43753         (+postctorT): Likewise.
43755 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43757         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43758         (round_str): Handle values above the maximum for IBM long double
43759         as inexact.
43760         * stdlib/tst-strtod-round.c (tests): Regenerated.
43762 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43764         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43765         assembler flag.
43766         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43767         zarch_nohighgprs around the zarch optimized routines.
43768         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43769         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43771         for zarch.
43773 2012-09-05  David S. Miller  <davem@davemloft.net>
43775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43777         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43778         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43779         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43780         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43781         entries.
43783 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43785         * malloc/arena.c: Fold copyright years.
43786         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43790         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43794         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43796 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43798         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43799         change internal state upon failure.
43801 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43803         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43804         * malloc/memusage.c (mmap): Likewise.
43805         (mmap64, mremap): Likewise.  Adjust name in comment.
43807 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43809         * libio/fileops.c: Fix typos in comments.
43810         * libio/oldfileops.c: Likewise.
43811         * libio/wfileops.c: Likewise.
43813 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43815         [BZ #1349]
43816         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43817         (tst-malloc-usable-ENV): Set environment for test case.
43818         * malloc/hooks.c (malloc_check_get_size): New function to get
43819         requested size.
43820         * malloc/malloc.c (musable): Use malloc_check_get_size.
43821         * malloc/tst-malloc-usable.c: New test case.
43823 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43825         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43827 2012-09-05  Allan McRae  <allan@archlinux.org>
43829         [BZ #13966]
43830         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43831         determine header location.
43832         * configure: Regenerated.
43834 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43836         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43837         float format.
43838         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43839         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43840         format.
43841         (test): Regenerate.
43843 2012-09-04  David S. Miller  <davem@davemloft.net>
43845         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43846         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43847         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43849 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43851         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43852         failures.
43854         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43856 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43858         [BZ #9914]
43859         * libio/iogetdelim.c: Include <limits.h>.
43860         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43861         + len + 1 would overflow.
43863 2012-09-03  Andreas Jaeger  <aj@suse.de>
43865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43866         * sysdeps/i386/fpu/libm-test-ulps: Update.
43868 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43870         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43871         Add s_sinf-sse2, s_conf-sse2.
43873         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43874         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43875         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43876         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43878         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43879         for using routine as __sinf_ia32.
43880         Use macro for function declaration and weak_alias.
43881         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43882         for using routine as __cosf_ia32.
43883         Use macro for function declaration and weak_alias.
43885         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43886         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43888         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43889         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43892         * math/libm-test.inc (cos_test): Add more test cases.
43893         (sin_test): Likewise.
43894         (sincos_test): Likewise.
43896 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43898         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43899         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43900         hidden.
43901         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43903 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43905         [BZ #14538]
43906         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43907         first element of the GOT.
43908         (elf_machine_load_address): Return the difference between
43909         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43911 2012-09-01  Allan McRae  <allan@archlinux.org>
43913         [BZ #13412]
43914         * configure.in (AWK): Require gawk version 3.0 or later.
43915         * configure: Regenerated.
43917 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43919         * sysdeps/unix/sysv/linux/kernel-features.h
43920         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43921         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43922         [__NR_clock_getres]: Make code unconditional.
43923         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43924         (clock_getcpuclockid): Remove code left unreachable by removal of
43925         conditionals.
43926         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43927         code unconditional.
43928         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43929         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43930         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43931         Make code unconditional.
43932         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43933         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43934         * sysdeps/unix/sysv/linux/clock_settime.c
43935         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43936         conditional code.
43937         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43938         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43940 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43942         [BZ #14476]
43943         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43944         scripts/test-installation.pl.
43946         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43947         and $ld_so_version if it is set.
43949 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43951         [BZ #14516]
43952         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43953         failure if reading from procfs failed.
43954         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43956 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43958         * sysdeps/unix/sysv/linux/kernel-features.h
43959         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43960         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43961         Remove conditional code.
43962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43963         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43964         Remove conditional code.
43965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43966         * sysdeps/unix/sysv/linux/i386/fxstat.c
43967         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43969         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43970         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43972         * sysdeps/unix/sysv/linux/i386/lxstat.c
43973         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43975         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43976         Remove conditional code.
43977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43978         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43979         Remove conditional code.
43980         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43981         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43982         <kernel-features.h>.
43983         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43984         Remove.
43985         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43986         Remove conditional code.
43987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43988         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43989         Remove conditional.
43991 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43993         [BZ #5400]
43994         * NEWS: Add fixed bug number.
43996 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43998         [BZ #14519]
43999         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44000         underflowing exponent in case of negative sign.
44001         * stdlib/tst-strtod-round-data: Add more tests.
44002         * stdlib/tst-strtod-round.c (tests): Regenerated.
44004         [BZ #3479]
44005         * stdlib/strtod_l.c (NDIG): Remove.
44006         (HEXNDIG): Likewise.
44007         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44008         smallest representable value.
44009         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44010         lie within an exact representation of 1/2 ulp of the result.
44011         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44012         unconditionally.
44013         (TENS_P9_IDX): Define unconditionally.
44014         (TENS_P9_SIZE): Likewise.
44015         (TENS_P10_IDX): Likewise.
44016         (TENS_P10_SIZE): Likewise.
44017         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44018         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44019         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44020         entries for 10^2^13 and 10^2^14.
44021         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44022         (TENS_P13_IDX): Define.
44023         (TENS_P13_SIZE): Likewise.
44024         (TENS_P14_IDX): Likewise.
44025         (TENS_P14_SIZE): Likewise.
44026         (_fpioconst_pow10): Change array size to
44027         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44028         unconditional.
44029         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44030         1024]: Add entries for 10^2^13 and 10^2^14.
44031         [LAST_POW10 > _LAST_POW10]: Remove #error.
44032         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44033         (_fpioconst_pow10): Change array size to
44034         FPIOCONST_POW10_ARRAY_SIZE.
44035         * stdlib/gen-fpioconst.c: New file.
44036         * stdlib/gen-tst-strtod-round.c: Likewise.
44037         * stdlib/tst-strtod-round-data: Likewise.
44038         * stdlib/tst-strtod-round.c: Likewise.
44039         * stdlib/Makefile (tests): Add tst-strtod-round.
44041         [BZ #14459]
44042         * stdlib/strtod_l.c: Include <stdint.h>.
44043         (NDEBUG): Do not define.
44044         (round_and_return): Change EXPONENT parameter to type intmax_t.
44045         Rearrange calculations to avoid internal overflow possibilities.
44046         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44047         Rearrange calculations to avoid internal overflow possibilities.
44048         Assert that number fits inside MPNSIZE limbs.
44049         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44050         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44051         calculations and add assertions to avoid internal overflow
44052         possibilities.  Add casts to avoid signed/unsigned operations.
44053         * stdlib/tst-strtod-overflow.c: New file.
44054         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44056 2012-08-25  Marek Polacek  <polacek@redhat.com>
44058         * time/time.h: Fix some typos in comments.
44060 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44062         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44063         * posix/tst-rfc3484-2.c: Likewise.
44064         * posix/tst-rfc3484-3.c: Likewise.
44066 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44068         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44069         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44071 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44073         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44074         #include of fxstatat64.c.
44076 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44078         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44079         * shadow/getspent_r.c: Likewise.
44080         * shadow/getspnam.c: Likewise.
44081         * shadow/getspnam_r.c: Likewise.
44082         * gshadow/getsgent.c: Likewise.
44083         * gshadow/getsgent_r.c: Likewise.
44084         * gshadow/getsgnam.c: Likewise.
44085         * gshadow/getsgnam_r.c: Likewise.
44086         * inet/getnetbyad.c: Likewise.
44087         * inet/getnetbyad_r.c: Likewise.
44088         * inet/getnetbynm.c: Likewise.
44089         * inet/getnetbynm_r.c: Likewise.
44090         * inet/getnetent.c: Likewise.
44091         * inet/getnetent_r.c: Likewise.
44092         * inet/getproto.c: Likewise.
44093         * inet/getproto_r.c: Likewise.
44094         * inet/getprtent.c: Likewise.
44095         * inet/getprtent_r.c: Likewise.
44096         * inet/getprtname.c: Likewise.
44097         * inet/getprtname_r.c: Likewise.
44098         * inet/getrpcbyname.c: Likewise.
44099         * inet/getrpcbyname_r.c: Likewise.
44100         * inet/getrpcbynumber.c: Likewise.
44101         * inet/getrpcbynumber_r.c: Likewise.
44102         * inet/getrpcent.c: Likewise.
44103         * inet/getrpcent_r.c: Likewise.
44104         * inet/getaliasent.c: Likewise.
44105         * inet/getaliasent_r.c: Likewise.
44106         * inet/getaliasname.c: Likewise.
44107         * inet/getaliasname_r.c: Likewise.
44108         * nscd/getgrgid_r.c: Likewise.
44109         * nscd/getgrnam_r.c: Likewise.
44110         * nscd/gethstbyad_r.c: Likewise.
44111         * nscd/gethstbynm3_r.c: Likewise.
44112         * nscd/getpwnam_r.c: Likewise.
44113         * nscd/getpwuid_r.c: Likewise.
44114         * nscd/getsrvbynm_r.c: Likewise.
44115         * nscd/getsrvbypt_r.c: Likewise.
44116         * nscd/gai.c: Likewise.
44118         * configure.in (build_nscd): New substituted variable, set
44119         by --disable-build-nscd and defaults to $use_nscd.
44120         * configure: Regenerated.
44121         * config.make.in (build-nscd): New substituted variable.
44122         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44123         Change conditional to require [$(build-nscd) = yes] as well.
44124         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44126         [BZ# 13696]
44127         * configure.in (use_nscd): New substituted variable, set by
44128         --disable-nscd.  If enabled, define USE_NSCD.
44129         * configure: Regenerated.
44130         * config.h.in: Add USE_NSCD.
44131         * config.make.in (use-nscd): New substituted variable.
44132         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44133         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44134         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44135         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44136         (CFLAGS-getgrnam_r.c): Likewise.
44137         (CFLAGS-initgroups.c): Likewise.
44138         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44139         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44140         Variables removed.
44141         * inet/getnetgrent_r.c
44142         (nscd_setnetgrent): New function, broken out of ...
44143         (setnetgrent): ... here.  Call it.
44144         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44145         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44146         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44147         * nscd/Makefile (routines, aux): Move definitions after include of
44148         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44149         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44150         Conditionalize on [USE_NSCD].
44151         (is_nscd, nscd_init_cb): Likewise.
44152         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44153         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44154         * nss/nss_db/db-init.c: Likewise.
44155         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44156         [USE_NSCD].
44157         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44158         (make_request): Use it.
44159         (cache_valid_p): New function.
44160         (__check_pf): Use it.
44161         * NEWS: Add item for --disable-nscd.
44163 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44165         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44166         to support sed >= 4.2.1-20-ga9bf076.
44167         * configure: Regenerated.
44169 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44171         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44172         Conditionalize whole body on [IREL].
44174 2012-08-22  Jeff Law <law@redhat.com>
44176         [BZ #14505]
44177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44178         if the family is PF_UNSPEC.
44180 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44182         * Makerules (lib-version): Rename from V.
44183         (install-lib-nosubdir): Change V to lib-version.
44185 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44187         [BZ #14252]
44188         * powerpc32/power6/wcschr.c: New file.
44189         * powerpc32/power6/wcscpy.c: New file.
44190         * powerpc32/power6/wcsrchr.c: New file.
44191         * powerpc64/power6/wcschr.c: New file.
44192         * powerpc64/power6/wcscpy.c: New file.
44193         * powerpc64/power6/wcsrchr.c: New file.
44195 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44197         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44198         (two_way_short_needle): Use it.
44199         * string/strstr.c (AVAILABLE1_USES_J): Define.
44200         * string/strcasestr.c: Likewise.
44202         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44203         array references.
44204         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44206         [BZ #11607]
44207         * NEWS: Add an entry.
44208         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44209         define their defaults.
44210         (two_way_short_needle): Detect end-of-string on-the-fly.
44211         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44212         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44213         * string/bug-strcasestr1.c: New test.
44214         * string/Makefile: Run it.
44216 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44218         [BZ #11607]
44219         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44220         the first character.
44222 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44224         * csu/elf-init.c (__libc_csu_irel): Function removed.
44225         * csu/libc-start.c (apply_irel): New function.
44226         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44228 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44230         * sysdeps/unix/sysv/linux/kernel-features.h
44231         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44232         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44233         <kernel-features.h>.
44234         [__NR_fadvise64_64]: Make code unconditional.
44235         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44236         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44237         !__NR_fadvise64_64)]: Likewise.
44238         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44239         !__NR_fadvise64_64))]: Likewise.
44240         [__NR_fadvise64]: Make code unconditional.
44241         [!__NR_fadvise64]: Remove conditional code.
44242         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44243         <kernel-features.h>.
44244         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44245         unconditional.
44246         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44247         conditional code.
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44249         not include <kernel-features.h>.
44250         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44251         unconditional.
44252         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44253         conditional code.
44254         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44255         include <kernel-features.h>.
44256         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44257         unconditional.
44258         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44259         conditional code.
44261 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44263         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44264         slight instruction rearrangements per scrollpipe analysis.
44265         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44267 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44269         * manual/syslog.texi (syslog; vsyslog, closelog):
44270         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44271         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44273         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44274         DSOCAPS to match condition on defining it.
44276 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44278         * sysdeps/unix/sysv/linux/kernel-features.h
44279         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44281         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44282         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44284         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44285         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44287         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44288         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44290         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44291         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44293         * sysdeps/unix/sysv/linux/kernel-features.h
44294         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44295         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44296         unconditional.
44297         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44298         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44299         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44300         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44301         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44302         Make code unconditional.
44303         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44304         (__mmap64) [!__NR_mmap2]: Likewise.
44305         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44306         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44307         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44308         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44309         [__NR_mmap2]: Make code unconditional.
44310         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44311         (__mmap64) [!__NR_mmap2]: Likewise.
44313 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44315         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44317 2012-08-18  Andreas Jaeger  <aj@suse.de>
44319         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44321 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44323         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44324         * include/unistd.h (__have_sock_cloexec): Likewise.
44325         (__have_pipe2): Likewise.
44326         (__have_dup3): Likewise.
44328 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44330         [BZ #9685]
44331         * include/unistd.h (__have_pipe2): Change define into an extern int.
44332         (__have_dup3): Likewise.
44333         * socket/have_sock_cloexec.c: Include fcntl.h.
44334         (__have_pipe2): New variable.
44335         (__have_dup3): Likewise.
44337 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44339         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44341 2012-08-17  Marek Polacek  <polacek@redhat.com>
44343         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44344         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44346 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44348         * configure.in: Add AC_SUBST for sysheaders.
44349         * configure: Regenerated.
44350         * config.make.in (sysheaders): New substituted variable.
44352         * sysdeps/unix/mkfifo.c: Moved ...
44353         * sysdeps/posix/mkfifo.c: ... here.
44354         * sysdeps/unix/mkfifoat.c: Moved ...
44355         * sysdeps/posix/mkfifoat.c: ... here.
44357         * sysdeps/unix/utime.c: Moved ...
44358         * sysdeps/posix/utime.c: ... here.
44360         * sysdeps/unix/time.c: Moved ...
44361         * sysdeps/posix/time.c: ... here.
44362         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44363         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44365         * sysdeps/unix/nice.c: Moved ...
44366         * sysdeps/posix/nice.c: ... here.
44368         * sysdeps/unix/alarm.c: Moved ...
44369         * sysdeps/posix/alarm.c: ... here.
44371         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44373 2012-08-17  Jeff Law <law@redhat.com>
44375         * intl/Makefile (codeset_mo): New variable.
44376         ($(codeset_mo)): New target.
44377         (tst-codeset.out): Depend on that.  Remove explicit rule.
44378         (tst-gettext3.out, tst-gettext5.out): Likewise.
44379         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44380         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44381         * intl/tst-codeset.sh: Remove.
44382         * intl/tst-gettext3.sh: Likewise.
44383         * intl/tst-gettext5.sh: Likewise.
44385 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44387         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44388         * sysdeps/unix/syscalls.list: ... here.
44390         * sysdeps/posix/getaddrinfo.c
44391         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44392         (gaiconf_init, gaiconf_reload): Use them.
44393         [!_STATBUF_ST_NSEC]
44394         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44395         Define using time_t rather than struct timespec.
44397         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44398         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44399         Macros removed.
44400         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44401         [!NO_THREADS].
44402         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44403         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44404         Likewise.
44406         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44407         __libc_cleanup_push argument.
44409         * bits/param.h: New file.
44410         * misc/sys/param.h: New file.
44411         * include/sys/param.h: New file.
44412         * misc/Makefile (headers): Add bits/param.h.
44413         * sysdeps/generic/sys/param.h: File removed.
44414         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44415         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44416         * sysdeps/mach/hurd/bits/param.h: New file.
44417         * sysdeps/mach/hurd/sys/param.h: File removed.
44419         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44420         last change.
44422         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44423         [_IO_MTSAFE_IO].
44424         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44425         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44426         New macros.
44428         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44429         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44430         rather than -D_IO_MTSAFE_IO conditionally.
44431         * stdio-common/Makefile (CPPFLAGS): Likewise.
44432         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44433         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44434         Use $(libio-mtsafe).
44435         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44436         of -D_IO_MTSAFE_IO.
44437         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44438         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44439         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44440         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44441         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44442         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44443         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44444         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44445         (CFLAGS-fread_u_chk.c): Likewise.
44446         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44447         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44448         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44449         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44450         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44451         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44452         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44453         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44454         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44456         * libio/Makefile: Test [$(libc-reentrant) = yes]
44457         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44459         * Makeconfig
44460         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44461         * sysdeps/pthread/configure: File removed.
44462         * sysdeps/pthread/Makeconfig: New file.
44463         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44464         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44466 2012-08-16  Gary Benson  <gbenson@redhat.com>
44468         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44469         unmapping the first object in a namespace.
44471 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44473         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44474         (__internal_setnetgrent): ... this.  Add internal_function to
44475         definition.  Add libc_hidden_def.
44476         (setnetgrent): Update caller.
44477         (internal_endnetgrent): Renamed to ...
44478         (__internal_endnetgrent): ... this.  Add internal_function to
44479         definition.  Add libc_hidden_def.
44480         (endnetgrent): Update caller.
44481         (internal_getnetgrent_r): Renamed to ...
44482         (__internal_getnetgrent_r): ... this.  Add internal_function to
44483         definition.  Add libc_hidden_def.
44484         (__getnetgrent_r): Update caller.
44485         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44487 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44489         * stdlib/longlong.h: Update from GCC.
44491 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44493         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44494         on _QL, which is set by umul_ppmm but never used.
44495         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44496         variables, which are set by GMP macros but never used.
44497         * stdio-common/_itowa.c (_itowa): Likewise.
44498         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44499         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44501 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44503         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44504         struct La_sh_regs is not constant.
44505         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44506         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44507         and struct La_sparc64_regs are not constant.
44509 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44511         * sysdeps/unix/sysv/linux/kernel-features.h
44512         (__ASSUME_POSIX_TIMERS): Remove.
44513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44515         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44516         Make code unconditional.
44517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44518         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44519         Make code unconditional.
44520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44521         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44522         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44523         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44524         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44525         Make code unconditional.
44526         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44527         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44528         (__libc_missing_posix_timers): Remove.
44530 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44532         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44533         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44535         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44537         * elf/dl-sym.c: Include <stdlib.h>.
44539         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44540         constants, which avoids warnings in 32-bit builds.
44542         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44543         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44545         * misc/lseek.c: File moved to ...
44546         * io/lseek.c: ... here.
44548         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44550         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44551         shifting LEN more than 31 bits at once.
44553 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44555         [BZ #14195]
44556         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44557         segmentation fault for a case of two empty input strings.
44558         * string/test-strncasecmp.c (check1): Renamed to...
44559         (bz12205): ...this.
44560         (bz14195): Add new testcase for two empty input strings and N > 0.
44561         (test_main): Call new testcase, adapt for renamed function.
44563 2012-08-15  Andreas Jaeger  <aj@suse.de>
44565         [BZ #14090]
44566         * crypt/md5test2.c: New test, based on test supplied by Serge
44567         Belyshev <belyshev@depni.sinp.msu.ru>.
44568         * crypt/Makefile (xtests): Add md5test-giant..
44569         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44571 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44573         [BZ #14090]
44574         * crypt/md5.c (md5_process_block): Don't assume the buffer
44575         length is less than 2**32.
44576         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44577         length is less than 2**64.
44579 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44581         * string/str-two-way.h: Include <sys/param.h>.
44582         (MAX): Macro removed.
44584         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44585         Move #define and #undef of memmove to just before and after
44586         including <string.h>.
44588         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44589         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44590         and after including <string.h>.  Move declarations of
44591         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44592         to before #include "string/memmove.c".
44594         * include/dirent.h: Declare __getdirentries.
44596         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44597         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44599 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44601         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44602         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44603         * sysdeps/i386/configure: Regenerated.
44604         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44605         STABS_CURRENT_FILE, and STABS_FUN.
44606         (END): Remove call to STABS_FUN_END.
44607         (STABS_CURRENT_FILE1): Delete.
44608         (STABS_CURRENT_FILE): Likewise.
44609         (STABS_FUN): Likewise.
44610         (STABS_FUN_END): Likewise.
44611         (STABS_FUN2): Likewise.
44612         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44613         * sysdeps/x86_64/configure: Regenerated.
44615 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44617         * elf/dl-open.c: Include <atomic.h>.
44618         * elf/dl-lookup.c: Likewise.
44620 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44622         * sysdeps/unix/sysv/linux/kernel-features.h
44623         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44624         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44625         unconditionally.
44626         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44627         unconditionally.
44628         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44629         condition on __ASSUME_CLONE_THREAD_FLAGS.
44631 2012-08-14  Andreas Jaeger  <aj@suse.de>
44633         * sysdeps/i386/fpu/libm-test-ulps: Update.
44635 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44637         * include/atomic.h (atomic_exchange_and_add): Split into ...
44638         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44639         New atomic macros.
44641 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44645 2012-08-13  Jeff Law <law@redhat.com>
44647         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44648         null byte in the output string.
44650 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44652         * sysdeps/unix/sysv/linux/kernel-features.h
44653         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44654         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44655         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44656         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44657         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44658         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44659         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44661 2012-08-09  Jeff Law <law@redhat.com>
44663         [BZ #13939]
44664         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44665         When avoid_arena is set, don't retry in the that arena.  Pick the
44666         next one, whatever it might be.
44667         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44668         (arena_lock): Pass in new parameter to arena_get2.
44669         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44670         arena_get2.
44671         (__libc_malloc): Unify retrying after main arena failure with
44672         __libc_memalign version.
44673         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44675 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44677         [BZ #14166]
44678         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44679         to __redirect_strstr.
44680         (__strstr_sse42): Use typeof __redirect_strstr.
44681         (__strstr_ia32): Likewise.
44682         (__libc_strstr): New prototype.
44683         (strstr): Renamed to ...
44684         (__libc_strstr): This.
44685         (strstr): New strong alias of __libc_strstr.
44686         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44687         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44688         __redirect_time.
44689         Include <time.h>.
44690         (__libc_time): New prototype.
44691         (time_ifunc): Replace time with __libc_time.
44692         (time): New strong alias and hidden definition of __libc_time.
44693         (__GI_time): Remove strong alias.
44694         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44695         Include <stddef.h>.
44696         (memmove): Redefined to __redirect_memmove.
44697         (__memmove_sse2): Use typeof __redirect_memmove.
44698         (__memmove_ssse3): Likewise.
44699         (__memmove_ssse3_back): Likewise.
44700         (__libc_memmove): New prototype.
44701         (memmove): Renamed to ...
44702         (__libc_memmove): This.
44703         (memmove): New strong alias of __libc_memmove.
44705 2012-08-08  Mark Salter  <msalter@redhat.com>
44707         * elf/elf.h
44708         (R_MN10300_TLS_GD): Define.
44709         (R_MN10300_TLS_LD): Likewise.
44710         (R_MN10300_TLS_LDO): Likewise.
44711         (R_MN10300_TLS_GOTIE): Likewise.
44712         (R_MN10300_TLS_IE): Likewise.
44713         (R_MN10300_TLS_LE): Likewise.
44714         (R_MN10300_TLS_DTPMOD): Likewise.
44715         (R_MN10300_TLS_DTPOFF): Likewise.
44716         (R_MN10300_TLS_TPOFF): Likewise.
44717         (R_MN10300_SYM_DIFF): Likewise.
44718         (R_MN10300_ALIGN): Likewise.
44719         (R_MN10300_NUM): Update.
44721 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44724         Remove.
44726 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44728         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44730         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44731         sysdeps/unix -> sysdeps/posix move.
44732         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44734 2012-08-07      Allan McRae     <allan@archlinux.org>
44736         [BZ #14303]
44737         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44738         (SUNOS_CPP): Likewise.
44739         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44740         not found.
44741         (open_input): Call CPP using execvp.
44743 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44745         * sysdeps/unix/sysv/linux/kernel-features.h
44746         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44747         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44748         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44749         (__ASSUME_WAITID_SYSCALL): Likewise.
44750         * sysdeps/unix/sysv/linux/dl-execstack.c
44751         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44752         code unconditional.
44753         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44754         conditional code.
44755         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44756         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44757         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44758         code.
44759         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44760         unconditional.
44761         [__ASSUME_WAITID_SYSCALL]: Likewise.
44762         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44764 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44766         * sysdeps/unix/closedir.c: Renamed to ...
44767         * sysdeps/posix/closedir.c: ... here.
44768         * sysdeps/unix/dirfd.c: Renamed to ...
44769         * sysdeps/posix/dirfd.c: ... here.
44770         * sysdeps/unix/dirstream.h: Renamed to ...
44771         * sysdeps/posix/dirstream.h: ... here.
44772         * sysdeps/unix/fdopendir.c: Renamed to ...
44773         * sysdeps/posix/fdopendir.c: ... here.
44774         * sysdeps/unix/opendir.c: Renamed to ...
44775         * sysdeps/posix/opendir.c: ... here.
44776         * sysdeps/unix/readdir.c: Renamed to ...
44777         * sysdeps/posix/readdir.c: ... here.
44778         * sysdeps/unix/readdir_r.c: Renamed to ...
44779         * sysdeps/posix/readdir_r.c: ... here.
44780         * sysdeps/unix/rewinddir.c: Renamed to ...
44781         * sysdeps/posix/rewinddir.c: ... here.
44782         * sysdeps/unix/seekdir.c: Renamed to ...
44783         * sysdeps/posix/seekdir.c: ... here.
44784         * sysdeps/unix/telldir.c: Renamed to ...
44785         * sysdeps/posix/telldir.c: ... here.
44786         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44787         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44788         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44789         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44791         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44792         * bits/fcntl.h: ... here.
44794         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44795         not 0.
44796         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44797         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44798         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44799         (struct flock): Move l_start, l_len to the beginning.
44800         Use __pid_t for l_pid.
44801         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44802         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44803         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44804         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44805         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44806         [__USE_LARGEFILE64] (struct flock64): New type.
44807         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44809         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44810         * bits/dirent.h: ... here.
44812         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44813         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44815 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44817         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44818         Change from 2.6.0 to 2.6.16.
44819         * sysdeps/unix/sysv/linux/configure: Regenerated.
44820         * sysdeps/unix/sysv/linux/kernel-features.h
44821         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44822         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44823         version.
44824         (__ASSUME_UTIMES): Likewise.
44825         (__ASSUME_CLONE_STOPPED): Remove.
44826         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44827         architectures, not kernel version.
44828         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44829         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44830         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44831         (__ASSUME_WAITID_SYSCALL): Likewise.
44832         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44833         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44834         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44835         refer to older versions.
44837 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44839         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44840         Define alphasort64 as an alias.
44841         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44842         Define versionsort64 as an alias.
44843         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44844         Define scandir64 as an alias.
44845         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44846         Define scandirat64 as an alias.
44847         * dirent/alphasort64.c (alphasort64):
44848         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44849         * dirent/versionsort64.c: Likewise.
44850         * dirent/scandir64.c: Likewise.
44851         * dirent/scandirat64.c: Likewise.
44852         * sysdeps/wordsize-64/alphasort.c: File removed.
44853         * sysdeps/wordsize-64/alphasort64.c: File removed.
44854         * sysdeps/wordsize-64/scandir.c: File removed.
44855         * sysdeps/wordsize-64/scandir64.c: File removed.
44856         * sysdeps/wordsize-64/scandirat.c: File removed.
44857         * sysdeps/wordsize-64/scandirat64.c: File removed.
44858         * sysdeps/wordsize-64/versionsort.c: File removed.
44859         * sysdeps/wordsize-64/versionsort64.c: File removed.
44860         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44861         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44862         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44863         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44864         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44865         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44866         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44867         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44869         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44871         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44872         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44873         [defined __arch64__ || defined __sparcv9]
44874         (__INO_T_MATCHES_INO64_T): New macro.
44875         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44876         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44877         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44878         * sysdeps/unix/sysv/linux/bits/dirent.h
44879         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44880         (_DIRENT_MATCHES_DIRENT64): New macro.
44882         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44883         Define lockf64 as an alias.
44884         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44885         Define fseeko64 as an alias.
44886         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44887         Define ftello64 as an alias.
44888         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44889         Define _IO_fgetpos64 and fgetpos64 as aliases.
44890         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44891         Define _IO_fsetpos64 and fsetpos64 as aliases.
44892         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44893         Conditionalize body on this.
44894         * libio/fseeko64.c: Likewise.
44895         * libio/ftello64.c: Likewise.
44896         * libio/iofgetpos64.c: Likewise.
44897         * libio/iofsetpos64.c: Likewise.
44898         * sysdeps/wordsize-64/lockf.c: File removed.
44899         * sysdeps/wordsize-64/lockf64.c: File removed.
44900         * sysdeps/wordsize-64/fseeko.c: File removed.
44901         * sysdeps/wordsize-64/fseeko64.c: File removed.
44902         * sysdeps/wordsize-64/ftello.c: File removed.
44903         * sysdeps/wordsize-64/ftello64.c: File removed.
44904         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44905         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44906         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44907         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44908         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44909         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44910         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44911         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44912         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44913         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44914         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44915         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44917         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44919         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44921         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44923         [defined __arch64__ || defined __sparcv9]
44924         (__OFF_T_MATCHES_OFF64_T): New macro.
44925         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44926         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44928         (__OFF_T_MATCHES_OFF64_T): New macro.
44930 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44932         * stdlib/secure-getenv.c (__secure_getenv): Replace
44933         GLIBC_2_16 with GLIBC_2_17.
44935 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44937         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44938         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44940 2012-08-03  David S. Miller  <davem@davemloft.net>
44942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44944 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44946         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44947         Remove.
44948         (__ASSUME_CORRECT_SI_PID): Likewise.
44949         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44950         (__ASSUME_TMPFS_NAME): Likewise.
44951         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44952         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44953         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44954         (HAVE_AUX_SECURE): Make definition unconditional.
44955         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44956         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44958 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44960         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44961         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44962         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44963         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44964         __eloop_threshold instead of SYMLOOP_MAX.
44966         * sysdeps/generic/eloop-threshold.h: New file.
44967         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44968         of MAXSYMLINKS.
44969         * elf/chroot_canon.c (chroot_canon): Likewise.
44971 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44973         [BZ #13717]
44974         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44975         Change to 2.6.0 everywhere.
44976         * sysdeps/unix/sysv/linux/configure: Regenerated.
44977         * sysdeps/unix/sysv/linux/kernel-features.h
44978         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44979         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44980         kernel versions.
44981         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44982         (__ASSUME_FUTEX_REQUEUE): Remove.
44983         (__ASSUME_STATFS64): Define unconditionally.
44984         (__ASSUME_AT_SECURE): Likewise.
44985         (__ASSUME_CORRECT_SI_PID): Likewise.
44986         (__ASSUME_TGKILL): Define without depending on kernel version for
44987         i386.
44988         (__ASSUME_UTIMES): Likewise.
44989         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44990         kernel version.
44991         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44992         (__ASSUME_TMPFS_NAME): Likewise.
44993         * README: Update reference to Linux kernel versions.
44995 2012-08-02  Marek Polacek  <polacek@redhat.com>
44997         [BZ# 14150]
44998         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44999         libc_cv_asm_type_prefix with %.
45000         * configure: Regenerated.
45001         * include/libc-symbols.h: Remove comment about
45002         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45003         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45004         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45005         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45006         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45007         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45008         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45009         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45010         * elf/tst-unique2mod1.c: Likewise.
45011         * elf/tst-unique1mod2.c: Likewise.
45012         * elf/tst-unique1mod1.c: Likewise.
45013         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45014         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45015         Replace ASM_TYPE_DIRECTIVE with .type.
45016         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45017         * sysdeps/i386/sysdep.h: Likewise.
45018         * sysdeps/x86_64/sysdep.h: Likewise.
45019         * sysdeps/sh/sysdep.h: Likewise.
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45021         Do not define ASM_TYPE_DIRECTIVE.
45022         * sysdeps/powerpc/sysdep.h: Likewise.
45023         * sysdeps/powerpc/powerpc32/sysdep.h:
45024         Replace ASM_TYPE_DIRECTIVE with .type.
45025         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45026         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45027         * sysdeps/i386/fpu/e_powf.S: Likewise.
45028         * sysdeps/i386/fpu/e_expl.S: Likewise.
45029         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45030         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45031         * sysdeps/i386/fpu/e_pow.S: Likewise.
45032         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45033         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45034         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45035         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45036         * sysdeps/i386/fpu/e_log2.S: Likewise.
45037         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45038         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45039         * sysdeps/i386/fpu/e_powl.S: Likewise.
45040         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45041         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45042         * sysdeps/i386/fpu/e_logl.S: Likewise.
45043         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45044         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45045         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45046         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45047         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45048         * sysdeps/i386/fpu/e_log.S: Likewise.
45049         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45050         * sysdeps/i386/fpu/e_logf.S: Likewise.
45051         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45052         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45053         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45054         * sysdeps/i386/fpu/e_log10.S: Likewise.
45055         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45056         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45057         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45058         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45059         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45060         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45061         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45062         * sysdeps/i386/i686/strtok.S: Likewise.
45063         * sysdeps/i386/i386-mcount.S: Likewise.
45064         * sysdeps/i386/strtok.S: Likewise.
45065         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45066         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45067         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45068         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45069         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45070         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45071         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45072         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45073         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45074         * sysdeps/x86_64/_mcount.S: Likewise.
45075         * sysdeps/x86_64/strtok.S: Likewise.
45076         * sysdeps/sh/_mcount.S: Likewise.
45078 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45080         * libio/iofopen.c: Include <fcntl.h>.
45081         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45082         (_IO_fopen64, fopen64): Define as aliases.
45083         * libio/iofopen64.c: Include <fcntl.h>.
45084         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45085         Conditionalize body on this.
45086         * sysdeps/wordsize-64/iofopen.c: File removed.
45087         * sysdeps/wordsize-64/iofopen64.c: File removed.
45089 2012-08-01  Marek Polacek  <polacek@redhat.com>
45091         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45092         Use dlfcn directly instead of a variable.
45093         (binfmt-subdir): Do not define.
45094         (dlfcn): Likewise.
45096 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45098         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45099         Remove all definitions.
45100         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45101         <kernel-features.h>.
45102         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45103         (miss_F_GETOWN_EX): Remove all definitions.
45104         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45105         macro definition.
45106         [!__ASSUME_FCNTL64]: Remove conditional code.
45107         [__ASSUME_FCNTL64]: Make code unconditional.
45108         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45109         <kernel-features.h>.
45110         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45111         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45112         (lockf64) [__NR_fcntl64]: Make code unconditional.
45113         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45115         * sysdeps/unix/sysv/linux/kernel-features.h
45116         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45117         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45118         Make code unconditional.
45119         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45120         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45122         [__NR_vfork]: Make code unconditional.
45123         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45124         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45126         [__NR_vfork]: Make code unconditional.
45127         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45128         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45130 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45132         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45133         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45135         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45136         Define mkstemp64 as an alias.
45137         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45138         Define mkstemps64 as an alias.
45139         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45140         Define mkostemp64 as an alias.
45141         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45142         Define mkostemps64 as an alias.
45143         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45144         Conditionalize body on this.
45145         * misc/mkostemp64.c: Likewise.
45146         * misc/mkostemps64.c: Likewise.
45147         * misc/mkstemps64.c: Likewise.
45148         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45149         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45150         * sysdeps/wordsize-64/mkostemp.c: File removed.
45151         * sysdeps/wordsize-64/mkstemp.c: File removed.
45152         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45153         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45154         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45155         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45157         [BZ #14138]
45158         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45159         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45160         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45161         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45163         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45164         compat_symbol macros from <shlib-compat.h> rather than the underlying
45165         default_symbol_version and symbol_version macros, so that DEFAULT
45166         lines in shlib-versions are respected.
45167         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45169 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45171         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45172         Declare with warn_unused_result.
45173         (setgid, setregid, setegid, setresgid): Likewise.
45174         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45175         Likewise.
45176         * WUR-REPORT: Remove set*id functions.
45178 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45180         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45182 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45184         [BZ #10191]
45185         * include/sys/socket.h (__libc_accept, __libc_accept4):
45186         Add attribute_hidden.
45187         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45189         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45190         use of PTR_MANGLE.
45191         * inet/getnetgrent_r.c (setup): Likewise.
45193         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45195 2012-07-31  David S. Miller  <davem@davemloft.net>
45197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45199 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45201         [BZ #13629]
45202         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45203         value between 1.0 and 2.0 and smaller part has absolute value less
45204         than 1.0.
45205         * math/s_clog10.c (__clog10): Likewise.
45206         * math/s_clog10f.c (__clog10f): Likewise.
45207         * math/s_clog10l.c (__clog10l): Likewise.
45208         * math/s_clogf.c (__clogf): Likewise.
45209         * math/s_clogl.c (__clogl): Likewise.
45210         * math/libm-test.inc (clog_test): Add more tests.
45211         (clog10_test): Likewise.
45212         * sysdeps/i386/fpu/libm-test-ulps: Update.
45213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45215 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45217         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45218         Exit with zero in case no suitable GID is found, and write a
45219         message to standard error.
45221 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45223         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45224         rather than to 1.
45225         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45226         (MAXPATHLEN): Removed.
45227         (NOGROUP, NODEV): New macros.
45228         (setbit, clrbit, isset, isclr): New macros.
45229         (howmany, roundup, powerof2): New macros.
45230         (DEV_BSIZE): New macro.
45232         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45233         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45235         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45236         definition on [!__NO_LONG_DOUBLE_MATH].
45238         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45239         PTR_MANGLE and PTR_DEMANGLE.
45241         * socket/accept4.c (accept4): Rename to __libc_accept4.
45242         Define accept4 as a weak alias.
45244         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45245         on [_DIRENT_HAVE_D_TYPE].
45246         * io/ftw.c (ftw_dir): Likewise.
45248         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45250         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45252         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45253         Use the BSD numbers rather than the arbitrary ones we had.
45254         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45255         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45256         (SIGXCPU, SIGXFSZ): New macros.
45257         (_NSIG): Now 32.
45259         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45260         initializer on [_LIBC_REENTRANT].
45262         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45263         definitions inside [_POSIX_MAPPED_FILES].
45265         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45267         * dirent/opendir.c: Include <fcntl.h>.
45269         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45270         (__libc_getspecific): Likewise.
45271         (__libc_key_create): Likewise.
45273         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45274         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45275         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45276         (tmpfile64): Define as alias.
45277         * sysdeps/wordsize-64/tmpfile.c: File removed.
45278         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45279         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45280         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45282         * stdio-common/vfscanf.c: Include <stdbool.h>.
45283         * nss/makedb.c: Likewise.
45284         * stdio-common/_i18n_number.h: Likewise.
45285         * argp/argp-help.c: Likewise.
45286         * posix/wordexp.c: Likewise.
45287         * sysdeps/posix/spawni.c: Likewise.
45288         * nss/nss_files/files-initgroups.c: Likewise.
45289         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45290         * nss/nss_files/files-initgroups.c: Likewise.
45291         * nss/nss_db/db-netgrp.c: Likewise.
45292         * nss/nss_db/db-initgroups.c: Likewise.
45293         * io/fchmodat.c: Include <sys/stat.h>.
45295         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45296         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45298         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45299         [HAVE_MMAP].
45301         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45302         Add multiple inclusion protection.
45304 2012-07-27  David S. Miller  <davem@davemloft.net>
45306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45308 2012-07-27  Gary Benson  <gbenson@redhat.com>
45310         [BZ #14298]
45311         * elf/rtld.c: Include <stap-probe.h>.
45312         (dl_main): Added static probes "init_start" and "init_complete".
45313         * elf/dl-load.c: Include <stap-probe.h>.
45314         (lose): Take new parameter "nsid".
45315         Added static probe "map_failed".
45316         (_dl_map_object_from_fd): Pass namespace id to lose.
45317         Added static probe "map_start".
45318         (open_verify): Pass namespace id to lose.
45319         * elf/dl-open.c: Include <stap-probe.h>.
45320         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45321         and "reloc_complete".
45322         * elf/dl-close.c: Include <stap-probe.h>.
45323         (_dl_close_worker): Added static probes "unmap_start" and
45324         "unmap_complete".
45325         * elf/rtld-debugger-interface.txt: New file documenting the above.
45327 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45329         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45330         rather than a string variable.
45331         * sunrpc/rpc_main.c (h_output): Likewise.
45332         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45334 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45336         * inet/check_native.c: New file.
45338 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45340         [BZ #13629]
45341         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45342         if larger part has absolute value 1.0.
45343         * math/s_clog10.c (__clog10): Likewise.
45344         * math/s_clog10f.c (__clog10f): Likewise.
45345         * math/s_clog10l.c (__clog10l): Likewise.
45346         * math/s_clogf.c (__clogf): Likewise.
45347         * math/s_clogl.c (__clogl): Likewise.
45348         * math/libm-test.inc (clog_test): Add more tests.
45349         (clog10_test): Likewise.
45350         * sysdeps/i386/fpu/libm-test-ulps: Update.
45351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45353         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45354         (pltexit): Likewise.
45355         (La_regs): Likewise.
45356         (La_retval): Likewise.
45357         (int_retval): Likewise.
45358         Update #error for removed macros to refer only to definitions in
45359         tst-audit.h.
45360         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45361         macro.
45362         (pltexit): Likewise.
45363         (La_regs): Likewise.
45364         (La_retval): Likewise.
45365         (int_retval): Likewise.
45366         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45367         macro.
45368         (pltexit): Likewise.
45369         (La_regs): Likewise.
45370         (La_retval): Likewise.
45371         (int_retval): Likewise.
45372         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45373         macro.
45374         (pltexit): Likewise.
45375         (La_regs): Likewise.
45376         (La_retval): Likewise.
45377         (int_retval): Likewise.
45378         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45379         macro.
45380         (pltexit): Likewise.
45381         (La_regs): Likewise.
45382         (La_retval): Likewise.
45383         (int_retval): Likewise.
45384         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45385         macro.
45386         (pltexit): Likewise.
45387         (La_regs): Likewise.
45388         (La_retval): Likewise.
45389         (int_retval): Likewise.
45390         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45391         macro.
45392         (pltexit): Likewise.
45393         (La_regs): Likewise.
45394         (La_retval): Likewise.
45395         (int_retval): Likewise.
45396         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45397         macro definitions in tst-audit.h.
45398         * sysdeps/i386/tst-audit.h: New file.
45399         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45400         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45401         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45402         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45403         * sysdeps/sh/tst-audit.h: Likewise.
45404         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45405         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45406         * sysdeps/x86_64/tst-audit.h: Likewise.
45408 2012-07-26  Andreas Jaeger  <aj@suse.de>
45410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45411         ptrace.
45413         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45414         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45415         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45416         PTRACE_O_MASK.
45417         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45418         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45419         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45421         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45422         value.
45424         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45425         _sigsys.
45426         (si_call_addr, si_syscall, si_arch): Define new macro.
45427         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45428         _sigsys.
45429         (si_call_addr, si_syscall, si_arch): Define new marcro.
45430         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45431         _sigsys.
45432         (si_call_addr, si_syscall, si_arch): Define new macro.
45433         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45434         _sigsys.
45435         (si_call_addr, si_syscall, si_arch): Define new macro.
45437 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45439         [BZ #13717]
45440         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45441         Change to 2.4.21 where previously 2.4.1.
45442         * sysdeps/unix/sysv/linux/configure: Regenerated.
45443         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45444         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45445         Linux kernel version.
45446         (__ASSUME_STD_AUXV): Remove.
45447         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45448         kernel version.
45449         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45450         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45451         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45452         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45453         (__ASSUME_NETLINK_SUPPORT): Likewise.
45454         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45455         (__no_netlink_support): Remove conditional definition.
45456         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45457         Remove.
45458         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45459         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45460         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45461         (if_nameindex_ioctl): Remove.
45462         (if_nameindex_netlink): Do not handle __no_netlink_support.
45463         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45464         code.
45465         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45466         Remove conditional code.
45467         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45468         code.
45469         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45470         unconditional.
45471         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45472         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45473         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45474         Remove.
45475         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45476         [!__ASSUME_STD_AUXV]: Remove conditional code.
45477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45478         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45479         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45481         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45482         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45483         code.
45484         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45486         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45487         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45488         conditional code.
45489         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45491         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45492         code.
45493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45494         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45495         conditional code.
45496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45497         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45498         code unconditional.
45499         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45500         conditional code.
45501         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45502         unconditional.
45503         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45504         conditional code.
45505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45506         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45507         unconditional.
45508         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45509         conditional code.
45510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45511         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45512         code unconditional.
45513         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45514         conditional code.
45515         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45516         unconditional.
45517         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45518         conditional code.
45519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45520         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45521         code unconditional.
45522         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45523         conditional code.
45524         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45525         unconditional.
45526         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45527         conditional code.
45529 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45531         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45532         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45533         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45534         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45535         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45536         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45537         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45538         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45539         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45540         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45541         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45542         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45543         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45544         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45545         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45546         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45547         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45548         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45549         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45551         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45552         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45553         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45555 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45557         * Versions.def: Add GLIBC_2.17.
45558         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45559         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45560         Introduce __libc_secure_getenv.
45561         * stdlib/Versions (2.17): Add secure_getenv
45562         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45563         * stdlib/secure-getenv.c: Rename __secure_getenv to
45564         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45565         symbol __secure_getenv for GLIBC_2.0.
45566         * stdlib/tst-secure-getenv.c: New.
45567         * stdlib/Makefile (tests): Add testcase.
45568         * manual/startup.texi (Environment Access): Document
45569         secure_getenv.
45570         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45571         __libc_secure_getenv.
45572         * inet/ruserpass.c (ruserpass): Likewise.
45573         * malloc/mtrace.c (mtrace): Likewise.
45574         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45575         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45576         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45577         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45578         HAVE_SECURE_GETENV.
45579         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45580         __secure_getenv to __libc_secure_getenv.
45581         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45583         Likewise.
45584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45585         Likewise.
45586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45588         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45594 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45597         (struct La_i86_retval): Likewise.
45598         (struct La_x86_64_regs): Likewise.
45599         (struct La_x86_64_retval): Likewise.
45600         (struct La_x32_regs): Likewise.
45601         (struct La_x32_retval): Likewise.
45602         (struct La_ppc32_regs): Likewise.
45603         (struct La_ppc32_retval): Likewise.
45604         (struct La_ppc64_regs): Likewise.
45605         (struct La_ppc64_retval): Likewise.
45606         (struct La_sh_regs): Likewise.
45607         (struct La_sh_retval): Likewise.
45608         (struct La_s390_32_regs): Likewise.
45609         (struct La_s390_32_retval): Likewise.
45610         (struct La_s390_64_regs): Likewise.
45611         (struct La_s390_64_retval): Likewise.
45612         (struct La_sparc32_regs): Likewise.
45613         (struct La_sparc32_retval): Likewise.
45614         (struct La_sparc64_regs): Likewise.
45615         (struct La_sparc64_retval): Likewise.
45616         (struct audit_ifaces): Remove architecture-specific pltenter and
45617         pltexit members.
45618         * sysdeps/i386/ldsodefs.h: New file.
45619         * sysdeps/powerpc/ldsodefs.h: Likewise.
45620         * sysdeps/s390/ldsodefs.h: Likewise.
45621         * sysdeps/sh/ldsodefs.h: Likewise.
45622         * sysdeps/sparc/ldsodefs.h: Likewise.
45623         * sysdeps/x86_64/ldsodefs.h: Likewise.
45625 2012-07-25  Marek Polacek  <polacek@redhat.com>
45627         [BZ #6808]
45628         * math/libm-test.inc (yn_test): Add another test.
45629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45630         to ERANGE when the result is +-Inf.
45631         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45632         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45633         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45634         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45636 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45638         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45639         equal to 0.
45640         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45641         clock_t.
45642         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45644 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45646         * configure.in <sysdeps resolving>: Correct printing
45647         Implies_before.
45648         * configure: Regenerate.
45650 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45652         * math/w_ilogb.c: Include <limits.h>.
45653         * math/w_ilogbl.c: Likewise.
45655 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45657         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45658         va_copy.  Document allowing for unavailable va_copy only as
45659         pre-C99 compatibility.
45660         * manual/string.texi (Copying and Concatenation): Use va_copy
45661         instead of __va_copy in concat example.
45663 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45665         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45666         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45667         it if not null.
45669         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45670         with O_NOLINK passed to __file_name_lookup.
45672         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45673         with O_NOLINK passed to __file_name_lookup.
45675         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45676         negative N or less than NGIDS.
45678         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45679         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45680         enough.  Use memcpy instead of strncpy.
45682 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45684         * elf/Makefile (check-data): Remove.
45685         (localplt.data): New vpath directive.
45686         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45687         instead of $(check-data).
45688         * scripts/data/localplt-generic.data: Move to ...
45689         * sysdeps/generic/localplt.data: ... here.
45690         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45691         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45692         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45694         ... here.
45695         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45697         ... here.
45698         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45700         ... here.
45701         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45703         ... here.
45704         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45706         ... here.
45707         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45709         ... here.
45711 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45713         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45714         PPC32 and PPC64 files.
45715         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45716         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45718 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45720         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45721         __makecontext_ret to ...
45722         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45723         ... here and call exit if uc_link is NULL.  New file.
45724         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45725         __makecontext_ret.S.
45726         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45727         __makecontext_ret to ...
45728         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45729         ... here and call exit if uc_link is NULL.  New file.
45730         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45731         __makecontext_ret.S.
45733 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45735         * elf/elf.h (R_390_IRELATIVE): New definition.
45736         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45737         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45738         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45739         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45740         (elf_machine_lazy_rel): Likewise.
45741         * sysdeps/s390/dl-irel.h: New file.
45742         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45743         * sysdeps/s390/s390-64/memset.S: New asm code.
45744         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45745         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45746         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45747         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45748         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45749         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45751         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45752         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45753         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45754         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45755         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45756         * sysdeps/s390/s390-32/memset.S: New asm code.
45757         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45759 2012-07-17  Marek Polacek  <polacek@redhat.com>
45761         [BZ #14349]
45762         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45763         * sysdeps/s390/s390-64/configure.in: Likewise.
45764         * sysdeps/sparc/configure.in: Likewise.
45765         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45766         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45767         * sysdeps/i386/configure.in: Likewise.
45768         * sysdeps/x86_64/configure.in: Likewise.
45769         * sysdeps/sh/configure.in: Likewise.
45770         * sysdeps/s390/s390-32/configure: Regenerated.
45771         * sysdeps/s390/s390-64/configure: Likewise.
45772         * sysdeps/x86_64/configure: Likewise.
45773         * sysdeps/sh/configure: Likewise.
45774         * sysdeps/powerpc/powerpc64/configure: Likewise.
45775         * sysdeps/powerpc/powerpc32/configure: Likewise.
45776         * sysdeps/sparc/configure: Likwise.
45777         * sysdeps/i386/configure: Likewise.
45779         * elf/dl-open.c: Comment fixes.
45781 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45783         * Makefile [CXX] (check-data): Remove.
45784         [CXX] (c++-types.data): New vpath directive.
45785         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45786         vpath.  Do not allow for C++ type data being missing.
45787         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45788         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45789         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45790         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45791         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45792         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45793         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45795         ... here.
45796         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45798         ... here.
45799         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45801         ... here.
45802         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45804         ... here.
45805         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45807         ... here.
45808         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45810         ... here.
45811         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45813         ... here.
45814         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45817         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45818         definitions to architecture-specific files.
45819         (TLS_IE): Likewise.
45820         (TLS_LD): Likewise.
45821         (TLS_GD): Likewise.
45822         * sysdeps/i386/tls-macros.h: New file.
45823         * sysdeps/powerpc/tls-macros.h: Likewise.
45824         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45825         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45826         * sysdeps/sh/tls-macros.h: Likewise.
45827         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45828         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45829         * sysdeps/x86_64/tls-macros.h: Likewise.
45831 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45833         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45834         zero value for regular exit case.
45836         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45837         (__start_context): Preserve zero value for regular exit case.
45839 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45840             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45842         * manual/setjmp.texi (setcontext): Clarify normal process
45843         termination when uc_link is the null pointer.
45844         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45845         exit call.
45847 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45849         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45850         preprocessor.  Test for each exception mask separately.
45852 2012-07-16  Andreas Jaeger  <aj@suse.de>
45854         * po/ru.po: Update from translation team.
45856 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45858         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45859         equal to 0.
45860         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45861         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45862         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45863         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45864         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45866 2012-07-13  Andreas Jaeger  <aj@suse.de>
45868         * po/fr.po: Update from translation team.
45870 2012-07-12  Marek Polacek  <polacek@redhat.com>
45872         [BZ #14173]
45873         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45875         loop condition.
45877 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45879         [BZ #13717]
45880         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45881         Change to 2.4.1 where previously 2.4.0.
45882         * sysdeps/unix/sysv/linux/configure: Regenerated.
45883         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45884         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45885         version.
45886         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45887         (__ASSUME_AT_CLKTCK): Remove.
45888         (__ASSUME_AT_PAGESIZE): Likewise.
45889         (__ASSUME_AT_XID): Likewise.
45890         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45891         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45892         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45893         unconditionally.
45894         (HAVE_AUX_PAGESIZE): Likewise.
45895         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45896         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45897         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45899 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45901         [BZ #14307]
45902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45903         the temporary buffer used to invoke __gethostbyname2_r,
45904         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45905         host_data / struct gaih_addrtuple.
45906         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45907         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45908         header file nss/nsswitch.h.
45909         * nss/nsswitch.h (global scope): Add definition of implementation
45910         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45911         resolv/nss_dns/dns-host.c).
45913 2012-07-11  Andreas Jaeger  <aj@suse.de>
45915         * po/fr.po: Update from translation team.
45917         * po/sv.po: Update from translation team
45918         * po/fr.po: Another update from translation team.
45920 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45922         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45923         for subnormals or multiply small sinh result by itself.
45924         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45927 2012-07-11  David S. Miller  <davem@davemloft.net>
45929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45931 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45933         [BZ #14347]
45934         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45935         (INTERNAL_MARK): Shift it here.
45937 2012-07-10  Marek Polacek  <polacek@redhat.com>
45939         [BZ #14151]
45940         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45941         libc_cv_asm_global_directive with .globl.
45942         * configure: Regenerated.
45943         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45944         with .globl.
45945         * sysdeps/i386/configure: Regenerated.
45946         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45947         with .globl.
45948         * sysdeps/x86_64/configure: Regenerated.
45949         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45950         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45951         * elf/tst-unique2mod2.c: Likewise.
45952         * elf/tst-unique2mod1.c: Likewise.
45953         * elf/tst-unique1mod2.c: Likewise.
45954         * elf/tst-unique1mod1.c: Likewise.
45955         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45956         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45957         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45958         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45959         * sysdeps/mach/sysdep.h: Likewise.
45960         * sysdeps/i386/sysdep.h: Likewise.
45961         * sysdeps/i386/i386-mcount.S: Likewise.
45962         * sysdeps/x86_64/_mcount.S: Likewise.
45963         * sysdeps/x86_64/sysdep.h: Likewise.
45964         * sysdeps/sh/_mcount.S: Likewise.
45965         * sysdeps/sh/sysdep.h: Likewise.
45966         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45967         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45968         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45969         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45970         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45971         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45972         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45973         * locale/localeinfo.h: Likewise.
45974         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45975         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45977 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45979         [BZ #14336]
45980         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45981         system".
45982         * manual/message.texi (The Uniforum approach): Likewise.
45983         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45984         (glibc iconv Implementation): Likewise.
45986 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45988         [BZ #14337]
45989         * math/s_clog.c (__clog): Avoid scaling a value down where that
45990         could result in underflow.
45991         * math/s_clog10.c (__clog10): Likewise.
45992         * math/s_clog10f.c (__clog10f): Likewise.
45993         * math/s_clog10l.c (__clog10l): Likewise.
45994         * math/s_clogf.c (__clogf): Likewise.
45995         * math/s_clogl.c (__clogl): Likewise.
45996         * math/libm-test.inc (clog_test): Add more tests.
45997         (clog10_test): Likewise.
45998         * sysdeps/i386/fpu/libm-test-ulps: Update.
45999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46001 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46003         [BZ #14283]
46004         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46005         by 7 not 8 to examine high bit of fractional part.
46007         [BZ #14042]
46008         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46009         for call to __mcount_internal.
46010         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46011         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46012         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46014 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46016         [BZ #14154]
46017         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46018         approximation for values within 0x1p-13f of an odd multiple of
46019         pi/4.
46020         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46021         exception.  Add more tests.
46022         * sysdeps/i386/fpu/libm-test-ulps: Update.
46024         [BZ #6778]
46025         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46026         inputs and return -1 for them.  Do not check for +Inf in case not
46027         reachable for +Inf.
46028         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46029         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46030         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46031         and return -1 for them.  Do not check for +Inf in case not
46032         reachable for +Inf.
46033         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46034         define.
46035         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46036         and return -1 for them.  Do not check for +Inf in case not
46037         reachable for +Inf.
46038         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46039         spurious underflow.
46040         * sysdeps/i386/fpu/libm-test-ulps: Update.
46041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46043 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46045         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46047 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46049         [BZ #14157]
46050         [BZ #14331]
46051         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46052         could result in spurious underflow.  Scale down values above
46053         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46054         * math/s_csqrtf.c (__csqrtf): Likewise.
46055         * math/s_csqrtl.c (__csqrtl): Likewise.
46056         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46057         spurious underflow.
46058         * sysdeps/i386/fpu/libm-test-ulps: Update.
46059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46061 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46063         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46064         xopen-msg.sed.
46065         * catgets/xopen-msg.awk: New file.
46066         * catgets/xopen-msg.sed: Removed.
46068         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46069         po2text.sed.
46070         * intl/po2test.awk: New file.
46071         * intl/po2test.sed: Removed.
46073 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46075         [BZ #14328]
46076         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46077         or multiply small sinh result by itself.
46078         * math/s_ctanf.c (__ctanf): Likewise.
46079         * math/s_ctanh.c (__ctanh): Likewise.
46080         * math/s_ctanhf.c (__ctanhf): Likewise.
46081         * math/s_ctanhl.c (__ctanhl): Likewise.
46082         * math/s_ctanl.c (__ctanl): Likewise.
46083         * math/libm-test.inc (ctan_test_tonearest): New function.
46084         (ctan_test_towardzero): Likewise.
46085         (ctan_test_downward): Likewise.
46086         (ctan_test_upward): Likewise.
46087         (ctanh_test_tonearest): Likewise.
46088         (ctanh_test_towardzero): Likewise.
46089         (ctanh_test_downward): Likewise.
46090         (ctanh_test_upward): Likewise.
46091         (main): Call these new functions.
46092         * sysdeps/i386/fpu/libm-test-ulps: Update.
46093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46095 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46097         * .gitignore: Delete /ports entry.
46099 2012-07-03  Andreas Jaeger  <aj@suse.de>
46101         * po/bg.po: Update from translation team.
46102         * po/cs.po: Likewise.
46103         * po/de.po: Likewise.
46104         * po/hr.po: Likewise.
46105         * po/nl.pl: Likewise.
46106         * po/pl.po: Likewise.
46107         * po/vi.po: Likewise.
46109 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46111         * Makeconfig [!+link] (+link-before-libc): New variable.
46112         [!+link] (+link-after-libc): Likewise.
46113         [!+link] (+link-tests): Likewise.
46114         [!+link] (+link): Define in terms of $(+link-before-libc) and
46115         $(+link-after-libc).
46116         [!+link-static] (+link-static-before-libc): New variable.
46117         [!+link-static] (+link-static-after-libc): Likewise.
46118         [!+link-static] (+link-static-tests): Likewise.
46119         [!+link-static] (+link-static): Define in terms of
46120         $(+link-static-before-libc) and $(+link-static-after-libc).
46121         [build-shared] (link-libc-before-gnulib): New variable.
46122         [build-shared] (link-libc-tests): Likewise.
46123         [build-shared] (link-libc): Define in terms of
46124         $(link-libc-before-gnulib).
46125         [!build-shared] (link-libc-tests): New variable.
46126         (link-libc-static-tests): New variable.
46127         [!gnulib] (gnulib-arch): New variable.
46128         [!gnulib] (gnulib-tests): Likewise.
46129         [!gnulib] (static-gnulib-arch): Likewise.
46130         [!gnulib] (static-gnulib-tests): Likewise.
46131         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46132         Define with "=" instead of ":=".
46133         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46134         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46135         * Rules (binaries-all-notests): New variable.
46136         (binaries-all-tests): Likewise.
46137         (binaries-static-notests): Likewise.
46138         (binaries-static-tests): Likewise.
46139         (binaries-all): Define using $(binaries-all-notests) and
46140         $(binaries-all-tests).
46141         (binaries-static): Define using $(binaries-static-notests) and
46142         $(binaries-static-tests).
46143         (binaries-shared-tests): New variable.
46144         (binaries-shared-notests): Likewise.
46145         (binaries-shared): Remove variable.
46146         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46147         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46148         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46149         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46150         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46151         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46152         * elf/Makefile (sln-modules): New variable.
46153         (extra-objs): Add $(sln-modules:=.o).
46154         (ldconfig-modules): Add static-stubs.
46155         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46156         * elf/static-stubs.c: New file.
46158         [BZ #14283]
46159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46160         by 7 not 8 to examine high bit of fractional part.  Use volatile
46161         variables when splitting into final array of floats if
46162         __FLT_EVAL_METHOD__ != 0.
46163         * math/libm-test.inc (cos_test): Add another test.
46164         (sin_test): Likewise.
46165         * sysdeps/i386/fpu/libm-test-ulps: Update.
46167         [BZ #14273]
46168         * math/libm-test.inc (cosh_test): Add more tests.
46170         * version.h (RELEASE): Set to "development".
46171         (VERSION): Set to "2.16.90".
46173 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46175         * NEWS: Update copyright. Remove last-updated date.
46176         Mention math library bug fixes and timezone data changes.
46177         * README: Mention GNU/Hurd, x32, and HPPA support status.
46179 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46181         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46183 2012-06-27  Andreas Jaeger  <aj@suse.de>
46185         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46187 2012-06-25  Andreas Jaeger  <aj@suse.de>
46189         * sysdeps/s390/fpu/libm-test-ulps: Update.
46191 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46192             Thomas Schwinge  <thomas@codesourcery.com>
46194         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46195         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46197         fanotify_mark.
46199 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46201         * sysdeps/mach/start.c: Remove file.
46202         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46203         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46204         * sysdeps/sh/init-first.c: Likewise.
46206         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46207         registers for frame unwinding purposes, add CFI directives.
46208         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46209         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46210         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46211         Likewise.
46213         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46214         __fortify_fail returning.
46215         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46217         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46218         sysdeps/sh/____longjmp_chk.S.
46219         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46220         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46221         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46222         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46224         * sysdeps/sh/abort-instr.h: New file.
46225         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46226         process in case exit returns.
46228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46229         initialize the GOT register before use.
46231         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46232         calculation of ARGC > 4.
46234         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46235         meaningful names to some local labels.
46237 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46238             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46240         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46241         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46242         (__arch_compare_and_exchange_val_16_acq): Likewise.
46243         (__arch_compare_and_exchange_val_32_acq): Likewise.
46244         (atomic_exchange_and_add): Fix gUSA sequence.
46245         (atomic_add): Likewise.
46246         (atomic_add_negative): Likewise.
46247         (atomic_add_zero): Likewise.
46248         (atomic_bit_test_set): Likewise.
46250 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46252         [BZ #13579]
46253         * include/link.h (struct link_map): Add l_free_initfini.
46254         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46255         l_initfini.
46256         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46257         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46258         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46259         set.
46261 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46263         * configure.in: Use AC_LANG_SOURCE.
46264         * configure: Regenerate.
46266 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46268         * configure.in (libc_cv_localstatedir): New substituted variable.
46269         * configure: Regenerated.
46270         * config.make.in (localstatedir): New variable, substituted from
46271         libc_cv_localstatedir.
46272         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46273         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46274         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46275         * sysdeps/gnu/configure: Regenerated.
46277 2012-06-21  Jeff Law  <law@redhat.com>
46279         [BZ #14277]
46280         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46281         free.  Simplify list management for _LIBC case.
46283 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46285         [BZ #14273]
46286         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46287         Clear sign bit of 64-bit integer value before comparing against
46288         overflow value.
46290         * sysdeps/mach/configure: Regenerated.
46292 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46294         [BZ #14278]
46295         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46297 2012-06-21  Jeff Law  <law@redhat.com>
46299         [BZ #13882]
46300         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46301         uint16_t for elements in the "seen" array to avoid char overflows.
46302         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46303         * elf/dl-open.c (dl_open_worker): Likewise.
46305 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46307         * scripts/list-sources.sh: Scan PORTS for translations.
46308         * po/libc.pot: Regenerated.
46310 2012-06-21  Andreas Jaeger  <aj@suse.de>
46312         [BZ #12194]
46313         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46314         warning.
46315         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46316         * bits/byteswap-16.h (__bswap_16): Likewise.
46317         * bits/byteswap.h (__bswap_constant_16): Likewise.
46319 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46321         [BZ #14117]
46322         * sysdeps/i386/fpu_control.h: Removed.
46323         * sysdeps/x86_64/fpu_control.h: Moved to ...
46324         * sysdeps/x86/fpu_control.h: Here.
46326         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46327         (_FPU_SETCW): Likewise.
46329 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46331         [BZ #14117]
46332         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46333         * sysdeps/x86/fpu/bits/mathinline.h: This.
46334         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46336         [BZ #14050]
46337         [BZ #14117]
46338         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46339         functions if __x86_64__ is defined.
46341 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46343         * string/endian.h: Add !__ASSEMBLER__ condition for including
46344         conversion interfaces.
46346 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46348         [BZ #14241]
46349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46350         of ABS(x) in calculating zero to negative powers other than odd
46351         integers.
46352         * math/libm-test.inc (pow_test): Add more tests.
46354 2012-06-15  Andreas Jaeger  <aj@suse.de>
46356         * manual/contrib.texi (Contributors): Update entry of Liubov
46357         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46358         Machado Filho.
46360 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46362         * string/string.h: Add __wur to GNU version of strerror_r.
46364 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46366         [BZ #14229]
46367         * string/Makefile (tests): Add tst-strtok_r.
46368         * string/tst-strtok_r.c: New file.
46369         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46370         RAX_LP/RDX_LP on SAVE_PTR.
46372 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46374         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46376 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46378         * libm_test.inc (csqrt_test): Allow more spurious underflow
46379         exceptions.
46380         (j0_test): Likewise.
46381         (j1_test): Likewise.
46382         (y0_test): Likewise.
46383         (y1_test): Likewise.
46385 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46387         * po/Makefile (libc.pot): Use UTF-8 charset.
46389 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46391         [BZ #14210]
46392         Suppress sign-conversion warning from FD_SET.
46393         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46394         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46395         not unsigned long int.
46396         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46398 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46400         [BZ #14050]
46401         [BZ #14117]
46402         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46403         __extern_always_inline instead of __extern_inline.
46404         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46405         (__signbit): Likewise.
46406         (__signbitl): Support C++ namespace.
46407         (lrintf): New inline function.
46408         (lrint): Likewise.
46409         (llrintf): Likewise.
46410         (llrint): Likewise.
46411         (fmaxf): Likewise.
46412         (fmax): Likewise.
46413         (fminf): Likewise.
46414         (fmin): Likewise.
46415         (rint): Likewise.
46416         (rintf): Likewise.
46417         (ceil): Likewise.
46418         (ceilf): Likewise.
46419         (floor): Likewise.
46420         (floorf): Likewise.
46421         (nearbyint): Likewise.
46422         (nearbyintf): Likewise.
46424 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46426         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46427         non-default versions.
46429 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46431         [BZ #14218]
46432         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46434 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46436         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46437         (FE_UPWARD, FE_DOWNWARD): Don't define.
46438         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46439         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46441         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46442         reading it.
46443         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46444         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46446 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46448         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46450         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46451         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46453 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46455         [BZ #14117]
46456         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46457         * sysdeps/i386/fpu/Implies: New file.
46458         * sysdeps/x86_64/fpu/Implies: Likewise.
46459         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46460         * sysdeps/x86/fpu/bits/fenv.h: This.
46462         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46463         __SSE_MATH__.
46465 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46467         [BZ #14134]
46468         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46469         character 0xffff that matches the last element of the
46470         conversion table.
46472 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46475         fmodl commit.
46477 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46480         values higher than 25.6283.
46482 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46484         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46485         subnormal exponent extraction and add some __builtin_expect.
46486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46487         Fix for subnormal mantissa calculation.
46489 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46491         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46492         cpu2 is -1 and errno is not ENOSYS.
46494 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46496         [BZ #14117]
46497         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46498         * sysdeps/x86/bits/string.h: This.
46499         * sysdeps/x86_64/bits/string.h: Removed.
46501         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46502         if not compiling for x86-64, but compiling for >= i486.
46504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46505         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46507         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46508         New macro from Linux kernel 3.4.0.
46509         (FP_XSTATE_MAGIC2): Likewise.
46510         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46511         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46512         (struct _fpx_sw_bytes): New struct.
46513         (struct _xsave_hdr): Likewise.
46514         (struct _ymmh_state): Likewise.
46515         (struct _xstate): Likewise.
46517         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46518         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46519         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46520         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46521         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46522         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46524         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46525         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46526         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46527         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46528         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46529         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46531 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46533         [BZ #13743]
46534         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46535         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46536         (sysdep_headers): Include sys/platform/ppc.h.
46537         * sysdeps/powerpc/test-gettimebase.c: Test for
46538         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46539         * manual/Makefile (appendices): Include platform.texi.
46540         * manual/contrib.texi (Contributors): Update @node pointers.
46541         * manual/maint.texi (Maintenance): Likewise.
46542         (Platform): New node.
46543         * manual/platform.texi: New file.  Document the new features.
46545 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46546             Jakub Jelinek  <jakub@redhat.com>
46548         [BZ #14188]
46549         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46550         where __builtin_expect is unavailable.
46552 2012-06-03  David S. Miller  <davem@davemloft.net>
46554         * stdlib/longlong.h: Updated from GCC.
46556 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46558         [BZ #14042]
46559         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46560         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46561         __mcount_internal.
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46563         (GLIBC_2.16): Likewise.
46565 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46567         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46569 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46572         (default-abi): New variable.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46574         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46575         variable.
46576         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46577         Likewise.
46578         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46579         Likewise.
46580         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46581         Likewise.
46583         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46584         definition.  Document in comment.
46586 2012-06-01  David S. Miller  <davem@davemloft.net>
46588         * stdlib/longlong.h: Updated from GCC.
46590 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46592         [BZ #14117]
46593         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46594         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46595         sys/debugreg.h sys/io.h here.
46596         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46597         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46598         sys/io.h.
46599         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46600         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46601         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46602         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46603         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46604         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46606         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46607         Define only if __x86_64__ is defined.
46609 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46611         [BZ #14048]
46612         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46613         Use int64_t for variable i.
46614         * math/libm-test.inc (fmod_test): Add more tests.
46616         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46617         z computation is not scheduled after fetestexcept.
46618         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46619         Use math_force_eval instead of asm to ensure calculation scheduled
46620         before exception test.
46621         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46622         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46624 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46627         computation is not scheduled after fetestexcept.
46629 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46631         [BZ #14117]
46632         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46633         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46635 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46637         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46638         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46640 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46642         [BZ #14117]
46643         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46644         <bits/wordsize.h>.
46645         (__WCHAR_MIN): Support __WORDSIZE == 64.
46646         (__WCHAR_MAX): Likewise.
46648         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46649         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46651         [BZ #14183]
46652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46653         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46655         [BZ #14117]
46656         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46659         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46660         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46662         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46663         Defined to 1 if __x86_64__ isn't defined.
46664         (_STAT_VER_LINUX_OLD): New.
46665         (st_atime): Remove duplicate.
46666         (st_mtime): Likewise.
46667         (st_ctime): Likewise.
46669 2012-05-31  David S. Miller  <davem@davemloft.net>
46671         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46672         entries.
46674 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46676         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46677         gen-libm-test.pl.
46679         [BZ #14132]
46680         * elf/dl-reloc.c: Include <_itoa.h>.
46681         (_dl_reloc_bad_type): Remove use of INTUSE.
46682         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46683         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46684         * stdio-common/psiginfo.c (psiginfo): Likewise.
46685         * stdio-common/psignal.c (psignal): Likewise.
46686         * string/strsignal.c (strsignal): Likewise.
46687         * include/signal.h (_sys_siglist): Declare hidden proto.
46688         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46689         INTVARDEF with libc_hidden_data_def.
46690         * stdio-common/itoa-udigits.c: Likewise.
46691         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46692         (_itoa_lower_digits_internal): Remove declaration.
46693         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46694         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46695         (_sys_sigabbrev_internal): Remove aliases.
46696         (_sys_siglist): Define hidden alias.
46698 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46701         bits/sysctl.h.
46703 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46705         [BZ #14117]
46706         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46707         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46709         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46710         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46711         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46712         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46713         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46714         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46716         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46717         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46718         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46720         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46721         with __addr.
46722         (insw): Likewise.
46723         (insl): Likewise.
46724         (outsb): Likewise.
46725         (outsw): Likewise.
46726         (outsl): Likewise.
46728         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46729         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46730         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46732         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46733         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46734         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46735         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46736         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46737         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46739         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46740         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46742         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46743         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46745         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46746         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46749         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46750         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46751         to ...
46752         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46754         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46755         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46756         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46758         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46759         for x86-64.
46760         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46762 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46764         * math/math.h (M_El): Use two more decimal places.
46765         (M_LOG2El): Likewise.
46766         (M_LOG10El): Likewise.
46767         (M_LN2l): Likewise.
46768         (M_LN10l): Likewise.
46769         (M_PIl): Likewise.
46770         (M_PI_2l): Likewise.
46771         (M_PI_4l): Likewise.
46772         (M_1_PIl): Likewise.
46773         (M_2_PIl): Likewise.
46774         (M_2_SQRTPIl): Likewise.
46775         (M_SQRT2l): Likewise.
46776         (M_SQRT1_2l): Likewise.
46778 2012-05-31  David S. Miller  <davem@davemloft.net>
46780         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46781         values between float registers.
46782         * sysdeps/sparc/sparc64/memset.S: Likewise.
46783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46785 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46787         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46788         -D_FORTIFY_SOURCE=1.
46789         (CPPFLAGS-tst-longjmp_chk.c): Define.
46790         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46791         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46792         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46793         CFLAGS-tst-wchar-h.c.
46795 2012-05-31  Marek Polacek  <polacek@redhat.com>
46797         [BZ #14132]
46798         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46799         __endmntent_internal): Remove declaration.
46800         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46801         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46802         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46804 2012-05-30  David S. Miller  <davem@davemloft.net>
46806         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46807         (___Q_simulate_exceptions): Use real FP ops rather than writing
46808         into the %fsr.
46809         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46810         Likewise.
46812 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46814         [BZ #14117]
46815         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46816         * sysdeps/x86/bits/xtitypes.h: This.
46818         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46819         * sysdeps/x86/bits/wordsize.h: This.
46821         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46822         * sysdeps/x86/bits/huge_vall.h: This.
46824         * sysdeps/i386/bits/select.h: Removed.
46825         * sysdeps/x86_64/bits/select.h: Renamed to ...
46826         * sysdeps/x86/bits/select.h: This.
46828         * sysdeps/i386/bits/setjmp.h: Removed.
46829         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46830         * sysdeps/x86/bits/setjmp.h: This.
46832         * sysdeps/i386/bits/mathdef.h: Removed.
46833         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46834         * sysdeps/x86/bits/mathdef.h: This.
46836 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46838         [BZ #14132]
46839         * include/sys/socket.h (__connect_internal)
46840         (__libc_sa_len_internal): Remove declaration.
46841         (__connect, __libc_sa_len): Declare hidden_proto.
46842         (SA_LEN): Remove use of INTUSE.
46843         * socket/connect.c: Add libc_hidden_def.
46844         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46845         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46846         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46847         alias.
46848         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46849         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46850         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46851         of adding _internal alias.
46853 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46855         [BZ #14117]
46856         * sysdeps/i386/bits/link.h: Removed.
46857         * sysdeps/i386/bits/linkmap.h: Likewise.
46858         * sysdeps/x86_64/bits/link.h: Renamed to ...
46859         * sysdeps/x86/bits/link.h: This.
46860         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46861         * sysdeps/x86/bits/linkmap.h: This.
46863         * sysdeps/i386/bits/endian.h: Removed.
46864         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46865         * sysdeps/x86/bits/endian.h: This.
46867         * sysdeps/i386/bits/byteswap.h: Removed.
46868         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46869         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46870         * sysdeps/x86/bits/byteswap.h: This.
46871         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46872         * sysdeps/x86/bits/byteswap-16.h: This.
46873         * sysdeps/i386/Implies: Add x86.
46874         * sysdeps/x86_64/Implies: Likewise.
46876 2012-05-30  David S. Miller  <davem@davemloft.net>
46878         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46879         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46880         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46881         (FP_TRAPPING_EXCEPTIONS): Define.
46882         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46883         (FP_TRAPPING_EXCEPTIONS): Define.
46884         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46885         subnormals only when inexact has been signalled or underflow
46886         exceptions are enabled.
46887         (_FP_PACK_CANONICAL): Likewise.
46889 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46891         [BZ #14183]
46892         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46893         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46895 2012-05-30  Richard Henderson  <rth@twiddle.net>
46897         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46898         with #ifndef NOT_IN_libc.
46900         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46901         marked to avoid plt entry.
46903 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46905         [BZ #14112]
46906         * Makeconfig (default-abi): New macro.
46907         (abi-includes): Likewise.
46908         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46909         $(abi-$(default-abi)-lib-soname) for soname if defined.
46910         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46911         abi-variants.
46912         * Makefile (installed-stubs): Likewise.
46913         * include/stubs-biarch.h: Removed.
46914         * scripts/lib-names.awk: Only handle one library at a time.
46915         * scripts/soversions.awk: Remove WORDSIZE support.
46916         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46917         entries.
46918         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46919         Removed.
46920         (syscall-list-default-condition): Likewise.
46921         (syscall-list-default-condition): Likewise.
46922         (syscall-list-includes): Likewise.
46923         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46924         syscall-list-* with abi-*.  Handle undefined abi-variants.
46925         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46926         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46927         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46928         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46929         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46930         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46931         Removed.
46932         (syscall-list-32-options): Likewise.
46933         (syscall-list-32-condition): Likewise.
46934         (syscall-list-64-options): Likewise.
46935         (syscall-list-64-condition): Likewise.
46936         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46937         macro.
46938         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46939         Renamed to ...
46940         (abi-*): This.
46941         (abi-64-ld-soname): New macro.
46942         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46943         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46944         Renamed to ...
46945         (abi-*): This.
46946         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46947         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46949 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46951         * sysdeps/unix/sysv/linux/kernel-features.h
46952         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46953         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46954         include <kernel-features.h>.
46955         [!__NR_ftruncate64]: Remove conditional code.
46956         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46957         [__NR_ftruncate64]: Make code unconditional.
46958         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46959         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46960         include <kernel-features.h>.
46961         [!__NR_ftruncate64]: Remove conditional code.
46962         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46963         [__NR_ftruncate64]: Make code unconditional.
46964         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46966         include <kernel-features.h>.
46967         [!__NR_ftruncate64]: Remove conditional code.
46968         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46969         [__NR_ftruncate64]: Make code unconditional.
46970         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46972         include <kernel-features.h>.
46973         [!__NR_ftruncate64]: Remove conditional code.
46974         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46975         [__NR_ftruncate64]: Make code unconditional.
46976         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46978         * configure.in (libc_cv_fpie): Weaken to a compile test using
46979         LIBC_TRY_CC_OPTION.
46980         * configure: Regenerated.
46982 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46988         Refreshed.
46989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46995         Refreshed.
46997 2012-05-27  David S. Miller  <davem@davemloft.net>
46999         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47000         (___Q_zero): New.
47001         (__Q_simulate_exceptions): Return void.  Change to simulate
47002         exceptions by writing into the %fsr.
47003         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47004         (__Qp_handle_exceptions): Likewise.
47005         (numbers): Delete.
47006         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47007         __Qp_handle_exceptions.
47008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47009         __Qp_handle_exceptions.
47010         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47011         as unused and give dummy FP_RND_NEAREST initializer.
47012         (FP_INHIBIT_RESULTS): Define.
47013         (___Q_simulate_exceptions): Update declaration.
47014         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47015         formatting.
47016         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47017         as unused and give dummy FP_RND_NEAREST initializer.
47018         (__Qp_handle_exceptions): Update declaration.
47019         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47020         formatting.
47022 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47024         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47025         the temporary FPU control word.
47026         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47027         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47028         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47029         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47030         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47031         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47032         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47033         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47034         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47035         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47036         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47038 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47040         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47041         fields.
47043 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47045         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47046         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47047         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47048         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47049         Likewise.
47050         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47051         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47052         Likewise.
47054 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47056         * po/h.po: Update from translation team.
47058 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47060         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47062         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47063         handling of denormals.
47064         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47065         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47066         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47067         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47071         Likewise.
47073 2012-05-26  Marek Polacek  <polacek@redhat.com>
47075         [BZ #14152]
47076         * math/libm-test.inc (fma_test): Don't always expect underflow
47077         exception.
47079 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47081         [BZ #12416]
47082         * elf/tst-execstack.c: Include stackinfo.h.
47083         (do_test): Adjust test case to ensure that pthread_getattr_np
47084         behaviour remains the same after marking stack executable.
47086 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47088         * sysdeps/unix/sysv/linux/kernel-features.h
47089         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47090         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47091         kernel-features.h.
47092         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47093         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47094         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47095         kernel-features.h.
47096         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47097         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47099 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47101         * configure.in: Define the default includes to being none.
47102         * configure: Regenerated.
47104 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47106         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47107         * sysdeps/x86_64/setjmp.S: Likewise.
47108         * sysdeps/i386/bsd-setjmp.S: Likewise.
47109         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47110         * sysdeps/i386/setjmp.S: Likewise.
47111         * sysdeps/i386/__longjmp.S: Likewise.
47112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47113         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47115         * include/stap-probe.h: New file.
47116         * configure.in: Handle --enable-systemtap.
47117         * configure: Regenerated.
47118         * config.h.in (USE_STAP_PROBE): New #undef.
47119         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47120         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47121         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47123 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47125         [BZ #13717]
47126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47127         to 2.4.0 where earlier.
47128         * sysdeps/unix/sysv/linux/configure: Regenerated.
47129         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47130         <kernel-features.h>.
47131         [__ASSUME_32BITUIDS]: Make code unconditional.
47132         [!__ASSUME_32BITUIDS]: Remove conditional code.
47133         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47134         <kernel-features.h>.
47135         [__ASSUME_32BITUIDS]: Make code unconditional.
47136         [!__ASSUME_32BITUIDS]: Remove conditional code.
47137         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47138         [__ASSUME_32BITUIDS]: Make code unconditional.
47139         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47140         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
47177         <kernel-features.h>.
47178         [__ASSUME_32BITUIDS]: Make code unconditional.
47179         [!__ASSUME_32BITUIDS]: Remove conditional code.
47180         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47181         <kernel-features.h>.
47182         [__NR_setresgid] (__setresgid): Do not declare.
47183         [__ASSUME_32BITUIDS]: Make code unconditional.
47184         [!__ASSUME_32BITUIDS]: Remove conditional code.
47185         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47186         <kernel-features.h>.
47187         [__NR_setresuid] (__setresuid): Do not declare.
47188         [__ASSUME_32BITUIDS]: Make code unconditional.
47189         [!__ASSUME_32BITUIDS]: Remove conditional code.
47190         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47191         <kernel-features.h>.
47192         [__ASSUME_32BITUIDS]: Make code unconditional.
47193         [!__ASSUME_32BITUIDS]: Remove conditional code.
47194         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47195         <kernel-features.h>.
47196         [__ASSUME_32BITUIDS]: Make code unconditional.
47197         [!__ASSUME_32BITUIDS]: Remove conditional code.
47198         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
47207         <kernel-features.h>.
47208         [__ASSUME_32BITUIDS]: Make code unconditional.
47209         [!__ASSUME_32BITUIDS]: Remove conditional code.
47210         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47211         <kernel-features.h>.
47212         [__ASSUME_32BITUIDS]: Make code unconditional.
47213         [!__ASSUME_32BITUIDS]: Remove conditional code.
47214         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47215         <kernel-features.h>.
47216         [__ASSUME_32BITUIDS]: Make code unconditional.
47217         [!__ASSUME_32BITUIDS]: Remove conditional code.
47218         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47219         <kernel-features.h>.
47220         [__ASSUME_32BITUIDS]: Make code unconditional.
47221         [!__ASSUME_32BITUIDS]: Remove conditional code.
47222         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47223         <kernel-features.h>.
47224         [__ASSUME_32BITUIDS]: Make code unconditional.
47225         [!__ASSUME_32BITUIDS]: Remove conditional code.
47226         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47227         <kernel-features.h>.
47228         [__ASSUME_32BITUIDS]: Make code unconditional.
47229         [!__ASSUME_32BITUIDS]: Remove conditional code.
47230         * sysdeps/unix/sysv/linux/kernel-features.h
47231         (__ASSUME_SETRESUID_SYSCALL): Remove.
47232         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47233         (__ASSUME_32BITUIDS): Likewise.
47234         (__ASSUME_LDT_WORKS): Likewise.
47235         (__ASSUME_O_DIRECTORY): Likewise.
47236         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47237         architecture but not kernel version.
47238         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47239         (__ASSUME_MMAP2_SYSCALL): Likewise.
47240         (__ASSUME_STAT64_SYSCALL): Likewise.
47241         (__ASSUME_IPC64): Likewise.
47242         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47243         <kernel-features.h>.
47244         [__ASSUME_32BITUIDS]: Make code unconditional.
47245         [!__ASSUME_32BITUIDS]: Remove conditional code.
47246         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47247         <kernel-features.h>.
47248         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47249         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47250         132096]: Remove conditional code.
47251         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47252         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47253         <kernel-features.h>.
47254         [__ASSUME_32BITUIDS]: Make code unconditional.
47255         [!__ASSUME_32BITUIDS]: Remove conditional code.
47256         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47257         <kernel-features.h>.
47258         [__ASSUME_32BITUIDS]: Make code unconditional.
47259         [!__ASSUME_32BITUIDS]: Remove conditional code.
47260         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47261         <kernel-features.h>.
47262         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47263         unconditional.
47264         (__setresgid): Do not declare.
47265         [__ASSUME_32BITUIDS]: Make code unconditional.
47266         [!__ASSUME_32BITUIDS]: Remove conditional code.
47267         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47268         <kernel-features.h>.
47269         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47270         unconditional.
47271         (__setresuid): Do not declare.
47272         [__ASSUME_32BITUIDS]: Make code unconditional.
47273         [!__ASSUME_32BITUIDS]: Remove conditional code.
47274         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47275         <kernel-features.h>.
47276         [__ASSUME_32BITUIDS]: Make code unconditional.
47277         [!__ASSUME_32BITUIDS]: Remove conditional code.
47278         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47279         <kernel-features.h>.
47280         [__ASSUME_32BITUIDS]: Make code unconditional.
47281         [!__ASSUME_32BITUIDS]: Remove conditional code.
47283 2012-05-25  Richard Henderson  <rth@twiddle.net>
47285         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47286         dl_hwcap to ifunc resolver.
47287         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47288         elf_ifunc_invoke.
47289         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47290         dl_hwcap to ifunc resolver.
47291         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47293 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47295         [BZ #14153]
47296         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47297         for |x| <= 2**-26, not 2**-57.
47298         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47299         exception.
47301 2012-05-24  Jeff Law  <law@redhat.com>
47303         * stdio-common/Makefile (tests): Add bug25.
47304         * stdio-common/bug25.c: New test.
47306 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47308         [BZ #13576]
47309         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47310         multiple of MALLOC_ALIGNMENT in size.
47311         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47313 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47315         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47316         Require >= 256.
47317         (FILENAME_MAX): Use macro-int-constant.
47318         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47319         (_IOFBF): Use macro-int-constant.
47320         (_IOLBF): Likewise.
47321         (_IONBF): Likewise.
47322         (SEEK_CUR): Likewise.
47323         (SEEK_END): Likewise.
47324         (SEEK_SET): Likewise.
47325         (TMP_MAX): Likewise.
47326         (EOF): Use macro-int-constant.  Require < 0.
47327         (NULL): Use macro-constant.  Require == 0.
47328         (stdin): Require type to be FILE *.
47329         (stdout): Likewise.
47330         (stderr): Likewise.
47331         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47332         macro-int-constant.
47333         (EXIT_SUCCESS): Likewise.
47334         (NULL): Use macro-constant.  Require == 0.
47335         (RAND_MAX): Use macro-int-constant.
47336         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47337         [C99-based standards] (strtof): Require function.
47338         [C99-based standards] (strtold): Likewise.
47339         [C99-based standards] (strtoll): Likewise.
47340         [C99-based standards] (strtoull): Likewise.
47341         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47342         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47343         [ISO || ISO99 || ISO11] (math.h): Likewise.
47344         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47345         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47346         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47348 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47350         [BZ #14132]
47351         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47352         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47353         * intl/dgettext.c (DCGETTEXT): Likewise.
47354         * intl/gettext.c (DCGETTEXT): Likewise.
47355         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47356         * posix/regex_internal.h (gettext): Likewise.
47357         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47358         Remove declaration.
47359         * include/argz.h (__argz_count_internal)
47360         (__argz_stringify_internal): Remove declaration.
47361         (__argz_count, __argz_stringify): Declare hidden proto.
47362         * intl/dcgettext.c: Remove use of INTDEF.
47363         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47364         * string/argz-stringify.c: Likewise.
47365         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47366         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47367         Declare hidden proto.
47368         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47369         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47370         Declare hidden proto.
47371         * include/stdio.h (__asprintf_internal): Don't declare.
47372         (__asprintf): Don't define as macro.  Declare hidden proto.
47373         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47374         (__fsetlocking): Declare hidden proto.
47375         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47376         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47377         hidden proto.
47378         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47379         (_IO_setlinebuf): Remove use of INTUSE.
47380         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47381         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47382         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47383         Remove declaration.
47384         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47385         (_IO_do_flush): Remove use of INTUSE.
47386         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47387         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47388         (_IO_adjust_column, _IO_least_wmarker)
47389         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47390         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47391         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47392         (_IO_default_doallocate, _IO_wdefault_doallocate)
47393         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47394         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47395         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47396         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47397         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47398         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47399         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47400         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47401         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47402         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47403         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47404         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47405         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47406         proto.
47407         (_IO_flush_all_internal, _IO_adjust_column_internal)
47408         (_IO_default_uflow_internal, _IO_default_finish_internal)
47409         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47410         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47411         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47412         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47413         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47414         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47415         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47416         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47417         (_IO_file_close_internal, _IO_file_close_it_internal)
47418         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47419         (_IO_file_init_internal, _IO_file_attach_internal)
47420         (_IO_file_fopen_internal, _IO_file_read_internal)
47421         (_IO_file_sync_internal, _IO_file_seek_internal)
47422         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47423         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47424         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47425         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47426         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47427         (_IO_list_all_internal, _IO_link_in_internal)
47428         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47429         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47430         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47431         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47432         (_IO_do_write_internal, _IO_padn_internal)
47433         (_IO_getline_info_internal, _IO_getline_internal)
47434         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47435         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47436         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47437         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47438         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47439         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47440         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47441         with libc_hidden_ver, remove use of INTUSE.
47442         * libio/genops.c: Likewise.
47443         * libio/freopen.c: Likewise.
47444         * libio/freopen64.c: Likewise.
47445         * libio/iofclose.c: Likewise.
47446         * libio/iofdopen.c: Likewise.
47447         * libio/iofflush.c: Likewise.
47448         * libio/iofflush_u.c: Likewise.
47449         * libio/iofgets.c: Likewise.
47450         * libio/iofgets_u.c: Likewise.
47451         * libio/iofopen.c: Likewise.
47452         * libio/iofopncook.c: Likewise.
47453         * libio/iofread.c: Likewise.
47454         * libio/iofread_u.c: Likewise.
47455         * libio/ioftell.c: Likewise.
47456         * libio/iofwrite.c: Likewise.
47457         * libio/iogetline.c: Likewise.
47458         * libio/iogets.c: Likewise.
47459         * libio/iogetwline.c: Likewise.
47460         * libio/iopadn.c: Likewise.
47461         * libio/iopopen.c: Likewise.
47462         * libio/ioseekoff.c: Likewise.
47463         * libio/ioseekpos.c: Likewise.
47464         * libio/iosetbuffer.c: Likewise.
47465         * libio/iosetvbuf.c: Likewise.
47466         * libio/ioungetc.c: Likewise.
47467         * libio/ioungetwc.c: Likewise.
47468         * libio/iovdprintf.c: Likewise.
47469         * libio/iovsprintf.c: Likewise.
47470         * libio/iovsscanf.c: Likewise.
47471         * libio/memstream.c: Likewise.
47472         * libio/obprintf.c: Likewise.
47473         * libio/oldfileops.c: Likewise.
47474         * libio/oldiofclose.c: Likewise.
47475         * libio/oldiofdopen.c: Likewise.
47476         * libio/oldiofopen.c: Likewise.
47477         * libio/oldiopopen.c: Likewise.
47478         * libio/oldstdfiles.c: Likewise.
47479         * libio/putc.c: Likewise.
47480         * libio/setbuf.c: Likewise.
47481         * libio/setlinebuf.c: Likewise.
47482         * libio/stdfiles.c: Likewise.
47483         * libio/strops.c: Likewise.
47484         * libio/vasprintf.c: Likewise.
47485         * libio/vscanf.c: Likewise.
47486         * libio/vsnprintf.c: Likewise.
47487         * libio/vswprintf.c: Likewise.
47488         * libio/wfiledoalloc.c: Likewise.
47489         * libio/wfileops.c: Likewise.
47490         * libio/wgenops.c: Likewise.
47491         * libio/wmemstream.c: Likewise.
47492         * libio/wstrops.c: Likewise.
47493         * libio/__fpurge.c: Likewise.
47494         * libio/__fsetlocking.c: Likewise.
47495         * assert/assert.c: Likewise.
47496         * debug/fgets_chk.c: Likewise.
47497         * debug/fgets_u_chk.c: Likewise.
47498         * debug/fread_chk.c: Likewise.
47499         * debug/fread_u_chk.c: Likewise.
47500         * debug/gets_chk.c: Likewise.
47501         * debug/obprintf_chk.c: Likewise.
47502         * debug/vasprintf_chk.c: Likewise.
47503         * debug/vdprintf_chk.c: Likewise.
47504         * debug/vsnprintf_chk.c: Likewise.
47505         * debug/vsprintf_chk.c: Likewise.
47506         * malloc/mtrace.c: Likewise.
47507         * misc/error.c: Likewise.
47508         * misc/syslog.c: Likewise.
47509         * stdio-common/asprintf.c: Likewise.
47510         * stdio-common/fxprintf.c: Likewise.
47511         * stdio-common/getw.c: Likewise.
47512         * stdio-common/isoc99_fscanf.c: Likewise.
47513         * stdio-common/isoc99_scanf.c: Likewise.
47514         * stdio-common/isoc99_vfscanf.c: Likewise.
47515         * stdio-common/isoc99_vscanf.c: Likewise.
47516         * stdio-common/isoc99_vsscanf.c: Likewise.
47517         * stdio-common/printf-prs.c: Likewise.
47518         * stdio-common/printf_fp.c: Likewise.
47519         * stdio-common/printf_fphex.c: Likewise.
47520         * stdio-common/printf_size.c: Likewise.
47521         * stdio-common/putw.c: Likewise.
47522         * stdio-common/scanf.c: Likewise.
47523         * stdio-common/sprintf.c: Likewise.
47524         * stdio-common/tmpfile.c: Likewise.
47525         * stdio-common/vfprintf.c: Likewise.
47526         * stdio-common/vfscanf.c: Likewise.
47527         * stdlib/strfmon_l.c: Likewise.
47528         * sunrpc/openchild.c: Likewise.
47529         * sunrpc/xdr_stdio.c: Likewise.
47530         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47531         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47533 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47535         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47537         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47538         in the third column, to generate for the shared library an IFUNC
47539         that uses _dl_vdso_vsym.
47540         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47541         * Makeconfig (object-suffixes-noshared): New variable.
47543         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47544         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47545         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47546         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47548         [BZ #14132]
47549         * include/sys/time.h (__gettimeofday): Remove macro.
47550         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47551         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47552         Remove INTDEF.
47553         (__gettimeofday): Add libc_hidden_def.
47554         (gettimeofday): Add libc_hidden_weak.
47555         * sysdeps/mach/gettimeofday.c: Likewise.
47556         * sysdeps/posix/gettimeofday.c: Likewise.
47557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47558         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47559         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47560         (__gettimeofday_internal): Remove strong_alias.
47561         (__gettimeofday): Add libc_hidden_def.
47562         (gettimeofday): Add libc_hidden_weak.
47563         * sysdeps/unix/syscalls.list (gettimeofday):
47564         Remove __gettimeofday_internal alias.
47566 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47567             H.J. Lu  <hongjiu.lu@intel.com>
47569         [BZ #12495]
47570         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47571         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47572         (largebin_index_32_big): New.
47573         (largebin_index): Use it for 16-byte alignment.
47574         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47575         correction with front_misalign.
47577 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47581         Likewise.
47582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47583         Likewise.
47584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47585         Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47587         Likewise.
47588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47589         Likewise.
47590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47591         Likewise.
47592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47593         Likewise.
47594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47595         Likewise.
47596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47597         Likewise.
47598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47599         Likewise.
47600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47601         Likewise.
47602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47603         Likewise.
47605         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47606         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47608 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47610         [BZ #10846]
47611         [BZ #14036]
47612         * math/libm-test.inc (exp_test): Add test from bug 14036.
47613         (pow_test): Add test from bug 10846.
47615         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47616         and other flags.
47617         (special_function): Do not include flags in test name.
47618         (parse_args): Likewise.
47619         * sysdeps/i386/fpu/libm-test-ulps: Update.
47620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47621         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47622         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47625         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47626         exceptions.
47627         * math/libm-test.inc ("Philosophy"): Update comment about
47628         exception testing.
47629         (UNDERFLOW_EXCEPTION): New macro.
47630         (UNDERFLOW_EXCEPTION_OK): Likewise.
47631         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47632         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47633         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47634         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47635         (INVALID_EXCEPTION_OK): Update value.
47636         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47637         (OVERFLOW_EXCEPTION_OK): Likewise.
47638         (IGNORE_ZERO_INF_SIGN): Likewise.
47639         (test_exceptions): Handle underflow exceptions.
47640         (acos_test): Update for underflow exception expectations.
47641         (cexp_test): Likewise.
47642         (clog_test): Likewise.
47643         (clog10_test): Likewise.
47644         (csqrt_test): Likewise.
47645         (ctan_test): Likewise.
47646         (ctanh_test): Likewise.
47647         (exp_test): Likewise.
47648         (exp10_test): Likewise.
47649         (exp2_test): Likewise.
47650         (expm1_test): Likewise.
47651         (fma_test): Likewise.
47652         (j0_test): Likewise.
47653         (jn_test): Likewise.
47654         (nexttoward_test): Likewise.
47655         (pow_test): Likewise.
47656         (scalbn_test): Likewise.
47657         (scalbln_test): Likewise.
47658         (tan_test): Likewise.
47659         (y1_test): Likewise.
47660         * sysdeps/i386/fpu/libm-test-ulps: Update.
47661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47663 2012-05-23  David S. Miller  <davem@davemloft.net>
47665         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47666         (__libc_sigaction): Remove unused local variables.
47668 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47670         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47672 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47674         mktime: avoid signed integer overflow
47675         * time/mktime.c (__mktime_internal): Do not mishandle the case
47676         where diff == INT_MIN.
47678         mktime: simplify computation of average
47679         * time/mktime.c (ranged_convert): Use new time_t_avg function
47680         instead of rolling our own (probably-slower) code.
47682         mktime: do not assume signed right shift propagates sign bit
47683         * time/mktime.c (isdst_differ): New static function.
47684         (__mktime_internal): No need to normalize tm_isdst now.
47685         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47686         tm_isdst values.
47688         mktime: merge another wrapv change from gnulib
47689         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47690         from some compilers.
47692         mktime: remove incorrect attempt at unusual arithmetics
47693         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47694         The code didn't really work on such machines anyway.
47695         (TYPE_MINIMUM): Assume two's complement.
47696         (twos_complement_arithmetic): Verify that long_int and time_t
47697         are two's complement (or unsigned, in the latter case).
47699         mktime: check signed shifts on long_int and time_t, too
47700         * time/mktime.c (SHR): Check that shifts work as desired
47701         on the types long_int and time_t too, as SHR is used on
47702         such types.
47704         mktime: do not assume 'long' is wide enough
47705         * time/mktime.c (verify): Move decl up.
47706         (long_int): New type.
47707         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47708         to remove assumption in the code that 'long' is wide enough to
47709         store year values.  This assumption is not true on x32 and on
47710         some non-glibc platforms.
47712         mktime: merge wrapv change from gnulib
47713         * time/mktime.c (WRAPV): New macro.
47714         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47715         (guess_time_tm, __mktime_internal): Do not assume that signed
47716         integer overflow wraps around; modern compilers generate code
47717         where this assumption is no longer valid.
47719 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47721         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47722         Replace "jmp L(pseudo_end)" with "ret".
47723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47724         Likewise.
47726 2012-05-23  Andreas Jaeger  <aj@suse.de>
47728         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47729         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47731 2012-05-23  Andreas Jaeger  <aj@suse.de>
47732             Maximilian Attems  <max@stro.at>
47734         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47735         New macros.
47737 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47739         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47740         code so that pseudo_end is just ret and the stack pointer is
47741         correct also for static library in error case.
47743 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47745         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47746         move to syscalls.list.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47752         * manual/install.texi (Running make install): Do not mention Linux
47753         kernel version for which pt_chown is not needed.
47754         (Linux): Do not mention problems with nscd with 2.0 kernels.
47755         * INSTALL: Regenerated.
47757 2012-05-23  Andreas Jaeger  <aj@suse.de>
47759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47760         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47761         macro.
47762         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47764         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47765         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47766         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47767         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47768         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47769         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47770         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47771         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47772         * sysdeps/unix/sysv/linux/bits/in.h
47773         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47775 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47777         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47778         (PREPARE_VERSION): Just use assert instead, it will be elided
47779         under [NDEBUG] anyway.
47781 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47783         * sysdeps/unix/sysv/linux/Makefile: Include
47784         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47785         (sysdep_routines): Remove sysctl.
47786         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47787         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47788         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47789         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47790         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47792 2012-05-22  Andreas Jaeger  <aj@suse.de>
47794         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47795         that pseudo_end is just ret and the stack pointer is correct also
47796         for static library in error case.
47798 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47800         [BZ #14122]
47801         * nss/nsswitch.c (defconfig_entries): New variable.
47802         (__nss_database_lookup): Don't leak defconfig entries.
47803         (nss_parse_service_list): Don't leak on error paths.
47804         (free_database_entries): New function.
47805         (free_defconfig): New function.
47806         (free_mem): Move common code to free_database_entries.
47808 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47810         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47811         Add arch_prctl.
47812         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47814         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47815         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47817         New macro.
47818         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47819         (INTERNAL_SYSCALL_TYPES): Likewise.
47820         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47821         (LOAD_REGS_TYPES_[1-6]): Likewise.
47822         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47823         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47825 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47827         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47828         copysignl for GLIBC_2_0.
47829         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47830         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47832         logbl for GLIBC_2_0.
47833         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47834         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47836 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47838         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47839         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47841         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47842         Use "neg %eax".
47844         * time/mktime.c: Update copyright years.
47846 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47848         mktime: merge comment-quoting-style change from gnulib
47849         * time/mktime.c: Quote 'like this' in comments.
47850         The GNU coding standards suggest that we no longer quote `like this',
47851         as "`" and "'" are typically rendered asymmetrically nowadays.
47852         The typical gnulib style is to quote 'like this' when quoting
47853         code, and "like this" when quoting English.
47855         * time/mktime.c (compile-command): Add "-I.".
47857         mktime: merge mktime-internal.h change from gnulib
47858         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47860         mktime: merge time_r change from gnulib
47861         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47863         mktime: merge DEBUG change from gnulib
47864         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47865         case system <time.h> has a #define.
47867         mktime: merge <sys/types.h> change from gnulib
47868         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47869         since <time.t> is now guaranteed to define time_t.
47871         mktime: merge HAVE_CONFIG_H change from gnulib
47872         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47874 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47876         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47877         Use "neg %eax".
47879         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47880         __rlim_t cast.
47881         (struct rusage): Use anonymous union to pad each field to
47882         __syscall_slong_t.
47884 2012-05-21  David S. Miller  <davem@davemloft.net>
47886         * Makefules (o-iterator): Remove .s cases.
47887         (compile-command.s): Delete.
47888         (COMPILE.s): Delete.
47889         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47891 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47893         * configure.in (libc_cv_predef_stack_protector): Only consider
47894         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47895         * configure: Regenerated.
47897 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47900         New macro.  Use R*LP on int and pointer.
47901         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47902         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47903         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47904         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47906         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47907         [__WORDSIZE_TIME64_COMPAT32] instead of
47908         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47909         (struct utmp): Likewise.
47910         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47911         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47912         Renamed to ...
47913         (__WORDSIZE_TIME64_COMPAT32): This.
47914         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47915         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47916         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47917         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47918         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47919         (__WORDSIZE_TIME64_COMPAT32): New macro.
47921 2012-05-21  Andreas Jaeger  <aj@suse.de>
47923         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47924         only if [SHARED]. Add prototype for __wcschr_ia32.
47926 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47928         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47929         of %rbp unmolested in the jmp_buf while mangling the low bits.
47930         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47931         unmolested high bits of %rbp while demangling the low bits.
47932         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47934 2012-05-21  Andreas Jaeger  <aj@suse.de>
47936         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47937         * sunrpc/svc_simple.c: Use it for registerrpc.
47938         * sunrpc/xcrypt.c: Use it for passwd2des.
47940         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47942 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47944         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47945         Don't define if [__SYSCALL_WORDSIZE != 32].
47946         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47947         New macro.
47949 2012-05-21  Bruno Haible  <bruno@clisp.org>
47950             Andreas Jaeger  <aj@suse.de>
47952         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47953         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47954         inptr and inend for must_buffer_ch.
47955         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47956         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47957         * stdio-common/Makefile (tests): Remove bug15.
47958         (bug15-ENV): Remove macro.
47959         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47960         anymore.
47962 2012-05-19  Andreas Jaeger  <aj@suse.de>
47963             Roland McGrath  <roland@hack.frob.com>
47965         * manual/contrib.texi: Completely rewritten. It contains now an
47966         alphabetical list of contributors and their contributions.
47968 2012-05-21  Richard Henderson  <rth@twiddle.net>
47970         * misc/getauxval.c (__getauxval): Use unsigned long int.
47971         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47972         (getauxval): Use unsigned long int.
47974 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47976         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47978 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47980         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47981         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47982         __alignof__ (long double).
47984 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47988 2012-05-20  Richard Henderson  <rth@twiddle.net>
47990         * misc/getauxval.c: New file.
47991         * misc/sys/auxv.h: New file.
47992         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47993         (routines): Add getauxval.
47994         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47995         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47996         * elf/dl-sysdep.c (_dl_auxv): Remove.
47997         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47998         * elf/dl-support.c (_dl_auxv): New variable.
47999         (_dl_aux_init): Initialize it.
48000         * manual/startup.texi (Auxiliary Vector): New node.
48001         * sysdeps/generic/bits/hwcap.h: New file.
48002         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48003         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48004         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48005         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48006         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48009         Update.
48010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48013         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48019 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48023 2012-05-19  David S. Miller  <davem@davemloft.net>
48025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48027 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48029         [BZ #14123]
48030         * math/s_ccosh.c: Include <float.h>
48031         (__ccosh): Avoid internal overflow calculating sinh and cosh
48032         values before multiplying by sin and cos values.
48033         * math/s_ccoshf.c: Likewise.
48034         * math/s_ccoshl.c: Likewise.
48035         * math/s_csin.c: Likewise.
48036         * math/s_csinf.c: Likewise.
48037         * math/s_csinl.c: Likewise.
48038         * math/s_csinh.c: Likewise.
48039         * math/s_csinhf.c: Likewise.
48040         * math/s_csinhl.c: Likewise.
48041         * math/libm-test.inc (ccos_test): Add more tests.
48042         (ccosh_test): Likewise.
48043         (csin_test): Likewise.
48044         (csinh_test): Likewise.
48045         * sysdeps/i386/fpu/libm-test-ulps: Update.
48046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48048 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48050         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48051         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48053         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48055 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48057         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48058         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48059         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48060         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48061         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48062         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48063         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48064         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48065         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48066         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48067         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48068         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48069         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48070         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48071         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48072         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48073         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48074         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48075         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48076         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48077         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48078         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48079         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48080         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48081         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48082         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48083         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48084         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48085         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48086         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48087         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48089 2012-05-18  Andreas Jaeger  <aj@suse.de>
48091         * csu/.gitignore: Delete.
48093 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48095         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48096         (timex): Use __syscall_slong_t.
48098 2012-05-18  Andreas Jaeger  <aj@suse.de>
48099             Carlos O'Donell  <carlos_odonell@mentor.com>
48101         * manual/install.texi (Configuring and compiling): Update
48102         description about files modified in the source directory.
48103         * INSTALL: Regenerated.
48105 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48107         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48108         value.  Use "or" to set return value to -1.
48109         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48110         negate return value.
48112 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48114         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48115         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48116         failure if the compiler has Graphite support disabled.
48117         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48118         Likewise.
48119         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48120         (CFLAGS-memmove.c): Likewise.
48121         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48122         Likewise.
48124 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48126         * sysdeps/x86_64/x32/_itoa.h: New file.
48128         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48129         getdents system call only if kernel and user dirents have the
48130         same d_ino and d_off.
48132         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48133         LLONG_MAX != LONG_MAX.
48134         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48135         (_fitoa_word): Likewise.
48137         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48138         years.
48139         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48140         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48141         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48143         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48144         include <bits/wordsize.h>.  Check __x86_64__ instead of
48145         __WORDSIZE.
48146         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48147         if __x86_64__ is defined.  Use anonymous union on fpstate.
48149         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48150         anonymous union.
48152 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48154         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48155         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48156         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48157         Refer to _rtld_local_ro instead of _rtld_global_ro.
48158         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48159         Likewise.
48160         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48161         Likewise.
48162         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48163         Likewise.
48164         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48165         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48166         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48168         * sysdeps/powerpc/powerpc32/dl-machine.c
48169         (__elf_machine_runtime_setup) [PROF]: Don't reference
48170         _dl_prof_resolve.
48172 2012-05-18  Andreas Jaeger  <aj@suse.de>
48174         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48175         function only available for GCCs before 3.4 since GCC 3.4
48176         introduced a builtin.
48177         (lrint): Likewise.
48178         (llrintf): Likewise.
48179         (llrint): Likewise.
48180         (fmaxf): Likewise.
48181         (fmax): Likewise.
48182         (fminf): Likewise.
48183         (fmin): Likewise.
48184         (rint): Likewise.
48185         (rintf): Likewise.
48186         (nearbyint): Likewise.
48187         (nearbyintf): Likewise.
48188         (ceil): Likewise.
48189         (ceilf): Likewise.
48190         (floor): Likewise.
48191         (floorf): Likewise.
48193 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48195         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48196         on both fields and cast pointer to __syscall_ulong_t.
48198         * bits/types.h (__fsword_t): New type.
48199         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48200         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48201         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48202         (__FSWORD_T_TYPE): Likewise.
48203         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48204         (__FSWORD_T_TYPE): Likewise.
48205         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48206         (__FSWORD_T_TYPE): Likewise.
48207         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48208         (__FSWORD_T_TYPE): Likewise.
48209         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48210         __SWORD_TYPE with __fsword_t.
48211         (statfs64): Likewise.
48213 2012-05-17  David S. Miller  <davem@davemloft.net>
48215         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48217 2012-05-17  Andreas Jaeger  <aj@suse.de>
48219         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48220         warning.
48222 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48224         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48226 2012-05-17  Andreas Jaeger  <aj@suse.de>
48228         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48229         when it is used.
48231 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48233         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48235 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48237         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48238         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48240 2012-05-17  Andreas Jaeger  <aj@suse.de>
48241             Carlos O'Donell  <carlos_odonell@mentor.com>
48243         [BZ #14059]
48244         * sysdeps/x86_64/multiarch/init-arch.h
48245         (bit_YMM_Usable): Rename to...
48246         (bit_AVX_Usable): ... this.
48247         (bit_FMA4_Usable): New macro.
48248         (bit_XMM_state): New macro.
48249         (bit_YMM_state): New macro.
48250         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48251         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48252         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48253         (CPUID_OSXSAVE): New macro.
48254         (CPUID_AVX): New macro.
48255         (CPUID_FMA4): New macro.
48256         (index_YMM_Usable): Rename to...
48257         (index_AVX_Usable): ... this.
48258         (HAS_AVX): Use HAS_ARCH_FEATURE.
48259         (HAS_FMA4): Likewise.
48260         (HAS_YMM_USABLE): Remove.
48261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48262         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48263         are present.
48264         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48265         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48266         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48267         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48268         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48270 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48272         * math/libm-test.c: Support platforms without multiple rounding modes.
48273         * math/bug-nextafter.c: Support platforms without FP exceptions.
48274         * math/bug-nexttoward.c: Likewise.
48275         * math/test-fenv.c: Likewise.
48276         * math/test-misc.c: Likewise.
48277         * stdlib/bug-getcontext.c: Likewise.
48279 2012-05-17  Andreas Jaeger  <aj@suse.de>
48281         * manual/examples/search.c (critter_cmp): Change signature to
48282         avoid warnings.
48283         * manual/string.texi (Collation Functions): Likewise.
48285 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48287         * bits/types.h: Fold copyright years.
48288         * bits/typesizes.h: Likewise.
48289         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48293         * time/time.h: Likewise.
48295 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48297         [BZ #208]
48298         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48299         in instead of returning them.  Return void.
48300         (__libc_mallinfo): Accumulate over all arenas.
48301         (__malloc_stats): Adjust for change in int_mallinfo interface.
48303 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48305         [BZ #10375]
48306         * configure.in (NM): Add AC_CHECK_TOOL for it.
48307         (libc_extra_cflags): New substituted variable.
48308         Check for -fstack-protector being used implicitly.
48309         * configure: Regenerated.
48310         * config.make.in (config-extra-cflags): New variable,
48311         gets @libc_extra_cflags@.
48312         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48314         [BZ #10375]
48315         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48316         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48317         * configure: Regenerated.
48318         * config.make.in (CPPUNDEFS): New substituted variable.
48319         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48320         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48321         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48323 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48325         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48326         (mq_attr): Use __syscall_slong_t.
48328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48330         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48331         Check __x86_64__ instead of __WORDSIZE.
48332         (_STAT_VER_LINUX): Likewise.
48333         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48334         __syscall_ulong_t and __syscall_slong_t.
48335         (stat64): Likewise.
48337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48339         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48343         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48347         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48348         __syscall_ulong_t.
48350         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48351         include <bits/wordsize.h>.  Check __x86_64__ instead of
48352         __WORDSIZE.
48353         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48354         defined.
48355         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48358         include <bits/wordsize.h>.  Check __x86_64__ instead of
48359         __WORDSIZE.
48360         (user_regs_struct): Use "__extension__ unsigned long long"
48361         instead of "unsigned long" if __x86_64__ is defined.
48362         (user): Likewise.  Pad after pointer field if __ILP32__ is
48363         defined.
48365 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48367         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48368         versions 5 to 9.
48369         * configure: Regenerated.
48370         * manual/install.texi (texinfo): Increase version requirement to
48371         4.5 or later.
48372         * INSTALL: Regenerated.
48374         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48376 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48378         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48380         * sysdeps/x86_64/x32/ffs.c: New file.
48382         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48383         __syscall_ulong_t.
48384         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48385         defined.  Use __syscall_ulong_t.
48386         (shminfo): Use __syscall_ulong_t.
48387         (shm_info): Likewise.
48389         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48390         __syscall_ulong_t.
48392         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48393         <bits/wordsize.h>.
48394         (msgqnum_t): Use __syscall_ulong_t.
48395         (msglen_t): Likewise.
48396         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48397         __syscall_ulong_t.
48399         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48400         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48402         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48404         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48405         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48407         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48408         __syscall_slong_t.
48410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48411         include <bits/wordsize.h>.  Check __x86_64__ instead of
48412         __WORDSIZE.
48414         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48415         "unsigned long long int" if __x86_64__ is defined.
48416         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48418         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48419         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48420         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48422         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48423         <stdint.h>.
48424         (GET_PC): Cast to uintptr_t first.
48425         (GET_FRAME): Likewise.
48426         (GET_STACK): Likewise.
48428         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48429         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48430         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48431         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48432         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48433         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48434         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48435         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48436         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48437         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48438         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48439         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48440         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48441         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48442         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48443         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48444         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48445         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48446         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48447         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48448         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48449         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48450         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48451         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48452         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48453         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48454         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48456         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48458 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48460         * Makerules (+depfiles): Also collect depfiles from .oS in
48461         $(extra-objs).
48462         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48463         .oS, $(libnldbl-routines)).
48465         * Makerules (native-compile-mkdep-flags): Define.
48466         * sunrpc/Makefile (extra-objs): Add $(addprefix
48467         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48468         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48469         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48470         calling $(make-target-directory).
48472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48474         * bits/types.h (__snseconds_t): Removed.
48475         * time/time.h (struct timespec): Replace __snseconds_t with
48476         __syscall_slong_t.
48477         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48478         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48479         Likewise.
48480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48481         (__SNSECONDS_T_TYPE): Likewise.
48482         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48483         (__SNSECONDS_T_TYPE): Likewise.
48484         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48485         (__SNSECONDS_T_TYPE): Likewise.
48487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48489         * sysdeps/mach/hurd/bits/typesizes.h
48490         (__SYSCALL_SLONG_TYPE): New macro.
48491         (__SYSCALL_ULONG_TYPE): Likewise.
48493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48495         * bits/types.h (__syscall_slong_t): New type.
48496         (__syscall_ulong_t): Likewise.
48498         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48499         (__SYSCALL_ULONG_TYPE): Likewise.
48500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48501         (__SYSCALL_SLONG_TYPE): Likewise.
48502         (__SYSCALL_ULONG_TYPE): Likewise.
48503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48504         (__SYSCALL_SLONG_TYPE): Likewise.
48505         (__SYSCALL_ULONG_TYPE): Likewise.
48506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48507         (__SYSCALL_SLONG_TYPE): Likewise.
48508         (__SYSCALL_ULONG_TYPE): Likewise.
48510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48512         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48513         Add sigaltstack-offsets.sym.
48514         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48515         <sigaltstack-offsets.h>.
48516         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48517         longjmp_msg pointer.
48518         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48519         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48520         signal stack.
48521         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48523 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48525         * elf/stackguard-macros.h: Remove file.
48526         * sysdeps/generic/stackguard-macros.h: New file.
48527         * sysdeps/i386/stackguard-macros.h: Likewise.
48528         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48529         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48530         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48531         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48532         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48533         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48534         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48535         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48536         <elf/stackguard-macros.h>.
48538         [BZ #14109]
48539         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48540         __aligned__ in attribute.
48541         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48542         (gregset_t): Likewise.
48544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48546         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48547         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48548         * sysdeps/x86_64/x32/Implies-after: New file.
48550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48552         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48553         and access return value for _dl_profile_fixup.  Use R10_LP to
48554         load frame size.
48556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48558         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48562         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48563         * sysdeps/x86_64/x32/sysdep.h: New file.
48565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48567         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48568         * sysdeps/x86_64/setjmp.S: Likewise.
48570 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48573         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48574         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48575         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48576         remove unused global constant.
48578 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48580         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48581         include of <not-cancel.h>.
48583 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48585         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48587 2012-05-15  Jeff Law  <law@redhat.com>
48588             Andreas Jaeger  <aj@suse.de>
48590         [BZ #13594]
48591         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48592         out from...
48593         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48594         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48595         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48596         code changing __hst_map_handle.map.
48598 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48600         * configure.in (sysnames): Look for Implies-before and Implies-after
48601         files.
48602         * configure: Regenerated.
48604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48606         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48607         8-byte data alignment with LP_SIZE alignment.
48609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48611         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48612         into R10_LP.
48614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48616         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48620         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48621         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48622         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48623         Likewise.
48624         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48628         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48629         (stackinfo_sub_sp): Likewise.
48631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48633         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48634         RAX_LP.
48636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48638         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48639         into R*_LP.
48641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48644         sizes into R*_LP.
48646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48648         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48652         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48653         into R11_LP and load __x86_64_shared_cache_size_half into
48654         R8_LP.
48656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48659         R8_LP.
48661 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48664         logb for POWER7.
48665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48666         logbf for POWER7.
48667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48668         logbl for POWER7.
48669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48670         powerpc32/power7/fpu/s_logb.c via #include.
48671         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48672         powerpc32/power7/fpu/s_logbf.c via #include.
48673         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48674         powerpc32/power7/fpu/s_logbl.c via #include.
48676 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48678         * README.libm: Remove file.
48680 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48682         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48683         count for x32.  Use R*_LP and omit operand-size suffix.
48685 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48687         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48688         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48689         * sysdeps/x86_64/x32/shlib-versions: New file.
48691 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48693         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48694         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48695         Use _dl_fatal_printf instead.
48697 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48699         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48700         set if not set by the user.  Do not allow for being unset.
48701         * sysdeps/unix/sysv/linux/configure: Regenerated.
48703 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48705         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48706         the `q' suffix from lea and replace .quad with ASM_ADDR.
48708 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48711         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48712         instead of $17.
48713         (PTR_DEMANGLE): Likewise.
48715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48717         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48718         (LP_OP): Likewise.
48719         (ASM_ADDR): Likewise.
48720         (RAX_LP): Likewise.
48721         (RBP_LP): Likewise.
48722         (RBX_LP): Likewise.
48723         (RCX_LP): Likewise.
48724         (RDI_LP): Likewise.
48725         (RSI_LP): Likewise.
48726         (RSP_LP): Likewise.
48727         (R8_LP): Likewise.
48728         (R9_LP): Likewise.
48729         (R10_LP): Likewise.
48730         (R10_LP): Likewise.
48731         (R11_LP): Likewise.
48732         (R12_LP): Likewise.
48733         (R13_LP): Likewise.
48734         (R14_LP): Likewise.
48735         (R15_LP): Likewise.
48737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48739         * sysdeps/x86_64/x32/dl-machine.h: New file.
48741 2012-05-14  Andreas Jaeger  <aj@suse.de>
48743         * manual/Makefile (subdir): Remove export of subdir.
48744         (all): Remove target.
48745         (.PHONY): Remove all from list.
48746         (mkinstalldirs): Remove.
48747         (.PHONY): Remove installdirs from list.
48748         ($(inst_infodir)/libc.info): Use make-target-directory.
48749         (installdirs): Remove.
48750         (subdir_%): Remove.
48751         (glibc-targets): Remove.
48752         (lib): Remove.
48753         (stubs): Remove.
48754         ($(objpfx)stubs ../po/manual.pot): Remove.
48755         ($(objpfx)stamp%): Remove.
48756         (make-target-directory): Remove.
48757         (subdir_install): Remove.
48758         (routines): Remove.
48759         (aux): Remove.
48760         (sources): Remove.
48761         (objects): Remove.
48762         (headers): Remove.
48764         [BZ #13750]
48765         * manual/.gitignore: Remove, it's not needed anymore.
48766         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48767         all files in it.
48768         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48769         directory.
48770         (texis): Renamed to $(objpfx)texis.
48771         (texis-path): New, contains path to generated files.
48772         (chapters.%): Use texis-path for complete path, add extra argument
48773         libc-texinfo.sh.
48774         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48775         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48776         (summary,texi, stamp-summary): Use complete path of
48777         files. Generate files in build dir.
48778         (dir-add.texi): Build in build dir.
48779         (libm-err.texi,stamp-libm-err): Likewise.
48780         (version.texi, stamp-version): Likewise.
48781         (.%c.texi): Likewise.
48782         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48783         (mostlyclean): Remove target.
48784         (realclean): Remove target.
48785         (generated): Add new variable with contents from mostlyclean and
48786         realclean, remove entries duplicated in common-mostlyclean, add
48787         stamp-libm-err and stamp-version.
48788         (generated-dirs): Add libc directory.
48789         ($(inst_infodir)/libc.info): Install files from build dir.
48791         * manual/install.texi (Configuring and compiling): Adjust since
48792         the info files are not part of the tar ball anymore.
48794 2012-05-14  Andreas Jaeger  <aj@suse.de>
48796         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48797         variable.
48799 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48801         [BZ #13717]
48802         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48803         to 2.2.0 where earlier.
48804         * sysdeps/unix/sysv/linux/configure: Regenerated.
48805         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48806         Remove conditional code.
48807         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48808         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48809         Remove conditional code.
48810         [!__NR_lchown]: Likewise.
48811         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48812         [__NR_lchown]: Likewise.
48813         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48814         comment referencing __ASSUME_LCHOWN_SYSCALL.
48815         * sysdeps/unix/sysv/linux/i386/sigaction.c
48816         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48817         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48818         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48819         Remove conditional code.
48820         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48821         (__protocol_available): Remove #if 0 code.
48822         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48823         conditional code.
48824         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48825         * sysdeps/unix/sysv/linux/kernel-features.h
48826         (__ASSUME_GETCWD_SYSCALL): Don't define.
48827         (__ASSUME_REALTIME_SIGNALS): Likewise.
48828         (__ASSUME_PREAD_SYSCALL): Likewise.
48829         (__ASSUME_PWRITE_SYSCALL): Likewise.
48830         (__ASSUME_POLL_SYSCALL): Likewise.
48831         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48832         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48833         non-SPARC.
48834         (__ASSUME_SIOCGIFNAME): Don't define.
48835         (__ASSUME_MSG_NOSIGNAL): Likewise.
48836         (__ASSUME_SENDFILE): Define unconditionally.
48837         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48838         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48839         conditional code.
48840         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48841         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48842         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48843         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48844         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48845         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48846         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48848         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48860         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48863         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48866         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48869         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48870         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48871         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48872         Remove conditional code.
48873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48874         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48875         Remove conditional code.
48876         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48877         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48878         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48879         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48880         Remove conditional code.
48881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48882         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48883         Remove conditional code.
48884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48885         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48886         Remove conditional code.
48887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48888         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48889         Remove conditional code.
48890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48891         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48892         Remove conditional code.
48893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48894         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48895         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48897         * sysdeps/unix/sysv/linux/sigaction.c
48898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48900         * sysdeps/unix/sysv/linux/sigpending.c
48901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48903         * sysdeps/unix/sysv/linux/sigprocmask.c
48904         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48905         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48906         * sysdeps/unix/sysv/linux/sigsuspend.c
48907         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48908         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48909         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48910         (__libc_missing_rt_sigs): Remove.
48911         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48912         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48913         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48914         Remove conditional code.
48915         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48916         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48917         return 1.
48918         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48919         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48920         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48921         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48923 2012-05-14  Andreas Jaeger  <aj@suse.de>
48925         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48926         it's not used in glibc.
48927         (__coshm1): Likewise.
48928         (__acosh1p): Likewise.
48929         (__sgn): Likewise.
48931         * manual/string.texi (Copying and Concatenation): Add missing
48932         variable in concat example.
48933         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48937         [BZ #14103]
48938         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48939         __builtin_clzl with __builtin_clzll.
48941 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48943         [BZ #14104]
48944         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48945         libc_freeres_ptr.
48947 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48949         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48950         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48951         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48952         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48954 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48956         * NEWS: Update ia64 info.
48958 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48960         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48961         used as bcopy.
48963 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48965         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48966         * sysdeps/unix/syscalls.list (dup3): Likewise.
48967         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48968         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48970 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48972         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48973         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48975 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48977         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48978         thread pointer.
48979         (TLS_IE): Use mov/add instead of movq/addq to load thread
48980         pointer.
48981         (TLS_GD_PREFIX): New.
48982         (TLS_GD): Use it.
48984 2012-05-11  David S. Miller  <davem@davemloft.net>
48986         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48987         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48988         (_FPU_SETCW): Likewise.
48990 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48992         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48993         is 32-byte aligned.
48995 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48997         [BZ #11837]
48998         * iconvdata/gb18030.c: Update tables.
48999         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49000         characters specially.
49001         (BODY for TO_LOOP): Add encoding of missing ranges.
49003 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49005         [BZ #13673]
49006         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49007         * sysdeps/mach/hurd/dup3.c: Likewise.
49008         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49009         * sysdeps/powerpc/memmove.c:: Likewise.
49011 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49013         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49014         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49018         * elf/elf.h (R_X86_64_RELATIVE64): New.
49019         (R_X86_64_NUM): Updated.
49020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49021         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49022         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49023         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49024         tst-quad1pie tst-quad2pie
49025         (modules-names): Add tst-quadmod1 tst-quadmod2.
49026         ($(objpfx)tst-quad1): New dependency.
49027         ($(objpfx)tst-quad2): Likewise.
49028         ($(objpfx)tst-quad1pie): Likewise.
49029         ($(objpfx)tst-quad2pie): Likewise.
49030         * sysdeps/x86_64/tst-quad1.c: New file.
49031         * sysdeps/x86_64/tst-quad1pie.c: New file.
49032         * sysdeps/x86_64/tst-quad2.c: Likewise.
49033         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49034         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49035         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49036         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49037         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49041         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49042         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49043         * streams/stropts.h (t_scalar_t): Define type.
49045         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49046         (_PATH_PRESERVE): Set to "/var/lib".
49047         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49049         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49050         instead of int.
49052         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49053         if __dir_mkfile succeeded.
49055         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49056         checking for _hurd_dtablesize.  Unlock it right after having
49057         finished _hurd_dtable allocation.
49059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49061         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49062         * sysdeps/mach/hurd/configure: Regenerated.
49063         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49064         special-casing to...
49065         * sysdeps/gnu/configure.in: ... this new file.
49066         * sysdeps/unix/sysv/linux/configure: Regenerated.
49067         * sysdeps/gnu/configure: New generated file.
49069         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49070         for Linux: use nsec instead of usec, as well as:
49071         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49072         members of type struct timespec.
49073         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49074         New macros.
49075         (struct stat64): Likewise.
49076         (_STATBUF_ST_NSEC): New macro.
49077         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49079         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49080         __strtoul_internal rather than strtoul.
49082 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49084         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49085         and reject them.
49087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49089         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49090         which preserves existing values.
49091         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49093 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49095         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49096         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49097         greater than FD_SETSIZE.
49099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49101         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49102         allocated, call __vm_protect to finish enabling the existing space, and
49103         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49104         allocate the remainder.
49106 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49108         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49109         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49113         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49114         sysdeps/mach/hurd/readlink.c.
49116         * posix/tst-sysconf.c (posix_options): Only use
49117         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49118         _POSIX_SYNCHRONIZED_IO when they are defined
49119         * sysdeps/mach/hurd/bits/posix_opt.h:
49120         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49121         (_XOPEN_REALTIME): Undefine macro.
49122         (_XOPEN_REALTIME_THREADS): Undefine macro.
49123         (_XOPEN_SHM): Undefine macro.
49124         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49125         macro to -1.
49126         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49127         macro to -1.
49128         (_POSIX_ASYNC_IO): Undefine macro.
49129         (_POSIX_PRIORITIZED_IO): Undefine macro.
49130         (_POSIX_SPIN_LOCKS): Define macro to -1.
49132         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49133         SA_NODEFER, SA_RESETHAND.
49134         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49135         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49136         F_DUPFD_CLOEXEC.
49138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49140         * elf/Makefile (pldd-modules): Define unconditionally.
49142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49144         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49148         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49149         Return ENOENT when name is empty.
49150         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49152 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49154         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49156         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49160         Fix mlock in all cases except non-readable pages.
49161         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49162         instead of VM_PROT_ALL as parameter to __vm_wire function.
49164         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49165         (__mkdir): When path is `/', just fail with EEXIST.
49166         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49168 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49170         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49171         <sys/uio.h> (for writev).
49172         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49173         and <sys/param.h> (for MIN).
49175 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49177         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49178         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49179         if interrupted.
49181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49183         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49184         Depend on against $(link-rpcuserlibs).
49186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49188         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49189         (__libc_stack_end): Do not use attribute_relro.
49190         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49191         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49192         to libthread-provided value.
49193         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49194         attribute_relro.
49196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49198         [BZ #3748]
49199         * bits/libc-lock.h (__libc_once_get): New macro.
49200         * sysdeps/mach/bits/libc-lock.h: Likewise.
49201         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49202         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49203         instead of using implementation details.
49205         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49206         * libio/freopen.c: Likewise.
49207         * libio/freopen64.c: Likewise.
49208         * misc/syslog.c: Likewise.
49209         * nscd/connections.c: Likewise.
49210         * nscd/netgroupcache.c: Likewise.
49211         * sysdeps/posix/getcwd.c: Likewise.
49213 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49215         * math/w_ilogbf.c: Add #include <limits.h>.
49217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49219         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49220         path instead of returning without unlocking.
49222         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49223         immediate-write ioctls.
49224         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49228         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49229         __builtin_frame_address instead of making assumptions about the
49230         location of the return address relative to DATA.  Force early load of
49231         the return address.
49232         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49233         __builtin_frame_address.
49235         dup3 for GNU Hurd.
49236         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49237         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49238         implement dup3 and do some further code clean-ups.
49239         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49240         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49244         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49246         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49247         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49248         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49249         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49250         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49251         d->port.lock.
49253         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49254         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49255         when handler == SIG_ERR, not when handler != SIG_ERR.
49257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49259         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49260         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49261         definitions.
49263         accept4 for GNU Hurd.
49264         * include/sys/socket.h (__libc_accept4): New prototype.
49265         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49266         to implement __libc_accept4.
49267         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49268         __libc_accept4.
49269         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49271         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49272         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49273         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49274         signal-defines.sym.
49276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49278         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49282         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49283         assertion on O_CLOEXEC flag.
49284         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49285         * hurd/intern-fd.c: Likewise.
49286         * hurd/port2fd.c: Likewise.
49288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49290         [BZ #3906]
49291         * bits/in.h (IPV6_PKTINFO): Define new macro.
49292         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49294 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49296         [BZ #13954]
49297         [BZ #13955]
49298         [BZ #13956]
49299         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49301         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49302         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49304         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49305         * math/libm-test.inc (logb_test) : Additional logb tests.
49307 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49308             Andreas Jaeger  <aj@suse.de>
49310         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49311         * configure: Regenerated.
49312         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49313         * config.make.in (link-obsolete-rpc): New substituted variable.
49314         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49315         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49316         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49317         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49318         so that libc.a contains the symbols.
49319         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49320         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49321         * sunrpc/auth_none.c: Likewise.
49322         * sunrpc/auth_unix.c: Likewise.
49323         * sunrpc/authdes_prot.c: Likewise.
49324         * sunrpc/authuxprot.c: Likewise.
49325         * sunrpc/clnt_gen.c: Likewise.
49326         * sunrpc/clnt_perr.c: Likewise.
49327         * sunrpc/clnt_raw.c: Likewise.
49328         * sunrpc/clnt_simp.c: Likewise.
49329         * sunrpc/clnt_tcp.c: Likewise.
49330         * sunrpc/clnt_udp.c: Likewise.
49331         * sunrpc/clnt_unix.c: Likewise.
49332         * sunrpc/des_crypt.c: Likewise.
49333         * sunrpc/des_soft.c: Likewise.
49334         * sunrpc/get_myaddr.c: Likewise.
49335         * sunrpc/key_call.c: Likewise.
49336         * sunrpc/key_prot.c: Likewise.
49337         * sunrpc/netname.c: Likewise.
49338         * sunrpc/pm_getmaps.c: Likewise.
49339         * sunrpc/pm_getport.c: Likewise.
49340         * sunrpc/pmap_clnt.c: Likewise.
49341         * sunrpc/pmap_prot.c: Likewise.
49342         * sunrpc/pmap_prot2.c: Likewise.
49343         * sunrpc/pmap_rmt.c: Likewise.
49344         * sunrpc/publickey.c: Likewise.
49345         * sunrpc/rpc_cmsg.c: Likewise.
49346         * sunrpc/rpc_common.c: Likewise.
49347         * sunrpc/rpc_dtable.c: Likewise.
49348         * sunrpc/rpc_prot.c: Likewise.
49349         * sunrpc/rpc_thread.c: Likewise.
49350         * sunrpc/rtime.c: Likewise.
49351         * sunrpc/svc.c: Likewise.
49352         * sunrpc/svc_auth.c: Likewise.
49353         * sunrpc/svc_raw.c: Likewise.
49354         * sunrpc/svc_run.c: Likewise.
49355         * sunrpc/svc_tcp.c: Likewise.
49356         * sunrpc/svc_udp.c: Likewise.
49357         * sunrpc/svc_unix.c: Likewise.
49358         * sunrpc/svcauth_des.c: Likewise.
49359         * sunrpc/xcrypt.c: Likewise.
49360         * sunrpc/xdr.c: Likewise.
49361         * sunrpc/xdr_array.c: Likewise.
49362         * sunrpc/xdr_float.c: Likewise.
49363         * sunrpc/xdr_intXX_t.c: Likewise.
49364         * sunrpc/xdr_mem.c: Likewise.
49365         * sunrpc/xdr_rec.c: Likewise.
49366         * sunrpc/xdr_ref.c: Likewise.
49367         * sunrpc/xdr_sizeof.c: Likewise.
49368         * sunrpc/xdr_stdio.c: Likewise.
49370 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49372         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49373         change.  Update copyright years.
49375 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49377         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49379 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49380             Joseph Myers  <joseph@codesourcery.com>
49381             Paul Pluzhnikov  <ppluzhnikov@google.com>
49383         [BZ #14012]
49384         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49385         requiring rpcgen.
49386         [cross-compiling] (extra-libs): Likewise.
49387         [cross-compiling] (extra-libs-others): Likewise.
49388         [cross-compiling] (librpcsvc-routines): Likewise.
49389         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49390         [cross-compiling] (omit-deps): Likewise.
49391         (sunrpc-CPPFLAGS): New variable.
49392         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49393         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49394         (cross-rpcgen-objs): New variable.
49395         (extra-objs): Append $(cross-rpcgen-objs).
49396         ($(cross-rpcgen-objs)): New rule.
49397         ($(objpfx)cross-rpcgen): Likewise.
49398         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49399         comment.
49400         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49401         ($(objpfx)x%.stmp): Likewise.
49402         * sunrpc/proto.h [IS_IN_build] (_): Define.
49403         [IS_IN_build] (_libc_intl_domainname): Likewise.
49405 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49408         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49409         and R_X86_64_TPOFF64.
49411 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49413         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49414         sysdeps/unix/sysv/syscalls.list.
49415         (stime): Likewise.
49416         (utime): Likewise.
49417         * sysdeps/unix/sysv/syscalls.list: Remove file.
49419 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49421         [BZ #3440]
49422         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49423         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49424         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49425         (__LC_IDENTIFICATION): Make these macros useful in #if
49426         expressions, as required by C99.
49428 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49430         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49431         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49432         after this.
49434 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49436         * stdlib/longlong.h: Updated from GCC.
49438 2012-05-09  Andreas Jaeger  <aj@suse.de>
49440         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49441         default is first entry.
49442         (run_mode): Set type.
49443         (main): Remove informal message about syslog.
49444         (options): Fix typo.
49446         [BZ #14053]
49447         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49448         to asm.
49449         (lrint): Likewise.
49450         (llrintf): Likewise.
49451         (llrint): Likewise.
49452         (rint): Likewise.
49453         (rintf): Likewise.
49454         (nearbyint): Likewise.
49455         (nearbyintf): Likewise.
49457 2012-05-09  Andreas Jaeger  <aj@suse.de>
49458             Pedro Alves  <palves@redhat.com>
49460         * nscd/nscd.c (run_mode): Use enum.
49461         (main): Cleanup coding style issue.
49463 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49464             Andreas Jaeger  <aj@suse.de>
49466         * nscd/nscd.c (go_background): Replaced with...
49467         (run_mode): ... this.
49468         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49469         (options): Add -F --foreground.
49470         (main): Implement it.
49471         (parse_opt): Parse it.
49473 2012-05-09  Andreas Jaeger  <aj@suse.de>
49475         [BZ #14083]
49476         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49477         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49478         -Wconversion warning.
49479         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49480         Likewise.
49482 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49484         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49485         == 0.
49486         (LC_ALL): Use macro-int-constant.
49487         (LC_COLLATE): Likewise.
49488         (LC_CTYPE): Likewise.
49489         (LC_MESSAGES): Likewise.
49490         (LC_MONETARY): Likewise.
49491         (LC_NUMERIC): Likewise.
49492         (LC_TIME): Likewise.
49493         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49494         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49495         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49496         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49497         Specify type.
49498         [C99-based standards] (float_t): Expect type.
49499         [C99-based standards] (double_t): Expect type.
49500         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49501         type.
49502         [C99-based standards] (HUGE_VALL): Likewise.
49503         [C99-based standards] (INFINITY): Likewise.
49504         [C99-based standards] (NAN): Likewise.
49505         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49506         [C99-based standards] (FP_NAN): Likewise.
49507         [C99-based standards] (FP_NORMAL): Likewise.
49508         [C99-based standards] (FP_SUBNORMAL): Likewise.
49509         [C99-based standards] (FP_ZERO): Likewise.
49510         [C99-based standards] (FP_FAST_FMA): Use
49511         optional-macro-int-constant.  Specify type.  Require == 1.
49512         [C99-based standards] (FP_FAST_FMAF): Likewise.
49513         [C99-based standards] (FP_FAST_FMAL): Likewise.
49514         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49515         [C99-based standards] (FP_ILOGBNAN): Likewise.
49516         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49517         Specify type.
49518         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49519         [C99-based standards] (math_errhandling): Specify type.
49520         [ISO99 || ISO11] (signgam): Do not allow.
49521         [non-C99-based standards] (copysignf): Do not allow.
49522         [non-C99-based standards] (exp2f): Likewise.
49523         [non-C99-based standards] (log2f): Likewise.
49524         [non-C99-based standards] (modff): Allow.
49525         [non-C99-based standards] (erff): Do not allow.
49526         [non-C99-based standards] (erfcf): Likewise.
49527         [non-C99-based standards] (gammaf): Likewise.
49528         [non-C99-based standards] (hypotf): Likewise.
49529         [non-C99-based standards] (j0f): Likewise.
49530         [non-C99-based standards] (j1f): Likewise.
49531         [non-C99-based standards] (jnf): Likewise.
49532         [non-C99-based standards] (lgammaf): Likewise.
49533         [non-C99-based standards] (tgammaf): Likewise.
49534         [non-C99-based standards] (y0f): Likewise.
49535         [non-C99-based standards] (y1f): Likewise.
49536         [non-C99-based standards] (ynf): Likewise.
49537         [non-C99-based standards] (isnanf): Likewise.
49538         [non-C99-based standards] (acoshf): Likewise.
49539         [non-C99-based standards] (asinhf): Likewise.
49540         [non-C99-based standards] (atanhf): Likewise.
49541         [non-C99-based standards] (cbrtf): Likewise.
49542         [non-C99-based standards] (expm1f): Likewise.
49543         [non-C99-based standards] (ilogbf): Likewise.
49544         [non-C99-based standards] (log1pf): Likewise.
49545         [non-C99-based standards] (logbf): Likewise.
49546         [non-C99-based standards] (nextafterf): Likewise.
49547         [non-C99-based standards] (remainderf): Likewise.
49548         [non-C99-based standards] (rintf): Likewise.
49549         [non-C99-based standards] (scalbf): Likewise.
49550         [non-C99-based standards] (copysignl): Likewise.
49551         [non-C99-based standards] (exp2l): Likewise.
49552         [non-C99-based standards] (log2l): Likewise.
49553         [non-C99-based standards] (modfl): Allow.
49554         [non-C99-based standards] (erfl): Do not allow.
49555         [non-C99-based standards] (erfcl): Likewise.
49556         [non-C99-based standards] (gammal): Likewise.
49557         [non-C99-based standards] (hypotl): Likewise.
49558         [non-C99-based standards] (j0l): Likewise.
49559         [non-C99-based standards] (j1l): Likewise.
49560         [non-C99-based standards] (jnl): Likewise.
49561         [non-C99-based standards] (lgammal): Likewise.
49562         [non-C99-based standards] (tgammal): Likewise.
49563         [non-C99-based standards] (y0l): Likewise.
49564         [non-C99-based standards] (y1l): Likewise.
49565         [non-C99-based standards] (ynl): Likewise.
49566         [non-C99-based standards] (isnanl): Likewise.
49567         [non-C99-based standards] (acoshl): Likewise.
49568         [non-C99-based standards] (asinhl): Likewise.
49569         [non-C99-based standards] (atanhl): Likewise.
49570         [non-C99-based standards] (cbrtl): Likewise.
49571         [non-C99-based standards] (expm1l): Likewise.
49572         [non-C99-based standards] (ilogbl): Likewise.
49573         [non-C99-based standards] (log1pl): Likewise.
49574         [non-C99-based standards] (logbl): Likewise.
49575         [non-C99-based standards] (nextafterl): Likewise.
49576         [non-C99-based standards] (remainderl): Likewise.
49577         [non-C99-based standards] (rintl): Likewise.
49578         [non-C99-based standards] (scalbl): Likewise.
49579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49580         [non-C99-based standards] (FP_*): Do not allow.
49581         [C99-based standards] (FP_*): Change to
49582         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49583         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49584         allow.
49585         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49586         (SIG_ERR): Likewise.
49587         [X/Open-based standards] (SIG_HOLD): Likewise.
49588         (SIG_IGN): Likewise.
49589         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49590         positive value.
49591         (SIGFPE): Likewise.
49592         (SIGILL): Likewise.
49593         (SIGINT): Likewise.
49594         (SIGSEGV): Likewise.
49595         (SIGTER): Likewise.
49596         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49597         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49598         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49599         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49600         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49601         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49602         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49603         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49604         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49605         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49606         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49607         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49608         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49609         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49610         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49611         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49612         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49613         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49614         [X/Open-based standards] (SIGTRAP): Likewise.
49615         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49616         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49617         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49618         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49619         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49620         allow.
49622 2012-05-08  Ian Wienand  <ianw@vmware.com>
49624         [BZ #14080]
49625         * time/tzset.c (__tzset_parse_tz): Update default rules for
49626         daylight time changes in the Energy Policy Act of 2005.
49628 2012-05-09  Andreas Jaeger  <aj@suse.de>
49630         [BZ #13983]
49631         * elf/ldconfig.c (parse_conf): Change string to make clear that
49632         ldconfig only issued a warning if ld.so.conf does not exist.
49634 2012-05-08  David S. Miller  <davem@davemloft.net>
49636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49637         movxtod instead of popping the value on the stack.
49639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49641 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49643         * config.h.in: Add HAVE_ARM_PCS_VFP.
49645 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49647         [BZ #13979]
49648         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49649         checking but the checks are disabled for any reason.
49651 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49653         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49654         and ELF64_R_TYPE with ELFW(R_TYPE).
49656 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49658         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49659         (ulimit): Likewise.
49661         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49662         (settimeofday): Likewise.
49664 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49666         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49667         a struct th_u2 inside the union, and move tu_block/tu_code into
49668         a new th_u3 union of tu_block/tu_code inside of that.  Move
49669         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49670         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49671         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49672         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49673         (th_stuff): Change to th_u1.tu_stuff.
49674         (th_data): Define.
49675         (th_msg): Change to th_u1.th_u2.tu_data.
49677 2012-05-07  David S. Miller  <davem@davemloft.net>
49679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49681         [BZ #14074]
49682         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49683         (SETUP_PIC_REG): Use it.
49684         (SETUP_PIC_REG_LEAF): Use it.
49686 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49688         [BZ #13885]
49689         [BZ #13923]
49690         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49691         USE_AS_EXPM1L.
49692         (EXPL_FINITE): Likewise.
49693         (FLDLOG): Likewise.
49694         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49695         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49696         e_expl.S.
49697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49698         USE_AS_EXPM1L.
49699         (EXPL_FINITE): Likewise.
49700         (FLDLOG): Likewise.
49701         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49702         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49703         e_expl.S.
49704         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49705         test of -max_value argument for long double.
49706         * sysdeps/i386/fpu/libm-test-ulps: Update.
49707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49709 2012-05-06  David S. Miller  <davem@davemloft.net>
49711         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49712         quad soft-float symbols whose references which are compiler
49713         generated.
49714         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49716 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49718         [BZ #13884]
49719         [BZ #13914]
49720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49721         USE_AS_EXP10L.
49722         (EXPL_FINITE): Likewise.
49723         (FLDLOG): Likewise.
49724         (c0): Likewise.
49725         (c1): Likewise.
49726         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49727         Adjust comments for base varying.
49728         (__expl_finite): Change alias to EXPL_FINITE.
49729         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49730         e_expl.S.
49731         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49732         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49733         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49734         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49735         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49736         USE_AS_EXP10L.
49737         (EXPL_FINITE): Likewise.
49738         (FLDLOG): Likewise.
49739         (c0): Likewise.
49740         (c1): Likewise.
49741         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49742         Adjust comments for base varying.
49743         (__expl_finite): Change alias to EXPL_FINITE.
49744         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49745         tests for bugs.
49746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49748         [BZ #14064]
49749         * math/libm-test.inc (check_float_internal): Correct ulp
49750         calculation for subnormal expected results.
49752 2012-05-06  Andreas Jaeger  <aj@suse.de>
49754         * Makeconfig (+math-flags): New, set to -frounding-math.
49755         (+cflags): Add +math-flags so that all of glibc gets compiled with
49756         it.
49758         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49760 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49762         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49763         Disable one test.
49765         [BZ #13787]
49766         [BZ #13922]
49767         [BZ #14036]
49768         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49769         (__ieee754_expl): Allow for and saturate large arguments.
49770         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49771         (u_threshold): Likewise.
49772         (__exp): Call __ieee754_exp before checking for overflow and
49773         underflow.
49774         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49775         (u_threshold): Likewise.
49776         (__expf): Call __ieee754_expf before checking for overflow and
49777         underflow.
49778         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49779         (u_threshold): Likewise.
49780         (__expl): Call __ieee754_expl before checking for overflow and
49781         underflow.
49782         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49783         (__ieee754_expl): Allow for and saturate large arguments.
49784         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49785         missing overflow exception on overflow.
49786         (expm1_test): Do not allow missing overflow exception on overflow.
49788         * sysdeps/i386/fpu/e_expl.c: Move to ...
49789         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49790         rather than using inline asm.
49791         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49792         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49793         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49795         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49796         (nice): Likewise.
49797         (poll): Likewise.
49798         (signal): Likewise.
49799         (time): Likewise.
49800         (times): Likewise.
49802 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49804         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49805         sysdeps/unix/common/syscalls.list.
49806         (fchmod): Likewise.
49807         (fchown): Likewise.
49808         (ftruncate): Likewise.
49809         (getrusage): Likewise.
49810         (gettimeofday): Likewise.
49811         (setpgid): Likewise.
49812         (setregid): Likewise.
49813         (setreuid): Likewise.
49814         (sigaction): Likewise.
49815         (truncate): Likewise.
49816         (vhangup): Likewise.
49817         * sysdeps/unix/common/syscalls.list: Remove file.
49818         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49819         * sysdeps/unix/sysv/linux/Implies: Likewise.
49821 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49823         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49825         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49826         Moved to ...
49827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49828         Here.
49829         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49830         to ...
49831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49832         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49833         to ...
49834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49835         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49836         to ...
49837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49838         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49839         to ...
49840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49841         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49842         to ...
49843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49844         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49845         to ...
49846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49847         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49848         to ...
49849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49850         Here.
49851         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49852         to ...
49853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49854         Here.
49855         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49856         to ...
49857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49858         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49859         Moved to ...
49860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49861         Here.
49862         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49863         to ...
49864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49866 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49868         * sysdeps/unix/common/bits/dirent.h: Remove file.
49869         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49871         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49872         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49873         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49874         * sysdeps/unix/bsd/isatty.c: Likewise.
49875         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49876         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49877         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49879 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49881         [BZ #13563]
49882         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49883         long double comparison inaccuracies.
49884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49887 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49889         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49890         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49892 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49894         [BZ #14049]
49895         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49896         nonzero digits before rounding a hex value.
49897         * stdlib/tst-strtod.c (tests): Add another test.
49899 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49901         * sysdeps/s390/fpu/libm-test-ulps: Update.
49903 2012-05-03  Andreas Jaeger  <aj@suse.de>
49905         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49906         does not get optimized out.
49907         (malloc_opt_barrier): New.
49909 2012-05-03  Andreas Jaeger  <aj@suse.de>
49910             Roland McGrath  <roland@hack.frob.com>
49912         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49913         intermediate file deletion.
49914         (generated): Add .symlist files.
49916 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49918         [BZ #13775]
49919         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49920         Redirect under this condition.
49921         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49922         [__USE_GNU] (__dprintf_chk): Not under this condition.
49923         [__USE_GNU] (__vdprintf_chk): Likewise.
49924         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49925         under this condition.
49926         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49927         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49928         [__USE_XOPEN2K8] (vdprintf): Likewise.
49929         [__USE_GNU] (__dprintf_chk): Not under this condition.
49930         [__USE_GNU] (__vdprintf_chk): Likewise.
49931         [__USE_GNU] (dprintf): Likewise.
49932         [__USE_GNU] (vdprintf): Likewise.
49934 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49936         * elf/Makefile (common-generated): Set this instead of generated for
49937         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49938         $(all-built-dso)-derived lists.
49940 2012-05-03  Andreas Jaeger  <aj@suse.de>
49942         * sysdeps/i386/fpu/libm-test-ulps: Update.
49944         * FAQ: Removed.
49945         * FAQ.in: Likewise.
49946         * scripts/gen-FAQ.pl: Likewise.
49947         * manual/install.texi (Installation): Point to online location of
49948         FAQ.
49949         * Makefile (files-for-dist): Remove FAQ.
49950         (FAQ): Remove.
49952 2012-05-02  Allan McRae  <allan@archlinux.org>
49954         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49955         (LDFLAGS-reldepmod5.so): Likewise.
49956         (LDFLAGS-reldep6mod1.so): Likewise.
49957         (LDFLAGS-reldep6mod4.so): Likewise.
49958         (LDFLAGS-reldep8mod3.so): Likewise.
49959         (LDFLAGS-unload4mod1.so): Likewise.
49960         (LDFLAGS-unload4mod2.so): Likewise.
49961         (LDFLAGS-tst-initorder): Likewise.
49962         (LDFLAGS-tst-initordera2.so): Likewise.
49963         (LDFLAGS-tst-initordera3.so): Likewise.
49964         (LDFLAGS-tst-initordera4.so): Likewise.
49965         (LDFLAGS-tst-initorderb2.so): Likewise.
49966         (LDFLAGS-noload): Likewise.
49967         (LDFLAGS-next): Likewise.
49968         (LDFLAGS-order2mod1.so): Likewise.
49969         (LDFLAGS-order2mod2.so): Likewise.
49970         (LDFLAGS-tst-initorder2): Likewise.
49971         (LDFLAGS-tst-initorder2a.so): Likewise.
49972         (LDFLAGS-tst-initorder2b.so): Likewise.
49973         (LDFLAGS-tst-initorder2c.so): Likewise.
49974         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49976 2012-05-02  David S. Miller  <davem@davemloft.net>
49978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49980 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49982         [BZ #14055]
49983         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49985 2012-05-02  Andreas Jaeger  <aj@suse.de>
49987         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49988         since we manipulate rounding mode.
49989         (CPPFLAGS-test-idouble.c): Likewise.
49990         (CPPFLAGS-test-ifloat.c): Likewise.
49991         (CFLAGS-test-ldouble.c): Likewise.
49992         (CFLAGS-test-double.c): Likewise.
49993         (CFLAGS-test-float.c): Likewise.
49994         (CFLAGS-test-misc.c): Likewise.
49995         (CFLAGS-test-test-fenv.c): Likewise.
49997 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49999         [BZ #2550]
50000         [BZ #2570]
50001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50002         comparisons to determine direction to adjust input.
50004 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50006         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50007         output to the target.
50009         * scripts/localplt.awk: New file.
50010         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50011         (check-localplt-CFLAGS): Variable removed.
50012         ($(all-built-dso:=.jmprel)): New static pattern rule.
50013         (generated): Add those targets.
50014         (localplt-built-dso): New variable.
50015         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50017         * elf/check-localplt.c: File removed.
50019         * scripts/check-execstack.awk: New file.
50020         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50021         (check-execstack-CFLAGS): Variable removed.
50022         ($(objpfx)check-execstack.h): Target removed.
50023         ($(objpfx)execstack-default): New target.
50024         (generated): Add that instead of check-execstack.h.
50025         ($(all-built-dso:=.phdr)): New static pattern rule.
50026         (generated): Add those targets.
50027         * elf/check-execstack.c: File removed.
50029         * scripts/check-textrel.awk: New file.
50030         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50031         (check-textrel-CFLAGS): Variable removed.
50032         (all-built-dso): Use := to define.o
50033         ($(all-built-dso:=.dyn)): New static pattern rule.
50034         (generated): Add those targets.
50035         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50036         * config.make.in (READELF): New substituted variable.
50037         * elf/check-textrel.c: File removed.
50039 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50041         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50042         allow.
50043         * conform/data/ctype.h-data [C99-based standards] (isblank):
50044         Expect function.
50045         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50046         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50048         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50049         Specify type.  Require positive value.
50050         (EILSEQ): Likewise.
50051         (ERANGE): Likewise.
50052         [ISO || POSIX] (EILSEQ): Do not expect.
50053         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50054         Specify type.  Require positive value.
50055         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50056         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50057         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50058         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50059         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50060         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50061         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50062         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50063         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50064         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50065         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50066         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50067         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50068         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50069         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50070         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50071         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50072         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50073         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50074         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50075         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50076         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50077         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50078         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50079         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50080         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50081         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50082         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50083         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50084         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50085         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50086         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50087         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50088         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50089         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50090         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50091         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50092         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50093         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50094         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50095         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50096         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50097         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50098         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50099         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50100         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50101         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50102         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50103         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50104         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50105         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50106         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50107         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50108         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50109         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50110         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50111         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50112         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50113         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50114         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50115         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50116         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50117         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50118         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50119         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50120         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50121         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50122         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50123         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50124         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50125         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50126         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50127         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50128         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50129         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50130         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50131         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50132         Require >= 2.
50133         (FLT_ROUNDS): Expect as macro, not constant.
50134         (FLT_MANT_DIG): Use macro-int-constant.
50135         (DBL_MANT_DIG): Likewise.
50136         (LDBL_MANT_DIG): Likewise.
50137         (FLT_DIG): Likewise.
50138         (DBL_DIG): Likewise.
50139         (LDBL_DIG): Likewise.
50140         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50141         (DBL_MIN_EXP): Likewise.
50142         (LDBL_MIN_EXP): Likewise.
50143         (FLT_MAX_EXP): Use macro-int-constant.
50144         (DBL_MAX_EXP): Likewise.
50145         (LDBL_MAX_EXP): Likewise.
50146         (FLT_MAX_10_EXP): Likewise.
50147         (DBL_MAX_10_EXP): Likewise.
50148         (LDBL_MAX_10_EXP): Likewise.
50149         (FLT_MAX): Use macro-constant.
50150         (DBL_MAX): Likewise.
50151         (LDBL_MAX): Likewise.
50152         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50153         (DBL_EPSILON): Likewise.
50154         (LDBL_EPSILON): Likewise.
50155         (FLT_MIN): Likewise.
50156         (DBL_MIN): Likewise.
50157         (LDBL_MIN): Likewise.
50158         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50159         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50160         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50161         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50162         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50163         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50164         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50165         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50166         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50167         [ISO11] (FLT_TRUE_MIN): Likewise.
50168         [ISO11] (LDBL_TRUE_MIN): Likewise.
50169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50170         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50171         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50172         (SCHAR_MAX): Likewise.
50173         (UCHAR_MAX): Likewise.
50174         (CHAR_MIN): Likewise.
50175         (CHAR_MAX): Likewise.
50176         (MB_LEN_MAX): Use macro-int-constant.
50177         (SHRT_MIN): Use macro-int-constant.  Specify type.
50178         (SHRT_MAX): Likewise.
50179         (USHRT_MAX): Likewise.
50180         (INT_MAX): Likewise.
50181         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50182         bound negative.
50183         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50184         bound with "U".
50185         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50186         bound with "L".
50187         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50188         bound negative.  Suffix upper bound with "L".
50189         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50190         bound with "UL".
50191         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50192         Specify type.
50193         [C99-based standards] (LLONG_MAX): Likewise.
50194         [C99-based standards] (ULLONG_MAX): Likewise.
50195         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50196         == 0.
50197         [ISO11] (max_align_t): Require type.
50198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50200         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50201         from $CFLAGS, without defining away __attribute__ calls.
50202         (checknamespace): Use $CFLAGS_namespace.
50204         * conform/conformtest.pl (@keywords): Only include C99 keywords
50205         for standards based on C99 or C11.
50207         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50208         Disable tests.
50209         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50210         UNIX98]: Likewise.
50212         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50213         usability of symbols in #if.
50215         * conform/conformtest.pl: If macro or constant types start
50216         "promoted:", expect the symbol to be of the following type
50217         promoted by the integer promotions.
50219         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50220         in one place.  Also handle "macro-constant".
50222         * conform/conformtest.pl: Only accept expected macro values with
50223         "==".  Parse all "macro" lines in one place.
50224         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50226         * conform/conformtest.pl: Handle braced types on "constant" lines
50227         instead of handling "typed-constant".
50228         * conform/data/signal.h-data: Use "constant" instead of
50229         "typed-constant".
50231         * conform/conformtest.pl: Handle "optional-" at start of lines in
50232         one place rather than duplicating several cases.  Handle each
50233         format of "macro" line with initial "optional-".
50235         * conform/conformtest.pl: Only accept expected constant or
50236         optional-constant values with "==".  Parse all "constant" lines in
50237         one place.  Parse all "optional-constant" lines in one place.
50238         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50239         * conform/data/fmtmsg.h-data: Likewise.
50240         * conform/data/netinet/in.h-data: Likewise.
50241         * conform/data/tar.h-data: Likewise.
50242         * conform/data/limits.h-data: Use "==" form on "constant" and
50243         "optional-constant" lines.
50245         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50246         Use -std=c99 for XOPEN2K.
50247         (@knownproblems): Remove.
50248         (newtoken): Don't check %isknown.
50250         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50251         Do not expect macro.
50252         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50264         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50265         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50273         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50274         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50275         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50276         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50277         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50278         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50279         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50280         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50281         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50282         [XPG3] (acosh): Likewise.
50283         [XPG3] (asinh): Likewise.
50284         [XPG3] (atanh): Likewise.
50285         [XPG3] (cbrt): Likewise.
50286         [XPG3] (expm1): Likewise.
50287         [XPG3] (ilogb): Likewise.
50288         [XPG3] (log1p): Likewise.
50289         [XPG3] (logb): Likewise.
50290         [XPG3] (nextafter): Likewise.
50291         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50292         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50293         [XPG3] (remainder): Likewise.
50294         [XPG3] (rint): Likewise.
50295         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50296         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50297         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50298         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50299         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50300         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50301         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50302         [UNIX98 || XOPEN2K] (scalb): Expect.
50303         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50304         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50305         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50306         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50307         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50308         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50309         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50310         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50311         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50312         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50313         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50314         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50315         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50316         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50317         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50318         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50319         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50320         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50321         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50322         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50323         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50324         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50325         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50326         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50327         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50328         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50329         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50330         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50331         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50332         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50333         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50334         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50335         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50336         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50337         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50338         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50339         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50340         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50341         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50342         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50343         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50344         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50345         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50346         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50347         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50348         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50349         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50350         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50351         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50352         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50353         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50354         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50355         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50356         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50357         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50358         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50359         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50360         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50361         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50362         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50363         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50364         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50365         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50366         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50367         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50368         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50369         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50370         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50371         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50372         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50373         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50374         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50375         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50376         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50377         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50378         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50379         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50380         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50381         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50382         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50383         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50384         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50385         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50386         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50387         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50388         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50389         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50390         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50391         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50392         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50393         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50394         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50395         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50396         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50397         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50398         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50399         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50400         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50401         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50402         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50403         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50404         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50405         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50406         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50407         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50408         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50409         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50410         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50411         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50412         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50413         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50414         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50415         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50416         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50417         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50418         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50419         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50420         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50421         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50422         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50423         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50424         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50425         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50426         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50427         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50428         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50429         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50430         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50431         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50432         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50433         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50434         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50435         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50436         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50437         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50438         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50439         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50441         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50442         _XOPEN_SOURCE_EXTENDED for XPG4.
50444         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50446         * Makeconfig (localtime): Remove variable.
50447         (inst_localtime-file): Likewise.
50449 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50452         Update.
50453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50454         Update.
50455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50456         Update.
50457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50458         Update.
50459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50460         Update.
50461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50462         Update.
50463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50464         Update.
50465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50466         Update.
50467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50468         Update.
50470 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50472         [BZ #2550]
50473         [BZ #2570]
50474         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50475         comparisons to determine direction to adjust input.
50476         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50477         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50478         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50479         Likewise.
50480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50481         Likewise.
50482         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50483         Likewise.
50484         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50485         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50486         Likewise.
50487         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50488         Likewise.
50489         * math/libm-test.inc (nexttoward_test): Add more tests.
50491 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50493         [BZ #14040]
50494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50495         in version GLIBC_2.1, not GLIBC_2.0.
50496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50497         Likewise.
50499 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50501         [BZ #13942]
50502         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50503         (1 - x) * (1 + x).
50504         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50505         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50506         * math/libm-test.inc (acos_test): Add more tests.
50507         (asin_test): Likewise.
50508         * sysdeps/i386/fpu/libm-test-ulps: Update.
50509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50511         [BZ #14034]
50512         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50513         of square root.
50514         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50515         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50516         * math/libm-test.inc (acos_test_tonearest): New function.
50517         (acos_test_towardzero): Likewise.
50518         (acos_test_downward): Likewise.
50519         (acos_test_upward): Likewise.
50520         (asin_test_tonearest): Likewise.
50521         (asin_test_towardzero): Likewise.
50522         (asin_test_downward): Likewise.
50523         (asin_test_upward): Likewise.
50524         (main): Call the new functions.
50525         * sysdeps/i386/fpu/libm-test-ulps: Update.
50526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50528         [BZ #13884]
50529         [BZ #13924]
50530         * math/e_exp10.c: Include <float.h>.
50531         (__ieee754_exp10): Handle underflow here rather than multiplying
50532         large negative argument by M_LN10.
50533         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50534         of __ieee754_expf.
50535         * math/e_exp10l.c: Include <float.h>.
50536         (__ieee754_exp10l): Handle underflow here rather than multiplying
50537         large negative argument by M_LN10l.
50538         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50539         spurious overflow exception on underflow.
50541 2012-04-29  Marek Polacek  <polacek@redhat.com>
50543         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50544         (__fortify_function): New macro.
50545         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50546         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50547         __extern_always_inline.
50548         * libio/bits/stdio2.h: Likewise.
50549         * libio/bits/stdio.h: Likewise.
50550         * string/string.h: Likewise.
50551         * string/bits/string3.h: Likewise.
50552         * include/stdio.h: Likewise.
50553         * stdlib/bits/stdlib.h: Likewise.
50554         * stdlib/stdlib.h: Likewise.
50555         * rt/bits/mqueue2.h: Likewise.
50556         * rt/mqueue.h: Likewise.
50557         * posix/bits/unistd.h: Likewise.
50558         * posix/unistd.h: Likewise.
50559         * io/bits/poll2.h: Likewise.
50560         * io/bits/fcntl2.h: Likewise.
50561         * io/fcntl.h: Likewise.
50562         * io/sys/poll.h: Likewise.
50563         * misc/bits/syslog.h: Likewise.
50564         * misc/bits/syslog-ldbl.h: Likewise.
50565         * misc/sys/syslog.h: Likewise.
50566         * socket/bits/socket2.h: Likewise.
50567         * socket/sys/socket.h: Likewise.
50568         * debug/tst-chk1.c: Likewise.
50569         * wcsmbs/bits/wchar2.h: Likewise.
50570         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50571         * wcsmbs/wchar.h: Likewise.
50573 2012-04-29  Andreas Jaeger  <aj@suse.de>
50575         * Makerules (tests): Remove enable-check-abi protection.
50576         (check-abi-warn): Remove.
50577         (check-abi-%): Remove check-abi-warn usage.
50579         * configure.in: Remove check-abi configure option.
50580         * configure: Regenerated.
50581         * config.make.in (enable-check-abi): Remove.
50583 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50585         [BZ #14033]
50586         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50587         double functions to double *_finite functions.
50589         [BZ #13941]
50590         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50591         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50592         LDBL_MIN_EXP.
50593         * stdio-common/Makefile (tests): Add tst-sprintf3.
50594         * stdio-common/tst-sprintf3.c: New file.
50596         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50597         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50599 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50601         * conform/conformtest.pl: Remove duplicate typed-constant
50602         handling.
50604 2012-04-28  David S. Miller  <davem@davemloft.net>
50606         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50607         (check-abi-%): Remove AWK script prerequisite and explicit
50608         abilist directory.
50609         (check-abi): Rewrite to just diff the symlist with the abilist.
50610         (config-tls, config-abi-config): Delete, no longer used.
50611         (update-abi-%): Remove AWK script and explicit abilist directory.
50612         (update-abi): Rewrite to simply compare and conditionally copy the
50613         symlist and the sysdep abilist file.  Remove update-abi-config
50614         checks.
50615         * abilist/ld.abilist: Remove.
50616         * abilist/libBrokenLocale.abilist: Remove.
50617         * abilist/libanl.abilist: Remove.
50618         * abilist/libcrypt.abilist: Remove.
50619         * abilist/libdl.abilist: Remove.
50620         * abilist/librt.abilist: Remove.
50621         * abilist/libthread_db.abilist: Remove.
50622         * abilist/libutil.abilist: Remove.
50623         * scripts/extract-abilist.awk: Remove.
50624         * scripts/merge-abilist.awk: Remove.
50625         * sysdeps/generic/libcidn.abilist: New file.
50626         * sysdeps/generic/libnss_compat.abilist: New file.
50627         * sysdeps/generic/libnss_db.abilist: New file.
50628         * sysdeps/generic/libnss_dns.abilist: New file.
50629         * sysdeps/generic/libnss_files.abilist: New file.
50630         * sysdeps/generic/libnss_hesiod.abilist: New file.
50631         * sysdeps/generic/libnss_nis.abilist: New file.
50632         * sysdeps/generic/libnss_nisplus.abilist: New file.
50633         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50634         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50635         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50636         file.
50637         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50638         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50639         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50640         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50641         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50642         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50643         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50644         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50645         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50646         file.
50647         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50648         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50649         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50650         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50651         file.
50652         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50653         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50654         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50655         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50656         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50657         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50658         file.
50659         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50660         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50661         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50662         file.
50663         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50665         New file.
50666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50667         New file.
50668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50669         New file.
50670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50671         New file.
50672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50673         New file.
50674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50675         New file.
50676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50677         New file.
50678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50679         New file.
50680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50681         New file.
50682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50683         New file.
50684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50685         New file.
50686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50687         New file.
50688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50689         New file.
50690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50691         file.
50692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50693         New file.
50694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50695         New file.
50696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50697         file.
50698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50699         New file.
50700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50701         New file.
50702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50703         file.
50704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50705         New file.
50706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50707         New file.
50708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50709         New file.
50710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50711         New file.
50712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50713         New file.
50714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50715         New file.
50716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50718         file.
50719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50720         New file.
50721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50722         file.
50723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50724         file.
50725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50726         file.
50727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50728         file.
50729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50730         file.
50731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50732         New file.
50733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50734         file.
50735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50736         file.
50737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50738         New file.
50739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50740         file.
50741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50743         file.
50744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50745         New file.
50746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50747         file.
50748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50749         file.
50750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50751         file.
50752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50753         file.
50754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50755         file.
50756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50757         New file.
50758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50759         file.
50760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50761         file.
50762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50763         New file.
50764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50765         file.
50766         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50767         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50768         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50769         file.
50770         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50771         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50772         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50773         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50774         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50775         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50776         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50777         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50778         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50779         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50782         file.
50783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50784         New file.
50785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50786         file.
50787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50788         file.
50789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50790         file.
50791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50792         file.
50793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50794         file.
50795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50796         New file.
50797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50798         New file.
50799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50800         file.
50801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50802         New file.
50803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50804         file.
50805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50807         file.
50808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50809         New file.
50810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50811         file.
50812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50813         file.
50814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50815         file.
50816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50817         file.
50818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50819         file.
50820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50821         New file.
50822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50823         New file.
50824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50825         file.
50826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50827         New file.
50828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50829         file.
50831 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50833         * conform/conformtest.pl: Fix typo in handling typed-constant from
50834         allow-header.
50836 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50838         * README: Cut down references to pre-2.6 Linux kernels and
50839         Linuxthreads.  Update lists of configurations in libc and ports
50840         and sort alphabetically.  Say "or newer" with Linux kernel version
50841         requirements.
50843         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50845 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50847         [BZ #887]
50848         * math/libm-test.inc (logb_test_downward): New test to expose
50849         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50850         rounding mode.
50852 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50854         [BZ #14027]
50855         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50856         to be done.
50857         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50858         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50860 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50862         * sysdeps/unix/i386/brk.S: Remove file.
50863         * sysdeps/unix/i386/dl-brk.S: Likewise.
50864         * sysdeps/unix/i386/pipe.S: Likewise.
50865         * sysdeps/unix/i386/sigreturn.S: Likewise.
50866         * sysdeps/unix/i386/syscall.S: Likewise.
50867         * sysdeps/unix/i386/vfork.S: Likewise.
50868         * sysdeps/unix/i386/wait.S: Likewise.
50870         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50871         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50873         * configure.in (arm*-none*): Do not allow without
50874         --enable-hacker-mode.
50875         (netbsd*): Remove case setting base_os.
50876         (386bsd*): Likewise.
50877         (freebsd*): Likewise.
50878         (bsdi*): Likewise.
50879         (osf*): Likewise.
50880         (sunos*): Likewise.
50881         (ultrix*): Likewise.
50882         (newsos*): Likewise.
50883         (dynix*): Likewise.
50884         (*bsd*): Likewise.
50885         (sysv*): Likewise.
50886         (isc*): Likewise.
50887         (esix*): Likewise.
50888         (sco*): Likewise.
50889         (minix*): Likewise.
50890         (irix4*): Likewise.
50891         (irix6*): Likewise.
50892         (solaris[2-9]*): Likewise.
50893         (none): Likewise.
50894         * configure: Regenerated.
50896 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50898         [BZ #11521]
50899         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50900         overflow or cancellation in calculating denominator.
50901         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50902         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50903         down expression to avoid unexpected rounding in newer GCCs.
50904         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50906 2012-04-26  David S. Miller  <davem@davemloft.net>
50908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50909         long-double compat symbols.
50910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50924 2012-04-25  David S. Miller  <davem@davemloft.net>
50926         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50927         HWCAP_* values only after the memory barriers have been defined.
50928         (atomic_full_barrier): Define.
50929         (atomic_read_barrier): Define.
50930         (atomic_write_barrier): Define.
50932 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50934         * shlib-versions: Add libgcc_s version information.
50935         * sysdeps/generic/libgcc_s.h: Remove.
50936         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50937         libgcc_s.h.
50938         * sysdeps/gnu/unwind-resume.c: Likewise.
50939         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50941 2012-04-25  David S. Miller  <davem@davemloft.net>
50943         * sysdeps/unix/sparc/brk.S: Delete.
50944         * sysdeps/unix/sparc/dl-brk.S: Delete.
50945         * sysdeps/unix/sparc/pipe.S: Delete.
50946         * sysdeps/unix/sparc/sysdep.S: Delete.
50947         * sysdeps/unix/sparc/sysdep.h: Delete.
50948         * sysdeps/unix/sparc/vfork.S: Delete.
50949         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50950         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50951         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50952         (ret_ERRVAL, r0, r1, MOVE): Define.
50953         (JUMPTARGET): Remove.
50954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50955         sysdeps/unix/sparc/sysdep.h
50956         (ENTRY, END): Remove.
50957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50959 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50961         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50962         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50963         -DIS_IN_build.
50965         * timezone/README: Update upstream location and email address for
50966         tzcode and tzdata.
50967         * timezone/zdump.c: Update from tzcode 2012b.
50968         * timezone/zic.c: Likewise.
50970         * configure.in (libc_cv_as_needed): Remove test.
50971         * configure: Regenerated.
50972         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50973         conditional definition.
50974         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50975         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50976         * config.make.in (have-as-needed): Remove variable.
50978 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50979             Paul Pluzhnikov  <ppluzhnikov@google.com>
50981         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50982         strings correctly.
50984 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50986         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50987         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50988         * sysdeps/sh/strlen.S: Likewise.
50990 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50992         * sysdeps/unix/fork.S: Remove file.
50993         * sysdeps/unix/i386/fork.S: Likewise.
50994         * sysdeps/unix/sparc/fork.S: Likewise.
50996         * sysdeps/unix/system.c: Remove file.
50997         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50999         * sysdeps/unix/getegid.S: Remove file.
51000         * sysdeps/unix/geteuid.S: Likewise.
51002 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51004         * scripts/check-localplt.awk: New file.
51005         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51006         of diff.
51007         * scripts/data/localplt-generic.data: Add a comment.
51009         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51010         NODE when __dir_mkfile failed.
51011         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51012         Reported by Ludovic Courtès <ludo@gnu.org>.
51014 2012-04-24  Andreas Jaeger  <aj@suse.de>
51016         * Makerules (common-clean): Also remove gen-as-const-headers
51017         files.
51019 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51021         * Makerules (native-compile): Do not change working directory for
51022         build.  Use $(OUTPUT_OPTION) in command.
51023         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51025 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51027         [BZ #13886]
51028         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51029         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51030         * math/libm-test.inc (floor_test): Add more tests.
51031         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51033 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51035         * sysdeps/unix/getdents.c: Remove file.
51036         * sysdeps/unix/sysv/getdents.c: Likewise.
51037         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51039         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51040         sysdeps/unix/mman/syscalls.list.
51041         (mmap): Likewise.
51042         (mprotect): Likewise.
51043         (msync): Likewise.
51044         (munmap): Likewise.
51045         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51046         * sysdeps/unix/mman/syscalls.list: Remove.
51047         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51049         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51050         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51051         * configure: Regenerated.
51052         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51053         $(libgcc_s_suffix).
51054         * config.make.in (libgcc_s_suffix): Remove variable.
51056 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51058         * sysdeps/unix/sysv/gethostname.c: Move to ...
51059         * sysdeps/posix/gethostname.c: ... here.
51061         * sysdeps/unix/execve.S: Remove file.
51063         * sysdeps/unix/_exit.S: Remove file.
51065 2012-04-23  Andreas Jaeger  <aj@suse.de>
51067         [BZ #13739]
51068         * manual/Makefile: Remove make dist support, there's no
51069         need for a stand-alone documentation tar ball.
51070         (TEXI2DVI): Define always, it's not in Makeconfig.
51071         (dist): Removed.
51072         (tar-it): Removed.
51073         (edition): Removed.
51074         (glibc-doc-$(edition).tar): Removed
51075         (%.Z): Removed.
51076         (%.gz): Removed.
51077         (%.uu): Removed.
51078         (ETAGS): Remove, it's in Makeconfig.
51079         (move-if-change): Remove, it's in Makeconfig.
51081 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51083         [BZ #13970]
51084         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51085         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51086         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51087         (strtod_l, strtof_l, strtold_l): Remove __wur.
51088         It is not necessarily an error to ignore strtol's return value.
51089         One can reliably look at the stored endptr to decide whether
51090         the number had valid syntax.
51092 2012-04-21  Andreas Jaeger  <aj@suse.de>
51094         [BZ #13739]
51095         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51097 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51099         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51100         * sysdeps/unix/sysv/Versions: Remove file.
51102 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51104         [BZ #13927]
51105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51107 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51109         [BZ #7064]
51110         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51111         version from __vm86.
51113 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51115         * sysdeps/unix/common/lxstat.c: Remove file.
51116         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51118         * sysdeps/unix/sysv/Makefile: Remove file.
51120         * sysdeps/unix/sysv/direct.h: Remove file.
51122         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51123         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51124         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51125         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51126         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51127         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51128         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51130         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51132         * sysdeps/unix/xmknod.c: Remove file.
51133         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51135         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51137         * sysdeps/unix/sysv/i386/time.S: Remove file.
51139         * sysdeps/unix/fxstat.c: Remove file.
51140         * sysdeps/unix/xstat.c: Likewise.
51141         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51143         * sysdeps/unix/sysv/sigaction.c: Remove file.
51145         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51146         (sysdep_headers): Remove variable.
51147         [termio.h not in sysdep_headers] (generated): Likewise.
51148         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51149         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51150         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51151         * sysdeps/unix/sysv/tcflow.c: Likewise.
51152         * sysdeps/unix/sysv/tcflush.c: Likewise.
51153         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51154         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51155         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51156         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51157         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51159         * sysdeps/unix/siglist.c: Remove file.
51161         * sysdeps/unix/getppid.S: Remove file.
51163         * sysdeps/unix/mkdir.c: Remove file.
51164         * sysdeps/unix/rmdir.c: Likewise.
51166 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51168         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51169         ERR_MAX value.
51170         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51171         errlist-compat value.
51173 2012-04-18  David S. Miller  <davem@davemloft.net>
51175         * sysdeps/generic/memcopy.h (reg_char): Delete.
51176         * debug/strcat_chk.c: Use char, not reg_char.
51177         * debug/strcpy_chk.c: Likewise.
51178         * debug/strncat_chk.c: Likewise.
51179         * debug/strncpy_chk.c: Likewise.
51180         * string/memchr.c: Likewise.
51181         * string/memrchr.c: Likewise.
51182         * string/rawmemchr.c: Likewise.
51183         * string/strcat.c: Likewise.
51184         * string/strchr.c: Likewise.
51185         * string/strchrnul.c: Likewise.
51186         * string/strcmp.c: Likewise.
51187         * string/strcpy.c: Likewise.
51188         * string/strncat.c: Likewise.
51189         * string/strncmp.c: Likewise.
51190         * string/strncpy.c: Likewise.
51192 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51194         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51195         __builtin_memcopy is called when src and dest ranges are known to not
51196         overlap.
51198 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51200         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51201         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51202         fwd_align_merge macro call.
51203         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51204         bwd_align_merge macro call.
51205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51207 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51209         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51210         bwd_align_merge macros.
51211         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51212         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51213         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51215 2012-04-18  David S. Miller  <davem@davemloft.net>
51217         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51219 2012-04-18  Andreas Jaeger  <aj@suse.de>
51221         [BZ# 6794]
51222         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51223         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51224         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51226         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51227         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51230         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51231         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51232         Adjust for changed ldbl-128 files.
51234         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51235         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51236         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51238 2012-04-17  David S. Miller  <davem@davemloft.net>
51240         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51242 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51244         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51245         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51246         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51247         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51248         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51249         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51251 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51253         [BZ #6794]
51254         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51255         * math/libm-test.inc: Add ilogb errno and exception tests.
51256         * math/w_ilogb.c: New file: ilogb wrapper.
51257         * math/w_ilogbf.c: New file: ilogbf wrapper.
51258         * math/w_ilogbl.c: New file: ilogbl wrapper.
51259         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51260         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51261         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51262         exception being thrown with 0.0 as argument.
51263         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51264         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51265         exception being thrown with 0.0 as argument.
51266         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51267         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51268         exception being thrown with 0.0 as argument.
51269         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51270         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51271         exception being thrown with 0.0 as argument.
51272         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51273         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51274         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51275         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51277         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51278         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51279         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51280         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51282 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51284         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51285         with altivec.
51287 2012-04-16  Marek Polacek  <polacek@redhat.com>
51289         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51291 2012-04-16  Marek Polacek  <polacek@redhat.com>
51293         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51294         operands of fdivp instruction.
51296 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51298         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51299         * elf/tst-auditmod3b.c: Likewise.
51300         * elf/tst-auditmod4b.c: Likewise.
51301         * elf/tst-auditmod5b.c: Likewise.
51302         * elf/tst-auditmod6b.c: Likewise.
51303         * elf/tst-auditmod6c.c: Likewise.
51304         * elf/tst-auditmod7b.c: Likewise.
51305         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51306         * sysdeps/x86_64/preconfigure.in: Likewise.
51307         * sysdeps/x86_64/preconfigure: Regenerated.
51309 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51311         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51312         __ILP32__.
51314 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51316         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51317         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51319 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51321         [BZ #13973]
51322         * locale/iso-639.def: Fix gl language name. Spotted by
51323         Yaron Shahrabani.
51325 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51327         [BZ #2074]
51328         * libio/libio.h (__io_write_fn): Update comment.
51330 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51332         [BZ #2074]
51333         * stdio.texi (Hook Functions): The user provided writer function
51334         is not allowed to return -1.
51336 2012-04-11  David S. Miller  <davem@davemloft.net>
51338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51340 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51342         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51343         Add a leading slash to rtkaio.
51345 2012-04-11  Jim Meyering  <meyering@redhat.com>
51347         [BZ #11959]
51348         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51349         It is not necessarily an error to ignore fwrite's return
51350         value.  One can reliably use ferror to test for errors after
51351         the fact.
51353 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51355         * bits/types.h (__snseconds_t): New type.
51356         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51358         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51360         (__SNSECONDS_T_TYPE): Likewise.
51361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51362         (__SNSECONDS_T_TYPE): Likewise.
51363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51364         (__SNSECONDS_T_TYPE): Likewise.
51366 2012-04-10  Andreas Jaeger  <aj@suse.de>
51368         [BZ #2636]
51369         * manual/time.texi (Processor Time): Return type of times is
51370         elapsed real time since an arbitrary point in the past.
51371         (CPU Time): Move CLK_TCK from here...
51372         (Processor Time): ...to here.  Correct description.
51373         * manual/conf.texi (Constants for Sysconf): Correct description of
51374         _SC_CLK_TCK.
51376 2012-04-10  David S. Miller  <davem@davemloft.net>
51378         [BZ #13967]
51379         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51380         where the is a gap between DT_REL(A) and DT_JMPREL.
51382 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51384         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51385         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51386         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51388 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51390         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51391         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51392         (dl_main): Handle --inhibit-cache.
51393         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51394         _dl_inhibit_cache.
51395         * elf/dl-load.c (_dl_map_object): Use it.
51396         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51398 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51400         [BZ #13872]
51401         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51402         (__ieee754_powl): Saturate large exponents rather than testing for
51403         overflow of y*log2(x).
51404         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51405         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51406         exceptions.
51408         [BZ #11521]
51409         * math/s_ctan.c: Include <float.h>.
51410         (__ctan): Avoid internal overflow or cancellation in calculating
51411         denominator.
51412         * math/s_ctanf.c: Likewise.
51413         * math/s_ctanl.c: Likewise.
51414         * math/s_ctanh.c: Likewise.
51415         * math/s_ctanhf.c: Likewise.
51416         * math/s_ctanhl.c: Likewise.
51417         * math/libm-test.inc (ctan_test): Add more tests.
51418         (ctanh_test): Likewise.
51419         * sysdeps/i386/fpu/libm-test-ulps: Update.
51420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51422 2012-04-09  Andreas Jaeger  <aj@suse.de>
51424         [BZ #6894]
51425         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51426         is an optional BSD extension.
51428         [BZ #10254]
51429         * manual/stdio.texi (Opening Streams): Document additional fopen
51430         parameters.
51432 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51434         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51435         %eax without telling the compiler.
51437 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51439         [BZ # 13963]
51440         * manual/install.texi: Use sourceware.org.
51442 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51444         [BZ #13873]
51445         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51446         (__ieee754_pow): Generate overflow and underflow using huge*huge
51447         and tiny*tiny rather than just returning constant infinity or zero
51448         for large exponents.
51449         * math/libm-test.inc (pow_test): Require overflow exceptions for
51450         applicable cases of large exponents.
51452         [BZ #706]
51453         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51454         (__ieee754_pow): Use iterative multiplication algorithm only for
51455         integer exponents with absolute value below 1024.  Check for odd
51456         integer exponents when using algorithm for real exponents.
51457         * math/libm-test.inc (pow_test): Add more tests.
51458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51460 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51462         [BZ #13705]
51463         * math/libm-test.inc (exp_test): Do not allow overflow exception
51464         on underflow test.
51466 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51468         [BZ #13705]
51469         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51470         instead of __kernel_standard_f.
51472 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51474         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51475         * sysdeps/x86_64/memset_chk.S: Likewise.
51477 2012-04-08  Andreas Jaeger  <aj@suse.de>
51479         [BZ #10153]
51480         * manual/startup.texi (Environment Access): Describe return value
51481         for putenv and setenv.
51483         [BZ #6895]
51484         * manual/filesys.texi (Directory Entries): Add description for
51485         DT_LNK.
51487         [BZ #6890]
51488         * manual/filesys.texi (Directory Entries): Clarify that it's file
51489         system not operating system in the description of DT_UNKNOWN.
51491         [BZ #6578]
51492         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51494 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51496         [BZ #6649]
51497         * manual/llio.texi (Opening and Closing Files): Add cross
51498         reference to explain mode argument.
51500 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51502         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51503         * sysdeps/x86_64/memset_chk.S: Likewise.
51505 2012-04-07  David S. Miller  <davem@davemloft.net>
51507         * elf/elf.h (R_SPARC_WDISP10): Define.
51508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51509         R_SPARC_SIZE32.
51510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51511         R_SPARC_SIZE64 and R_SPARC_H34.
51513 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51516         conditions and remove no longer applicable assertion.
51518 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51520         * bits/byteswap.h: Include <features.h>.
51521         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51522         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51524 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51526         * bits/byteswap.h (__bswap_16): Removed.
51527         Include <bits/byteswap-16.h> to get __bswap_16.
51528         * sysdeps/i386/bits/byteswap.h: Likewise.
51529         * sysdeps/s390/bits/byteswap.h: Likewise.
51530         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51531         * bits/byteswap-16.h: New file.
51532         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51533         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51534         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51535         * string/Makefile (headers): Add bits/byteswap-16.h.
51537 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51539         [BZ #13895]
51540         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51541         extra indirection.
51542         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51543         * nss/tst-nss-static.c: New.
51545 2012-04-06  Robert Millan  <rmh@gnu.org>
51547         [BZ #6486]
51548         * manual/llio.texi (File Position Primitive): lseek
51549         refers to WHENCE when it really means OFFSET.
51551 2012-04-06  Andreas Jaeger  <aj@suse.de>
51553         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51554         strncmp declarations.
51556         * abilist/libc.abilist: Add __poll and __ppoll.
51558 2012-04-05  David S. Miller  <davem@davemloft.net>
51560         * scripts/check-local-headers.sh: Accept a host triplet in the
51561         path matched by the exclude regexp.
51563         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51564         definition.
51565         * sysdeps/powerpc/powerpc32/dl-machine.h
51566         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51567         * sysdeps/s390/s390-32/dl-machine.h
51568         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51569         * sysdeps/sparc/sparc32/dl-machine.h
51570         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51571         * sysdeps/sparc/sparc64/dl-machine.h
51572         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51574         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51575         lazy binding.
51576         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51577         undefined symbol errors.
51579         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51580         DT_NEEDED entries.
51582 2012-04-05  Michael Matz  <matz@suse.de>
51584         [BZ #13592]
51585         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51587 2012-04-05  Andreas Jaeger  <aj@suse.de>
51589         [BZ #13908]
51590         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51591         comment.
51593 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51595         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51596         which ROUND is no valid rounding mode.
51598 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51600         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51601         read again.
51602         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51604 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51606         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51607         an exception using FPU order intentionally.
51609 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51611         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51612         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51613         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51614         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51616 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51618         [BZ #12340]
51619         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51620         EINVAL when BUFLEN is too smal.
51622 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51624         [BZ #13553]
51625         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51626         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51628 2012-04-03  Andreas Jaeger  <aj@suse.de>
51630         [BZ #13938]
51631         * manual/setjmp.texi (System V contexts): Fix sentence.
51633         [BZ #13926]
51634         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51635         New macro for this case.
51636         [!__GNUC__] (__bswap_64): New inline function for this case.
51637         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51638         * bits/byteswap.h: Likewise.
51639         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51640         ull, guard with __GLIBC_HAVE_LONG_LONG.
51642         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51643         __GLIBC_HAVE_LONG_LONG.
51645         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51646         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51648 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51650         [BZ #13691]
51651         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51652         inptr and inend, rather than using last_ch.
51654 2012-04-02  David S. Miller  <davem@davemloft.net>
51656         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51657         * stdio-common/printf-parse.h (read_int): Change return type to
51658         'int', return -1 on INT_MAX overflow.
51659         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51660         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51661         overflows INT_MAX.  Check for overflow of in-format-string precision
51662         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51663         SIZE_MAX not INT_MAX for integer overflow test.
51664         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51665         skip the construct in the format string but do not record anything.
51666         * stdio-common/bug22.c: Adjust to test both width/prevision
51667         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51668         explicitly for proper errno values.
51670 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51672         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51673         CHAR_MAX.
51674         * string/test-strcmp.c [! WIDE]: Likewise.
51675         * time/tst-mktime2.c: Likewise for INT_MAX.
51676         * string/test-string.h: #include <sys/param.h> for MIN.
51678         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51679         * sysdeps/i386/init-first.c (init): Likewise.
51680         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51681         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51682         * sysdeps/sh/init-first.c (init): Likewise.
51684 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51686         * po/ru.po: Update from translation team.
51687         * po/vi.po: Likewise.
51689 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51691         * resolv/nss_dns/dns-host.c: Merge copyright years.
51693 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51696         Optimize memcpy with prefetch if
51697         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51698         src, dst pointers have unequal 16 byte alignments.
51700 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51702         [BZ #13928]
51703         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51704         from a CNAME entry and return the minimum ttl for the query.
51705         (gaih_getanswer_slice): Likewise.
51707 2012-03-30  Jeff Law  <law@redhat.com>
51709         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51710         due to long keys.
51711         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51712         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51714         * resolv/nss_dns/dns-host.c: Update copyright year.
51716 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51718         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51719         requests to save a system call.  Fix check that all bytes are sent.
51721         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51722         comments for sendmmsg.
51724 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51726         [BZ #13691]
51727         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51728         with only 1 character between 0x0041 and 0x01b0.
51729         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51730         * wcsmbs/tst-mbsnrtowcs.c: New file.
51732 2012-03-29  David S. Miller  <davem@davemloft.net>
51734         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51735         small copies by hand.
51737 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51739         [BZ #13761]
51740         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51741         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51742         group memberships.
51744 2012-03-28  David S. Miller  <davem@davemloft.net>
51746         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51747         that branches into memcpy.
51748         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51751         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51753         bits.
51754         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51755         implementation too.
51756         * sysdeps/sparc/mempcpy.S: New file.
51758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51759         the IFUNC routine in the libc case.
51760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51762         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51763         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51764         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51765         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51766         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51767         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51768         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51769         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51771         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51772         loop to 256 bytes instead of 64 bytes and fix test signedness.
51774         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51775         * sysdeps/sparc/sparc32/Makefile: rather than here...
51776         * sysdeps/sparc/sparc64/Makefile: and here.
51778 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51780         * malloc/mallocbug.c: Avoid warnings about unused variables.
51782 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51784         [BZ #13760]
51785         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51786         in the right place. Discard and retry query if response is
51787         larger than input buffer size.
51789 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51791         [BZ #369]
51792         [BZ #2678]
51793         [BZ #3866]
51794         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51795         x for large integer exponent.
51796         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51797         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51798         sign of result as needed afterwards.
51799         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51800         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51801         result for underflowing pow the same as for overflow.
51802         (__kernel_standard_l): Handle powl overflow and underflow here
51803         rather than calling __kernel_standard.
51804         * math/libm-test.inc (pow_test): Add more tests.
51806         [BZ #3868]
51807         [BZ #13879]
51808         [BZ #13910]
51809         [BZ #13911]
51810         [BZ #13912]
51811         [BZ #13913]
51812         [BZ #13915]
51813         [BZ #13916]
51814         [BZ #13917]
51815         [BZ #13918]
51816         [BZ #13919]
51817         [BZ #13920]
51818         [BZ #13921]
51819         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51820         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51821         (__kernel_standard_l): New function.
51822         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51823         __kernel_standard.
51824         * math/w_acosl.c (__acosl): Likewise.
51825         * math/w_asinl.c (__asinl): Likewise.
51826         * math/w_atan2l.c (__atan2l): Likewise.
51827         * math/w_atanhl.c (__atanhl): Likewise.
51828         * math/w_coshl.c (__coshl): Likewise.
51829         * math/w_exp10l.c (__exp10l): Likewise.
51830         * math/w_exp2l.c (__exp2l): Likewise.
51831         * math/w_fmodl.c (__fmodl): Likewise.
51832         * math/w_hypotl.c (__hypotl): Likewise.
51833         * math/w_j0l.c (__j0l, __y0l): Likewise.
51834         * math/w_j1l.c (__j1l, __y1l): Likewise.
51835         * math/w_jnl.c (__jnl, __ynl): Likewise.
51836         * math/w_lgammal.c (__lgammal): Likewise.
51837         * math/w_log10l.c (__log10l): Likewise.
51838         * math/w_log2l.c (__log2l): Likewise.
51839         * math/w_logl.c (__logl): Likewise.
51840         * math/w_powl.c (__powl): Likewise.
51841         * math/w_remainderl.c (__remainderl): Likewise.
51842         * math/w_scalbl.c (sysv_scalbl): Likewise.
51843         * math/w_sinhl.c (__sinhl): Likewise.
51844         * math/w_sqrtl.c (__sqrtl): Likewise.
51845         * math/w_tgammal.c (__tgammal): Likewise.
51846         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51847         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51848         * math/libm-test.inc (acos_test): Add more tests.
51849         (acosh_test): Likewise.
51850         (asin_test): Likewise.
51851         (atanh_test): Likewise.
51852         (exp_test): Likewise.
51853         (exp10_test): Likewise.
51854         (exp2_test): Likewise.
51855         (expm1_test): Likewise.
51856         (lgamma_test): Likewise.
51857         (log_test): Likewise.
51858         (log10_test): Likewise.
51859         (log1p_test): Likewise.
51860         (log2_test): Likewise.
51861         (pow_test): Do not allow some spurious overflow exceptions.
51862         (sqrt_test): Add more tests.
51863         (tgamma_test): Likewise.
51864         (y0_test): Likewise.
51865         (y1_test): Likewise.
51866         (yn_test): Likewise.
51868 2012-03-27  Anton Blanchard  <anton@samba.org>
51870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51871         MAP_HUGETLB.
51872         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51876 2012-03-27  David S. Miller  <davem@davemloft.net>
51878         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51880         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51881         have-as-vis3 check.
51883 2012-03-27  Andreas Jaeger  <aj@suse.de>
51885         * sysdeps/x86_64/elf/configure.in: Moved to ...
51886         * sysdeps/x86_64/configure.in: ... here.
51887         * sysdeps/x86_64/elf/start.S: Moved to ...
51888         * sysdeps/x86_64/start.S: ... here.
51889         * sysdeps/x86_64/elf/configure: Delete.
51891         * sysdeps/x86_64/configure.in: Merge contents from
51892         sysdeps/i386/configure.in (without i686 check).
51894         * sysdeps/i386/elf/Versions: Merge into ...
51895         * sysdeps/i386/Versions: ... this.
51896         * sysdeps/i386/elf/Versions: Delete file.
51897         * sysdeps/i386/elf/start.S: Moved to ...
51898         * sysdeps/i386/start.S: ...here.
51899         * sysdeps/i386/elf/configure.in: Merge into...
51900         * sysdeps/i386/configure.in: ...here.
51901         * sysdeps/i386/elf/configure.in: Delete file.
51902         * sysdeps/i386/elf/configure: Delete file.
51904         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51905         * debug/backtracesyms.c: ... here.
51906         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51907         * debug/backtracesymsfd.c: ... here.
51908         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51909         * sysdeps/generic/ifunc-sel.h: ... here.
51911         * sysdeps/unix/i386/start.c: Delete file.
51912         * sysdeps/unix/sparc/start.c: Delete file.
51913         * sysdeps/unix/start.c: Delete file.
51915         * sysdeps/sh/elf/configure.in: Moved to ...
51916         * sysdeps/sh/configure.in: ... here.
51917         * sysdeps/sh/elf/start.S: Moved to ...
51918         * sysdeps/sh/start.S: ... here.
51919         * sysdeps/sh/elf/configure: Delete file.
51921         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51922         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51923         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51924         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51925         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51926         * sysdeps/powerpc/powerpc64/start.S: here.
51927         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51928         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51929         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51930         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51931         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51933         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51934         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51935         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51936         * sysdeps/powerpc/powerpc32/start.S: ... here.
51937         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51938         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51939         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51941         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51942         * sysdeps/powerpc/ifunc-sel.h: ... here.
51943         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51944         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51946         * sysdeps/sparc/elf/configure.in: Moved to ...
51947         * sysdeps/sparc/configure.in: ... here.
51948         * sysdeps/sparc/elf/configure: Delete file.
51949         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51950         * sysdeps/sparc/sparc32/start.S: ... here.
51951         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51952         * sysdeps/sparc/sparc64/start.S: ... here.
51953         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51954         * sysdeps/sparc/sparc32/Makefile: ... this.
51955         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51956         * sysdeps/sparc/sparc64/Makefile: ... this.
51958         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51959         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51960         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51961         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51962         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51963         * sysdeps/s390/s390-32/setjmp.S: ... here.
51964         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51965         * sysdeps/s390/s390-32/configure.in: ... here.
51966         * sysdeps/s390/s390-32/elf/configure: Delete file.
51967         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51968         * sysdeps/s390/s390-32/start.S: ... here.
51970         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51971         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51972         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51973         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51974         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51975         * sysdeps/s390/s390-64/setjmp.S: ... here.
51976         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51977         * sysdeps/s390/s390-64/configure.in: ... here
51978         * sysdeps/s390/s390-64/elf/configure: Delete file.
51979         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51980         * sysdeps/s390/s390-64/start.S: ... here.
51981         * sysdeps/s390/s390-64/elf/configure: Delete.
51983         * configure.in: Remove support for elf directories in sysdeps.
51985         * configure: Regenerated.
51986         * sysdeps/i386/configure: Regenerated.
51987         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51988         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51989         * sysdeps/s390/s390-32/configure: Regenerated.
51990         * sysdeps/s390/s390-64/configure: Regenerated.
51991         * sysdeps/sh/configure: Regenerated.
51992         * sysdeps/sparc/configure: Regenerated.
51993         * sysdeps/x86_64/configure: Regenerated.
51995 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52000         denormal result into account.
52002 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52004         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52005         Reported by Allan McRae <allan@archlinux.org>.
52007 2012-03-23  Jeff Law  <law@redhat.com>
52009         * nss/getnssent.c (__nss_getent): Fix typo.
52011 2012-03-23  David S. Miller  <davem@davemloft.net>
52013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52015 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52017         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52018         to pad to uint64_t for each field.
52019         (dl_tls_index): Replace unsigned long with uint64_t.
52021 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52022         Paul Pluzhnikov  <ppluzhnikov@google.com>
52024         [BZ #6528]
52025         * grp/Makefile (otherlibs): Don't set it.
52026         * inet/Makefile (otherlibs): Likewise.
52027         * login/Makefile (otherlibs): Likewise.
52028         * nscd/Makefile (otherlibs): Likewise.
52029         * posix/Makefile (otherlibs): Likewise.
52030         * pwd/Makefile (otherlibs): Likewise.
52031         * rt/Makefile (otherlibs): Likewise.
52032         * sunrpc/Makefile (otherlibs): Likewise.
52033         * nss/Makefile (otherlibs): Likewise.
52034         Add libnss_files to routines and static-only-routines.
52035         ($(objpfx)getent): Remove rule.
52036         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52037         static-only-routines.
52039 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52041         [BZ #13892]
52042         * math/s_cexp.c: Include <float.h>.
52043         (__cexp): Handle exp result overflowing not necessarily
52044         overflowing both real and imaginary parts of result.
52045         * math/s_cexpf.c: Likewise.
52046         * math/s_cexpl.c: Likewise.
52047         * math/libm-test.inc (cexp_test): Add more tests.
52048         * sysdeps/i386/fpu/libm-test-ulps: Update.
52049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52051 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52053         * include/link.h (ELFW): New macro.
52054         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52055         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52057 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52059         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52060         with uint64_t.
52062 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52064         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52065         declaration.
52066         (struct La_x32_retval): Likewise.
52068 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52070         * sysdeps/x86_64/preconfigure.in: New file.
52071         * sysdeps/x86_64/preconfigure: New generated file.
52073 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52075         [BZ #13824]
52076         * math/e_exp2l.c: Include <float.h>.
52077         (__ieee754_exp2l): Handle overflow and underflow cases
52078         separately.  Only pass fractional part of argument to
52079         __ieee754_expl.
52080         * math/libm-test.inc (exp2_test): Add more tests.
52082         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52083         negating x to take absolute value.
52084         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52085         Likewise.
52086         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52087         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52088         Likewise.
52089         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52090         computing low part if x was negated.
52091         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52093 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52095         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52096         la_x32_gnu_pltexit.
52097         (pltexit): Cast int_retval to ptrdiff_t.
52098         * elf/tst-auditmod3b.c: Likewise.
52099         * elf/tst-auditmod4b.c: Likewise.
52100         * elf/tst-auditmod5b.c: Likewise.
52101         * elf/tst-auditmod6b.c: Likewise.
52102         * elf/tst-auditmod6c.c: Likewise.
52103         * elf/tst-auditmod7b.c: Likewise.
52105         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52106         and x32_gnu_pltexit.
52108         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52109         __ELF_NATIVE_CLASS.
52110         (La_x32_regs): New macro.
52111         (La_x32_retval): Likewise.
52112         (la_x32_gnu_pltenter): New function prototype.
52113         (la_x32_gnu_pltexit): Likewise.
52115 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52117         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52118         exponent.
52120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52122         * configure.in (libc_cv_cc_nofma): Check for option to disable
52123         generation of FMA instructions.
52124         * configure: Regenerate.
52125         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52126         * sysdeps/ieee754/dbl-64/Makefile: New file.
52127         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52128         Remove brandred-fma4.
52129         (CFLAGS-brandred-fma4.c): Remove.
52130         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52131         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52132         define.
52133         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52134         define.
52136 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52138         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52139         LLONG_MAX != LONG_MAX.
52140         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52141         (_fitoa_word): Likewise.
52142         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52143         LLONG_MAX != LONG_MAX.
52144         * stdio-common/_itowa.h: Include <_itoa.h>.
52145         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52146         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52147         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52148         only if not defined.
52149         (_ITOA_WORD_TYPE): Likewise.
52150         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52151         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52153 2012-03-21  David S. Miller  <davem@davemloft.net>
52155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52157 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52159         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52160         of x86_64 when setting libc_cv_slibdir, libdir and
52161         libc_cv_localedir.
52162         * sysdeps/unix/sysv/linux/configure: Regenerated.
52164 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52166         * manual/lang.texi (Old Varargs): Remove section.
52167         (How Variadic): Update menu.
52168         (va_start): Do not mention varargs.h.
52170 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52171             Joseph Myers  <joseph@codesourcery.com>
52173         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52174         link test.
52175         * configure: Regenerated.
52177 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52179         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52180         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52181         conformtest.pl
52183 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52185         * NOTES: Remove.
52186         * Makefile (files-for-dist): Remove NOTES.
52187         (NOTES): Remove rule.
52188         * README: Don't refer to NOTES.
52189         * manual/creature.texi: Don't include macros.texi.
52190         * manual/intro.texi (creature.texi): Remove comment referring to
52191         NOTES.
52193         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52194         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52195         * configure: Regenerated.
52196         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52197         LIBC_TRY_CC_OPTION.
52198         (libc_cv_as_i686): Likewise.
52199         (libc_cv_cc_avx): Likewise.
52200         (libc_cv_cc_sse2avx): Likewise.
52201         (libc_cv_cc_fma4): Likewise.
52202         (libc_cv_cc_novzeroupper): Likewise.
52203         * sysdeps/i386/configure: Regenerated.
52205         [BZ #13883]
52206         * sysdeps/i386/fpu/s_cexp.S: Remove.
52207         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52208         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52209         * math/libm-test.inc (cexp_test): Add more tests.
52210         * sysdeps/i386/fpu/libm-test-ulps: Update.
52211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52213 2012-03-21  Allan McRae  <allan@archlinux.org>
52215         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52217 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52219         [BZ #13871]
52220         * math/w_exp2.c: Do not include <float.h>.
52221         (o_threshold, u_threshold): Remove.
52222         (__exp2): Calculate result before checking finiteness and calling
52223         __kernel_standard.
52224         * math/w_exp2f.c: Likewise.
52225         * math/w_exp2l.c: Likewise.
52226         * math/libm-test.inc (exp2_test): Require overflow exception for
52227         1e6 input.
52229         [BZ #3866]
52230         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52231         range of signed 64-bit integers before using fistpll.  Remove
52232         checks for whether integers fit in mantissa bits.
52233         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52234         the range of signed 32-bit integers before using fistpl.  Remove
52235         checks for whether integers fit in mantissa bits.
52236         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52237         (__ieee754_powl): Test for y outside the range of signed 64-bit
52238         integers before using fistpll.  Reduce 64-bit values to 63-bit
52239         ones as needed.
52240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52241         divide-by-zero is raised for zero to large negative powers.
52242         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52243         (__ieee754_powl): Test for y outside the range of signed 64-bit
52244         integers before using fistpll.  Reduce 64-bit values to 63-bit
52245         ones as needed.
52246         * math/libm-test.inc (pow_test): Add more tests.
52248 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52250         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52251         <stdio-common/_itoa.h>.
52252         * debug/segfault.c: Likewise.
52253         * elf/dl-cache.c: Likewise.
52254         * elf/dl-minimal.c: Likewise.
52255         * elf/dl-misc.c: Likewise.
52256         * elf/dl-sysdep.c: Likewise.
52257         * elf/dl-version.c: Likewise.
52258         * elf/rtld.c: Likewise.
52259         * hurd/hurdsock.c: Likewise.
52260         * hurd/lookup-retry.c: Likewise.
52261         * malloc/malloc.c: Likewise.
52262         * malloc/mtrace.c: Likewise.
52263         * nscd/nscd_getgr_r.c: Likewise.
52264         * nscd/nscd_getpw_r.c: Likewise.
52265         * nscd/nscd_getserv_r.c: Likewise.
52266         * posix/getopt_init.c: Likewise.
52267         * posix/wordexp.c: Likewise.
52268         * stdio-common/_itoa.c: Likewise.
52269         * stdio-common/printf_fphex.c: Likewise.
52270         * stdio-common/vfprintf.c: Likewise.
52271         * string/_strerror.c: Likewise.
52272         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52273         * sysdeps/i386/i686/hp-timing.h: Likewise.
52274         * sysdeps/mach/_strerror.c: Likewise.
52275         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52276         * sysdeps/mach/hurd/sethostid.c: Likewise.
52277         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52278         * sysdeps/mach/xpg-strerror.c: Likewise.
52279         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52280         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52281         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52282         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52283         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52284         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52285         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52286         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52287         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52288         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52289         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52290         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52291         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52292         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52293         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52294         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52295         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52296         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52297         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52298         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52299         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52301         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52303         * stdio-common/_itoa.h: Moved to ...
52304         * sysdeps/generic/_itoa.h: Here.
52306         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52308         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52309         instead of "_itoa.h" and "_itowa.h".
52310         * stdio-common/vfprintf.: Likewise.
52312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52314         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52315         <bits/wordsize.h>.
52316         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52317         (__signbit): Likwise.
52318         (llrintf): Likwise.
52319         (llrint): Likwise.
52321 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52323         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52324         __WORDSIZE != 64.
52326 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52328         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52329         OVERFLOW_EXCEPTION_OK.
52330         * math/libm-test.inc ("Philosophy"): Update comment about
52331         exception testing.
52332         (OVERFLOW_EXCEPTION): Define.
52333         (OVERFLOW_EXCEPTION_OK): Likewise.
52334         (INVALID_EXCEPTION_OK): Renumber.
52335         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52336         (IGNORE_ZERO_INF_SIGN): Likewise.
52337         (test_exceptions): Handle FE_OVERFLOW.
52338         (exp10_test): Expect overflow exceptions.
52339         (exp2_test): Likewise.
52340         (expm1_test): Likewise.
52341         (nextafter_test): Likewise.
52342         (pow_test): Likewise.
52343         (scalbn_test): Likewise.
52344         (scalbln_test): Likewise.
52346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52348         * sysdeps/x86_64/bits/atomic.h
52349         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52350         64bit integer.
52351         (atomic_exchange_acq): Likewise.
52352         (__arch_exchange_and_add_body): Likewise.
52353         (__arch_add_body): Likewise.
52354         (atomic_add_negative): Likewise.
52355         (atomic_add_zero): Likewise.
52357 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52359         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52360         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52364         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52365         Check __x86_64__ instead of __WORDSIZE.
52367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52369         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52371 2012-03-19  David S. Miller  <davem@davemloft.net>
52373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52375         * sysdeps/sparc/fpu/fenv_private.h: New file.
52376         * sysdeps/sparc/fpu/math_private.h: Use it.
52377         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52378         Remove.
52379         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52380         (libc_feholdexcept_setroundl): Remove.
52381         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52382         Remove.
52383         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52384         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52388         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52389         int64_t instead of long int.
52390         (INSERT_WORDS64): Likwise.
52392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52394         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52395         _Unwind_GetCFA return to _Unwind_Ptr first.
52397 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52399         [BZ #13629]
52400         * math/s_clog.c: Include <float.h>.
52401         (__clog): Scale large or subnormal inputs.
52402         * math/s_clogf.c: Likewise.
52403         * math/s_clogl.c: Likewise.
52404         * math/s_clog10.c: Include <float.h>.
52405         (M_LOG10_2): Define.
52406         (__clog10): Scale large or subnormal inputs.
52407         * math/s_clog10f.c: Likewise.
52408         * math/s_clog10l.c: Likewise.
52409         * math/libm-test.inc (clog_test): Add more tests.
52410         (clog10_test): Likewise.
52411         * sysdeps/i386/fpu/libm-test-ulps: Update.
52412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52414         [BZ #11451]
52415         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52416         x and y.
52417         * math/libm-test.inc (atan2_test): Add another test.
52419         * Makerules (common-objdir-compile): Remove.
52420         * sysdeps/unix/Makefile (config-generated): Do not add
52421         $(unix-generated) to variable.
52422         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52423         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52424         Remove rule.
52425         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52426         Likewise.
52427         [generic bits/local_lim.h] (before-compile): Do not append to
52428         variable.
52429         [generic bits/local_lim.h] (common-generated): Likewise.
52430         [generic sys/param.h] (before-compile): Do not append to variable.
52431         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52432         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52433         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52434         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52435         include.
52436         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52437         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52438         [generic sys/param.h] ($(addprefix
52439         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52440         [generic sys/param.h] (common-generated): Do not append to
52441         variable.
52442         [generic sys/param.h] (sysdep_headers): Likewise.
52443         [generic bits/errno.h] (before-compile): Do not append to
52444         variable.
52445         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52446         rule.
52447         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52448         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52449         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52450         [generic bits/errno.h] (common-generated): Do not append to
52451         variable.
52452         [generic bits/ioctls.h] (before-compile): Do not append to
52453         variable.
52454         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52455         rule.
52456         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52457         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52458         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52459         rule.
52460         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52461         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52462         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52463         [generic bits/ioctls.h] (common-generated): Do not append to
52464         variable.
52465         [generic sys/syscall.h] (syscall.h): Remove variable.
52466         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52467         rule.
52468         [generic sys/syscall.h] (before-compile): Do not append to
52469         variable.
52470         [generic sys/syscall.h] (common-generated): Likewise.
52471         * sysdeps/unix/errnos-tmpl.c: Remove file.
52472         * sysdeps/unix/errnos.awk: Likewise.
52473         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52474         * sysdeps/unix/ioctls.awk: Likewise.
52475         * sysdeps/unix/mk-local_lim.c: Likewise.
52476         * sysdeps/unix/snarf-ioctls: Likewise.
52478 2012-03-19  Richard Henderson  <rth@twiddle.net>
52480         * sysdeps/i386/fpu/fenv_private.h: New file.
52481         * sysdeps/i386/fpu/math_private.h: Use it.
52482         (math_opt_barrier, math_force_eval): Remove.
52483         (libc_feholdexcept_setround_53bit): Remove.
52484         (libc_feupdateenv_53bit): Remove.
52485         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52486         (math_opt_barrier, math_force_eval): Remove.
52487         (libc_feholdexcept): Remove.
52488         (libc_feholdexcept_setround): Remove.
52489         (libc_fetestexcept, libc_fesetenv): Remove.
52490         (libc_feupdateenv_test): Remove.
52491         (libc_feupdateenv, libc_feholdsetround): Remove.
52492         (libc_feresetround): Remove.
52494         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52495         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52497         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52498         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52499         (libc_feupdateenv_testl): New.
52500         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52501         (libc_feupdateenv_testf): New.
52502         (libc_feupdateenv): Use libc_feupdateenv_test.
52503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52504         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52506         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52507         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52508         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52509         (libc_feresetround_noex): New.
52510         (libc_feresetround_noexf): New.
52511         (libc_feresetround_noexl): New.
52512         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52513         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52514         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52515         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52516         SET_RESTORE_ROUND.
52517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52519         (__cos): Likewise.
52520         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52521         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52522         SET_RESTORE_ROUND_NOEX.
52523         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52524         SET_RESTORE_ROUND_NOEXF.
52525         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52526         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52527         (libc_feholdsetroundf): New.
52528         (libc_feresetround, libc_feresetroundf): New.
52530         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52531         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52532         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52534         * sysdeps/generic/math_private.h: Include <fenv.h>.
52535         (default_libc_feholdexcept): New.
52536         (default_libc_feholdexcept_setround): New.
52537         (default_libc_fesetenv, default_libc_feupdateenv): New.
52538         (libc_feholdexcept): Only define if undefined.
52539         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52540         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52541         (libc_feholdexcept_setroundl): Likewise.
52542         (libc_feholdexcept_setround_53bit): Likewise.
52543         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52544         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52545         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52546         (libc_feupdateenv_53bit): Likewise.
52547         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52548         (libc_feholdexcept): Convert from macro to inline function.
52549         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52550         (libc_fesetenv, libc_feupdateenv): Likewise.
52552         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52553         not previously defined.
52554         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52555         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52556         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52557         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52558         * sysdeps/ieee754/flt-32/math_private.h: New file.
52559         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52560         math_private.h below SET_FLOAT_WORD.
52561         (__isnan, __isinf_ns, __finite): Remove.
52562         (__isnanf, __isinf_nsf, __finitef): Remove.
52564 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52568 2012-03-17  David S. Miller  <davem@davemloft.net>
52570         [BZ #6471]
52571         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52572         for 2.16.
52574 2012-03-16  David S. Miller  <davem@davemloft.net>
52576         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52577         warnings.
52579         [BZ #6471]
52580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52581         properly.
52582         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52583         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52584         sysdep_routines when subdir is sysvipc.
52585         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52586         __getshmlba helper.
52588         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52590 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52592         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52593         [__LP64__].
52595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52597         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52598         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52599         (__lround): Renamed to ...
52600         (__llround): This.  Replace long int with long long int.
52601         Define lround functions as aliases of llround functions.
52602         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52604 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52606         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52607         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52608         adresses to uintptr_t.  Replace "long int" and "unsigned long
52609         int" with "greg_t" on va_arg.
52611 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52613         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52614         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52616         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52617         Move e_machine check before EI_CLASS check.  Handle x32
52618         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52619         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52620         SKIP_EM_IA_64 and include
52621         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52623         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52624         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52625         (add_system_dir): New macro.
52627         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52628         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52630 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52632         [BZ #2551]
52633         [BZ #2552]
52634         [BZ #2553]
52635         [BZ #2554]
52636         [BZ #2562]
52637         [BZ #2563]
52638         [BZ #2565]
52639         [BZ #2566]
52640         [BZ #2576]
52641         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52642         (y0): Likewise.
52643         * math/w_j0f.c (j0f): Likewise.
52644         (y0f): Likewise.
52645         * math/w_j0l.c (__j0l): Likewise.
52646         (__y0l): Likewise.
52647         * math/w_j1.c (j1): Likewise.
52648         (y1): Likewise.
52649         * math/w_j1f.c (j1f): Likewise.
52650         (y1f): Likewise.
52651         * math/w_j1l.c (__j1l): Likewise.
52652         (__y1l): Likewise.
52653         * math/w_jn.c (jn): Likewise.
52654         (yn): Likewise.
52655         * math/w_jnf.c (jnf): Likewise.
52656         (ynf): Likewise.
52657         * math/w_jnl.c (__jnl): Likewise.
52658         (__ynl): Likewise.
52659         * math/libm-test.inc (j0_test): Add more tests.
52660         (j1_test): Likewise.
52661         (jn_test): Likewise.  Add trailing semicolon to existing test.
52662         (y0_test): Likewise.
52663         (y1_test): Likewise.
52664         * sysdeps/i386/fpu/libm-test-ulps: Update.
52665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52667         [BZ #13851]
52668         [BZ #13854]
52669         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52670         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52671         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52672         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52673         (__tanl): Set errno for infinite argument.
52674         * sysdeps/i386/fpu/mptan.c: Remove.
52675         * sysdeps/i386/fpu/s_tan.S: Likewise.
52676         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52677         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52678         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52679         * math/libm-test.inc (tan_test): Add more tests and enable more
52680         tests for double and long double.
52681         * sysdeps/i386/fpu/libm-test-ulps: Update.
52682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52684 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52686         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52687         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52689 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52691         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52692         * configure.in: Use it for both main tree and add-ons.
52693         * configure: Regenerated.
52695 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52697         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52699 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52701         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52702         in comment.
52704         [BZ #13851]
52705         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52706         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52707         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52708         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52709         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52710         infinite argument.
52711         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52713         != 0 for prec == 2.
52714         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52715         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52716         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52717         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52718         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52719         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52720         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52721         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52722         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52723         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52724         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52725         * math/libm-test.inc (cos_test): Add more tests and enable more
52726         tests for long double.
52727         (sin_test): Likewise.
52728         (sincos_test): Likewise.
52729         * sysdeps/i386/fpu/libm-test-ulps: Update.
52730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52732 2012-03-16  David S. Miller  <davem@davemloft.net>
52734         * sysdeps/sparc/fpu/math_private.h: New file.
52736 2012-03-15  David S. Miller  <davem@davemloft.net>
52738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52739         file.
52740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52742         file.
52743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52748         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52749         sysdep routines.
52750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52752         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52753         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52755         * sysdeps/sparc/sparc-ifunc.h: New file.
52756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52757         sparc-ifunc.h
52758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52760         Likewise.
52761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52762         Likewise.
52763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52767         Likewise.
52768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52773         Likewise.
52774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52775         Likewise.
52776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52783         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52795         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52801 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52803         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52804         scaling.
52805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52807 2012-03-15  Andreas Jaeger  <aj@suse.de>
52809         [BZ #13852]
52810         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52811         ieee754/flt-32 implementation for sin, cos and sincos.
52812         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52813         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52814         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52815         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52816         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52817         ieee754/flt-32 implementation for tan.
52819         * math/libm-test.inc (cos_test): Enable some large input tests for
52820         float as well
52821         (sin_test): Likewise.
52822         (sincos_test): Likewise.
52823         (tan_test): Add tests for large input.
52825         * sysdeps/i386/fpu/libm-test-ulps: Update.
52827 2012-03-15  Andreas Jaeger  <aj@suse.de>
52829         [BZ #13658]
52830         * math/libm-test.inc (cos_test): Add more test cases.
52831         (sin_test): Likewise.
52832         (sincos_test): Likewise.
52834 2012-03-15  Andreas Jaeger  <aj@suse.de>
52836         [BZ #13837]
52837         * math/libm-test.inc (cos_test): Add a test case for large input
52838         value.
52839         (sin_test): Likewise.
52840         (sincos_test): Likewise.
52842 2012-03-15  Andreas Jaeger  <aj@suse.de>
52843             Joseph Myers  <joseph@codesourcery.com>
52845         [BZ #13658]
52846         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52847         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52848         * sysdeps/i386/fpu/branred.c: Likewise.
52849         * sysdeps/i386/fpu/dosincos.c: Likewise.
52850         * sysdeps/i386/fpu/mpa.c: Likewise.
52851         * sysdeps/i386/fpu/s_cos.S: Likewise.
52852         * sysdeps/i386/fpu/s_sin.S: Likewise.
52853         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52854         * sysdeps/i386/fpu/sincos32.c: Likewise.
52856         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52857         Define.
52858         (libc_feupdateenv_53bit): Define.
52859         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52860         Define.
52861         (libc_feupdateenv_53bit): Define.
52863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52864         53 bit (without extend i386 double precision).
52866         * math/libm-test.inc (sincos_test): Add tests for large input.
52867         (sin): Likewise.
52868         (cos): Likewise.
52870         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52872 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52876 2012-03-15  David S. Miller  <davem@davemloft.net>
52878         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52879         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52880         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52881         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52894         file.
52895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52897         file.
52898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52900         file.
52901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52903         file.
52904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52906         fmin/fmax sysdep routines.
52907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52909 2012-03-14  David S. Miller  <davem@davemloft.net>
52911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52918         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52934         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52937         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52938         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52940         routines.
52941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52942         file.
52943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52945         file.
52946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52948         file.
52949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52951         file.
52952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52954         file.
52955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52957         file.
52958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52959         file.
52960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52961         file.
52962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52963         file.
52964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52965         New file.
52966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52967         file.
52968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52969         file.
52970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52972         file.
52973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52975         file.
52976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52978         file.
52979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52981         VIS3 routines.
52983         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52984         New file.
52986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52988         * sysdeps/sparc/configure.in: New file.
52989         * sysdeps/sparc/configure: Generate.
52990         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52991         * configure: Regenerate.
52992         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52993         * config.make.in (have-as-vis3): New.
52994         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52995         available use -Av9d instead of -Av9a.
52996         * sysdeps/sparc/sparc64/Makefile: Likewise.
52997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52999         New file.
53000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53001         file.
53002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53003         New file.
53004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53005         file.
53006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53009         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53010         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53012         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53013         fzeros/fnegs to load 0x80000000 into a float register instead of
53014         using the stack.
53015         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53017 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53020         bits/syscall.h.
53021         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53022         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53023         ($(inst_includedir)/bits/syscall.h): Remove rule.
53024         ($(objpfx)bits/syscall.d): Include instead of
53025         $(objpfx)syscall-list.d.
53026         (generated): Change syscall-list.h and syscall-list.d to
53027         bits/syscall.h and bits/syscall.d.
53029 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53031         [BZ #13846]
53032         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53034 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53036         [BZ #13841]
53037         * math/s_csqrt.c: Include <float.h>.
53038         (__csqrt): Scale large or subnormal inputs.
53039         * math/s_csqrtf.c: Likewise.
53040         * math/s_csqrtl.c: Likewise.
53041         * math/libm-test.inc (csqrt_test): Add more tests.
53042         * sysdeps/i386/fpu/libm-test-ulps: Update.
53043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53045         [BZ #13840]
53046         * math/libm-test.inc (hypot_test): Add more tests.
53048 2012-03-13  David S. Miller  <davem@davemloft.net>
53050         [BZ #13840]
53051         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53052         double-precision for the calculation instead of scaling.
53054 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53056         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53057         manipulate bits before adding and subtracting TWO52[sx].
53058         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53059         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53060         Likewise.
53061         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53063 2012-03-13  David S. Miller  <davem@davemloft.net>
53065         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53066         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53067         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53068         rtld-global-offsets.h
53069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53071         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53072         large parameters.
53074         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53076         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53077         'err' in the ifdef scope in which it is actually used.
53079         * nss/nss_db/db-init.c: Include string.h
53081 2012-03-12  David S. Miller  <davem@davemloft.net>
53083         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53084         masking out of the most significant byte of random value used.
53085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53086         Fix coding style in previous change.
53088         * sysdeps/unix/sysv/linux/kernel-features.h
53089         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53090         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53091         expression.
53092         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53093         later.
53095 2012-03-11  David S. Miller  <davem@davemloft.net>
53097         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53098         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53099         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53100         for 'resultvar' otherwise things get truncated on 64-bit.
53102         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53103         Fix masking out of the most significant byte of random value used.
53105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53107 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53111 2012-03-09  David S. Miller  <davem@davemloft.net>
53113         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53114         variables with appropriate CPP guards.
53115         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53116         from the frame pointer, not the stack pointer.  Correct layout
53117         comments.  Fix test on resulting framesize and the management of
53118         the outregs buffer for pltexit.  Preserve floating point return
53119         values across _dl_call_pltexit call.
53120         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53121         framesize and the management of the outregs buffer for pltexit.
53122         Preserve floating point return values across _dl_call_pltexit
53123         call.
53124         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53125         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53126         (la_sparc64_gnu_pltexit): New functions.
53127         (print_exit): Fix format string for return register value.
53129 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53131         * sunrpc/Makefile (others): Add rpcgen.
53132         ($(objpfx)rpcgen): Remove special build rule and dependency on
53133         libc.
53134         * sunrpc/rpcgen.c: New file.
53136 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53138         [BZ #13673]
53139         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53140         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53141         * sysdeps/i386/crti.S: Likewise.
53142         * sysdeps/i386/crtn.S: Likewise.
53143         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53144         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53145         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53146         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53147         * sysdeps/sh/crti.S: Likewise.
53148         * sysdeps/sh/crtn.S: Likewise.
53149         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53151         [BZ #13673]
53152         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53153         with URL.
53154         * locale/programs/locfile-kw.gperf: Likewise.
53155         * locale/programs/charmap-kw.h: Regenerated.
53156         * locale/programs/locfile-kw.h: Likewise.
53158         [BZ #13673]
53159         * intl/plural.y: Replace FSF snail mail address with URL.
53160         * intl/plural.c: Regenerated.
53162 2012-03-09  Richard Henderson  <rth@twiddle.net>
53164         * include/math_private.h: Remove file.
53165         * math/math_private.h: Move file ...
53166         * sysdeps/generic/math_private.h: ... here.
53168         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53169         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53170         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53172         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53173         and <math_private.h>.
53174         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53175         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53176         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53177         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53178         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53179         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53180         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53182         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53183         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53186         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53188         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53189         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53190         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53191         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53192         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53193         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53195         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53196         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53198         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53199         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53200         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53204         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53206         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53207         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53208         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53211         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53212         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53214         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53215         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53216         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53217         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53218         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53219         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53220         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53221         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53222         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53223         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53224         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53225         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53226         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53227         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53228         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53229         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53230         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53231         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53232         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53233         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53234         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53235         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53236         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53237         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53238         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53239         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53240         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53241         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53242         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53243         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53244         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53245         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53246         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53248         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53253         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53254         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53255         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53257         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53258         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53259         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53261         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53262         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53263         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53264         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53265         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53266         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53267         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53268         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53269         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53270         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53271         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53272         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53273         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53274         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53275         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53276         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53277         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53278         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53279         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53280         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53281         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53282         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53283         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53284         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53285         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53286         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53287         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53288         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53289         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53290         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53291         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53292         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53293         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53294         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53295         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53297         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53298         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53299         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53300         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53301         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53302         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53303         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53304         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53305         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53306         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53307         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53308         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53309         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53310         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53311         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53312         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53313         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53314         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53315         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53316         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53317         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53318         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53319         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53320         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53321         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53322         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53323         * sysdeps/ieee754/k_standard.c: Likewise.
53324         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53325         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53326         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53327         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53328         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53329         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53330         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53331         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53341         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53342         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53343         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53344         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53345         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53347         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53348         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53349         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53350         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53351         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53352         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53353         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53355         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53356         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53357         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53358         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53359         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53360         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53361         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53362         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53363         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53364         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53365         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53366         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53367         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53368         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53369         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53370         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53371         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53372         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53374         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53375         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53376         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53377         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53378         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53379         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53380         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53381         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53382         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53383         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53384         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53385         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53386         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53390         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53391         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53392         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53393         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53397         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53400         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53401         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53403         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53405         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53406         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53409         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53410         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53411         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53412         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53414         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53415         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53416         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53417         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53419         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53420         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53421         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53422         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53423         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53426         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53427         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53428         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53431         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53432         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53433         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53434         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53435         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53436         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53437         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53438         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53439         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53440         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53441         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53442         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53443         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53444         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53445         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53446         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53447         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53448         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53449         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53450         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53451         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53452         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53454         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53455         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53456         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53457         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53458         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53459         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53460         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53461         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53462         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53463         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53464         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53465         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53466         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53467         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53468         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53469         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53470         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53471         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53472         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53473         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53474         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53475         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53476         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53478         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53479         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53480         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53481         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53482         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53483         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53484         * sysdeps/ieee754/s_lib_version.c: Likewise.
53485         * sysdeps/ieee754/s_matherr.c: Likewise.
53486         * sysdeps/ieee754/s_signgam.c: Likewise.
53487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53489         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53490         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53491         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53492         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53493         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53494         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53495         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53496         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53497         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53498         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53499         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53500         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53501         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53502         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53504         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53505         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53506         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53507         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53509 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53511         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53512         * sunrpc/rpc_main.c: Likewise.
53513         * sunrpc/rpc_svcout.c: Likewise.
53515 2012-03-09  David S. Miller  <davem@davemloft.net>
53517         * include/math_private.h: New file.
53519 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53521         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53522         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53523         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53524         from <bits/socket_type.h>.
53525         (enum __socket_type): Don't define here.
53526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53528         bits/socket_type.h.
53530         [BZ #13566]
53531         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53532         checking __USE_GNU.
53534         * Makerules ($(inst_includedir)/%.h): New rule.
53535         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53536         (install-others): Remove variable setting.
53537         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53539 2012-03-08  Richard Henderson  <rth@twiddle.net>
53541         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53542         from macro to inline function; merge with the
53543         !__LIBC_INTERNAL_MATH_INLINES version.
53544         (__ieee754_sqrtf): Likewise.
53546         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53547         to inline function.
53548         (__rintf, __floor, __floorf): Likewise.
53550         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53551         macro to inline function.
53552         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53555         not <math/math_private.h>.
53557 2012-03-08  David S. Miller  <davem@davemloft.net>
53559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53560         copyright year.
53561         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53563 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53565         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53566         normalization.
53567         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53568         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53570 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53572         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53573         be defined individually, they must be defined as a block.  Define
53574         S for printing a string instead of hidint the different by using a
53575         macro for adding the 'l'.
53576         * stdio-common/tst-fphex-wide.c: Adjust.
53578 2012-03-07  Marek Polacek  <polacek@redhat.com>
53580         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53582 2012-03-08  Marek Polacek  <polacek@redhat.com>
53584         [BZ #13806]
53585         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53586         * stdio-common/tst-fphex.c: Define a few macros to make the
53587         test reusable.  Use them.
53588         * stdio-common/tst-fphex-wide.c: New file.
53590 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53592         [BZ #6911]
53593         * manual/macros.texi (gnusystems): New macro.
53594         (nongnusystems): Likewise.
53595         (gnulinuxhurdsystems): Likewise.
53596         (gnuhurdsystems): Likewise..
53597         (gnulinuxsystems): Likewise.
53598         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53599         variants of the GNU system, not "GNU system".
53600         * manual/conf.texi: Likewise.
53601         * manual/errno.texi: Likewise.  Update example of errno macro
53602         expansion.
53603         * manual/filesys.texi: Likewise.
53604         (getumask): Document as specific to GNU/Hurd.
53605         * manual/install.texi: Likewise.  Reword some references to
53606         GNU/Linux.
53607         * manual/intro.texi: Likewise.
53608         * manual/io.texi: Likewise.
53609         (File Name Portability): Detail which constraints are inapplicable
53610         to all GNU systems and which are only inapplicable to GNU/Hurd.
53611         * manual/job.texi: Likewise.
53612         * manual/llio.texi: Likewise.
53613         (O_NOCTTY): Document as present on GNU/Linux.
53614         * manual/maint.texi: Likewise.
53615         * manual/memory.texi: Likewise.
53616         * manual/pattern.texi: Likewise.
53617         * manual/pipe.texi: Likewise.
53618         * manual/process.texi: Likewise.
53619         * manual/resource.texi: Likewise.
53620         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53621         child on GNU/Hurd.
53622         * manual/setjmp.texi: Likewise.
53623         * manual/signal.texi: Likewise.
53624         * manual/startup.texi: Likewise.
53625         * manual/stdio.texi: Likewise.
53626         * manual/terminal.texi: Likewise.
53627         (ONLCR): Document as POSIX.
53628         (OXTABS): Document availability on GNU/Linux as XTABS.
53629         (ONOEOT): Document availability separately from other bits.
53630         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53631         * manual/time.texi: Likewise.
53632         * manual/users.texi: Likewise.
53633         * INSTALL: Regenerated.
53634         * sysdeps/gnu/errlist.c: Regenerated.
53636         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53637         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53638         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53639         puts.
53640         * configure: Regenerated.
53642 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53644         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53645         default includes instead of AC_HEADER_CHECK.
53646         * sysdeps/i386/configure: Regenerated.
53648         [BZ #10716]
53649         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53650         * math/s_cacoshf.c (__cacoshf): Likewise.
53651         * math/s_cacoshl.c (__cacoshl): Likewise.
53652         * math/s_casinh.c (__casinh): Set signs of result from argument.
53653         * math/s_casinhf.c (__casinhf): Likewise.
53654         * math/s_casinhl.c (__casinhl): Likewise.
53655         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53656         (casinh_test): Add more tests.
53657         * sysdeps/i386/fpu/libm-test-ulps: Update.
53658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53660 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53662         * po/zh_TW.po: Update from translation team.
53664         * login/Makefile (distribute): Remove variable.
53665         * catgets/Makefile: Likewise.
53666         * mach/Makefile: Likewise.
53667         * malloc/Makefile: Likewise.
53668         * misc/Makefile: Likewise.
53669         * iconv/Makefile: Likewise.
53670         * nscd/Makefile: Likewise.
53671         * hurd/Makefile: Likewise.
53672         * manual/Makefile: Likewise.
53673         * locale/Makefile: Likewise.
53674         * intl/Makefile: Likewise.
53675         * conform/Makefile: Likewise.
53676         * nss/Makefile: Likewise.
53677         * time/Makefile: Likewise.
53678         * soft-fp/Makefile: Likewise.
53679         * dirent/Makefile: Likewise.
53680         * gmon/Makefile: Likewise.
53681         * po/Makefile: Likewise.
53682         * rt/Makefile: Likewise.
53683         * socket/Makefile: Likewise.
53684         * math/Makefile: Likewise.
53685         * signal/Makefile: Likewise.
53686         * debug/Makefile: Likewise.
53687         * elf/Makefile: Likewise.
53688         * timezone/Makefile: Likewise.
53689         * stdlib/Makefile: Likewise.
53690         * iconvdata/Makefile: Likewise.
53691         * sunrpc/Makefile: Likewise.
53692         * io/Makefile: Likewise.
53693         * argp/Makefile: Likewise.
53694         * inet/Makefile: Likewise.
53695         * hesiod/Makefile: Likewise.
53696         * grp/Makefile: Likewise.
53697         * csu/Makefile: Likewise.
53698         * wctype/Makefile: Likewise.
53699         * crypt/Makefile: Likewise.
53700         * libio/Makefile: Likewise.
53701         * string/Makefile: Likewise.
53702         * nis/Makefile: Likewise.
53703         * resolv/Makefile: Likewise.
53704         * stdio-common/Makefile: Likewise.
53705         * wcsmbs/Makefile: Likewise.
53706         * dlfcn/Makefile: Likewise.
53707         * posix/Makefile: Likewise.
53709         [BZ #6959]
53710         * timezone/Makefile: Don't install timezone files, just the programs
53711         and scripts.
53713 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53715         * nss/databases.def: Add missing gshadow entry.
53717         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53719 2012-03-06  Marek Polacek  <polacek@redhat.com>
53721         [BZ #13726]
53722         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53723         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53724         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53725         * stdio-common/tst-long-dbl-fphex.c: New file.
53727 2012-03-06  David S. Miller  <davem@davemloft.net>
53729         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53730         (set_obp_int): New function.
53731         (get_obp_int): New function.
53732         (__get_clockfreq_via_dev_openprom): Likewise.
53733         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53734         Avoid unused variable warnings on 'val' and use builtin_expect.
53735         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53736         __builtin_expect.
53737         (INLINE_CLONE_SYSCALL): Likewise.
53739 2012-03-05  David S. Miller  <davem@davemloft.net>
53741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53743 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53748         only for |x| >= 40.
53749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53751 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53754         Replace gettimeofday with __vdso_gettimeofday.
53756         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53757         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53758         __vdso_clock_gettime and __vdso_getcpu.
53760         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53761         time with __vdso_time.
53763 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53765         * manual/lang.texi (size_t): Note types to which size_t may be
53766         equivalent with the GNU C Library, but do not describe when
53767         differences between them are significant.
53769 2012-03-05  Andreas Jaeger  <aj@suse.de>
53771         * sysdeps/i386/fpu/libm-test-ulps: Update.
53773 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53775         [BZ #3976]
53776         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53777         (__ieee754_pow): Save and restore rounding mode and use
53778         round-to-nearest for main computations.
53779         * math/libm-test.inc (pow_test_tonearest): New function.
53780         (pow_test_towardzero): Likewise.
53781         (pow_test_downward): Likewise.
53782         (pow_test_upward): Likewise.
53783         (main): Call the new functions.
53784         * sysdeps/i386/fpu/libm-test-ulps: Update.
53785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53787         [BZ #3976]
53788         * math/libm-test.inc (cosh_test_tonearest): New function.
53789         (cosh_test_towardzero): Likewise.
53790         (cosh_test_downward): Likewise.
53791         (cosh_test_upward): Likewise.
53792         (sinh_test_tonearest): Likewise.
53793         (sinh_test_towardzero): Likewise.
53794         (sinh_test_downward): Likewise.
53795         (sinh_test_upward): Likewise.
53796         (main): Call the new functions.
53797         * sysdeps/i386/fpu/libm-test-ulps: Update.
53798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53800 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53802         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53803         default stack guard is set in last bytes.
53804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53806 2012-03-05  Kees Cook  <keescook@chromium.org>
53808         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53810         [BZ #13656]
53811         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53812         possibly allocate from heap instead of stack.
53813         * stdio-common/bug-vfprintf-nargs.c: New file.
53814         * stdio-common/Makefile (tests): Add nargs overflow test.
53816 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53820 2012-03-03  Marek Polacek  <polacek@redhat.com>
53822         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53823         * math/math_private.h: Likewise.
53824         * stdlib/tst-strtod.c: Likewise.
53825         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53826         * sysdeps/x86_64/bits/atomic.h: Likewise.
53828 2012-03-02  David S. Miller  <davem@davemloft.net>
53830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53834         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53835         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53836         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53837         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53839 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53841         [BZ #13792]
53842         * manual/examples/README: New file, says the example source files
53843         can be used under GPL>=2.
53844         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53845         line containing just "*/".
53846         * manual/examples/add.c: Add copyright header (GPL>=2).
53847         * manual/examples/argp-ex1.c: Likewise.
53848         * manual/examples/argp-ex2.c: Likewise.
53849         * manual/examples/argp-ex3.c: Likewise.
53850         * manual/examples/argp-ex4.c: Likewise.
53851         * manual/examples/atexit.c: Likewise.
53852         * manual/examples/db.c: Likewise.
53853         * manual/examples/dir.c: Likewise.
53854         * manual/examples/dir2.c: Likewise.
53855         * manual/examples/execinfo.c: Likewise.
53856         * manual/examples/filecli.c: Likewise.
53857         * manual/examples/filesrv.c: Likewise.
53858         * manual/examples/fmtmsgexpl.c: Likewise.
53859         * manual/examples/genpass.c: Likewise.
53860         * manual/examples/inetcli.c: Likewise.
53861         * manual/examples/inetsrv.c: Likewise.
53862         * manual/examples/isockad.c: Likewise.
53863         * manual/examples/longopt.c: Likewise.
53864         * manual/examples/memopen.c: Likewise.
53865         * manual/examples/memstrm.c: Likewise.
53866         * manual/examples/mkfsock.c: Likewise.
53867         * manual/examples/mkisock.c: Likewise.
53868         * manual/examples/mygetpass.c: Likewise.
53869         * manual/examples/pipe.c: Likewise.
53870         * manual/examples/popen.c: Likewise.
53871         * manual/examples/rprintf.c: Likewise.
53872         * manual/examples/search.c: Likewise.
53873         * manual/examples/select.c: Likewise.
53874         * manual/examples/setjmp.c: Likewise.
53875         * manual/examples/sigh1.c: Likewise.
53876         * manual/examples/sigusr.c: Likewise.
53877         * manual/examples/stpcpy.c: Likewise.
53878         * manual/examples/strdupa.c: Likewise.
53879         * manual/examples/strftim.c: Likewise.
53880         * manual/examples/strncat.c: Likewise.
53881         * manual/examples/subopt.c: Likewise.
53882         * manual/examples/swapcontext.c: Likewise.
53883         * manual/examples/termios.c: Likewise.
53884         * manual/examples/testopt.c: Likewise.
53885         * manual/examples/testpass.c: Likewise.
53886         * manual/examples/timeval_subtract.c: Likewise.
53888         [BZ #13792]
53889         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53890         function to ...
53891         * manual/timeval_subtract.c.texi: ... here, new file.
53893 2012-03-02  David S. Miller  <davem@davemloft.net>
53895         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53897 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53899         [BZ #3976]
53900         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53901         (__sin): Save and restore rounding mode and use round-to-nearest
53902         for all computations.
53903         (__cos): Save and restore rounding mode and use round-to-nearest
53904         for all computations.
53905         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53906         <fenv.h>.
53907         (tan): Save and restore rounding mode and use round-to-nearest for
53908         all computations.
53909         * math/libm-test.inc (cos_test_tonearest): New function.
53910         (cos_test_towardzero): Likewise.
53911         (cos_test_downward): Likewise.
53912         (cos_test_upward): Likewise.
53913         (sin_test_tonearest): Likewise.
53914         (sin_test_towardzero): Likewise.
53915         (sin_test_downward): Likewise.
53916         (sin_test_upward): Likewise.
53917         (tan_test_tonearest): Likewise.
53918         (tan_test_towardzero): Likewise.
53919         (tan_test_downward): Likewise.
53920         (tan_test_upward): Likewise.
53921         (main): Call the new functions.
53922         * sysdeps/i386/fpu/libm-test-ulps: Update.
53923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53925         [BZ #10135]
53926         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53927         small n, then large n, before computing and testing k+n.
53928         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53930         Likewise.
53931         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53932         Likewise.
53933         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53934         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53935         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53938         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53939         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53940         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53941         * math/libm-test.inc (scalbn_test): Add more tests.
53942         (scalbln_test): Likewise.
53944         * manual/filesys.texi (mode_t): Describe constraints on size and
53945         signedness, not exact equivalence to a particular type.
53946         (ino_t): Likewise.
53947         (ino64_t): Likewise.
53948         (dev_t): Likewise.
53949         (nlink_t): Likewise.
53950         (blkcnt_t): Likewise.
53951         (blkcnt64_t): Likewise.
53952         * manual/llio.texi (off_t): Likewise.
53954         [BZ #3976]
53955         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53956         (__ieee754_exp): Save and restore rounding mode and use
53957         round-to-nearest for all computations.
53958         * math/libm-test.inc (exp_test_tonearest): New function.
53959         (exp_test_towardzero): Likewise.
53960         (exp_test_downward): Likewise.
53961         (exp_test_upward): Likewise.
53962         (main): Call the new functions.
53963         * sysdeps/i386/fpu/libm-test-ulps: Update.
53964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53966 2012-03-01  Chris Demetriou  <cgd@google.com>
53968         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53969         have predictable order.
53971 2012-03-01  David S. Miller  <davem@davemloft.net>
53973         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53975         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53976         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53977         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53978         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53980         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53981         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53982         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53984         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53985         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53986         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53987         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53988         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53992         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53993         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53994         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53996         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53997         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53998         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53999         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54000         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54001         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54002         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54003         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54004         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54005         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54006         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54007         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54009         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54010         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54012         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54013         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54014         * sysdeps/sparc/elf/configure: Regenerated.
54016 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54018         * configure.in (AS, LD): Require binutils 2.20 or later.
54019         * configure: Regenerated.
54020         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54021         as required minimum version.
54022         * INSTALL: Regenerated.
54024         [BZ #2541]
54025         [BZ #4108]
54026         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54027         before squaring exponent.
54028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54029         bottom long double and 27 bits of top long double before squaring
54030         exponent.
54031         * math/libm-test.inc (erfc_test): Add more tests.
54032         * sysdeps/i386/fpu/libm-test-ulps: Update.
54033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54036 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54038         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54039         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54040         containing bit-fields.
54041         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54042         * soft-fp/single.h (_FP_UNION_S): Likewise.
54043         * soft-fp/double.h (_FP_UNION_D): Likewise.
54045 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54047         [BZ #13786]
54048         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54049         not include ../strcmp.S.
54050         [USE_AS_STRNCASECMP_L]: Likewise.
54051         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54052         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54053         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54054         (__strncasecmp_l_ia32): Define as alias to
54055         __strncasecmp_l_nonascii.
54057         [BZ #5794]
54058         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54059         * sysdeps/i386/fpu/libm-test-ulps: Update.
54060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54062         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54065 2012-02-29  Jeff Law  <law@redhat.com>
54067         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54068         out of bounds read.
54070 2012-02-29  Marek Polacek  <polacek@redhat.com>
54072         [BZ #13706]
54073         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54074         * elf/Makefile: Add rules to run tst-unused-dep.out.
54076 2012-02-28  David S. Miller  <davem@davemloft.net>
54078         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54079         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54082         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54083         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54085 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54087         * math/libm-test.inc (llround_test): Move one test from
54088         lround_test.  Use TEST_f_L in moved test.
54089         (lround_test): Move misplaced test to llround_test.  Add testcase
54090         from bug 2561.
54092 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54094         * sysdeps/x86_64/fpu/e_expf.S: New file.
54095         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54097 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54099         [BZ #13637]
54100         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54101         of remain_len that may cause incomplete multi-byte character and
54102         false match.
54103         * posix/bug-regex33.c: New file.
54104         * posix/Makefile (tests): Add bug-regex33.
54106 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54108         * manual/macros.texi: New file.
54109         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54110         * manual/libc.texinfo: Include macros.texi.
54111         * manual/creatute.texi: Likewise.
54112         * manual/install.texi: Likewise.
54113         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54114         @glibcadj{} in references to the GNU C Library.
54115         * manual/charset.texi: Likewise.
54116         * manual/conf.texi: Likewise.
54117         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54118         when not using those macros.
54119         * manual/creature.texi: Likewise.
54120         * manual/crypt.texi: Likewise.
54121         * manual/errno.texi: Likewise.
54122         * manual/filesys.texi: Likewise.
54123         * manual/header.texi: Likewise.
54124         * manual/install.texi: Likewise.
54125         * manual/intro.texi: Likewise.
54126         * manual/io.texi: Likewise.
54127         * manual/job.texi: Likewise.
54128         * manual/lang.texi: Likewise.
54129         * manual/libc.texiinfo: Likewise.
54130         * manual/llio.texi: Likewise.
54131         * manual/locale.texi: Likewise.
54132         * manual/maint.texi: Likewise.
54133         * manual/math.texi: Likewise.
54134         * manual/memory.texi: Likewise.
54135         * manual/message.texi: Likewise.
54136         * manual/nss.texi: Likewise.
54137         * manual/pattern.texi: Likewise.
54138         * manual/process.texi: Likewise.
54139         * manual/resource.texi: Likewise.
54140         * manual/search.texi: Likewise.
54141         * manual/setjmp.texi: Likewise.
54142         * manual/signal.texi: Likewise.
54143         * manual/socket.texi: Likewise.
54144         * manual/startup.texi: Likewise.
54145         * manual/stdio.texi: Likewise.
54146         * manual/string.texi: Likewise.
54147         * manual/sysinfo.texi: Likewise.
54148         * manual/syslog.texi: Likewise.
54149         * manual/terminal.texi: Likewise.
54150         * manual/time.texi: Likewise.
54151         * manual/users.texi: Likewise.
54152         * INSTALL: Regenerated.
54153         * NOTES: Regenerated.
54154         * sysdeps/gnu/errlist.c: Regenerated.
54156 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54158         * include/dirent.h: Include <dirstream.h> before
54159         <dirent/dirent.h>.
54161 2012-02-28  David S. Miller  <davem@davemloft.net>
54163         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54164         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54165         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54166         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54168 2012-02-27  David S. Miller  <davem@davemloft.net>
54170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54172         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54173         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54176         frame pointer instead of stack pointer relative arg slot.
54177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54178         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54179         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54181 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54183         [BZ #3992]
54184         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54186 2012-02-27  David S. Miller  <davem@davemloft.net>
54188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54192         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54193         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54194         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54195         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54197 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54199         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54200         later.  Allow versions 5-9.
54201         * configure: Regenerated.
54202         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54203         required minimum version and 4.6 as recommended version.  Do not
54204         mention bugs in GCC 2.7 and 2.8.
54205         * INSTALL: Regenerated.
54207 2012-02-27  David S. Miller  <davem@davemloft.net>
54209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54213         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54214         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54215         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54216         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54218         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54219         manipulate bits before adding and subtracting TWO112[sx].
54220         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54222 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54224         [BZ #13775]
54225         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54226         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54227         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54228         being in POSIX, because they are in 1003.1-2008.
54230         * rt/tst-aio.c: Include <fcntl.h>.
54231         * rt/tst-aio7.c: Likewise.
54232         * rt/tst-aio64.c: Likewise.
54234         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54236 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54238         * manual/install.texi (--with-headers): Describe headers as
54239         interface headers, not private headers.
54240         (Specific advice for GNU/Linux systems): Describe use of headers
54241         from "make headers_install", not private headers from older
54242         kernels.
54243         * INSTALL: Regenerated.
54244         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54245         Change to 2.6.19.
54246         * sysdeps/unix/sysv/linux/configure: Regenerated.
54248         * manual/llio.texi (fclean): Remove documentation.
54250         * manual/Makefile (libc-texi-generated): New variable.  Include
54251         version.texi.
54252         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54253         $(libc-texi-generated), not duplicated list of files.
54254         (version.texi, stamp-version): New rules.
54255         (realclean): Remove $(libc-texi-generated), not individual files
54256         from that list.  Do not remove dir-add.texinfo.
54257         * manual/libc.texinfo: Comment out uses of edition numbers and
54258         references to printed manual.  Remove last-updated dates.
54259         (EDITION): Comment out.
54260         (ISBN): Likewise.
54261         (VERSION, UPDATED): Remove.
54262         (version.texi): Include.
54264 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54266         * sysdeps/posix/spawni.c: Include <signal.h>.
54267         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54268         * sysdeps/pthread/aio_fsync.c: Likewise.
54270 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54272         * conform/Makefile (tests): Run only when not cross-compiling and
54273         when fast-check is not defined.
54275         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54276         * conform/data/limits.h-data: Fixes for POSIX2008.
54277         * conform/run-conformtest.sh: Run all tests.
54278         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54279         headers.
54280         * include/bits/dlfcn.h: Likewise.
54281         * include/langinfo.h: Likewise.
54282         * include/monetary.h: Likewise.
54283         * include/sys/poll.h: Likewise.
54285         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54286         for __USE_GNU.
54287         * posix/spawn.h: Define __need_sigset_t.
54288         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54289         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54290         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54291         to get sigevent_t only.
54292         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54293         only for __USE_GNU.
54294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54295         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54296         process_vm_writev only for __USE_GNU.
54297         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54299         * conform/Makefile: For now ignore errors from run-conformtest.
54300         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54301         POSIX to avoid namespace pollution.  Don't prepend headers.
54302         * conform/data/aio.h-data: Fixes for POSIX testing.
54303         * conform/data/fcntl.h-data: Likewise.
54304         * conform/data/glob.h-data: Likewise.
54305         * conform/data/grp.h-data: Likewise.
54306         * conform/data/pthread.h-data: Likewise.
54307         * conform/data/pwd.h-data: Likewise.
54308         * conform/data/signal.h-data: Likewise.
54309         * conform/data/spawn.h-data: Likewise.
54310         * conform/data/stdio.h-data: Likewise.
54311         * conform/data/stdlib.h-data: Likewise.
54312         * conform/data/stropts.h-data: Likewise.
54313         * conform/data/sys/mman.h-data: Likewise.
54314         * conform/data/sys/stat.h-data: Likewise.
54315         * conform/data/sys/types.h-data: Likewise.
54316         * conform/data/sys/wait.h-data: Likewise.
54317         * conform/data/time.h-data: Likewise.
54318         * conform/data/unistd.h-data: Likewise.
54319         * conform/data/utime.h-data: Likewise.
54321         * io/sys/stat.h: fchmod was always in POSIX.
54322         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54323         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54324         * rt/aio.h: Define __need_timespec before including <time.h>.
54325         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54326         struct.  Add forward declaration of pthread_attr_t and use it in
54327         sigevent.
54328         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54329         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54330         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54331         always remove CLK_TCK definition.
54333 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54335         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54337 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54339         * conform/run-conformtest.sh: New file.
54340         * conform/Makefile: Run run-conformtest for tests.
54341         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54342         support.
54344         * conform/data/uchar.h-data: New file.
54345         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54346         * conform/data/arpa/inet.h-data: Likewise.
54347         * conform/data/assert.h-data: Likewise.
54348         * conform/data/complex.h-data: Likewise.
54349         * conform/data/cpio.h-data: Likewise.
54350         * conform/data/ctype.h-data: Likewise.
54351         * conform/data/dirent.h-data: Likewise.
54352         * conform/data/dlfcn.h-data: Likewise.
54353         * conform/data/errno.h-data: Likewise.
54354         * conform/data/fcntl.h-data: Likewise.
54355         * conform/data/float.h-data: Likewise.
54356         * conform/data/fmtmsg.h-data: Likewise.
54357         * conform/data/fnmatch.h-data: Likewise.
54358         * conform/data/ftw.h-data: Likewise.
54359         * conform/data/glob.h-data: Likewise.
54360         * conform/data/grp.h-data: Likewise.
54361         * conform/data/iconv.h-data: Likewise.
54362         * conform/data/inttypes.h-data: Likewise.
54363         * conform/data/langinfo.h-data: Likewise.
54364         * conform/data/libgen.h-data: Likewise.
54365         * conform/data/limits.h-data: Likewise.
54366         * conform/data/locale.h-data: Likewise.
54367         * conform/data/math.h-data: Likewise.
54368         * conform/data/monetary.h-data: Likewise.
54369         * conform/data/mqueue.h-data: Likewise.
54370         * conform/data/ndbm.h-data: Likewise.
54371         * conform/data/net/if.h-data: Likewise.
54372         * conform/data/netdb.h-data: Likewise.
54373         * conform/data/netinet/in.h-data: Likewise.
54374         * conform/data/nl_types.h-data: Likewise.
54375         * conform/data/poll.h-data: Likewise.
54376         * conform/data/pthread.h-data: Likewise.
54377         * conform/data/pwd.h-data: Likewise.
54378         * conform/data/regex.h-data: Likewise.
54379         * conform/data/sched.h-data: Likewise.
54380         * conform/data/search.h-data: Likewise.
54381         * conform/data/semaphore.h-data: Likewise.
54382         * conform/data/setjmp.h-data: Likewise.
54383         * conform/data/signal.h-data: Likewise.
54384         * conform/data/spawn.h-data: Likewise.
54385         * conform/data/stdarg.h-data: Likewise.
54386         * conform/data/stdio.h-data: Likewise.
54387         * conform/data/stdlib.h-data: Likewise.
54388         * conform/data/string.h-data: Likewise.
54389         * conform/data/strings.h-data: Likewise.
54390         * conform/data/stropts.h-data: Likewise.
54391         * conform/data/sys/ipc.h-data: Likewise.
54392         * conform/data/sys/mman.h-data: Likewise.
54393         * conform/data/sys/msg.h-data: Likewise.
54394         * conform/data/sys/resource.h-data: Likewise.
54395         * conform/data/sys/select.h-data: Likewise.
54396         * conform/data/sys/sem.h-data: Likewise.
54397         * conform/data/sys/shm.h-data: Likewise.
54398         * conform/data/sys/socket.h-data: Likewise.
54399         * conform/data/sys/stat.h-data: Likewise.
54400         * conform/data/sys/statvfs.h-data: Likewise.
54401         * conform/data/sys/time.h-data: Likewise.
54402         * conform/data/sys/timeb.h-data: Likewise.
54403         * conform/data/sys/times.h-data: Likewise.
54404         * conform/data/sys/types.h-data: Likewise.
54405         * conform/data/sys/uio.h-data: Likewise.
54406         * conform/data/sys/un.h-data: Likewise.
54407         * conform/data/sys/utsname.h-data: Likewise.
54408         * conform/data/sys/wait.h-data: Likewise.
54409         * conform/data/syslog.h-data: Likewise.
54410         * conform/data/tar.h-data: Likewise.
54411         * conform/data/termios.h-data: Likewise.
54412         * conform/data/utime.h-data: Likewise.
54413         * conform/data/utmpx.h-data: Likewise.
54414         * conform/data/varargs.h-data: Likewise.
54415         * conform/data/wchar.h-data: Likewise.
54416         * conform/data/wctype.h-data: Likewise.
54417         * conform/data/wordexp.h-data: Likewise.
54419         * include/stropts.h: New file.
54420         * include/uchar.h: New file.
54421         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54422         * include/assert.h: Likewise.
54423         * include/ctype.h: Likewise.
54424         * include/dirent.h: Likewise.
54425         * include/dlfcn.h: Likewise.
54426         * include/fcntl.h: Likewise.
54427         * include/fnmatch.h: Likewise.
54428         * include/glob.h: Likewise.
54429         * include/grp.h: Likewise.
54430         * include/libio.h: Likewise.
54431         * include/locale.h: Likewise.
54432         * include/math.h: Likewise.
54433         * include/net/if.h: Likewise.
54434         * include/netdb.h: Likewise.
54435         * include/netinet/in.h: Likewise.
54436         * include/pthread.h: Likewise.
54437         * include/pwd.h: Likewise.
54438         * include/regex.h: Likewise.
54439         * include/sched.h: Likewise.
54440         * include/search.h: Likewise.
54441         * include/setjmp.h: Likewise.
54442         * include/signal.h: Likewise.
54443         * include/stdio.h: Likewise.
54444         * include/stdlib.h: Likewise.
54445         * include/string.h: Likewise.
54446         * include/sys/cdefs.h: Likewise.
54447         * include/sys/mman.h: Likewise.
54448         * include/sys/msg.h: Likewise.
54449         * include/sys/resource.h: Likewise.
54450         * include/sys/select.h: Likewise.
54451         * include/sys/socket.h: Likewise.
54452         * include/sys/stat.h: Likewise.
54453         * include/sys/statvfs.h: Likewise.
54454         * include/sys/time.h: Likewise.
54455         * include/sys/times.h: Likewise.
54456         * include/sys/uio.h: Likewise.
54457         * include/sys/utsname.h: Likewise.
54458         * include/sys/wait.h: Likewise.
54459         * include/termios.h: Likewise.
54460         * include/time.h: Likewise.
54461         * include/ulimit.h: Likewise.
54462         * include/unistd.h: Likewise.
54463         * include/utime.h: Likewise.
54464         * include/wchar.h: Likewise.
54465         * include/wctype.h: Likewise.
54466         * include/wordexp.h: Likewise.
54468         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54470         * time/time.h: TIME_UTC must be a macro.
54471         Make timespec_get available for ISO C11 only as well.
54473 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54475         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54476         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54480         * configure.in: Use -o not -a in test for unsupported multi-arch.
54482 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54484         * manual/texinfo.tex: Update to version 2012-01-19.16.
54486 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54488         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54490 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54492         [BZ #13738]
54493         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54494         * manual/fdl-1.3.texi: New file.
54495         * manual/fdl-1.1.texi: File removed.
54497         [BZ #13738]
54498         * manual/libc.texinfo (FDL_VERSION): New @set.
54499         Use it for mention of FDL in cover text.
54500         (Documentation License): Use it in @include file name.
54502 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54503             Roland McGrath  <roland@hack.frob.com>
54505         [BZ #5461]
54506         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54507         (not LONG_LONG_MAX and LONG_LONG_MIN.
54508         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54509         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54510         name.
54511         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54515         [BZ #2547]
54516         [BZ #11365]
54517         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54518         manipulate bits before adding and subtracting TWO23[sx].
54519         * math/libm-test.inc (nearbyint_test): Add more tests.
54521 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #2548]
54524         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54525         bits before adding and subtracting TWO23[sx].
54526         * math/libm-test.inc (rint_test): Add more tests.
54527         (rint_test_tonearest): Likewise.
54528         (rint_test_towardzero): Likewise.
54529         (rint_test_downward): Likewise.
54530         (rint_test_upward: Likewise.
54532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54534         [BZ #10110]
54535         * include/stdc-predef.h: New file.  Extracted from features.h.
54536         * include/features.h: Include stdc-predef.h.
54537         * Makefile (headers): Add stdc-predef.h.
54538         * CONFORMANCE (Compiler limitations): Update.
54540 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54542         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54544 2012-02-21  David S. Miller  <davem@davemloft.net>
54546         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54547         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54549 2012-02-20  David S. Miller  <davem@davemloft.net>
54551         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54552         using a normal save/restore sequence, rather than allocating a
54553         dummy stack frame just to store a frame pointer and restore.
54554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54556 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54558         * manual/install.texi: Fix stray word in line-wrapped comment.
54560 2012-02-20  David S. Miller  <davem@davemloft.net>
54562         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54563         both binutils and gcc support GOTDATA.
54565         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54566         "rd %pc" in the PIC register setup sequences.
54568         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54569         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54570         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54571         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54572         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54574         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54575         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54577         (SYSCALL_ERROR_HANDLER): Likewise.
54578         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54579         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54581         (SYSCALL_ERROR_HANDLER): Likewise.
54583         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54584         (HAVE_GCC_GOTDATA): New.
54585         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54586         relocation support in both binutils and gcc.
54587         * sysdeps/sparc/elf/configure: Regenerate.
54589         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54590         * sysdeps/sparc/sparc32/elf/configure: Delete.
54591         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54592         * sysdeps/sparc/sparc64/elf/configure: Delete.
54593         * sysdeps/sparc/elf/configure.in: New file.
54594         * sysdeps/sparc/elf/configure: Generate.
54596         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54597         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54598         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54599         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54600         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54602 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54604         * manual/install.texi: Do not mention specific glibc version
54605         numbers.
54606         * manual/libc.texinfo (VERSION, UPDATED): Update.
54607         (@copying): Use @copyright{} and range of years.
54609 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54611         [BZ #13695]
54612         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54613         [crti.S not in sysdirs] (generated): Do not append.
54614         [crti.S not in sysdirs] (omit-deps): Likewise.
54615         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54616         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54617         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54618         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54619         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54620         Likewise.
54621         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54622         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54623         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54624         * csu/defs.awk: Remove file.
54625         * sysdeps/generic/initfini.c: Likewise.
54626         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54627         variable.
54628         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54629         Likewise.
54631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54633         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54634         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54635         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54636         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54638         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54639         <bits/epoll.h>.
54640         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54641         (__EPOLL_PACKED): Define to empty if not defined by
54642         <bits/epoll.h>.
54643         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54645         bits/epoll.h.
54647 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54649         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54650         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54651         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54652         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54653         <bits/timerfd.h>.
54654         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54656         bits/timerfd.h.
54658 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54660         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54661         in C locale.
54662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54663         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54664         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54667 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54669         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54670         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54672 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54674         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54675         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54676         defined.
54677         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54678         Likewise.
54679         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54680         entry for 2.16.
54682 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54684         * math/w_acos.c: Use non-signaling floating-point comparisons.
54685         * math/w_acosf.c: Likewise.
54686         * math/w_acosh.c: Likewise.
54687         * math/w_acoshf.c: Likewise.
54688         * math/w_acoshl.c: Likewise.
54689         * math/w_acosl.c: Likewise.
54690         * math/w_asin.c: Likewise.
54691         * math/w_asinf.c: Likewise.
54692         * math/w_asinl.c: Likewise.
54693         * math/w_atanh.c: Likewise.
54694         * math/w_atanhf.c: Likewise.
54695         * math/w_atanhl.c: Likewise.
54696         * math/w_exp2.c: Likewise.
54697         * math/w_exp2f.c: Likewise.
54698         * math/w_exp2l.c: Likewise.
54699         * math/w_j0.c: Likewise.
54700         * math/w_j0f.c: Likewise.
54701         * math/w_j0l.c: Likewise.
54702         * math/w_j1.c: Likewise.
54703         * math/w_j1f.c: Likewise.
54704         * math/w_j1l.c: Likewise.
54705         * math/w_jn.c: Likewise.
54706         * math/w_jnf.c: Likewise.
54707         * math/w_log.c: Likewise.
54708         * math/w_log10.c: Likewise.
54709         * math/w_log10f.c: Likewise.
54710         * math/w_log10l.c: Likewise.
54711         * math/w_log2.c: Likewise.
54712         * math/w_log2f.c: Likewise.
54713         * math/w_log2l.c: Likewise.
54714         * math/w_logf.c: Likewise.
54715         * math/w_logl.c: Likewise.
54716         * math/w_sqrt.c: Likewise.
54717         * math/w_sqrtf.c: Likewise.
54718         * math/w_sqrtl.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54721         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54722         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54723         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54725 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #9739]
54728         * manual/string.texi (strnlen): Use correct parameter name in
54729         equivalent expression.
54731 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54733         [BZ #11174]
54734         * manual/users.texi (seteuid): Consistently use neweuid for
54735         argument name.
54737 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54739         [BZ #13704]
54740         * manual/nss.texi (Services in the NSS configuration): Correct
54741         list of services in example configuration file.
54743 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54745         [BZ #11322]
54746         * manual/arith.texi: Remove statements about negative zero
54747         behaving identically to zero.
54749 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54751         [BZ #5993]
54752         * manual/install.texi: Do not document upgrading from libc5.
54754 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54756         [BZ #4596]
54757         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54759 2012-02-18  David S. Miller  <davem@davemloft.net>
54761         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54762         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54763         %o7 across the call.
54764         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54765         instead.
54766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54767         SETUP_PIC_REG_LEAF.
54768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54769         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54770         * sysdeps/sparc/crtn.S: Likewise.
54772 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54774         * aout/Makefile: Remove.
54776 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54778         [BZ #13058]
54779         * manual/examples/argp-ex1.c (main): Format definition in GNU
54780         style.
54781         * manual/examples/argp-ex2.c (main): Likewise.
54782         * manual/examples/argp-ex3.c (main): Likewise.
54783         * manual/examples/argp-ex4.c (main): Likewise.
54784         * manual/examples/longopt.c (main): Use new-style prototype
54785         definition.
54786         * manual/examples/strncat.c (main): Specify return type and use
54787         (void) for arguments.
54788         * manual/examples/subopt.c (main): Use char **argv argument.
54790 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54792         [BZ #5077]
54793         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54794         rounding modes.
54796 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54798         [BZ #6907]
54799         * manual/string.texi (strchr): Change when strchrnul is
54800         recommended.
54802 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54804         [BZ #174]
54805         * manual/locale.texi (setlocale): Document LOCPATH.
54807 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54809         [BZ #10210]
54810         * manual/process.texi (execle): Move @dots{} before last argument.
54812 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54814         [BZ #12047]
54815         * manual/charset.texi (Generic Charset Conversion): Fix typo
54816         (LC_TYPE -> LC_CTYPE).
54818 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54820         [BZ #5805]
54821         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54822         (scalbnf): Likewise.
54823         (scalbnl): Likewise.
54824         (scalbln): Likewise.
54825         (scalblnf): Likewise.
54826         (scalblnl): Likewise.
54827         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54828         (vwarnx): Likewise.
54829         (verr): Likewise.
54830         (verrx): Likewise.
54831         * manual/filesys.texi (telldir): Use braces around return type.
54832         * manual/llio.texi (mmap): Add space after comma.
54833         (mmap64): Likewise.
54834         * manual/math.texi (jn): Use @var{} on parameter names.
54835         (jnf): Likewise.
54836         (jnl): Likewise.
54837         (yn): Likewise.
54838         (ynf): Likewise.
54839         (ynl): Likewise.
54840         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54841         line.
54842         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54843         "...".
54844         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54845         (sched_get_priority_max): Likewise.
54846         * manual/signal.texi (sigvec): Add space after comma.
54847         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54848         names.
54849         (if_indextoname): Likewise.
54850         (if_freenameindex): Likewise.
54851         (sendto): Use ',' instead of '.' in prototype.
54852         * manual/startup.texi (syscall): Use @dots{} instead of literal
54853         "...".
54854         * manual/stdio.texi (__fpending): Separate initial words of
54855         paragraph from @deftypefun line.
54856         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54857         "...".
54858         (vsyslog): Use @var{} on parameter names.
54859         * manual/terminal.texi (stty): Use @var{} on parameter names.
54860         * manual/users.texi (getutmp): Use @var{} on parameter names.
54861         (getutmpx): Likewise.
54863 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54865         [BZ #6884]
54866         * manual/stdio.texi (fopen): Fix typos in description of
54867         ",ccs=STRING".
54869 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54871         [BZ #4026]
54872         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54873         get clock_id definition.
54875 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54877         [BZ #4822]
54878         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54879         (madvise): Cast every argument to void on its own.
54881 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54883         [BZ #9902]
54884         * manual/startup.texi (Exit Status): Fix typo.
54886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54888         [BZ #10140]
54889         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54890         * manual/examples/argp-ex2.c: Likewise.
54891         * manual/examples/argp-ex3.c: Likewise.
54893 2012-02-16  Richard Henderson  <rth@redhat.com>
54895         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54896         * sysdeps/s390/s390-32/initfini.c: Remove.
54897         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54898         * sysdeps/s390/s390-64/initfini.c: Remove.
54900 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54902         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54903         compiler output for sysdeps/generic/initfini.c.
54904         * sysdeps/sh/elf/initfini.c: Remove file.
54906 2012-02-16  David S. Miller  <davem@davemloft.net>
54908         [BZ #11494]
54909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54911         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54912         * sysdeps/sparc/crti.S: New file.
54913         * sysdeps/sparc/crtn.S: New file.
54914         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54915         * sysdeps/sparc/sparc64/Makefile: Likewise.
54917 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54919         [BZ #3335]
54920         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54922 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54924         [BZ #4822]
54925         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54927         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54928         (write, read, close): Likewise.
54929         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54931 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54933         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54934         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54935         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54936         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54937         <bits/signalfd.h>.
54938         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54940         bits/signalfd.h.
54942 2012-02-14  Marek Polacek  <polacek@redhat.com>
54944         * sysdeps/x86_64/crti.S: New file.
54945         * sysdeps/x86_64/crtn.S: New file.
54946         * sysdeps/x86_64/elf/initfini.c: Remove file.
54948 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54950         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54951         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54952         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54953         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54954         <bits/inotify.h>.
54955         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54957         bits/inotify.h.
54959 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54961         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54962         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54963         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54964         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54965         <bits/eventfd.h>.
54966         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54968         bits/eventfd.h.
54970 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54972         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54973         __feraiseexcept instead of feraiseexcept.
54975         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54976         nanosleep invocations.
54977         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54978         strings, and add error checking for a nanosleep invocations.
54980 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54982         Replace FSF snail mail address with URLs, as per GNU coding standards.
54983         Most of the snail mail addresses were wrong anyway, and omitting
54984         them makes the source code easier to maintain.  Almost all of the
54985         changes are to license notices and to locale LC_IDENTIFICATION
54986         addresses, except for this one:
54987         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54988         not its snail mail address.
54990 2012-02-09  Richard Henderson  <rth@twiddle.net>
54992         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54993         of kernel-features.h.
54995         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54997 2012-02-08  Marek Polacek  <polacek@redhat.com>
54999         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55000         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55001         * sysdeps/gnu/_G_config.h: Likewise.
55002         * sysdeps/generic/_G_config.h: Likewise.
55004 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55006         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55007         tests.
55008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55010         * sysdeps/powerpc/powerpc32/crti.S: New file.
55011         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55012         * sysdeps/powerpc/powerpc64/crti.S: New file.
55013         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55015         * Makeconfig (have-initfini): Don't set.
55016         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55017         * configure.in (nopic_initfini): Don't substitute.
55018         * config.h.in (HAVE_INITFINI): Don't #undef.
55019         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55020         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55022 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55024         Support crti.S and crtn.S provided directly by architectures.
55025         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55026         [crti.S in sysdirs] (omit-deps): Likewise.
55027         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55028         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55029         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55030         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55031         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55032         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55033         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55034         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55035         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55036         compiler output for sysdeps/generic/initfini.c.
55037         * sysdeps/i386/elf/Makefile: Remove file.
55038         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55040 2012-02-07  Marek Polacek  <polacek@redhat.com>
55042         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55043         * sysdeps/gnu/_G_config.h: Likewise.
55044         * sysdeps/mach/hurd/_G_config.h: Likewise.
55046 2012-02-07  Marek Polacek  <polacek@redhat.com>
55048         * math/Makefile (tests): Add tst-CMPLX2.
55049         * math/tst-CMPLX2.c: New file.
55051 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55053         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55055         * math/libm-test.inc (jn_test): Add missing L suffix.
55057 2012-02-06  Marek Polacek  <polacek@redhat.com>
55059         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55060         * sysdeps/i386/fpu/e_powf.S: Likewise.
55061         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55062         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55063         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55064         * sysdeps/i386/fpu/e_pow.S: Likewise.
55065         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55066         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55067         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55068         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55069         * sysdeps/i386/fpu/e_log2.S: Likewise.
55070         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55071         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55072         * sysdeps/i386/fpu/e_powl.S: Likewise.
55073         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55074         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55075         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55076         * sysdeps/i386/fpu/e_logl.S: Likewise.
55077         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55078         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55079         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55080         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55081         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55082         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55083         * sysdeps/i386/fpu/e_log.S: Likewise.
55084         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55085         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55086         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55087         * sysdeps/i386/fpu/e_logf.S: Likewise.
55088         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55089         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55090         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55091         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55092         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55093         * sysdeps/i386/fpu/e_log10.S: Likewise.
55094         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55095         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55096         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55097         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55098         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55099         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55100         * sysdeps/i386/asm-syntax.h: Likewise.
55101         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55103         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55104         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55105         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55106         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55107         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55108         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55109         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55110         * sysdeps/powerpc/sysdep.h: Likewise.
55111         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55112         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55114 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55116         [BZ #411]
55117         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55119 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55121         * sysdeps/i386/sysdep.h: Include <features.h>.
55122         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55123         version.
55125 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55127         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55128         Define.
55129         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55130         LOAD_PIC_REG_STR.
55132 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55134         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55135         (SETUP_PIC_REG): Use GET_PC_THUNK.
55136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55137         macro.
55139 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55141         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55142         for non-PIC compilation.
55143         (SETUP_PIC_REG): Add .p2align directive.
55144         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55145         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55146         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55147         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55148         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55149         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55150         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55151         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55152         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55153         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55154         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55155         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55156         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55157         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55158         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55159         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55160         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55161         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55162         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55163         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55164         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55168         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55169         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55170         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55171         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55172         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55173         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55174         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55175         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55176         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55177         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55178         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55179         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55180         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55181         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55182         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55183         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55184         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55186 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55188         * math/tst-CMPLX.c: Include <stdio.h>.
55190 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55192         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55193         float.
55194         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55195         * sysdeps/sparc/bits/mathdef.h: Likewise.
55197 2012-01-31  Marek Polacek  <polacek@redhat.com>
55199         * libio/libio.h: Don't define _PARAMS.
55200         * locale/programs/config.h: Don't define PARAMS.
55201         * stdlib/strtol_l.c: Likewise.
55202         (__strtol_l): Remove PARAMS from the prototype.
55204 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55206         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55207         names.  Just use the correct names.  Remove unnecessary wrapper
55208         functions.
55209         * malloc/arena.c: Likewise.
55210         * malloc/hooks.c: Likewise.
55212         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55213         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55214         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55216 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55218         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55219         into tail calls.
55220         (update_get_addr): New function.
55221         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55222         GET_ADDR_MODULE parameter.
55224 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55226         * crypt/cert.c: Remove __STDC__ conditionals.
55227         * crypt/crypt-entry.c: Likewise.
55228         * crypt/crypt_util.c: Likewise.
55229         * libio/filedoalloc.c: Likewise.
55230         * libio/fileops.c: Likewise.
55231         * libio/genops.c: Likewise.
55232         * libio/iofclose.c: Likewise.
55233         * libio/iofdopen.c: Likewise.
55234         * libio/iofopen.c: Likewise.
55235         * libio/iofopen64.c: Likewise.
55236         * libio/iogetdelim.c: Likewise.
55237         * libio/iopopen.c: Likewise.
55238         * libio/obprintf.c: Likewise.
55239         * libio/oldfileops.c: Likewise.
55240         * libio/oldiofclose.c: Likewise.
55241         * libio/oldiofdopen.c: Likewise.
55242         * libio/oldiofopen.c: Likewise.
55243         * libio/oldiopopen.c: Likewise.
55244         * libio/wfiledoalloc.c: Likewise.
55245         * libio/wgenops.c: Likewise.
55246         * locale/programs/xmalloc.c: Likewise.
55247         * misc/syslog.c: Likewise.
55248         * stdio-common/xbug.c: Likewise.
55249         * string/memchr.c: Likewise.
55250         * string/memcmp.c: Likewise.
55251         * string/memrchr.c: Likewise.
55252         * string/rawmemchr.c: Likewise.
55253         * sysdeps/posix/getcwd.c: Likewise.
55254         * time/strftime_l.c: Likewise.
55256 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55258         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55259         * config.make.in (config-cflags-sse2avx): Define.
55260         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55261         Fix typo.
55263 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55265         * scripts/config.guess: Update from upstream config git repository.
55266         * scripts/config.sub: Likewise.
55268 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55270         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55271         (EM_NUM): Update.
55272         (R_TILEPRO_*, R_TILEGX_*): New macros.
55274         * scripts/firstversions.awk: Fix bug in version range handling.
55276         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55278         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55280         * include/sys/epoll.h: New file.
55281         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55282         libc_hidden_def.
55284 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55286         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55287         Avoid unnecessary __WORDSIZE == 64 test.
55288         (fmaxf): Use VEX format if possible.
55289         (fmax): Likewise.
55290         (fminf): Likewise.
55291         (fmin): Likewise.
55293         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55294         * math/math_private.h: Remove libc_fegetround* and
55295         libc_fesetround*.
55296         * sysdeps/i386/configure.in: Check for -msse2avx.
55297         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55298         also if SSE2AVX is defined.
55299         Remove libc_fegetround* and libc_fesetround*.
55300         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55301         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55302         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55303         of HAS_YMM_USABLE.
55304         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55305         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55306         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55307         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55308         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55310         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55312 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55314         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55315         size is not set.
55316         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55318 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55320         [BZ #13618]
55321         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55322         relocation.
55323         * Makeconfig (libm): Define.
55324         * elf/Makefile: Add rules to build and run tst-relsort1.
55325         * elf/tst-relsort1.c: New file.
55326         * elf/tst-relsort1mod1.c: New file.
55327         * elf/tst-relsort1mod2.c: New file.
55329 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55331         * math/s_ldexp.c: Remove __STDC__ conditionals.
55332         * math/s_ldexpf.c: Likewise.
55333         * math/s_ldexpl.c: Likewise.
55334         * math/s_nextafter.c: Likewise.
55335         * math/s_nexttowardf.c: Likewise.
55336         * math/s_significand.c: Likewise.
55337         * math/s_significandf.c: Likewise.
55338         * math/s_significandl.c: Likewise.
55339         * math/w_jnl.c: Likewise.
55340         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55341         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55342         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55343         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55344         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55346         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55347         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55348         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55349         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55350         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55351         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55352         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55354         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55355         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55356         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55357         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55358         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55359         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55360         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55361         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55362         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55363         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55364         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55365         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55367         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55368         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55369         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55370         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55371         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55372         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55373         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55374         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55375         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55376         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55377         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55378         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55379         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55380         * sysdeps/ieee754/k_standard.c: Likewise.
55381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55382         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55383         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55384         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55385         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55386         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55387         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55388         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55389         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55390         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55391         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55392         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55393         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55394         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55395         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55396         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55397         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55398         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55399         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55400         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55402         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55403         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55404         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55405         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55406         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55408         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55412         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55414         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55415         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55416         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55417         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55419         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55420         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55421         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55423         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55424         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55426         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55428         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55429         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55430         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55431         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55434         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55436         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55437         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55438         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55439         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55440         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55441         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55442         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55443         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55444         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55445         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55446         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55447         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55448         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55449         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55450         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55451         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55452         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55453         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55454         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55455         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55456         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55457         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55458         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55459         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55460         * sysdeps/ieee754/s_matherr.c: Likewise.
55461         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55462         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55463         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55466 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55468         * crypt/md5.h: Remove __STDC__ conditionals.
55469         * libio/libioP.h: Likewise.
55470         * locale/programs/config.h: Likewise.
55471         * sysdeps/generic/sysdep.h: Likewise.
55472         * sysdeps/i386/asm-syntax.h: Likewise.
55473         * sysdeps/s390/asm-syntax.h: Likewise.
55474         * sysdeps/unix/sysdep.h: Likewise.
55475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55478 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55480         * libio/libio.h: Remove __STDC__ conditionals.
55481         * malloc/obstack.h: Likewise.
55482         * math/complex.h: Likewise.
55483         * math/math.h: Likewise.
55484         * sysdeps/generic/_G_config.h: Likewise.
55485         * sysdeps/gnu/_G_config.h: Likewise.
55486         * sysdeps/mach/hurd/_G_config.h: Likewise.
55487         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55488         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55489         * sysdeps/sparc/bits/mathdef.h: Likewise.
55491 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55493         [BZ #13583]
55494         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55495         Clean up HAS_* macros.
55496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55497         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55498         possible.
55499         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55500         HAS_AVX.
55501         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55502         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55503         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55504         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55505         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55507 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55509         * elf/tst-unique3.cc (gets): Remove declaration.
55510         * elf/tst-unique3lib.cc (gets): Likewise.
55511         * elf/tst-unique3lib2.cc (gets): Likewise.
55512         * elf/tst-unique4.cc (gets): Likewise.
55514 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55516         * include/stdio.h: Add C++ protection.  Add gets declarations and
55517         definitions.
55518         * debug/tst-chk1.c: Don't declare gets here.
55519         * stdio-common/tst-gets.c: Likewise.
55521 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55523         * posix/glob: Remove directory.
55525 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55527         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55529 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55531         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55532         of the non-standard EPFNOSUPPORT.
55534 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55536         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55537         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55538         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55540 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55542         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55544 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55546         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55547         transient errors.
55548         * nscd/grpcache.c (cache_addgr): Likewise.
55549         * nscd/hstcache.c (cache_addhst): Likewise.
55550         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55551         * nscd/pwdcache.c (cache_addpw): Likewise.
55552         * nscd/servicescache.c (cache_addserv): Likewise.
55554 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55556         * malloc/malloc.c: Various cleanups.
55557         * malloc/hooks.c: Likewise.
55559         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55560         * stdlib/bug-fmtmsg1.c: New file.
55562         * stdlib/fmtmsg.c (init): Add missing unlock.
55563         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55565 2012-01-12  Marek Polacek  <polacek@redhat.com>
55567         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55568         and _GNU_SOURCE.
55570 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55572         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55573         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55574         macro to ensure uniqueness of label name.
55575         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55576         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55578 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55580         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55582         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55583         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55584         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55587 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55589         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55591         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55592         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55593         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55595         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55597         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55598         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55602         * math/bits/math-finite.h: Add ldexp support.
55604 2012-01-10  Marek Polacek  <polacek@redhat.com>
55606         * locale/programs/localedef.h (show_archive_content): Add noreturn
55607         attribute.
55609 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55611         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55613 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55615         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55617         * io/Makefile (headers): Add bits/poll2.h.
55619 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55622         typo #include statement.
55624 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55626         * include/sys/cdefs.h: Define __attribute_alloc_size.
55627         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55628         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55629         * elf/pldd.c: Likewise.
55630         * iconv/iconv_charmap.c: Likewise.
55631         * iconv/iconvconfig.c: Likewise.
55632         * iconv/strtab.c: Likewise.
55633         * locale/programs/locale.c: Likewise.
55634         * locale/programs/localedef.h: Likewise.
55635         * locale/programs/simple-hash.c: Likewise.
55636         * nscd/nscd.h: Likewise.
55637         * nss/makedb.c: Likewise.
55638         * sysdeps/generic/ldconfig.h: Likewise.
55639         * locale/programs/localedef.c: Remove xmalloc prototype.
55640         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55642 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55644         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55645         appropriate.
55647 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55649         * math/Makefile (tests): Add tst-CMPLX.
55650         * math/tst-CMPLX.c: New file.
55652         * math/complex.h (CMPLXL): Fix typo.
55654         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55655         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55656         GLIBC_2.16.
55657         * debug/tst-chk1.c: Add poll and ppoll tests.
55658         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55659         * include/sys/poll.h: Add hidden proto for ppoll.
55660         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55661         * sysdeps/mach/hurd/ppoll.c: Likewise.
55662         * io/ppoll.c: Likewise.
55663         * debug/poll_chk.c: New file.
55664         * debug/ppoll_chk.c: New file.
55665         * include/bits/poll2.h: New file.
55666         * io/bits/poll2.h: New file.
55668         [BZ #1350]
55669         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55671         * configure.in: static is always set to yes.  Remove.
55672         * config.make.in: Don't set build-static.
55673         * Makeconfig: Remove use of build-static.
55674         * dlfcn/Makefile: Likewise.
55675         * elf/Makefile: Likewise.
55676         * math/Makefile: Likewise.
55677         * misc/Makefile: Likewise.
55678         * nptl/Makefile: Likewise.
55679         * sysdeps/mach/hurd/Makefile: Likewise.
55681         * configure.in: PWD_P is not used anymore.
55682         * config.make.in: Remove PWD_P entry.
55684         * configure.in: Remove last remnants of RANLIB.
55685         No need to check for signed size_t anymore.
55686         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55687         and IA-64.
55688         Remove __builtin_expect test because we require at least gcc 3.4.
55689         * aclocal.m4: Likewise.
55691         * wcsmbs/mbrtoc16.c: Implement using towc function.
55692         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55693         * wcsmbs/wcsmbsload.c: Likewise.
55694         * iconv/gconv_simple.c: Likewise.
55695         * iconv/gconv_int.h: Likewise.
55696         * iconv/gconv_builtin.h: Likewise.
55697         * iconv/iconv_prog.c: Remove CHAR16 handling.
55699         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55701         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55703         * configure.in: Remove --with-elf and --enable-bounded options.
55704         Dont set base_machine for ia64.  More non-ELF conditions removed.
55705         Remove testing and setting of leading underscore information.
55706         * config.make.in (build-bounded): Set to no.
55707         * config.h.in: Remove NO_UNDERSCORES entry.
55708         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55709         them.
55710         * csu/start.c: Remove !NO_UNDERSCORE code.
55711         * locale/localeinfo.h: Likewise.
55712         * sysdeps/generic/machine-gmon.h: Likewise.
55713         * sysdeps/generic/sysdep.h: Likewise.
55714         * sysdeps/i386/sysdep.h: Likewise.
55715         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55716         * sysdeps/mach/sysdep.h: Likewise.
55717         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55718         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55719         * sysdeps/sh/sysdep.h: Likewise.
55720         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55721         * sysdeps/unix/i386/sysdep.S: Likewise.
55722         * sysdeps/unix/sparc/start.c: Likewise.
55723         * sysdeps/unix/sparc/sysdep.S: Likewise.
55724         * sysdeps/unix/sparc/sysdep.h: Likewise.
55725         * sysdeps/unix/start.c: Likewise.
55726         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55727         * sysdeps/x86_64/sysdep.h: Likewise.
55729 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55731         [BZ #13553]
55732         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55733         for non-gcc.
55734         * argp/argp-fmtstream.h: Use const instead __const.
55735         * argp/argp.h: Likewise.
55736         * assert/assert.h: Likewise.
55737         * bits/fenv.h: Likewise.
55738         * bits/sched.h: Likewise.
55739         * bits/sigset.h: Likewise.
55740         * bits/sigthread.h: Likewise.
55741         * catgets/nl_types.h: Likewise.
55742         * conform/data/pthread.h-data: Likewise.
55743         * crypt/crypt-private.h: Likewise.
55744         * crypt/crypt.h: Likewise.
55745         * crypt/crypt_util.c: Likewise.
55746         * ctype/ctype.h: Likewise.
55747         * debug/execinfo.h: Likewise.
55748         * debug/mbsnrtowcs_chk.c: Likewise.
55749         * debug/mbsrtowcs_chk.c: Likewise.
55750         * debug/wcsnrtombs_chk.c: Likewise.
55751         * debug/wcsrtombs_chk.c: Likewise.
55752         * debug/wcstombs_chk.c: Likewise.
55753         * dirent/dirent.h: Likewise.
55754         * dlfcn/dlfcn.h: Likewise.
55755         * elf/neededtest4.c: Likewise.
55756         * grp/grp.h: Likewise.
55757         * gshadow/gshadow.h: Likewise.
55758         * iconv/gconv.h: Likewise.
55759         * iconv/gconv_int.h: Likewise.
55760         * iconv/gconv_simple.c: Likewise.
55761         * iconv/iconv.h: Likewise.
55762         * iconv/loop.c: Likewise.
55763         * iconv/skeleton.c: Likewise.
55764         * include/aio.h: Likewise.
55765         * include/aliases.h: Likewise.
55766         * include/argz.h: Likewise.
55767         * include/arpa/inet.h: Likewise.
55768         * include/assert.h: Likewise.
55769         * include/dirent.h: Likewise.
55770         * include/dlfcn.h: Likewise.
55771         * include/execinfo.h: Likewise.
55772         * include/fcntl.h: Likewise.
55773         * include/fenv.h: Likewise.
55774         * include/glob.h: Likewise.
55775         * include/grp.h: Likewise.
55776         * include/libintl.h: Likewise.
55777         * include/mntent.h: Likewise.
55778         * include/netdb.h: Likewise.
55779         * include/pwd.h: Likewise.
55780         * include/rpc/netdb.h: Likewise.
55781         * include/sched.h: Likewise.
55782         * include/search.h: Likewise.
55783         * include/shadow.h: Likewise.
55784         * include/signal.h: Likewise.
55785         * include/stdio.h: Likewise.
55786         * include/stdlib.h: Likewise.
55787         * include/string.h: Likewise.
55788         * include/sys/socket.h: Likewise.
55789         * include/sys/stat.h: Likewise.
55790         * include/sys/statfs.h: Likewise.
55791         * include/sys/statvfs.h: Likewise.
55792         * include/sys/syslog.h: Likewise.
55793         * include/sys/time.h: Likewise.
55794         * include/sys/uio.h: Likewise.
55795         * include/time.h: Likewise.
55796         * include/unistd.h: Likewise.
55797         * include/utmp.h: Likewise.
55798         * include/wchar.h: Likewise.
55799         * include/wctype.h: Likewise.
55800         * inet/aliases.h: Likewise.
55801         * inet/arpa/inet.h: Likewise.
55802         * inet/netinet/ether.h: Likewise.
55803         * inet/netinet/in.h: Likewise.
55804         * intl/libintl.h: Likewise.
55805         * io/bits/fcntl2.h: Likewise.
55806         * io/fcntl.h: Likewise.
55807         * io/ftw.h: Likewise.
55808         * io/sys/poll.h: Likewise.
55809         * io/sys/stat.h: Likewise.
55810         * io/sys/statfs.h: Likewise.
55811         * io/sys/statvfs.h: Likewise.
55812         * io/utime.h: Likewise.
55813         * libio/bits/stdio.h: Likewise.
55814         * libio/bits/stdio2.h: Likewise.
55815         * libio/libio.h: Likewise.
55816         * libio/libioP.h: Likewise.
55817         * libio/stdio.h: Likewise.
55818         * locale/lc-ctype.c: Likewise.
55819         * locale/locale.h: Likewise.
55820         * login/utmp.h: Likewise.
55821         * malloc/arena.c: Likewise.
55822         * malloc/malloc.c: Likewise.
55823         * malloc/malloc.h: Likewise.
55824         * malloc/mcheck.c: Likewise.
55825         * malloc/mtrace.c: Likewise.
55826         * math/bits/mathcalls.h: Likewise.
55827         * math/fenv.h: Likewise.
55828         * math/math_private.h: Likewise.
55829         * misc/bits/error.h: Likewise.
55830         * misc/bits/syslog.h: Likewise.
55831         * misc/err.h: Likewise.
55832         * misc/error.h: Likewise.
55833         * misc/fstab.h: Likewise.
55834         * misc/mntent.h: Likewise.
55835         * misc/regexp.h: Likewise.
55836         * misc/search.h: Likewise.
55837         * misc/sgtty.h: Likewise.
55838         * misc/sys/mman.h: Likewise.
55839         * misc/sys/syslog.h: Likewise.
55840         * misc/sys/uio.h: Likewise.
55841         * misc/sys/xattr.h: Likewise.
55842         * misc/ttyent.h: Likewise.
55843         * nis/rpcsvc/ypclnt.h: Likewise.
55844         * nss/nss.h: Likewise.
55845         * posix/bits/unistd.h: Likewise.
55846         * posix/fnmatch.h: Likewise.
55847         * posix/glob.h: Likewise.
55848         * posix/sched.h: Likewise.
55849         * posix/spawn.h: Likewise.
55850         * posix/sys/wait.h: Likewise.
55851         * posix/unistd.h: Likewise.
55852         * posix/wordexp.h: Likewise.
55853         * pwd/pwd.h: Likewise.
55854         * resolv/netdb.h: Likewise.
55855         * resource/sys/resource.h: Likewise.
55856         * rt/aio.h: Likewise.
55857         * rt/bits/mqueue2.h: Likewise.
55858         * rt/mqueue.h: Likewise.
55859         * shadow/shadow.h: Likewise.
55860         * signal/signal.h: Likewise.
55861         * socket/send.c: Likewise.
55862         * socket/sendto.c: Likewise.
55863         * socket/sys/socket.h: Likewise.
55864         * stdio-common/printf.h: Likewise.
55865         * stdlib/bits/stdlib.h: Likewise.
55866         * stdlib/fmtmsg.h: Likewise.
55867         * stdlib/monetary.h: Likewise.
55868         * stdlib/stdlib.h: Likewise.
55869         * stdlib/ucontext.h: Likewise.
55870         * streams/stropts.h: Likewise.
55871         * string/argz.h: Likewise.
55872         * string/bits/string2.h: Likewise.
55873         * string/string.h: Likewise.
55874         * string/strings.h: Likewise.
55875         * sunrpc/rpc/auth.h: Likewise.
55876         * sunrpc/rpc/auth_des.h: Likewise.
55877         * sunrpc/rpc/clnt.h: Likewise.
55878         * sunrpc/rpc/netdb.h: Likewise.
55879         * sunrpc/rpc/pmap_clnt.h: Likewise.
55880         * sunrpc/rpc/xdr.h: Likewise.
55881         * sysdeps/generic/inttypes.h: Likewise.
55882         * sysdeps/generic/net/if.h: Likewise.
55883         * sysdeps/generic/sys/swap.h: Likewise.
55884         * sysdeps/gnu/net/if.h: Likewise.
55885         * sysdeps/gnu/utmpx.h: Likewise.
55886         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55887         * sysdeps/i386/i486/bits/string.h: Likewise.
55888         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55889         * sysdeps/s390/bits/string.h: Likewise.
55890         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55891         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55892         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55893         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55894         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55895         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55896         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55897         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55898         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55899         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55900         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55901         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55902         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55903         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55904         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55905         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55906         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55910         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55911         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55912         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55913         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55914         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55915         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55916         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55917         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55918         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55919         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55920         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55921         * sysvipc/sys/ipc.h: Likewise.
55922         * sysvipc/sys/msg.h: Likewise.
55923         * sysvipc/sys/sem.h: Likewise.
55924         * sysvipc/sys/shm.h: Likewise.
55925         * termios/termios.h: Likewise.
55926         * time/sys/time.h: Likewise.
55927         * time/time.h: Likewise.
55928         * wcsmbs/bits/wchar2.h: Likewise.
55929         * wcsmbs/uchar.h: Likewise.
55930         * wcsmbs/wchar.h: Likewise.
55931         * wctype/wctype.h: Likewise.
55933         [BZ #13551]
55934         * Makeconfig: Remove all but ELF support including AIX support.
55935         * Makerules: Likewise.
55936         * config.h.in: Likewise.
55937         * config.make.in: Likewise.
55938         * configure: Likewise.
55939         * configure.in: Likewise.
55940         * csu/Makefile: Likewise.
55941         * csu/version.c: Likewise.
55942         * debug/Makefile: Likewise.
55943         * dlfcn/Makefile: Likewise.
55944         * elf/Makefile: Likewise.
55945         * extra-lib.mk: Likewise.
55946         * iconv/Makefile: Likewise.
55947         * include/libc-symbols.h: Likewise.
55948         * include/shlib-compat.h: Likewise.
55949         * resolv/Makefile: Likewise.
55950         * resolv/res_libc.c: Likewise.
55951         * rt/Makefile: Likewise.
55952         * sysdeps/i386/asm-syntax.h: Likewise.
55953         * sysdeps/i386/sysdep.h: Likewise.
55954         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55955         * sysdeps/mach/sysdep.h: Likewise.
55956         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55957         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55958         * sysdeps/s390/asm-syntax.h: Likewise.
55959         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55960         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55961         * sysdeps/sh/sysdep.h: Likewise.
55962         * sysdeps/unix/sparc/sysdep.h: Likewise.
55963         * sysdeps/wordsize-32/divdi3.c: Likewise.
55964         * sysdeps/x86_64/sysdep.h: Likewise.
55966         * argp/Versions: Remove _argp_unlock_xxx.
55968         [BZ #13559]
55969         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55970         * abilist/libBrokenLocale.abilist: Likewise.
55971         * abilist/libanl.abilist: Likewise.
55972         * abilist/libc.abilist: Likewise.
55973         * abilist/libcrypt.abilist: Likewise.
55974         * abilist/libdl.abilist: Likewise.
55975         * abilist/libm.abilist: Likewise.
55976         * abilist/libnsl.abilist: Likewise.
55977         * abilist/libpthread.abilist: Likewise.
55978         * abilist/libresolv.abilist: Likewise.
55979         * abilist/librt.abilist: Likewise.
55980         * abilist/libthread_db.abilist: Likewise.
55981         * abilist/libutil.abilist: Likewise.
55982         * abilist/libnss_db.abilist: New file.
55984         * scripts/abilist.awk: Add support for indirect functions.
55986         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55988         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55990         * shlib-versions: Remove entries for ports architectures.
55992         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55993         files in ports.
55994         * elf/stackguard-macros.h: Remove support for IA-64.
55995         * elf/tst-auditmod1.c: Likewise.
55996         * sysdeps/generic/ldsodefs.h: Likewise.
55998         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55999         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56000         configure files.
56002         [BZ #13552]
56003         * configure.in: Remove --enable-omitfp support.
56004         * FAQ.in: Adjust.
56005         * config.make.in: Likewise.
56006         * Makeconfig: Likewise.
56007         * manual/install.texi: Likewise.
56009         In case anyone cares, the IA-64 architecture could move to ports.
56010         * sysdeps/ia64/*: Removed.
56011         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56012         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56014         [BZ #13555]
56015         * configure.in: Remove entries for unsupported architectures.
56017         [BZ #13533]
56018         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56019         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56020         routines.
56021         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56022         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56023         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56024         fall back to using wcrtomb.
56025         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56026         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56027         renaming.
56028         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56029         * wcsmbs/tst-c16c32-1.c: New file.
56031         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56032         local variable.
56034         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56036         * elf/tst-unique3.cc: Add explicit declaration of gets.
56037         * elf/tst-unique3lib.cc: Likewise.
56038         * elf/tst-unique3lib2.cc: Likewise.
56039         * elf/tst-unique4.cc: Likewise.
56041         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56043 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56045         [BZ #13566]
56046         * assert/assert.h (static_assert): Don't define for C++.
56047         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56048         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56050 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56052         * iconv/loop.c (single loop): Fix assertion in storing of
56053         remaining bytes.
56055         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56057 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56059         * posix/getconf.c: Update copyright year.
56060         * nss/getent.c: Likewise.
56061         * nss/makedb.c: Likewise.
56062         * iconv/iconvconfig.c: Likewise.
56063         * iconv/iconv_prog.c: Likewise.
56064         * elf/ldconfig.c: Likewise.
56065         * elf/pldd.c: Likewise.
56066         * elf/sotruss.ksh: Likewise.
56067         * catgets/gencat.c: Likewise.
56068         * csu/version.c: Likewise.
56069         * elf/ldd.bash.in: Likewise.
56070         * elf/sprof.c (print_version): Likewise.
56071         * locale/programs/locale.c: Likewise.
56072         * locale/programs/localedef.c: Likewise.
56073         * login/programs/pt_chown.c: Likewise.
56074         * nscd/nscd.c (print_version): Likewise.
56075         * debug/xtrace.sh: Likewise.
56076         * malloc/memusage.sh: Likewise.
56077         * malloc/mtrace.pl: Likewise.
56078         * debug/catchsegv.sh: Likewise.
56080 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56082         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56083         pure attribute.
56085 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56087         [BZ #13533]
56088         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56089         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56090         transformations.
56091         * iconv/gconv_int.h: Likewise.
56092         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56093         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56094         from libc for GLIBC_2.16.
56095         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56096         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56097         * wcsmbs/uchar.h: Really define mbstate_t.
56098         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56099         * wcsmbs/c16rtomb.c: New file.
56100         * wcsmbs/mbrtoc16.c: New file.
56101         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56102         for C/POSIX locale.
56103         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56104         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56106         * wcsmbs/wchar.h: Add missing __restrict.
56108 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56110         [BZ #13532]
56111         * time/Makefile (routines): Add timespec_get.
56112         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56113         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56114         timespec for ISO C11.
56115         * time/timespec_get.c: New file.
56116         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56117         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56119         [BZ #13531]
56120         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56121         * stdlib/stdlib.h: Declare aligned_alloc.
56122         * Versions.def: Add GLIBC_2.16 for libc.
56123         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56125         [BZ 13527]
56126         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56127         ISO C11.
56129         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56130         code.
56132         [BZ #13528]
56133         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56135         [BZ #13529]
56136         * assert/assert.h (static_assert): Define.
56138         * version.h: Update for 2.16 development version.
56140         [BZ #13526]
56141         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56142         _ISOC11_SOURCE.
56144         * version.h (RELEASE): Bump for 2.15 release.
56145         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56147         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56148         Patch by Marek Polacek <mpolacek@redhat.com>.
56150         * bits/byteswap.h: Protect long long constants with __extension__.
56151         * sysdeps/i386/bits/byteswap.h: Likewise.
56152         * sysdeps/ia64/bits/byteswap.h: Likewise.
56153         * sysdeps/s390/bits/byteswap.h: Likewise.
56154         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56156 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56158         [BZ #13540]
56159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56160         destination buffer.
56161         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56163 2011-12-23  Marek Polacek  <polacek@redhat.com>
56165         * elf/dl-addr.c (determine_info): Add inline keyword.
56166         * elf/tst-auditmod4b.c (check_avx): Likewise.
56167         * elf/tst-auditmod6b.c (check_avx): Likewise.
56168         * elf/tst-auditmod6c.c (check_avx): Likewise.
56169         * elf/tst-auditmod7b.c (check_avx): Likewise.
56171 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56173         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56174         !__SSE_MATH__.
56176 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56178         [BZ #13540]
56179         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56180         processing for last bytes.
56182 2011-08-06  Bruno Haible  <bruno@clisp.org>
56184         [BZ #13061]
56185         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56186         U+0385, not to U+1FEE.
56188         [BZ #13062]
56189         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56190         entry for U+00A5 U+0301.
56192 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56194         [BZ #13166]
56195         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56196         buffer for the output is too small.
56198         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56199         optimization.
56201         [BZ #13185]
56202         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56203         SSE flags if possible.
56205 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56207         [BZ #13540]
56208         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56209         processing for last bytes.
56211 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56213         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56214         (syscall-list-default-options, syscall-list-default-condition)
56215         (syscall-list-includes): Define.
56216         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56217         list of ABIs and options and #if conditions for each ABI.  Do not
56218         handle common syscalls between ABIs specially.
56219         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56220         Remove.
56221         (syscall-list-variants, syscall-list-32bit-options)
56222         (syscall-list-32bit-condition, syscall-list-64bit-options)
56223         (syscall-list-64bit-condition): Define.
56224         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56225         (syscall-list-variants, syscall-list-32bit-options)
56226         (syscall-list-32bit-condition, syscall-list-64bit-options)
56227         (syscall-list-64bit-condition): Define.
56228         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56229         Remove.
56230         (syscall-list-variants, syscall-list-32bit-options)
56231         (syscall-list-32bit-condition, syscall-list-64bit-options)
56232         (syscall-list-64bit-condition): Define.
56233         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56234         Remove.
56235         (syscall-list-variants, syscall-list-32bit-options)
56236         (syscall-list-32bit-condition, syscall-list-64bit-options)
56237         (syscall-list-64bit-condition): Define.
56239 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56241         * locale/iso-639.def: Add brx entry.
56243         [BZ #13328]
56244         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56245         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56247         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56248         __feraiseexcept_renamed.
56250 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56252         [BZ #13538]
56253         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56254         EPOLLET with unsigned values.
56255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56258         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56259         to large cancellation.
56260         * math/s_cacoshf.c: Likewise.
56261         * math/s_cacoshl.c: Likewise.
56263 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56265         [BZ #13305]
56266         [BZ #12786]
56267         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56268         * math/s_cacoshf.c: Likewise.
56269         * math/s_cacoshl.c: Likewise.
56271 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56273         [BZ #13439]
56274         * iconv/gconv.h: Define __GCONV_SWAP.
56275         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56276         * iconvdata/utf-16.c: Likewise.
56277         * iconvdata/utf-32.c: Likewise.
56279 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56281         [BZ #13524]
56282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56283         numerator after shifting it by one limb.
56285 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56287         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56288         under [__USE_EXTERN_INLINES].
56290 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56292         [BZ #13446]
56293         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56295 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56297         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56298         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56299         optimized code.
56300         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56301         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56302         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56303         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56304         for strncasecmp/strncasecmp_l compilation.
56305         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56306         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56308 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56310         [BZ #13484]
56311         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56312         of __asm__.
56314 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56316         [BZ #13506]
56317         * time/tzfile.c (__tzfile_read): Check values from file header.
56319 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56321         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56322         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56323         * powerpc/powerpc32/dl-start.S: Likewise.
56324         * powerpc/powerpc32/elf/start.S: Likewise.
56325         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56326         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56327         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56328         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56329         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56330         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56331         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56332         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56333         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56334         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56335         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56336         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56337         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56338         * powerpc/powerpc32/memset.S: Likewise.
56339         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56340         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56341         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56342         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56343         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56344         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56345         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56346         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56347         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56348         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56349         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56350         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56351         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56353 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56355         * math/libm-test.inc: Added more nearbyint tests.
56356         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56361 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56363         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56364         FD_CLOEXEC.
56366 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56368         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56369         Add wcscpy-ssse3 wcscpy-c.
56370         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56371         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56372         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56373         * sysdeps/x86_64/wcschr.S: New file.
56374         * sysdeps/x86_64/wcsrchr.S: New file.
56375         * string/test-strcmp.c: Remove checking of wcscmp function for
56376         wrong alignments.
56377         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56378         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56379         wcsrchr-sse2 wcsrchr-c.
56380         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56381         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56382         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56383         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56384         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56385         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56386         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56387         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56388         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56389         * wcsmbc/wcschr.c (WCSCHR): New macro.
56391 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56393         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56394         * wcsmbs/test-wcsrchr.c: New file.
56395         * string/test-strrchr.c: Add wcsrchr support.
56396         (WIDE): New macro.
56397         * wcsmbs/test-wcscpy.c: New file.
56398         * string/test-strcpy.c: Add wcscpy support.
56399         (WIDE): New macro.
56401 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56403         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56404         the inner loop.
56406 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56408         [BZ #13472]
56409         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56411 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56414         Minor optimizations.
56416         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56417         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56418         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56420 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56422         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56423         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56424         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56425         for gcc to avoid warnings.
56426         * inet/Makefile (tests): Add tst-checks.
56427         * inet/tst-checks.c: New file.
56429         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56430         warning.
56432         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56433         __wmemcmp_sse2.
56435         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56436         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56438         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56440 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56442         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56443         problem.
56445         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56447 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56449         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56450         conditional on GCC version.
56451         (__arch_compare_and_exchange_val_8_acq)
56452         (__arch_compare_and_exchange_val_16_acq)
56453         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56454         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56455         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56457 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56459         * sysdeps/sh/backtrace.c: New file.
56461 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56463         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56464         parenthesis.
56466 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56468         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56469         falling back to utime.
56471 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56473         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56474         expectations for float.
56476 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56478         * locale/weight.h (findidx): Add parameter len.
56479         * locale/weightwc.h (findidx): Likewise.
56480         * posix/fnmatch_loop.c (FCT): Adjust caller.
56481         * posix/regcomp.c (build_equiv_class): Likewise.
56482         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56483         * posix/regexec.c (check_node_accept_bytes): Likewise.
56484         * string/strcoll_l.c (STRCOLL): Likewise.
56485         * string/strxfrm_l.c (STRXFRM): Likewise.
56487 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56489         * Makefile.in: Remove CVSOPT handling.
56490         * configure.in: Remove use of AC_REVISION.
56491         * iconvdata/Makefile (distribute): No need to filter out CVS.
56492         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56493         handling.
56495 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56497         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56498         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56499         [USE_AS_STRNCASECMP_L]: Likewise.
56500         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56501         NO_TLS_DIRECT_SEG_REFS.
56502         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56503         Fix argument offsets for non-PIC.
56504         [USE_AS_STRNCASECMP_L]: Likewise.
56505         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56506         NO_TLS_DIRECT_SEG_REFS.
56508 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56510         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56511         O_CLOEXEC.
56512         * locale/loadlocale.c (_nl_load_locale): Likewise.
56514 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56516         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56517         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56518         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56519         (SYSCALL_GETTIME): Set errno on error.
56521         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56522         count references to noai6ai_cached.
56524 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56526         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56528         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56529         FD_CLOEXEC for /proc/self/maps.
56531         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56532         FD_CLOEXEC for /proc/meminfo.
56534         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56535         gai.conf.
56537         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56538         FD_CLOEXEC for given file.
56540         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56542         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56543         FD_CLOEXEC for /etc/hosts.
56544         (_gethtent): Likewise.
56546         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56548         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56549         cancellation and set FD_CLOEXEC for /etc/netgroup.
56551         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56552         reading /etc/publickey.
56554         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56555         allow cancellation when reading /etc/group.
56557         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56558         cancellation.
56559         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56561         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56562         when using data file.
56564         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56566         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56567         (write_nis_obj): Use "c" and "e" in fopen.
56569         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56571         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56573         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56575         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56577         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56578         locale.alias.
56580         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56582         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56584         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56586         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56587         file parsing and set FD_CLOEXEC.
56589 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56591         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56593 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56595         * malloc/arena.c (arena_get2): Don't call reused_arena when
56596         _int_new_arena failed.
56598 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56600         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56601         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56602         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56604         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56605         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56606         to compile strcasecmp and strncasecmp.
56607         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56608         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56612 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56614         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56615         locale-defines.sym to gen-as-const-headers.
56616         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56617         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56618         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56619         to compile strcasecmp and strncasecmp.
56620         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56621         strcasecmp_l and strncasecmp_l.
56622         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56623         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56624         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56625         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56626         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56627         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56628         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56629         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56630         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56631         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56632         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56634 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56636         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56637         result of SYSDEP_GETTIME_CPU to retval.
56638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56639         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56641         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56642         variable.
56644         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56645         mantissa words.
56646         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56648         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56649         from unused variable.
56651         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56652         DWARF definitions.
56653         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56654         for assembling.
56656         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56657         over namespaces.
56659         * sunrpc/rpc_prot.c (rejected): Fix case value.
56661         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56662         unsigned long long int to avoid warnings in shift.
56664         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56665         of use of trans.
56666         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56667         variable tmp.
56669         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56670         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56671         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56673         * nis/nis_table.c (nis_list): Use variable of correct type for
56674         result of __follow_path call.
56676 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56678         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56679         of math functions ceil, trunc, floor, round, and sqrt, when
56680         avaliable on the platform.
56681         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56682         name clash.
56683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56684         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56685         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56687 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56689         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56690         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56692 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56694         * include/unistd.h: Fix __readlink return type.
56695         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56697 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56699         * stdlib/ucontext.h: Undo last change for makecontext.
56701 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56703         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56705         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56706         * setjmp/setjmp.h: Mark functions as non-leaf.
56707         * setjmp/bits/setjmp2.h: Likewise.
56708         * stdlib/ucontext.h: Likewise.
56710 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56712         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56713         (reused_arena): Don't check arena limit.
56714         (arena_get2): Atomically check arena limit.
56716 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56718         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56719         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56722         instructions.
56724 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56726         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56727         handler when locking.
56729         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56730         Fix size of allocated buffer.
56732 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56734         [BZ #10103]
56735         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56736         declarations for long double functions.
56737         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56739         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56741 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56743         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56744         installed.
56746         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56747         is disabled.
56749 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56751         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56753 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56755         * include/alloca.h (stackinfo_alloca_round): Define.
56756         (extend_alloca): Use it.
56757         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56758         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56759         here.
56761         * scripts/check-local-headers.sh: Ignore libaudit.h.
56763         * nscd/Makefile (extra-objs): Make recursively expanded.
56765 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56767         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56770         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56771         * posix/tst-rfc3484-2.c: Likewise.
56772         * posix/tst-rfc3484-3.c: Likewise.
56774         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56775         process_vm_writev.
56776         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56777         process_vm_writev.
56778         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56779         process_vm_writev from libc using GLIBC_2.15 version.
56781         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56783 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56785         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56786         stack usage.
56788 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56790         [BZ #13367]
56791         * nss/getent.c (initgroups_keys): Show error message in case no group
56792         names are given.
56794         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56795         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56796         __bump_nl_timestamp.
56797         * nscd/connections (nscd_init): When host database is served open
56798         netlink socket and request notification about configuration changes.
56799         (main_loop_poll): Track netlink file descriptor and bump timestamp
56800         in case data becomes available.
56801         (main_loop_epoll): Likewise.
56802         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56803         (database_pers_head): Add extra_data fileds.
56804         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56805         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56806         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56807         Adjust caller.
56808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56809         in6ai data, call __free_in6ai.
56810         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56811         Add -DHAVE_NETLINK.
56812         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56813         interface information.  Reuse previous data if netlink timestamp
56814         is not changed.
56815         (__bump_nl_timestamp): New function.
56816         (__free_in6ai): New function.
56818 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56820         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56821         close_not_cancel_no_status here.
56822         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56824 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56826         [BZ #13276]
56827         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56828         return value.
56830         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56831         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56832         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56834 2011-07-03  Andreas Jaeger  <aj@suse.de>
56836         [BZ #10709]
56837         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56838         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56839         * math/libm-test.inc (sin_test): Add test case.
56841 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56843         [BZ #13337]
56844         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56845         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56847         * elf/chroot_canon.c (chroot_canon): Cleanups.
56849         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56851         [BZ #13335]
56852         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56853         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56855         * string/test-strchr.c: Make usable for strchrnul testing.
56856         * string/test-strchrnul.c: New file.
56857         * string/Makefile (strop-tests): Add strchrnul.
56859         * po/it.po: Update from translation team.
56860         * po/es.po: Likewise.
56862 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56864         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56865         the three constants needed as parameters.  Drop the others.
56866         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56867         __m128i_strloadu_tolower.
56868         Create and initialize variable zero and use it in all the places
56869         where _mm_setzero_si128 was used.
56871         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56872         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56873         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56874         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56875         anymore.
56876         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56877         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56878         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56879         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56880         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56881         __mpranred, __mptan.
56882         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56883         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56884         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56885         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56886         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56887         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56889         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56890         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56892 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56894         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56895         redefine if SHARED.
56896         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56899         wide char related routines to wcsmbs subdir.
56901 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56903         [BZ #13344]
56904         * misc/sys/cdefs.h (__THROWNL): Define.
56905         * posix/unistd.h: Use __THREADNL instead of __THREAD
56906         for memory synchronization functions.
56908 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56910         [BZ #13349]
56911         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56912         doesn't exist.
56913         * manual/stdio.texi (Obstack Streams): Node removed.
56915 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56917         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56919         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56921         * math/math_private.h (math_force_eval): Allow non-addressable
56922         arguments.
56923         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56925 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56927         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56928         file is not needed.
56930         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56932         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56933         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56934         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56935         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56936         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56937         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56938         Add AVX variants.
56939         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56940         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56941         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56942         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56943         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56944         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56945         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56946         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56947         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56948         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56949         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56950         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56951         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56952         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56953         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56954         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56955         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56956         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56957         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56959         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56960         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56962         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56963         place.  Use VEX encoding when compiling for AVX.
56965 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56967         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56968         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56970         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56972 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56974         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56975         useless if() expression.
56976         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56985         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56986         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56987         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56988         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56989         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56990         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56991         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56994         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56996         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56998 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57000         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57001         condition.
57002         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57006         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57007         .text section.  Avoid duplicate constants.
57008         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57010         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57016         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57017         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57018         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57019         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57020         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57021         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57022         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57023         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57024         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57025         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57031         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57032         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57033         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57034         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57035         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57036         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57037         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57038         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57039         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57041         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57042         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57043         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57044         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57045         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57046         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57047         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57048         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57049         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57050         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57051         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57052         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57054 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57056         * sysdeps/x86_64/dla.h: Move to ...
57057         * sysdeps/x86_64/fpu/dla.h: ...here.
57058         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57059         situations.  Use __builtin_fma only for gcc 4.6 and up.
57061         * config.make.in: Add have-mfma4 entry.
57062         * configure.in: Substitute libc_cv_cc_fma4.
57063         * math/Makefile (dbl-only-routines): Add sincostab.
57064         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57065         Use __sincostab not sincos.
57066         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57067         name is a macro.
57068         * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise.  Define singArctan2
57072         using __copysign.
57073         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57074         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57075         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57076         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57077         and __inv.
57078         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57079         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57080         __copysign.
57081         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57082         define aliases when function name is a macro.
57083         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57084         sysdeps/ieee754/dbl-64/sincos.tbl.
57085         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57086         fma4-enabled routines.
57087         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57088         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57089         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57090         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57091         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57092         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57094         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57096         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57097         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57098         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57099         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57100         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57101         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57102         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57103         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57104         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57105         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57106         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57107         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57108         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57109         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57111         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57112         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57114         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57115         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57116         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57118         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57119         rename.
57120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57121         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57126         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57127         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57129 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57131         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57133 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57135         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57137         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57138         prediction.
57139         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57141         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57142         Remove unused variable magic_bits.
57143         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57145         * string/strnlen.c: Define and use STRNLEN macro.
57146         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57147         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57148         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57149         * wcsmbs/wcslen.c: Define and use WCSLEN.
57150         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57151         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57152         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57153         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57154         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57155         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57156         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57158 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57161         strnlen-sse2-no-bsf.
57162         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57164         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57165         Add strnlen support.
57166         (USE_AS_STRNLEN): New macro.
57167         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57168         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57169         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57170         * sysdeps/x86_64/wcslen.S: New file.
57172 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57175         XMM-moves are used for copying on small sizes.
57177 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57179         * wcsmbs/Makefile (strop-tests): Add wcschr.
57180         * wcsmbs/test-wcschr.c: New file.
57181         * string/test-strchr.c: Update.
57182         Add wcschr support.
57183         (WIDE): New macro.
57185 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57187         * wcsmbs/Makefile (strop-tests): Add wcslen.
57188         * wcsmbs/test-wcslen.c: New file.
57189         * string/test-strlen.c: Update.
57190         Add wcslen support.
57191         (WIDE): New macro.
57193 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57195         * po/it.po: Update from translation team.
57197 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57199         * sysdeps/x86_64/wcscmp.S: Update.
57200         Fix wrong comparison semantics.
57201         wcscmp shall use signed comparison not unsigned.
57202         Don't use substraction to avoid overflow bug.
57203         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57204         * wcsmbc/wcscmp.c: Likewise.
57205         * string/test-strcmp.c: Likewise.
57206         Add new tests to check cases with negative values.
57208 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57210         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57211         * sysdeps/x86_64/dla.h: ...here.  New file.
57212         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57217         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57218         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57219         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57222 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57225         __ynl_finite aliases.
57227 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57231         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57232         define DLA_FMA.
57233         [DLA_FMA] (EMULV): Use DLA_FMA.
57234         [DLA_FMA] (MUL12): Use EMULV.
57235         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57236         that are not needed.
57237         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57240         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57243         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57245 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57247         * math/s_nan.c: Undef __nan.
57248         * math/s_nanf.c: Undef __nanf.
57249         * math/s_nanl.c: Undef __nanl.
57250         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57251         "math_private.h".
57253 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57255         * math/s_catan.c: Add branch predictions.
57256         * math/s_catanf.c: Likewise.
57257         * math/s_catanh.c: Likewise.
57258         * math/s_catanhf.c: Likewise.
57259         * math/s_catanhl.c: Likewise.
57260         * math/s_catanl.c: Likewise.
57261         * math/s_cexp.c: Likewise.
57262         * math/s_cexpf.c: Likewise.
57263         * math/s_cexpl.c: Likewise.
57264         * math/s_clog.c: Likewise.
57265         * math/s_clog10.c: Likewise.
57266         * math/s_clog10f.c: Likewise.
57267         * math/s_clog10l.c: Likewise.
57268         * math/s_clogf.c: Likewise.
57269         * math/s_clogl.c: Likewise.
57270         * math/s_csqrt.c: Likewise.
57271         * math/s_csqrtf.c: Likewise.
57272         * math/s_csqrtl.c: Likewise.
57273         * math/s_ctanf.c: Likewise.
57274         * math/s_ctanh.c: Likewise.
57275         * math/s_ctanhf.c: Likewise.
57276         * math/s_ctanhl.c: Likewise.
57277         * math/s_ctanl.c: Likewise.
57279         * math/math_private.h: Define __nan, __nanf, __nanl.
57280         * math/s_cacosh.c: Include <math_private.h>.
57281         * math/s_cacoshl.c: Likewise.
57282         * math/s_casinh.c: Likewise.
57283         * math/s_casinhf.c: Likewise.
57284         * math/s_casinhl.c: Likewise.
57285         * math/s_ccos.c: Rely entire on ccosh.
57286         * math/s_ccosf.c: Rely entire on ccoshf.
57287         * math/s_ccosl.c: Rely entirely on ccoshl.
57288         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57289         Remove tests for FE_INVALID.
57290         * math/s_ccoshf.c: Likewise.
57291         * math/s_ccoshl.c: Likewise.
57292         * math/s_csin.c: Likewise.
57293         * math/s_csinf.c: Likewise.
57294         * math/s_csinh.c Likewise.
57295         * math/s_csinhf.c: Likewise.
57296         * math/s_csinhl.c: Likewise.
57297         * math/s_csinl.c: Likewise.
57298         * math/s_ctan.c: Likewise.
57299         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57300         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57301         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57303 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57306         compilation problems.
57308         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57309         __builtin_expect.
57311 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57313         * sysdeps/i386/configure.in: Test for -mfma4 option.
57314         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57315         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57316         COMMON_CPUID_INDEX_80000001.
57317         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57318         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57319         use it if FMA3 is not supported.
57320         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57322         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57323         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57325 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57327         [BZ #12892]
57328         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57329         it would create a cycle with a link time dependency.
57331 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57333         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57334         instruction.
57335         * string/Makefile (strop-tests): Add rawmemchr.
57336         * string/test-rawmemchr.c: New file.
57338         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57339         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57340         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57341         when compiling str{,n}casecmp and when AVX is available.  Hook up
57342         new optimized code in initializers.
57344 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57346         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57347         __feraiseexcept instead of feraiseexcept.
57349 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57351         * math/math_private.h: Define defaults for libc_fetestexcept and
57352         libc_feupdateenv.
57353         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57354         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57355         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57356         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57357         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57358         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57359         libc_fetestexcept and libc_feupdateenv.
57361         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57362         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57363         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57364         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57365         libc_feholdexcept_setround.
57367         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57368         Add s_nearbyint-c and s_nearbyintf-c.
57369         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57370         nearbyintf inlines.
57371         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57372         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57373         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57374         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57376         * math/math_private.h: Define defaults for libc_fegetround,
57377         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57378         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57379         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57380         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57381         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57382         standard functions.
57383         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57384         Remove comments and hacks for old compiler versions.
57385         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57386         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57387         libc_feholdexceptl.
57389 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57391         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57392         (__feraiseexcept_renamed): Add __NTH.
57393         (feraiseexcept): Add __NTH.  Rename local variables to fix
57394         namespace violations.
57396 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57398         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57400         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57402         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57403         recently added interfaces.
57404         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57406         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57407         about macro parameter expansion.
57409         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57410         __NO_MATH_INLINES is defined.  Cleanups.
57412         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57413         and __floorf is target has SSE4.1.
57414         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57415         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57416         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57417         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57419         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57420         name.
57421         (floorf): Likewise.
57423         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57425 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57427         * misc/sys/cdefs.h: Fix last change.
57429         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57430         database lookup.
57432 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57434         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57436         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57440         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57441         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57442         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57444         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57445         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57446         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57447         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57448         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57449         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57450         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57451         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57452         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57453         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57454         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57455         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57456         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57457         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57459         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57460         ceil, ceilf, floor, floorf.
57462         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57463         Perform IRELATIVE relocations last.
57465         * elf/do-rel.h: Add another parameter nrelative, replacing the
57466         local variable with the same name.  Change name of the function
57467         to end in Rel or Rela (uppercase).
57468         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57469         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57470         elf_dynamic_do_##reloc function.
57472 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57474         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57475         is sufficient, at least on modern CPUs.
57477         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57479         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57480         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57482         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57483         __expl_finite.
57484         * math/bits/math-finite.h: Add entries for exp.
57485         * math/e_expl.c: Add __*_finite alias.
57486         * sysdeps/i386/fpu/e_exp.S: Likewise.
57487         * sysdeps/i386/fpu/e_expf.S: Likewise.
57488         * sysdeps/i386/fpu/e_expl.c: Likewise.
57489         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57490         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57493         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57494         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57495         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57497         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57498         is sufficient, at least on modern CPUs.
57500         * ctype/ctype-info.c (__ctype_init): Define.
57501         * include/ctype.h (__ctype_init): Declare.
57502         (__ctype_b_loc): The variable is always initialized.
57503         (__ctype_toupper_loc): Likewise.
57504         (__ctype_tolower_loc): Likewise.
57505         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57506         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57508 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57510         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57512         * configure.in: Also look in $cxxmachine/include for C++ system
57513         headers.
57515 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57517         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57518         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57519         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57520         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57522         (USE_AS_WMEMCMP): New macro.
57523         Fixing indents.
57524         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57525         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57526         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57527         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57529         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57530         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57531         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57532         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57533         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57534         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57535         (USE_AS_WMEMCMP): New macro.
57536         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57537         * sysdeps/string/test-memcmp.c: Update.
57538         Fix simple_wmemcmp.
57539         Add new tests.
57540         * wcsmbs/wmemcmp.c: Update.
57541         (WMEMCMP): New macro.
57542         Fix overflow bug.
57544 2011-10-12  Andreas Jaeger  <aj@suse.de>
57546         [BZ #13268]
57547         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57549 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57551         * libio/iofwide.c (do_length): Avoid warning.
57553         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57555 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57557         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57559         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57560         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57561         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57562         * sysdeps/i386/i686/fpu/e_log.S: New file.
57563         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57564         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57566         * ctype/ctype.h: Add support for inlined isXXX functions when
57567         compiling C++ code.
57569 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57571         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57573         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57575 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57577         [BZ #13291]
57578         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57580 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57582         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57583         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57584         feraiseexcept.
57586         * sysdeps/x86_64/memrchr.S: Check for zero size.
57588         * string/stratcliff.c: Add memrchr tests.
57590 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57592         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57593         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57594         rawmemchr-sse2 rawmemchr-sse2-bsf.
57595         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57596         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57597         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57598         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57599         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57600         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57601         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57602         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57603         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57604         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57605         * string/memrchr.c (MEMRCHR): New macro.
57607 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57609         Add integration with gcc's -ffinite-math-only and optimize wrapper
57610         functions in libm.
57611         * Versions.def: Define GLIBC_2.15 version for libm.
57612         * math/Makefile (headers): Add bits/math-finite.h.
57613         * math/bits/math-finite.h: New file.
57614         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57615         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57616         * math/e_acoshl.c: Add __*_finite alias.
57617         * math/e_acosl.c: Likewise.
57618         * math/e_asinl.c: Likewise.
57619         * math/e_atan2l.c: Likewise.
57620         * math/e_atanhl.c: Likewise.
57621         * math/e_coshl.c: Likewise.
57622         * math/e_exp10.c: Likewise.
57623         * math/e_exp10f.c: Likewise.
57624         * math/e_exp10l.c: Likewise.
57625         * math/e_exp2l.c: Likewise.
57626         * math/e_fmodl.c: Likewise.
57627         * math/e_gammal_r.c: Likewise.
57628         * math/e_hypotl.c: Likewise.
57629         * math/e_j0l.c: Likewise.
57630         * math/e_j1l.c: Likewise.
57631         * math/e_jnl.c: Likewise.
57632         * math/e_lgammal_r.c: Likewise.
57633         * math/e_log10l.c: Likewise.
57634         * math/e_log2l.c: Likewise.
57635         * math/e_logl.c: Likewise.
57636         * math/e_powl.c: Likewise.
57637         * math/e_sinhl.c: Likewise.
57638         * math/e_sqrtl.c: Likewise.
57639         * math/e_scalb.c: Completely rewritten and optimized.
57640         * math/e_scalbf.c: Likewise.
57641         * math/e_scalbl.c: Likewise.
57642         * math/w_acos.c: Likewise.
57643         * math/w_acosf.c: Likewise.
57644         * math/w_acosl.c: Likewise.
57645         * math/w_acosh.c: Likewise.
57646         * math/w_acoshf.c: Likewise.
57647         * math/w_acoshl.c: Likewise.
57648         * math/w_asin.c: Likewise.
57649         * math/w_asinf.c: Likewise.
57650         * math/w_asinl.c: Likewise.
57651         * math/w_atan2.c: Likewise.
57652         * math/w_atan2f.c: Likewise.
57653         * math/w_atan2l.c: Likewise.
57654         * math/w_atanh.c: Likewise.
57655         * math/w_atanhf.c: Likewise.
57656         * math/w_atanhl.c: Likewise.
57657         * math/w_exp10.c: Likewise.
57658         * math/w_exp10f.c: Likewise.
57659         * math/w_exp10l.c: Likewise.
57660         * math/w_fmod.c: Likewise.
57661         * math/w_fmodf.c: Likewise.
57662         * math/w_fmodl.c: Likewise.
57663         * math/w_j0.c: Likewise.
57664         * math/w_j0f.c: Likewise.
57665         * math/w_j0l.c: Likewise.
57666         * math/w_j1.c: Likewise.
57667         * math/w_j1f.c: Likewise.
57668         * math/w_j1l.c: Likewise.
57669         * math/w_jn.c: Likewise.
57670         * math/w_jnf.c: Likewise.
57671         * math/w_log.c: Likewise.
57672         * math/w_logf.c: Likewise.
57673         * math/w_logl.c: Likewise.
57674         * math/w_log10.c: Likewise.
57675         * math/w_log10f.c: Likewise.
57676         * math/w_log10l.c: Likewise.
57677         * math/w_log2.c: Likewise.
57678         * math/w_log2f.c: Likewise.
57679         * math/w_log2l.c: Likewise.
57680         * math/w_pow.c: Likewise.
57681         * math/w_powf.c: Likewise.
57682         * math/w_powl.c: Likewise.
57683         * math/w_remainder.c: Likewise.
57684         * math/w_remainderf.c: Likewise.
57685         * math/w_remainderl.c: Likewise.
57686         * math/w_scalb.c: Likewise.
57687         * math/w_scalbf.c: Likewise.
57688         * math/w_scalbl.c: Likewise.
57689         * math/w_sqrt.c: Likewise.
57690         * math/w_sqrtf.c: Likewise.
57691         * math/w_sqrtl.c: Likewise.
57692         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57693         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57694         used.
57695         * math/math_private.h: Declare __kernel_standard_f.
57696         * math/w_cosh.c: Remove cruft and optimize a bit.
57697         * math/w_coshf.c: Likewise.
57698         * math/w_coshl.c: Likewise.
57699         * math/w_exp2.c: Likewise.
57700         * math/w_exp2f.c: Likewise.
57701         * math/w_exp2l.c: Likewise.
57702         * math/w_hypot.c: Likewise.
57703         * math/w_hypotf.c: Likewise.
57704         * math/w_hypotl.c: Likewise.
57705         * math/w_lgamma.c: Likewise.
57706         * math/w_lgamma_r.c: Likewise.
57707         * math/w_lgammaf.c: Likewise.
57708         * math/w_lgammaf_r.c: Likewise.
57709         * math/w_lgammal.c: Likewise.
57710         * math/w_lgammal_r.c: Likewise.
57711         * math/w_sinh.c: Likewise.
57712         * math/w_sinhf.c: Likewise.
57713         * math/w_sinhl.c: Likewise.
57714         * math/w_tgamma.c: Likewise.
57715         * math/w_tgammaf.c: Likewise.
57716         * math/w_tgammal.c: Likewise.
57717         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57719         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57720         Minor optimizations.  Pretty printing.  Remove cruft.
57721         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57722         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57723         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57724         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57725         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57726         * sysdeps/i386/fpu/e_asin.S: Likewise.
57727         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57728         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57729         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57730         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57731         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57732         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57733         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57734         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57735         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57736         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57737         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57738         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57739         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57740         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57741         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57742         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57743         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57744         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57745         * sysdeps/i386/fpu/e_log.S: Likewise.
57746         * sysdeps/i386/fpu/e_log10.S: Likewise.
57747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57748         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57749         * sysdeps/i386/fpu/e_log2.S: Likewise.
57750         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57751         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57752         * sysdeps/i386/fpu/e_logf.S: Likewise.
57753         * sysdeps/i386/fpu/e_logl.S: Likewise.
57754         * sysdeps/i386/fpu/e_pow.S: Likewise.
57755         * sysdeps/i386/fpu/e_powf.S: Likewise.
57756         * sysdeps/i386/fpu/e_powl.S: Likewise.
57757         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57758         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57759         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57760         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57761         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57762         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57763         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57764         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57765         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57766         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57767         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57769         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57771         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57772         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57773         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57774         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57775         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57776         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57777         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57778         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57779         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57780         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57782         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57783         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57784         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57787         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57788         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57789         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57790         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57791         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57792         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57793         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57794         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57795         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57796         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57797         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57799         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57800         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57801         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57802         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57803         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57804         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57805         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57806         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57807         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57808         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57809         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57811         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57812         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57813         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57814         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57815         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57816         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57817         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57818         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57819         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57820         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57821         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57822         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57823         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57824         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57825         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57826         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57827         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57830         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57834         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57835         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57836         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57837         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57838         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57840         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57843         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57844         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57845         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57846         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57847         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57848         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57849         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57851         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57852         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57854         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57855         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57856         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57857         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57859         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57860         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57861         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57862         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57863         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57864         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57865         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57866         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57867         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57868         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57869         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57870         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57871         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57872         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57873         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57874         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57875         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57876         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57877         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57878         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57879         (__isnanf): Likewise.
57880         (__isinf_ns): Likewise.
57881         (__isinf_nsf): Likewise.
57882         (__finite): Likewise.
57883         (__finitef): Likewise.
57884         (__ieee754_sqrt): Define as macro.
57885         (__ieee754_sqrtf): Define as macro.
57886         (__ieee754_sqrtl): Define as macro.
57887         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57888         inlined copy.
57889         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57890         __FINITE_MATH_ONLY__ consistent.
57891         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57893 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57895         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57896         of rawmemchr.
57898         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57900 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57902         * po/ja.po: Update from translation team.
57904 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57906         * locale/programs/locarchive.c (prepare_address_space): New function.
57907         (create_archive, enlarge_archive, open_archive): Use it.
57909         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57910         inside [SHARED], where it is used.
57912         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57914         * nss/getent.c (netgroup_keys): Remove unused variable.
57915         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57917 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57919         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57920         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57922         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57923         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57924         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57925         * math/Makefile (libm-calls): Add s_isinf_ns.
57926         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57927         * math/multc3.c: Likewise.
57928         * math/s_casin.c: Likewise.
57929         * math/s_casinf.c: Likewise.
57930         * math/s_casinl.c: Likewise.
57931         * math/s_ccos.c: Likewise.
57932         * math/s_ccosf.c: Likewise.
57933         * math/s_ccosl.c: Likewise.
57934         * math/s_ctan.c: Likewise.
57935         * math/s_ctanf.c: Likewise.
57936         * math/s_ctanh.c: Likewise.
57937         * math/s_ctanhf.c: Likewise.
57938         * math/s_ctanhl.c: Likewise.
57939         * math/s_ctanl.c: Likewise.
57940         * math/w_fmod.c: Likewise.
57941         * math/w_fmodf.c: Likewise.
57942         * math/w_fmodl.c: Likewise.
57943         * math/w_remainder.c: Likewise.
57944         * math/w_remainderf.c: Likewise.
57945         * math/w_remainderl.c: Likewise.
57946         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57947         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57948         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57950         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57951         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57952         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57953         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57955         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57956         of the number.
57957         * stdio-common/printf_fphex.c: Likewise.
57958         * stdio-common/printf_size.c: Likewise.
57960         * math/e_exp10.c: Include math_private.h using <...> not "...".
57961         * math/e_exp10f.c: Likewise.
57962         * math/e_exp10l.c: Likewise.
57963         * math/e_exp2l.c: Likewise.
57964         * math/e_j0l.c: Likewise.
57965         * math/e_j1l.c: Likewise.
57966         * math/e_jnl.c: Likewise.
57967         * math/e_lgammal_r.c: Likewise.
57968         * math/e_rem_pio2l.c: Likewise.
57969         * math/e_scalb.c: Likewise.
57970         * math/e_scalbf.c: Likewise.
57971         * math/e_scalbl.c: Likewise.
57972         * math/k_cosl.c: Likewise.
57973         * math/k_sinl.c: Likewise.
57974         * math/k_tanl.c: Likewise.
57975         * math/s_cacoshf.c: Likewise.
57976         * math/s_catan.c: Likewise.
57977         * math/s_catanf.c: Likewise.
57978         * math/s_catanh.c: Likewise.
57979         * math/s_catanhf.c: Likewise.
57980         * math/s_catanhl.c: Likewise.
57981         * math/s_catanl.c: Likewise.
57982         * math/s_ccosh.c: Likewise.
57983         * math/s_ccoshf.c: Likewise.
57984         * math/s_ccoshl.c: Likewise.
57985         * math/s_cexp.c: Likewise.
57986         * math/s_cexpf.c: Likewise.
57987         * math/s_cexpl.c: Likewise.
57988         * math/s_clog.c: Likewise.
57989         * math/s_clog10.c: Likewise.
57990         * math/s_clog10f.c: Likewise.
57991         * math/s_clog10l.c: Likewise.
57992         * math/s_clogf.c: Likewise.
57993         * math/s_clogl.c: Likewise.
57994         * math/s_csin.c: Likewise.
57995         * math/s_csinf.c: Likewise.
57996         * math/s_csinh.c: Likewise.
57997         * math/s_csinhf.c: Likewise.
57998         * math/s_csinhl.c: Likewise.
57999         * math/s_csinl.c: Likewise.
58000         * math/s_csqrt.c: Likewise.
58001         * math/s_csqrtf.c: Likewise.
58002         * math/s_csqrtl.c: Likewise.
58003         * math/s_ctan.c: Likewise.
58004         * math/s_ctanf.c: Likewise.
58005         * math/s_ctanh.c: Likewise.
58006         * math/s_ctanhf.c: Likewise.
58007         * math/s_ctanhl.c: Likewise.
58008         * math/s_ctanl.c: Likewise.
58009         * math/s_ldexp.c: Likewise.
58010         * math/s_ldexpf.c: Likewise.
58011         * math/s_ldexpl.c: Likewise.
58012         * math/s_significand.c: Likewise.
58013         * math/s_significandf.c: Likewise.
58014         * math/s_significandl.c: Likewise.
58015         * math/w_acos.c: Likewise.
58016         * math/w_acosf.c: Likewise.
58017         * math/w_acosh.c: Likewise.
58018         * math/w_acoshf.c: Likewise.
58019         * math/w_acoshl.c: Likewise.
58020         * math/w_acosl.c: Likewise.
58021         * math/w_asin.c: Likewise.
58022         * math/w_asinf.c: Likewise.
58023         * math/w_asinl.c: Likewise.
58024         * math/w_atan2.c: Likewise.
58025         * math/w_atan2f.c: Likewise.
58026         * math/w_atan2l.c: Likewise.
58027         * math/w_atanh.c: Likewise.
58028         * math/w_atanhf.c: Likewise.
58029         * math/w_atanhl.c: Likewise.
58030         * math/w_cosh.c: Likewise.
58031         * math/w_coshf.c: Likewise.
58032         * math/w_coshl.c: Likewise.
58033         * math/w_dremf.c: Likewise.
58034         * math/w_exp10.c: Likewise.
58035         * math/w_exp10f.c: Likewise.
58036         * math/w_exp10l.c: Likewise.
58037         * math/w_exp2.c: Likewise.
58038         * math/w_exp2f.c: Likewise.
58039         * math/w_fmod.c: Likewise.
58040         * math/w_fmodf.c: Likewise.
58041         * math/w_fmodl.c: Likewise.
58042         * math/w_hypot.c: Likewise.
58043         * math/w_hypotf.c: Likewise.
58044         * math/w_hypotl.c: Likewise.
58045         * math/w_j0.c: Likewise.
58046         * math/w_j0f.c: Likewise.
58047         * math/w_j0l.c: Likewise.
58048         * math/w_j1.c: Likewise.
58049         * math/w_j1f.c: Likewise.
58050         * math/w_j1l.c: Likewise.
58051         * math/w_jn.c: Likewise.
58052         * math/w_jnf.c: Likewise.
58053         * math/w_jnl.c: Likewise.
58054         * math/w_lgamma.c: Likewise.
58055         * math/w_lgamma_r.c: Likewise.
58056         * math/w_lgammaf.c: Likewise.
58057         * math/w_lgammaf_r.c: Likewise.
58058         * math/w_lgammal.c: Likewise.
58059         * math/w_lgammal_r.c: Likewise.
58060         * math/w_log.c: Likewise.
58061         * math/w_log10.c: Likewise.
58062         * math/w_log10f.c: Likewise.
58063         * math/w_log10l.c: Likewise.
58064         * math/w_log2.c: Likewise.
58065         * math/w_log2f.c: Likewise.
58066         * math/w_log2l.c: Likewise.
58067         * math/w_logf.c: Likewise.
58068         * math/w_logl.c: Likewise.
58069         * math/w_pow.c: Likewise.
58070         * math/w_powf.c: Likewise.
58071         * math/w_powl.c: Likewise.
58072         * math/w_remainder.c: Likewise.
58073         * math/w_remainderf.c: Likewise.
58074         * math/w_remainderl.c: Likewise.
58075         * math/w_scalb.c: Likewise.
58076         * math/w_scalbf.c: Likewise.
58077         * math/w_scalbl.c: Likewise.
58078         * math/w_sinh.c: Likewise.
58079         * math/w_sinhf.c: Likewise.
58080         * math/w_sinhl.c: Likewise.
58081         * math/w_sqrt.c: Likewise.
58082         * math/w_sqrtf.c: Likewise.
58083         * math/w_sqrtl.c: Likewise.
58084         * math/w_tgamma.c: Likewise.
58085         * math/w_tgammaf.c: Likewise.
58086         * math/w_tgammal.c: Likewise.
58088         * po/ja.po: Update from translation team.
58090 2011-09-29  Andreas Jaeger  <aj@suse.de>
58092         [BZ #13179]
58093         * sunrpc/netname.c (netname2host): Fix logic.
58095         [BZ #6779]
58096         [BZ #6783]
58097         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58098         correctly.
58099         * math/w_remainder.c (__remainder): Likewise.
58100         * math/w_remainderf.c (__remainderf): Likewise.
58101         * math/libm-test.inc (remainder_test): Add test cases.
58103 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58105         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58106         sdiv_qrnnd.
58108 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58110         * string/test-memcmp.c: Avoid unncessary #defines.
58111         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58113 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58115         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58116         Use new sse2 version for core i3 - i7 as it's faster
58117         than sse42 version.
58118         (bit_Prefer_PMINUB_for_stringop): New.
58119         * sysdeps/x86_64/rawmemchr.S: Update.
58120         Replace with faster SSE2 version.
58121         * sysdeps/x86_64/memrchr.S: New file.
58122         * sysdeps/x86_64/memchr.S: Update.
58123         Replace with faster SSE2 version.
58125 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58127         * elf/dl-load.c (lose): Add cast to avoid warning.
58129 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58131         * po/ca.po: Update from translation team.
58133         * inet/getnetgrent_r.c: Hook up nscd.
58134         * nscd/Makefile (routines): Add nscd_netgroup.
58135         (nscd-modules): Add netgroupcache.
58136         (CFLAGS-netgroupcache.c): Define.
58137         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58138         (cache_search): Add const to second parameter.
58139         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58140         INNETGR.
58141         (dbs): Add netgrdb entry.
58142         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58143         (verify_persistent_db): Handle netgrdb.
58144         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58145         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58146         GETFDNETGR.
58147         (netgroup_response_header): Define.
58148         (innetgroup_response_header): Define.
58149         (datahead): Add netgroup_response_header and innetgroup_response_header
58150         elements.
58151         * nscd/nscd.conf: Add entries for netgroup cache.
58152         * nscd/nscd.h (dbtype): Add netgrdb.
58153         (_PATH_NSCD_NETGROUP_DB): Define.
58154         (netgroup_iov_disabled): Declare.
58155         (xmalloc, xcalloc, xrealloc): Move declarations here.
58156         (cache_search): Adjust prototype.
58157         Add netgroup-related prototypes.
58158         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58159         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58160         (__nscd_innetgr): Declare.
58161         * nscd/selinux.c (perms): Use access_vector_t as element type and
58162         add netgroup-related initializers.
58163         * nscd/netgroupcache.c: New file.
58164         * nscd/nscd_netgroup.c: New file.
58165         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58166         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58167         For four parameters use innetgr.
58168         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58169         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58170         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58171         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58173         * nscd/connections.c (register_traced_file): Don't register file
58174         for disabled databases.
58176 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58178         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58180         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58181         from tree and freeing node.
58183 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58185         * nss/nsswitch.c (__nss_database_lookup): Handle
58186         nss_parse_service_list out of memory case.
58188 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58190         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58191         out of memory case.
58193 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58195         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58196         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58197         pass it down.
58198         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58199         elf_machine_rela, elf_machine_lazy_rel.
58200         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58201         (ELF_DYNAMIC_DO_REL): Likewise.
58202         (ELF_DYNAMIC_DO_RELA): Likewise.
58203         (ELF_DYNAMIC_RELOCATE): Likewise.
58204         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58205         to ELF_DYNAMIC_DO_REL.
58206         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58207         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58208         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58209         elf_machine_rela.
58210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58211         skip_ifunc, don't call ifunc function if non-zero.
58212         (elf_machine_rela): Likewise.
58213         (elf_machine_lazy_rel): Likewise.
58214         (elf_machine_lazy_rela): Likewise.
58215         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58216         (elf_machine_lazy_rel): Likewise.
58217         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58218         Likewise.
58219         (elf_machine_lazy_rel): Likewise.
58220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58221         Likewise.
58222         (elf_machine_lazy_rel): Likewise.
58223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58224         (elf_machine_lazy_rel): Likewise.
58225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58226         (elf_machine_lazy_rel): Likewise.
58227         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58228         (elf_machine_lazy_rel): Likewise.
58229         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58230         (elf_machine_lazy_rel): Likewise.
58231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58232         (elf_machine_lazy_rel): Likewise.
58233         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58234         (elf_machine_lazy_rel): Likewise.
58236 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58238         * nss/nss_files/files-init.c (_nss_files_init): Use static
58239         initialization for all the *_traced_file variables.
58241 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58243         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58245 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58247         [BZ #13226]
58248         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58250 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58252         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58253         Reread the line before reparsing it.
58255 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58257         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58259 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58260             Maxim Kuvyrkov  <maxim@codesourcery.com>
58261             Joseph Myers  <joseph@codesourcery.com>
58263         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58264         if needed for __stack_chk_guard.
58266 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58268         * sysdeps/posix/spawni.c (script_execute): Always define it.
58269         It will be optimized away if unused.
58270         (maybe_script_execute): New function.
58271         (__spawni): Call it.
58273         * Makerules: Don't include tls.make.
58274         (config-tls): Always set to thread.
58275         * tls.make.c: File removed.
58277 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58279         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58280         * config.make.in (CPPFLAGS-config): New substituted variable.
58282 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58284         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58286         [BZ #13192]
58287         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58288         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58290 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58292         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58293         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58294         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58295         (CALL_FAIL): Likewise.
58296         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58297         (CALL_FAIL): Macro removed.
58298         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58300 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58302         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58303         for __FINITE_MATH_ONLY__ == 1.
58305 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58307         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58308         __ieee754_sqrt instead of sqrt.
58309         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58310         __ieee754_sqrtf instead of sqrtf.
58311         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58312         __floorf instead of floorf.
58313         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58314         __floorf, __truncf instead of floorf, truncf.
58316 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58318         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58320         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58321         __extern_always_inline.
58322         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58323         32-bit.
58325 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58327         * elf/rtld.c (dl_main): Also relocate in dependency order when
58328         doing symbol dependency testing.
58330 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58333         Always define `refsym'.
58335 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58337         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58338         (__FD_ELT): Renamed from __FDELT.
58339         * misc/bits/select2.h (__FD_ELT): Likewise.
58340         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58341         __FD_MASK instead of __FDELT, __FDMASK.
58342         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58343         Likewise.
58344         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58345         Likewise.
58347         * elf/Makefile (gen-ldd): Fix pattern.
58349         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58350         (init_tls): Likewise.
58352 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58354         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58356 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58358         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58359         `struct cmsghdr *' instead of `void *'.
58360         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58361         Likewise.
58363 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58365         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58366         if non-absolute.
58367         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58368         ldd_rewrite_script.
58370 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58372         * configure.in: Remove --with-tls option.
58373         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58374         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58375         out in case it is missing.
58376         * sysdeps/ia64/elf/configure.in: Likewise.
58377         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58378         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58379         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58380         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58381         * sysdeps/sh/elf/configure.in: Likewise.
58382         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58383         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58384         * sysdeps/x86_64/elf/configure.in: Likewise.
58385         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58386         * sysdeps/mach/hurd/tls.h: Likewise.
58388         [BZ #13067]
58389         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58391         [BZ #13090]
58392         * configure.in: Fix use of AC_INIT.
58394         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58396 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58398         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58399         __set_errno.
58400         * malloc/hooks.c: Likewise.
58402         [BZ #11929]
58403         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58404         variables statically.
58405         (narenas): Initialize.
58406         (list_lock): Initialize.
58407         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58408         initializtion of main_arena and list_lock.  Small cleanups.
58409         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58410         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58411         Add initializers to main_arena and mp_.
58412         (malloc_state): Remove pagesize member.  Change all users to use
58413         GLRO(dl_pagesize).
58415         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58416         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58417         is always initialized.
58419         * malloc/malloc.c: Removed unused configurations and dead code.
58420         * malloc/arena.c: Likewise.
58421         * malloc/hooks.c: Likewise.
58422         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58424         * include/tls.h: Removed.  USE___THREAD must always be defined.
58425         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58426         * elf/dl-libc.c: Likewise.
58427         * elf/dl-tsd.c: Likewise.
58428         * include/errno.h: Likewise.
58429         * include/netdb.h: Likewise.
58430         * include/resolv.h: Likewise.
58431         * inet/herrno-loc.c: Likewise.
58432         * inet/herrno.c: Likewise.
58433         * malloc/arena.c: Likewise.
58434         * malloc/hooks.c: Likewise.
58435         * malloc/malloc.c: Likewise.
58436         * resolv/res-state.c: Likewise.
58437         * resolv/res_libc.c: Likewise.
58438         * sysdeps/i386/dl-machine.h: Likewise.
58439         * sysdeps/ia64/dl-machine.h: Likewise.
58440         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58441         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58442         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58443         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58444         * sysdeps/sh/dl-machine.h: Likewise.
58445         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58446         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58447         * sysdeps/unix/i386/sysdep.S: Likewise.
58448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58449         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58454         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58458         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58459         * sysdeps/x86_64/dl-machine.h: Likewise.
58460         * tls.make.c: Likewise.
58462         * configure.in: Remove --with-__thread option.  Make tests for
58463         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58464         tls_model attribute fail if no support is available.  Remove
58465         USE_IN_LIBIO.
58466         * Makeconfig: Adjust for dropped configure option.  All features are
58467         now mandatory.
58468         * Makerules: Likewise.
58469         * Versions.def: Likewise.
58470         * argp/argp-fmtstream.c: Likewise.
58471         * argp/argp-fmtstream.h: Likewise.
58472         * argp/argp-help.c: Likewise.
58473         * assert/assert.c: Likewise.
58474         * config.h.in: Likewise.
58475         * config.make.in: Likewise.
58476         * configure: Likewise.
58477         * configure.in: Likewise.
58478         * csu/Versions: Likewise.
58479         * csu/init.c: Likewise.
58480         * elf/tst-audit2.c: Likewise.
58481         * elf/tst-tls10.c: Likewise.
58482         * elf/tst-tls10.h: Likewise.
58483         * elf/tst-tls11.c: Likewise.
58484         * elf/tst-tls12.c: Likewise.
58485         * elf/tst-tls14.c: Likewise.
58486         * elf/tst-tlsmod11.c: Likewise.
58487         * elf/tst-tlsmod12.c: Likewise.
58488         * elf/tst-tlsmod13.c: Likewise.
58489         * elf/tst-tlsmod13a.c: Likewise.
58490         * elf/tst-tlsmod14a.c: Likewise.
58491         * elf/tst-tlsmod15b.c: Likewise.
58492         * elf/tst-tlsmod16a.c: Likewise.
58493         * elf/tst-tlsmod16b.c: Likewise.
58494         * elf/tst-tlsmod7.c: Likewise.
58495         * elf/tst-tlsmod8.c: Likewise.
58496         * elf/tst-tlsmod9.c: Likewise.
58497         * gmon/gmon.c: Likewise.
58498         * grp/fgetgrent_r.c: Likewise.
58499         * grp/putgrent.c: Likewise.
58500         * hurd/fopenport.c: Likewise.
58501         * include/libc-symbols.h: Likewise.
58502         * include/tls.h: Likewise.
58503         * intl/gettextP.h: Likewise.
58504         * intl/loadinfo.h: Likewise.
58505         * locale/global-locale.c: Likewise.
58506         * locale/localeinfo.h: Likewise.
58507         * mach/devstream.c: Likewise.
58508         * malloc/arena.c: Likewise.
58509         * malloc/set-freeres.c: Likewise.
58510         * misc/err.c: Likewise.
58511         * misc/getttyent.c: Likewise.
58512         * misc/mntent_r.c: Likewise.
58513         * posix/getopt.c: Likewise.
58514         * posix/wordexp.c: Likewise.
58515         * pwd/fgetpwent_r.c: Likewise.
58516         * resolv/Versions: Likewise.
58517         * resolv/res_hconf.c: Likewise.
58518         * shadow/fgetspent_r.c: Likewise.
58519         * shadow/putspent.c: Likewise.
58520         * stdio-common/printf_fphex.c: Likewise.
58521         * stdio-common/tmpfile.c: Likewise.
58522         * stdlib/abort.c: Likewise.
58523         * stdlib/fmtmsg.c: Likewise.
58524         * sunrpc/auth_unix.c: Likewise.
58525         * sunrpc/clnt_perr.c: Likewise.
58526         * sunrpc/clnt_tcp.c: Likewise.
58527         * sunrpc/clnt_udp.c: Likewise.
58528         * sunrpc/clnt_unix.c: Likewise.
58529         * sunrpc/openchild.c: Likewise.
58530         * sunrpc/svc_simple.c: Likewise.
58531         * sunrpc/svc_tcp.c: Likewise.
58532         * sunrpc/svc_udp.c: Likewise.
58533         * sunrpc/svc_unix.c: Likewise.
58534         * sunrpc/xdr.c: Likewise.
58535         * sunrpc/xdr_array.c: Likewise.
58536         * sunrpc/xdr_rec.c: Likewise.
58537         * sunrpc/xdr_ref.c: Likewise.
58538         * sunrpc/xdr_stdio.c: Likewise.
58540 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58542         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58544 2011-07-03  Andreas Jaeger  <aj@suse.de>
58546         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58547         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58548         regenerate with gen-libm-tests.pl.
58550 2010-05-12  Petr Baudis  <pasky@suse.cz>
58552         [BZ #11589]
58553         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58554         around j0() zero points by switching to j1().
58555         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58558         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58560 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58562         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58563         instead of 0.
58564         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58565         instead of 0.
58566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58567         Patch in part by Pavel Roskin <proski@gnu.org>.
58569         [BZ #13138]
58570         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58571         realloc.
58572         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58573         Free memory block if necessary.
58575         [BZ #12847]
58576         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58577         be NULL.  Don't lock in this case.
58579 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58581         * elf/elf.h (ELFOSABI_GNU): New macro.
58582         (ELFOSABI_LINUX): Define to that.
58584 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58586         * string/strncat.c (strncat): Undef the symbol in case it has been
58587         defined in bits/string.h.
58589 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58591         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58593         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58594         link map.
58596 2011-08-17  Andreas Jaeger  <aj@suse.de>
58598         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58600 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58601             Ian Lance Taylor  <iant@google.com>
58603         * math/libm-test.inc (lround_test): New testcase.
58604         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58606 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58608         * Makefile: Remove support for automatic cvs check-ins.
58609         * Makerules: Likewise.
58610         * config.make.in: Likewise.
58611         * configure.in: Likewise.
58612         * intl/Makefile: Likewise.
58613         * locale/Makefile: Likewise.
58614         * po/Makefile: Likewise.
58615         * posix/Makefile: Likewise.
58616         * sysdeps/gnu/Makefile: Likewise.
58617         * sysdeps/mach/hurd/Makefile: Likewise.
58618         * sysdeps/sparc/sparc32/Makefile: Likewise.
58620         [BZ #13118]
58621         * posix/Makefile (bug-regex32-ENV): Define.
58622         Patch by John Stanley <jpsinthemix@verizon.net>.
58624         * misc/Makefile (headers): Add bits/select2.h.
58625         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58626         * misc/bits/select2.h: New file.
58627         * include/bits/select2.h: New file.
58628         * debug/Makefile (routines): Add fdelt_chk.
58629         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58630         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58631         FD_ISSET.
58632         * debug/fdelt_chk.c: New file.
58634         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58635         * wcsmbs/test-wmemcmp.c: Likewise.
58636         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58637         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58639 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58641         * string/Makefile (strop-tests): Add memcmp.
58642         * string/test-wmemcmp.c: New file.
58643         * string/test-memcmp.c: Add wmemcmp support.
58645 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58647         [BZ #13153]
58648         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58649         2011-07-19 change.
58651         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58652         garbage value in a __mach_port_mod_refs call in the cases of the
58653         task-self and thread-self ports.
58655 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58657         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58659 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58661         * elf/dl-load.c (lose): Check for non-null L.
58663 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58665         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58667         * elf/dl-libc.c (dlerror_run): Pass back error code from
58668         dl_catch_error.
58670         [BZ #13123]
58671         * elf/dl-load.c (lose): Free l_origin if it is valid.
58673         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58674         names.
58675         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58678         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58679         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58680         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58682 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58684         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58685         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58686         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58687         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58688         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58689         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58690         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58691         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58692         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58693         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58695 2011-08-15  Alan Modra  <amodra@gmail.com>
58697         [BZ #13092]
58698         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58699         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58700         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58701         ppc_mcount to static-only-routines.
58702         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58703         __mcount_internal.
58704         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58705         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58707 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58710         for finite and infinity parameters.
58712 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58715         and add nop instructions for throughput optimization.
58716         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58718 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58720         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58721         aligned copy for power7 with vector-scalar instructions.
58722         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58724 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58727         AVX check.
58729 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58731         [BZ #13144]
58732         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58733         last change.
58735 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58737         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58738         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58739         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58741         clock_gettime.
58743 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58745         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58746         Forgot to demangle the pointer.
58748         * sysdeps/i386/sysdep.h: Define atom_text_section.
58749         * sysdeps/x86_64/sysdep.h: Likewise.
58750         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58751         section with atom_text_section.
58752         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58753         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58754         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58756         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58758         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58759         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58760         already be defined.  Change to take two parameters and don't assign
58761         result to variable.  Adjust all users.
58762         Define INTERNAL_GETTIME if not already defined.
58763         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58764         call.
58765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58766         HAVE_CLOCK_GETTIME_VSYSCALL.
58767         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58769         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58770         gettimeofday vsyscall, just use time.
58772 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58774         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58775         <errno.h>.
58777 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58779         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58780         syscall on x86-64.
58781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58782         syscall.
58783         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58784         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58785         syscall if possible.
58787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58789         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58790         e_ident.  Don't pass to find_mapsXX.
58791         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58793 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58796         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58797         * sysdeps/x86_64/multiarch/strchr.S: Update.
58798         Check bit_slow_BSF bit.
58799         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58800         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58801         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58803 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58805         [BZ #13134]
58806         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58807         before glibc 2.15.
58808         (tryshell): Define.
58809         (__spawni): Change last parameter to be flag.  Test
58810         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58811         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58812         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58813         * posix/spawni.c: Likewise.
58814         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58815         * posix/spawnp.c: Likewise.  Change normal version to use
58816         SPAWN_XFLAGS_USE_PATH.
58817         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58818         SPAWN_XFLAGS_TRY_SHELL.
58820         [BZ #13150]
58821         * posix/glob.h: Remove gcc 1.x support.
58823         [BZ #13068]
58824         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58826 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58829         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58830         strrchr-sse2-bsf
58831         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58832         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58833         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58834         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58835         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58836         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58838 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58840         * sysdeps/x86_64/wcscmp.S: New file.
58842         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58843         wcscmp-c wcscmp-sse2
58844         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58845         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58846         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58847         * wcsmbs/wcscmp.c: Allow renaming.
58849 2011-09-05  David S. Miller  <davem@davemloft.net>
58851         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58852         stack slot, rather than the struct return pointer slot.
58853         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58854         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58856         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58858 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58860         * po/ja.po: Update from translation team.
58862         [BZ #13144]
58863         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58864         kernel in 64-bit binaries.
58866 2011-09-01  David S. Miller  <davem@davemloft.net>
58868         * elf/elf.h (HWCAP_SPARC_*): Move to..
58869         * sysdeps/sparc/sysdep.h: this new file and add new values.
58870         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58871         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58872         _DL_HWCAP_COUNT to 24.
58873         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58874         entries.
58875         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58876         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58877         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58878         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58879         instead of magic constants.
58880         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58882 2011-08-31  David S. Miller  <davem@davemloft.net>
58884         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58886         Reimplement to do errno handling inline.
58887         (SYSCALL_ERROR_HANDLER): New macro.
58888         (__SYSCALL_STRING): Do not do errno handling in asm.
58889         (__CLONE_SYSCALL_STRING): Delete.
58890         (__INTERNAL_SYSCALL_STRING): Delete.
58891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58892         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58893         (PSEUDO): Reimplement to do errno handling inline.
58894         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58895         (SYSCALL_ERROR_HANDLER): New macro.
58896         (__SYSCALL_STRING): Do not do errno handling in asm.
58897         (__CLONE_SYSCALL_STRING): Delete.
58898         (__INTERNAL_SYSCALL_STRING): Delete.
58899         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58900         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58901         i386.
58902         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58903         (inline_syscall*): Add 'err' argument.
58904         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58905         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58906         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58907         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58909         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58910         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58912 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58914         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58916 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58918         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58919         directive.
58921 2011-08-24  David S. Miller  <davem@davemloft.net>
58923         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58925 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58927         * elf/Makefile: Add rules to build and run unload8 test.
58928         * elf/unload8.c: New file.
58929         * elf/unload8mod1.c: New file.
58930         * elf/unload8mod1x.c: New file.
58931         * elf/unload8mod2.c: New file.
58932         * elf/unload8mod3.c: New file.
58934         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58935         it wasn't used.
58937 2011-08-23  David S. Miller  <davem@davemloft.net>
58939         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58940         subtract stack bias.
58941         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58942         %sp not %fp in calculations.
58943         (_JMPBUF_UNWINDS_ADJ): Likewise.
58945         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58946         (aio_suspend): Call it to force an exception region around the
58947         AIO_MISC_WAIT() invocation.
58949 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58951         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58952         backslash.
58954 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58956         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58957         protection macro.
58958         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58959         and <dl-machine.h>.
58960         (Elf64_FuncDesc): Remove.
58962 2011-08-22  David S. Miller  <davem@davemloft.net>
58964         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58965         sigaltstack check, add missing cfi directives.
58966         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58967         missing cfi directives, and sigaltstack handling.
58969 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58971         [BZ #11724]
58972         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58973         object is seen twice.
58974         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58976         * elf/Makefile (distribute): Add tst-initorder2.c.
58977         (tests): Add tst-initorder2.
58978         (modules-names): Add tst-initorder2a tst-initorder2b
58979         tst-initorder2c tst-initorder2d.  Add rules to build them.
58980         ($(objpfx)tst-initorder2.out): New rule.
58981         * elf/tst-initorder2.c: New file.
58982         * elf/tst-initorder2.exp: New file.
58984 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58986         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58988         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58989         dependencies back to end of function.
58991         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58992         $(elfobjdir)/ld.so.
58994 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58997         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58998         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58999         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59000         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59001         of __vdso_gettimeofday.
59002         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59003         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59004         attribute_hidden.
59005         (_libc_vdso_platform_setup): Remove initialization of
59006         __vdso_gettimeofday and __vdso_time.
59008 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59010         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59011         and fgetc_unlocked.
59012         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59013         getc_unlocked.
59015         * elf/dl-open.c (add_to_global): Report additions to the global scope
59016         for LD_DEBUG=scopes.
59017         (dl_open_worker): Also print scope of newly loaded dependencies.
59018         (_dl_show_scope): Indicate if there is no scope.
59020         [BZ #13114]
59021         * stdio-common/Makefile (tests): Add bug24.
59022         * stdio-common/bug24.c: New file.
59024 2011-08-19  Andreas Jaeger  <aj@suse.de>
59026         [BZ #13114]
59027         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59028         non-existant file when using close-on-exec mode.
59030 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59033         the very first instruction.
59035         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59036         the CFI state in the end.
59037         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59038         inclusion of dl-trampoline.h.
59039         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59041 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59043         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59044         expectations for long double.
59046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59047         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59049 2011-08-14  David S. Miller  <davem@davemloft.net>
59051         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59052         artificual limit depends upon the system page size.
59054 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59056         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59057         * resolv/Makefile: Define CFLAGS-libresolv.
59059 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59061         * nss/makedb.c (compute_tables): Make variables used in nested
59062         function static.
59064 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59066         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59067         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59068         if buffer was too small.
59070         * elf/pldd.c (main): Attach to all threads in the process.
59071         Rewrite /proc handling to use *at functions.
59073 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59075         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59076         specifies first scope to show.
59077         (dl_open_worker): Update callers.  Move printing scope of new
59078         object to before the relocation.
59079         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59080         * sysdeps/generic/ldsodefs.h: Update declaration.
59082         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59083         string for the scope number.
59085 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59087         * nscd/servicescache.c (cache_addserv): Make sure written is always
59088         initialized.
59090 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59092         * sysdeps/i386/i486/bits/atomic.h
59093         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59094         statement expression, so as to suppress "set but not used" warning.
59095         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59097         * string/strncat.c (STRNCAT): Use prototype definition.
59099         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59100         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59101         -Iprograms here.
59102         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59103         (localedef-modules): Add localedef.
59104         (locale-modules): Add locale.
59106         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59107         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59108         to avoid a warning.
59110 2011-08-14  David S. Miller  <davem@davemloft.net>
59112         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59113         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59115 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59117         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59118         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59119         * elf/rtld.c (dl_main): Set l_name of vDSO.
59120         Call _dl_show_scope when DL_DEBUG_SCOPES.
59121         (process_dl_debug): Recognize scopes flag and also set it for all.
59122         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59123         Declare _dl_show_scope.
59125         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59126         (do_dlopen): Pass caller_dlopen to dl_open.
59127         (__libc_dlopen_mode): Initialize caller_dlopen.
59129         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59130         of libc.  Make tolower call locale-independent.  Optimize a bit by
59131         using isdigit instead of isalnum.
59132         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59134 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59136         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59137         was a dependency or dynamically loaded.
59139 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59141         * intl/l10nflist.c: Allow architecture-specific pop function.
59142         * sysdeps/x86_64/l10nflist.c: New file.
59144         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59145         classification.
59147 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59149         * include/dirent.h: Add libc_hidden_proto for scandirat and
59150         scandirat64.  Don't declare __scandirat64.
59151         * dirent/scandirat.c: Add libc_hidden_def.
59152         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59153         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59155 2011-08-10  David S. Miller  <davem@davemloft.net>
59157         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59158         enum.
59159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59161         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59163 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59165         * Versions.def [libc]: Add GLIBC_2.15.
59166         * dirent/Makefile (routines): Add scandirat and scandirat64.
59167         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59168         GLIBC_2.15.
59169         * dirent/dirent.h: Declare scandirat and scandirat64.
59170         * dirent/scandirat.c: New file.
59171         * dirent/scandirat64.c: New file.
59172         * sysdeps/wordsize-64/scandirat.c: New file.
59173         * sysdeps/wordsize-64/scandirat64.c: New file.
59174         * dirent/opendir.c: Define opendirat.
59175         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59176         using scandirat.
59177         * dirent/scandir64.c: Adjust for scandir.c change.
59178         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59179         __scandirat64, and __scandir_cancel_handler.
59180         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59181         additional parameter and use openat instead of open (outside of ld.so).
59182         Add new __opendir as wrapper around __opendirat.
59183         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59184         here without requiring old scandirat implementation.
59186 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59188         * dirent/scandir.c (cancel_handler): Renamed to
59189         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59190         defined.  Adjust users.
59191         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59192         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59194 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59196         * string/test-string.h (IMPL): Use __STRING to expand name and then
59197         stringify it.
59199         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59200         of cleanups.
59202 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59204         * string/Makefile: Update.
59205         (strop-tests): Append strncat.
59206         * string/test-wcscmp.c: New file.
59207         New comprehensive test for wcscmp.
59208         * string/test-strcmp.c: Update.
59209         (WIDE): New define.
59211 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59213         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59214         line.
59216 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59219         encoding to ACE if AI_IDN.
59221 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59224         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59226 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59228         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59229         Fix overflow bug in strncat.
59230         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59232         * string/test-strncat.c: Update.
59233         Add new tests for checking overflow bugs.
59235 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59237         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59238         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59239         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59240         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59242         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59243         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59244         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59245         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59247         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59248         (USE_AS_STRCAT): Define.
59249         Add strcat and strncat support.
59250         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59252 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59254         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59255         __n bigger than INT_MAX+1.
59256         (__strncmp_g): Likewise.
59258 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59260         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59261         * libio/stido.h: Likewise.
59263         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59264         (AF_NFC): Define.
59265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59266         (AF_NFC): Define.
59268         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59269         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59271         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59274         [BZ #13021]
59275         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59276         installed.
59278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59279         typo.
59280         (_dl_x86_64_save_sse): Likewise.
59282 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59284         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59285         OSXSAVE.
59286         (_dl_x86_64_save_sse): Likewise.
59288         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59290         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59292 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59295         change.
59296         (_dl_x86_64_save_sse): Use correct AVX check.
59298 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59300         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59301         bug in strncpy/strncat.
59302         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59304 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59306         * string/tester.c (test_strcat): Add tests for different alignments
59307         of source and destination.
59308         (test_strncat): Likewise.
59310 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59312         [BZ #12852]
59313         * posix/glob.c (glob): Check passed in values before using them in
59314         expressions to avoid some overflows.
59315         (glob_in_dir): Likewise.
59317         [BZ #13007]
59318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59319         check for AVX enablement so that we don't crash with old kernels and
59320         new hardware.
59321         * elf/tst-audit4.c: Add same checks here.
59322         * elf/tst-audit6.c: Likewise.
59324         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59326 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59328         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59330 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59332         * po/cs.po: Update from translation team.
59333         * po/bg.po: Likewise.
59335 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59337         * misc/sys/cdefs.h: Add support for const attribute.
59338         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59339         to gnu_dev_{major,minor,makedev} functions.
59341 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59343         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59345 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59347         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59348         strlen results.
59350 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59353         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59354         register in order to avoid conflicts with the soft frame pointer
59355         being held in r11 when necessary.
59356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59357         (INTERNAL_VSYSCALL_NCS): Likewise.
59359 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59361         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59362         * elf/dl-fini.c (_dl_fini): Adjust caller.
59363         * elf/dl-close.c (_dl_close_worker): Likewise.
59364         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59366 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59368         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59369         "aux_cache->nlibs < 0".
59371         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59372         in the reload-count case.
59374 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59377         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59378         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59379         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59380         * sysdeps/x86_64/multiarch/strcat.S: New file.
59381         * sysdeps/x86_64/multiarch/strncat.S: New file.
59382         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59383         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59384         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59385         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59387         (USE_AS_STRCAT): Define.
59388         Add strcat and strncat support.
59389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59390         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59391         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59392         * string/strncat.c: Update.
59393         (USE_AS_STRNCAT): Define.
59394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59395         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59396         and i7.
59397         * sysdeps/x86_64/multiarch/init-arch.h
59398         (bit_Prefer_PMINUB_for_stringop): New.
59399         (index_Prefer_PMINUB_for_stringop): Likewise.
59400         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59401         bit_Prefer_PMINUB_for_stringop.
59403 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59405         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59406         buffer64.
59407         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59408         of casting of buffer.
59409         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59410         buffer32 and buffer64.
59411         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59412         writes instead of casting of buffer.
59413         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59414         buffer32.
59415         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59416         casting of buffer.
59418 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59420         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59422 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59424         * nscd/nscd.c (termination_handler): Don't do anything for a database
59425         if it has not yet been initialized.
59427 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59429         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59431 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59433         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59435 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59437         * po/nl.po: Update from translation team.
59438         * po/sv.po: Likewise.
59440 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59442         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59443         now disallowed by GCC.
59445         * configure.in (use-default-link): Default to yes if a test -shared
59446         link meets our qualifications.
59447         * configure: Regenerated.
59449         * config.make.in (output-format): New variable.
59450         * configure.in: Check for ld --print-output-format support.
59451         * configure: Regenerated.
59452         * Makerules ($(common-objpfx)format.lds)
59453         [$(output-format) != unknown]: Just use $(output-format),
59454         instead of the linker-script munging.
59456 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59458         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59459         of $(common-objpfx)shlib.lds.
59460         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59462         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59463         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59465         * configure.in (-z relro check): Adjust test code to add a large
59466         writable data section after it.
59467         * configure: Regenerated.
59469 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59471         * configure.in (-z relro check): Fix test code to make the variable
59472         truly const.
59473         * configure: Regenerated.
59475 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59477         * nscd/nscd.h (struct traced_file): Define.
59478         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59479         elements.  Add traced_files.
59480         (inotify_fd): Declare.
59481         (register_traced_file): Declare.
59482         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59483         (inotify_fd): Export.
59484         (resolv_conf_descr): Remove.
59485         (nscd_init): Move inotify descriptor creation to main.
59486         Don't register files for notification here.
59487         (register_traced_file): New function.
59488         (invalidate_cache): Don't use reset_res to determine whether to call
59489         res_init, go through the list of registered files.
59490         (main_loop_poll): The inotify descriptors are now stored in the
59491         structures for the traced files.
59492         (main_loop_epoll): Likewise
59493         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59494         to __nss_disable_nscd.
59495         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59496         for a database anymore.  Check the records for all the registered
59497         files instead.
59498         * nss/Makefile (libnss_files-routines): Add files-init.
59499         (libnss_db-routines): Add db-init.
59500         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59501         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59502         * nss/nss_db/db-init.c: New file.
59503         * nss/nss_files/files-init.c: New file.
59504         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59505         __nss_lookup_function.
59506         (__nss_lookup_function): Call nss_load_library.
59507         (nss_load_all_libraries): New function.
59508         (__nss_disable_nscd): Take parameter with callback function for files
59509         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59510         used for the cached services.
59511         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59512         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59513         options for features to all the files in nscd.
59515         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59517 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59519         * csu/elf-init.c (__libc_csu_init): Comment typo.
59521 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59523         * po/pl.po: Update from translation team.
59524         * po/ja.po: Likewise.
59525         * po/ru.po: Likewise.
59526         * po/ko.po: Likewise.
59527         * po/fr.po: Likewise.
59529 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59531         * configure.in (.ctors/.dtors header and trailer check):
59532         Use an empirical test on a built program.
59533         * configure: Regenerated.
59535         * configure.in (-z relro check): Use an empirical test on a built DSO.
59536         Detect, but do not require, on ia64.
59537         * configure: Regenerated.
59539         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59540         Update tests that use readelf to use $READELF instead.
59541         * configure: Regenerated.
59543 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59545         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59546         if the result is not used.
59548 2011-07-05  Andreas Jaeger  <aj@suse.de>
59550         [BZ#9696]
59551         * stdlib/tst-strtod.c: Add testcase.
59553 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59555         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59556         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59557         The latter has a higher limit.  Take additional parameter to pass to
59558         the new function.
59559         (__pathconf): Pass file to __statfs_link_max.
59560         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59561         __statfs_link_max.
59562         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59563         __statfs_link_max.
59565         [BZ #12868]
59566         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59567         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59568         Handle Lustre.
59569         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59570         (__statfs_filesize_max): Likewise.
59571         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59573 2011-07-05  Andreas Jaeger  <aj@suse.de>
59575         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59577 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59579         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59580         `status' variable.
59581         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59582         Likewise.
59584 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59586         * Makefile (strop-tests): Add strncat.
59587         * string/test-strncat.c: New file.
59589 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59591         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59593 2011-06-21  Andreas Jaeger  <aj@suse.de>
59595         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59596         Copy rule from iconvdata/Makefile.
59598 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59600         [BZ #12922]
59601         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59602         but no long options are defined, just return 'W'.
59604 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59606         [BZ #9696]
59607         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59609 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59611         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59612         netgroups to read.
59613         (innetgr): Likewise.
59615 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59617         * config.make.in (install_root): Default to $(DESTDIR).
59619 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59623 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59625         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59627         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59628         containing directory rather than embedding absolute directory names.
59630         * scripts/check-local-headers.sh: Rewritten using awk.
59631         Match by word, not by line.  Print error messages for matches.
59632         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59634         * Makerules [shlib-lds-flags empty]:
59635         ($(common-objpfx)libc_pic.opts): New target.
59636         ($(common-objpfx)libc_pic.os.clean): New target.
59637         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59639         * config.make.in (OBJCOPY): New variable.
59640         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59641         * configure: Regenerated.
59643         * config.make.in (use-default-link): New variable.
59644         * configure.in (use_default_link): Grok --with-default-link to set it.
59645         * configure: Regenerated.
59646         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59647         (shlib-lds, shlib-lds-flags): Define to empty.
59649         * Makerules (shlib-lds): New variable.
59650         (shlib-lds-flags): New variable.
59651         (build-shlib, build-moduile, build-module-asneeded): Use it.
59652         ($(common-objpfx)libc.so): Use $(shlib-lds).
59653         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59654         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59656         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59657         DT_FLAGS/DT_FLAGS_1 with zero flags.
59659         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59660         linker script munging.
59662 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59664         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59665         as 128-bit value.
59666         * crypt/sha512.c (sha512_process_block): Perform total addition using
59667         128-bit if possible.
59668         (__sha512_finish_ctx): Likewise.
59669         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59670         as 64-bit value.
59671         * crypt/sha256.c (SWAP64): Define.
59672         (sha256_process_block): Perform total addition using 64-bit if
59673         possible.
59674         (__sha256_finish_ctx): Likewise.
59676 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59678         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59679         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59680         * nscd/hstcache.c (cache_addhst): Likewise.
59681         * nscd/grpcache.c (cache_addgr): Likewise.
59682         * nscd/aicache.c (addhstaiX): Likewise
59683         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59685 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59687         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59688         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59689         * nscd/hstcache.c (cache_addhst): Likewise.
59690         * nscd/grpcache.c (cache_addgr): Likewise.
59691         * nscd/aicache.c (addhstaiX): Likewise
59693 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59695         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59696         domain only when needed.
59698 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59701         is always restored.
59703 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59705         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59706         are re-adding the entry.
59707         * nscd/servicescache.c (cache_addserv): Likewise.
59709 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59711         * sysdeps/generic/dl-irel.h: fix protection against multiple
59712         inclusions.
59713         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59715 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59717         [BZ #12935]
59718         * malloc/memusage.sh: Fix quoting in message.
59719         * debug/xtrace.sh: Likewise.
59721         * configure.in: Remove support for --experimental-malloc option, make
59722         it the default.
59723         * config.make.in: Likewise.
59724         * malloc/Makefile: Likewise.
59726 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59728         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59729         two-byte characters.
59731 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59733         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59734         AC_CACHE_CHECK invocation.
59735         * configure: Regenerated.
59737         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59739 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59741         [BZ #12350]
59742         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59743         bit from old_res_options.
59745         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59747         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59748         value type for setfct.
59750 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59753         __gettimeofday instead of gettimeofday.
59755 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59757         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59759 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59761         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59763         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59764         info.
59766 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59769         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59770         strcpy-sse2-unaligned strncpy-sse2-unaligned
59771         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59772         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59773         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59774         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59775         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59776         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59777         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59778         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59779         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59780         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59781         (STRCPY): Support SSE2 and SSSE3 versions.
59783 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59785         [BZ #12874]
59786         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59787         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59788         kernels which artificially limit size of requests.
59790 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59793         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59794         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59795         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59796         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59797         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59798         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59799         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59800         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59801         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59802         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59803         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59804         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59805         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59806         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59808         Enable unaligned load optimization for Intel Core i3, i5 and i7
59809         processors.
59810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59811         Define.
59812         (index_Fast_Unaligned_Load): Define.
59813         (HAS_FAST_UNALIGNED_LOAD): Define.
59815 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59817         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59819 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59821         [BZ #12907]
59822         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59823         until it is clear that the information is realy needed.
59824         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59826 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59830 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59833         /sys/devices/system/cpu/online if it is usable.
59835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59836         reading the information from the /proc filesystem to once a second.
59838 2011-06-21  Andreas Jaeger  <aj@suse.de>
59840         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59841         NULL after inclusion of kernel headers.
59843 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59845         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59846         calls to internal_setent.
59848         [BZ #12885]
59849         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59850         addresses using gethostbyname4_r ignore IPv4 addresses.
59852         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59853         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59855         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59857 2011-06-20  David S. Miller  <davem@davemloft.net>
59859         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59860         inclusions.
59861         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59863         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59864         (elf_irel): Use it.
59865         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59866         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59867         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59868         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59869         * sysdeps/x86_64/dl-irel.h: Likewise.
59871         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59872         * elf/dl-sym.c: Likewise.
59874 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59876         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59877         need to dereference resplen2.
59879 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59881         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59883 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59885         * Makeconfig: Define vardbdir and inst_vardbdir.
59886         * nss/Makefile: Add rules to install db-Makefile.
59888         * nss/nss_db/db-XXX.c: Cleanup.
59890         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59891         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59892         GLIBC_PRIVATE.
59893         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59894         * nss/makedb.c: Implement -g option to specify that value strings
59895         are generated and should not be added to table iterated over for
59896         get*ent calls.
59897         * nss/nss_db/db-initgroups.c: New file.
59899         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59900         interface.
59902         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59903         (internal_getgrouplist): Adjust to name change.
59904         Update use_initgroups_entry if this is not the first call.
59905         * nss/databases.def: Add initgroups entry.
59907         * nss/makedb.c (compute_tables): Check result of multiple hash table
59908         sizes to minimize maximum chain length.
59910 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59912         * Versions.def: Add entry for libnss_db.
59913         * shlib-versions: Likewise.
59914         * nss/Makefile: Add rules to build libnss_db.
59915         * nss/Versions: Add libnss_db information.  Organize libnss_files
59916         entries better.
59917         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59918         makedb progra.  Some minor improvements to generate smaller files.
59919         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59920         here from...
59921         * nss/makedb.c: ...here.
59922         Improve database format to be smaller and require less memory at
59923         runtime.
59924         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59925         db anymore.
59926         * nss/nss_db/db-netgrp.c: Likewise.
59927         * nss/nss_db/db-open.c: Likewise.
59928         * nss/nss_files/flies-XXX.x: Adjust comments.
59929         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59930         * nss/nss_files/files-grp.c: Likewise.
59931         * nss/nss_files/files-hosts.c: Likewise.
59932         * nss/nss_files/files-network.c: Likewise.
59933         * nss/nss_files/files-proto.c: Likewise.
59934         * nss/nss_files/files-pwd.c: Likewise.
59935         * nss/nss_files/files-rpc.c: Likewise.
59936         * nss/nss_files/files-service.c: Likewise.
59937         * nss/nss_files/files-sgrp.c: Likewise.
59938         * nss/nss_files/files-spwd.c: Likewise.
59939         * nss/nss_db/db-alias.c: Removed.
59940         * nss/nss_db/dummy-db.h: Removed.
59942 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59944         * nss/makedb.c: Rewritten to not use database library.
59945         * nss/Makefile: Update to build new makedb program.
59947 2011-06-14  Andreas Jaeger  <aj@suse.de>
59949         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59950         memset declaration.
59952 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59955         tmpbuf.
59957 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59959         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59960         * elf/Makefile ($(objpfx)ld.so): Likewise.
59962         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59963         Don't list ld.so twice in dependencies.
59965         * posix/bug-regex31.c: Include <stdlib.h>.
59967         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59969         * nis/nss_compat/compat-spwd.c
59970         (getspent_next_nss_netgr): Remove unused variable.
59971         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59973         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59974         nonmembers" output to use the right array.
59976         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59978         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59980         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59981         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59982         * catgets/gencat.c (read_input_file): Likewise.
59983         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59985         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59986         variable definition inside #if's controlling its use.
59988         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59990         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59992         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59994         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59995         unreachable code.
59997         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59999         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60000         * configure: Regenerated.
60002         * Makerules: Revert last change.
60003         * elf/Makefile: Likewise.
60005 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60007         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60008         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60009         (reloc-link): Likewise.
60011 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60013         * elf/Makefile: Add rules to build pldd.
60014         * elf/pldd.c: New file.
60015         * elf/pldd-xx.c: New file.
60017 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60019         * version.h: Update for 2.15 development version.
60021 2011-06-07  David S. Miller  <davem@davemloft.net>
60023         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60024         ifuncs.
60025         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60026         elf_machine_lazy_rel): Likewise.
60027         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60028         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60029         elf_machine_lazy_rel): Likewise.
60030         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60031         dl_hwcap via passed in argument.
60032         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60033         Likewise.
60035 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60037         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60039 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60041         [BZ #12849]
60042         * manual/fdl-1.1.texi: New file, verbatim from:
60043         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60044         * manual/lgpl-2.1.texi: New file, verbatim from:
60045         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60046         * manual/Makefile (licenses): New variable, list those new file names.
60047         (texis): Use it.
60048         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60050         * manual/fdl.texi: File removed.
60051         * manual/lesser.texi: File removed.
60052         * manual/libc.texinfo (Copying, Documentation License):
60053         Use new @include file names, put @appendix directive before @include.
60055 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60057         [BZ #12841]
60058         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60059         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60060         (mq_open): Add __NTH.
60062 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60065         Assume Intel Core i3/i5/i7 processor if AVX is available.
60067 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60070         typo.
60072 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60074         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60075         memory.  Use alloca_account.  Fix memory leak when retrying.
60077 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60079         * version.h (RELEASE): Bump for 2.14 release.
60080         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60082         * config.make.in (RANLIB): Remove entry.
60084 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60086         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60087         (libc.pot): Work around missing support for .ksh extension in xgettext.
60089         [BZ #12684]
60090         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60091         if both request failed.
60092         (send_dg): In case of server errors clear resplen or *resplen2.
60094         [BZ #12454]
60095         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60096         when there are multiple maps.
60097         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60098         (_dl_fini): Remove test here.
60100         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60102 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60104         [BZ #12350]
60105         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60106         bit from old_res_options.
60107         (gaih_inet): Likewise.
60109         [BZ #11099]
60110         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60111         as signed.
60113         * resolv/res_init.c (res_setoptions): Make the code more compact.
60115         [BZ #11558]
60116         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60117         set RES_USEVC.
60119         [BZ #11634]
60120         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60122         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60124         [BZ #11781]
60125         * malloc/malloc.h: Declare malloc hook variables as volatile.
60127         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60128         in last patch.
60130         [BZ #11799]
60131         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60132         raise in the comment.
60133         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60135         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60137 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60139         [BZ #12811]
60140         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60141         grow the buffers more if it already has to be sufficient.
60142         (build_wcs_upper_buffer): Likewise.
60143         * posix/regexec.c (check_matching): Likewise.
60144         (clean_state_log_if_needed): Likewise.
60145         (extend_buffers): Don't enlarge buffers beyond size of the input
60146         buffer.
60147         Patches mostly by Emil Wojak <emil@wojak.eu>.
60148         * posix/bug-regex32.c: New file.
60149         * posix/Makefile (tests): Add bug-regex32.
60151         * locale/findlocale.c (_nl_find_locale): Return right away if
60152         _nl_explode_name failed.
60153         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60155         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60157         * debug/xtrace.sh: Unify messages.
60158         * malloc/memusage.sh: Likewise.
60160         [BZ #12813]
60161         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60162         time symbol from vDSO.  Substitute with vsyscall if not available.
60163         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60164         __vdso_time.
60166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60167         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60168         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60169         Add sendmmsg and internal_sendmmsg.
60170         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60171         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60172         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60174         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60175         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60176         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60178 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60180         [BZ #12813]
60181         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60182         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60183         available.
60184         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60185         __vdso_getcpu.
60187         [BZ #12814]
60188         * iconvdata/Makefile (tests): Add bug-iconv9.
60189         * iconvdata/bug-iconv9.c: New file.
60191 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60193         [BZ #12814]
60194         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60196 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60198         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60199         (struct user_regs_struct): Change intcs field back to cs.
60201 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60203         * po/ja.po: Update from translation team.
60205 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60207         [BZ #12795]
60208         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60209         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60211 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60213         * stdlib/longlong.h: Update from GCC.
60215 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60217         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60218         parameter name.
60219         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60220         Add parameter name.
60221         (__sysconf): Pass it down.
60223 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60225         [BZ #12671]
60226         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60227         some situations.
60228         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60229         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60230         add in in __libc_use_alloca calls.  Adjust callers.
60231         (glob): Use malloc in some situations.
60233         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60234         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60235         pltexit.
60237 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60239         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60240         and CLOCK_BOOTTIME_ALARM.
60242         [BZ #12782]
60243         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60244         is returned.
60246         * string/_strerror.c (__strerror_r): Print negative errors as signed
60247         numbers.
60249         [BZ #12777]
60250         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60251         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60252         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60254         * configure.in: Fix typo in redirection and correct removal of test
60255         files in two cases.
60257         [BZ #12788]
60258         * locale/setlocale.c (new_composite_name): Fix test to check for
60259         identical name of all categories.
60261         [BZ #12792]
60262         * libio/filedoalloc.c (local_isatty): New function.
60263         (_IO_file_doallocate): Use local_isatty.
60264         * stdio-common/perror.c (perror): In case a new stream is used
60265         forward the stream error.
60266         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60267         error flag.
60269 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60271         [BZ #11869]
60272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60273         alloca.
60274         * include/alloca.h (extend_alloca_account): Define.
60276         [BZ #11857]
60277         * posix/regex.h: Fix comments with documentation of user-accessible
60278         fields after compilation and describe correct free'ing of pattern
60279         after re_compile_pattern.
60280         Patch by Reuben Thomas <rrt@sc3d.org>.
60282 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60284         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60285         and -mno-altivec to prevent the compiler from using Altivec and/or
60286         VSX instructions when the corresponding registers are not available.
60288 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60290         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60292 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60294         * libio/freopen.c (freopen): Use __dup2, not dup2.
60295         * libio/freopen64.c (freopen64): Likewise.
60297 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60299         [BZ #12775]
60300         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60301         * math/Makefile (tests): Add test-powl.
60302         (CFLAGS-test-powl.c): Define.
60303         * math/test-powl.c: New file.
60305 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60307         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60309 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60311         [BZ #11837]
60312         * iconvdata/gb18030.c: Update to GB18020-2005.
60314 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60316         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60317         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60318         Patch by Aharon Robbins <arnold@skeeve.com>.
60320         [BZ #11892]
60321         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60322         on the stack.
60324         [BZ #11895]
60325         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60326         through underflows.
60328         [BZ #12766]
60329         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60330         point to strings before performing equality test for error_one_per_line
60331         mode.
60333         [BZ #11697]
60334         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60336         [BZ #11820]
60337         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60338         (struct user_fpregs_struct): Avoid __uint*_t types.
60340         [BZ #6420]
60341         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60342         symbol info.  Use it instead of calling _dl_addr locally.
60343         (lock_and_info): New function.
60344         (tr_freehook): Call lock_and_info and pass symbol info as additional
60345         parameter to tr_where.
60346         (tr_mallochook): Likewise.
60347         (tr_reallochook): Likewise.
60348         (tr_memalignhook): Likewise.
60350         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60351         used and couldn't be at all thread-safe.
60353 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60355         * libio/freopen.c (freopen): Don't close old file descriptor
60356         before the new one is opened.  Instead dup the new file descriptor
60357         to the old one after the new stream is created.
60358         * libio/freopen64.c (freopen64): Likewise.
60359         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60360         * libio/fileops.c (_IO_new_file_close_it): Handle new
60361         _IO_FLAGS2_NOCLOSE flag.
60362         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60363         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60364         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60365         _IO_FLAGS2_NOCLOSE flag.
60366         * include/unistd.h: Add hidden_proto for dup3.
60367         Define __have_dup3.
60368         * io/dup3.c: Define hidden symbol.
60369         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60371         [BZ #7101]
60372         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60373         when an incomplete long option is used.
60374         * posix/tst-getopt_long1.c: New file.
60375         * posix/Makefile (tests): Add tst-getopt_long1.
60377         [BZ #10138]
60378         * scripts/config.guess: Update from autoconf-2.68.
60379         * scripts/config.sub: Likewise.
60381         [BZ #10157]
60382         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60383         tests into ...
60384         (has_cpuclock): ...this.  New function.
60385         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60386         macro here based on has_cpuclock code.
60388         [BZ #10149]
60389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60390         First byte (not low byte) is now always NUL.
60391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60394         Use non-cancelable interfaces.
60396         [BZ #9809]
60397         * locale/iso-639.def: Add entry for Sorani.
60399         [BZ #11901]
60400         * include/stdlib.h: Move include protection to the right place.
60401         Define abort_msg_s.  Declare __abort_msg with it.
60402         * stdlib/abort.c (__abort_msg): Adjust type.
60403         * assert/assert.c (__assert_fail_base): New function.  Majority
60404         of code from __assert_fail.  Allocate memory for __abort_msg with
60405         mmap.
60406         (__assert_fail): Now call __assert_fail_base.
60407         * assert/assert-perr.c: Remove bulk of implementation.  Use
60408         __assert_fail_base.
60409         * include/assert.hL Declare __assert_fail_base.
60410         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60411         mmap.
60412         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60414 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60416         [BZ #11952]
60417         [BZ #12453]
60418         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60419         until all modules are registered in the DTV.
60420         * elf/Makefile: Add rules to build and run tst-tls19.
60421         * elf/tst-tls19.c: New file.
60422         * elf/tst-tls19mod1.c: New file.
60423         * elf/tst-tls19mod2.c: New file.
60424         * elf/tst-tls19mod3.c: New file.
60425         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60427         [BZ #12083]
60428         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60429         correctly.
60431         [BZ #12601]
60432         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60433         two-byte sequence errors.
60434         * iconvdata/Makefile (tests): Add bug-iconv8.
60435         * iconvdata/bug-iconv8.c: New file.
60437         [BZ #12626]
60438         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60439         buf2 definition.
60441         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60443         [BZ #12432]
60444         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60445         (dummy_getcfa): New function.
60446         (init): Get _Unwind_GetCFA address, use dummy if not found.
60447         (backtrace_helper): In recursion check, also check whether CFA changes.
60448         (__backtrace): Completely initialize arg.
60450         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60451         storing incomplete byte sequence in state object.  Avoid testing for
60452         guaranteed too small input if we know there is enough data available.
60454 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60456         * Makeconfig (+link-pie): Indent.
60457         * Rules (binaries-pie): Define if $(have-fpie) and
60458         $(build-shared).
60459         (binaries-shared): Also filter out $(binaries-pie).
60460         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60461         * nscd/Makefile (others-pie): Add nscd.
60462         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60463         ($(objpfx)nscd): Remove command override.
60464         * login/Makefile (others-pie): Add pt_chown.
60465         ($(objpfx)pt_chown): Remove command override.
60466         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60467         remove command overrides.
60469 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60471         * libio/tst_putwc.c: Fix error messages.
60473         [BZ #12724]
60474         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60475         currently writing and seek to current position when not.
60476         * libio/Makefile (tests): Add bug-fclose1.
60477         * libio/bug-fclose1.c: New file.
60479 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60481         [BZ #12511]
60482         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60483         don't set DF_1_NODELETE here.
60484         (do_lookup_x): When entering new entry test for copy relocation
60485         and if necessary set DF_1_NODELETE flag.
60486         * elf/tst-unique4.cc: New file.
60487         * elf/tst-unique4.h: New file.
60488         * elf/tst-unique4lib.cc: New file.
60489         * elf/Makefile: Add rules to build and run tst-unique4.
60490         Patch by Piotr Bury <pbury@goahead.com>.
60492 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60494         [BZ #12052]
60495         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60497         [BZ #12625]
60498         * misc/mntent_r.c (addmntent): Flush the stream after the output
60500         [BZ #12393]
60501         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60502         (is_trusted_path_normalize): Skip initial colon.  Append slash
60503         to empty buffer.  Duplicate is_trusted_path code but allow
60504         constructed patch to be prefix.
60505         (is_dst): Allow $ORIGIN followed by /.
60506         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60507         Correct testing of result of is_trusted_path_normalize
60508         (decompose_rpath): Fix warning.
60510 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60512         [BZ #11257]
60513         * grp/initgroups.c (internal_getgrouplist): When we found the service
60514         list through the initgroups entry in nsswitch.conf do not always
60515         continue on a successful lookup.  Don't always use the
60516         __nss_group_database value if it is set.
60517         * nss/nsswitch.conf (initgroups): Change action for successful db
60518         lookup to continue for compatibility.
60520 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60522         [BZ #11532]
60523         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60524         and CP774 modules.
60525         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60526         and CP774 modules.
60527         * iconvdata/tst-tables.sh: Likewise.
60528         * iconvdata/cp770.c: New file.
60529         * iconvdata/cp771.c: New file.
60530         * iconvdata/cp772.c: New file.
60531         * iconvdata/cp773.c: New file.
60532         * iconvdata/cp774.c: New file.
60533         * iconvdata/testdata/CP770: New file.
60534         * iconvdata/testdata/CP770..UTF8: New file.
60535         * iconvdata/testdata/CP771: New file.
60536         * iconvdata/testdata/CP771..UTF8: New file.
60537         * iconvdata/testdata/CP772: New file.
60538         * iconvdata/testdata/CP772..UTF8: New file.
60539         * iconvdata/testdata/CP773: New file.
60540         * iconvdata/testdata/CP773..UTF8: New file.
60541         * iconvdata/testdata/CP774: New file.
60542         * iconvdata/testdata/CP774..UTF8: New file.
60544         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60545         END CHARMAP line.
60546         * iconvdata/gen-8bit-gap.sh: Likewise.
60547         * iconvdata/gen-8bit.sh: Likewise.
60549         * locale/iso-639.def: Add ary entry.
60551         [BZ #11258]
60552         * locale/C-translit.h.in: Add U20A1 transliteration.
60554         [BZ #12178]
60555         * locale/iso-639.def: Add wae entry.
60556         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60558         [BZ #12545]
60559         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60560         for n.
60562         [BZ #12711]
60563         * locale/C-translit.h.in: Add entry for U20B9.
60564         Patch by pravin.d.s@gmail.com.
60566 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60568         [BZ #12713]
60569         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60570         ENAMETOOLONG use generic getcwd.
60571         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60572         in rtld.  Use *stat64.
60573         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60574         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60575         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60576         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60577         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60578         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60579         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60580         __fstatat64 macros.
60581         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60582         * dirent/rewinddir.c: Add libc_hidden_def.
60583         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60584         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60586         * include/dirent.h (__alloc_dir): Add flags parameter.
60587         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60588         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60589         __alloc_dir.
60590         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60591         from fdopendir if O_CLOEXEC is already set.
60593 2011-03-15  Alan Modra  <amodra@gmail.com>
60595         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60596         l_tls_firstbyte_offset non-zero.  Save padding offset in
60597         l_tls_firstbyte_offset for later use.
60598         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60599         freeing static tls block.
60601 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60603         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60604         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60605         being defined by the kernel headers.
60607 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60609         [BZ #12734]
60610         * resolv/resolv.h: Define RES_NOTLDQUERY.
60611         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60612         no-tld-query and set RES_NOTLDQUERY.
60613         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60614         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60615         modern BIND to search name as TLD unless forbidden.
60617 2011-05-07  Petr Baudis  <pasky@suse.cz>
60618             Ulrich Drepper  <drepper@gmail.com>
60620         [BZ #12393]
60621         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60622         (is_trusted_path): ...to here.
60623         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60624         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60625         using is_trusted_path_normalize() in setuid scripts.
60627 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60629         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60630         __BEGIN/__END_DECLS.
60632 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60635         NSS_STATUS_NOTFOUND if no record was found.
60637 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60639         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60640         (headers-not-in-tirpc): Remove rpc/netdb.h
60641         * resolv/netdb.h: Revert last change.
60643 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60645         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60646         circular dependency between libgcc.a and libc.a.
60648 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60650         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60651         * nis/Makefile: Don't install rpcsvc/*.
60652         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60653         instead of <rpc/types.h>.
60654         (MAXHOSTNAMELEN): Define.
60656 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60658         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60660 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60662         [BZ #12714]
60663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60664         gethostbyname4_r when IPv6 results are possible.
60666 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60668         [BZ #12723]
60669         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60670         _PC_PIPE_BUF handling.
60672 2011-04-30  Bruno Haible  <bruno@clisp.org>
60674         [BZ #12717]
60675         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60676         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60677         to 'int'.
60678         * inet/getnameinfo.c (getnameinfo): Likewise.
60680 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60682         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60683         to groups setting in database lookup.
60684         * nss/nsswitch.conf: Add initgroups entry.
60686 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60688         [BZ #12685]
60689         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60690         mode string.
60691         Patch by Eric Blake <eblake@redhat.com>.
60693 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60695         * sunrpc/Makefile (need-export-routines): Add svc_run.
60696         (routines): Remove svc_run.
60697         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60698         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60699         * sunrpc/svc_run.c (svc_run): Likewise.
60700         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60702 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60704         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60705         problem in reallocation in last patch.
60707 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60709         * sunrpc/Makefile: Move inclusion of Rules.
60711 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60713         * nss/nss_files/files-initgroups.c: New file.
60714         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60715         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60716         _nss_files_initgroups_dyn.
60718 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60720         * elf/elf.h (R_ARM_IRELATIVE): Define.
60722 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60724         * po/ru.po: Update from translation team.
60726 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60728         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60729         dependencies.
60731 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60733         [BZ #12653]
60734         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60735         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60736         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60737         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60740 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60742         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60743         differing bytes.
60744         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60745         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60746         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60748 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60750         [BZ #12420]
60751         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60752         storing it.
60753         * stdlib/bug-getcontext.c: New file.
60754         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60756 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60758         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60759         instructions into .machine "z9-109".
60760         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60761         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60763 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60765         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60766         between environment variables and auxiliary vector.
60768 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60770         * Makefile: Add rules to build linkobj/libc.so.
60771         * include/libc-symbols.h: Define libc_hidden_nolink.
60772         * include/rpc/auth.h: Mark functions which are to be hidden.
60773         * include/rpc/auth_des.h: Likewise.
60774         * include/rpc/auth_unix.h: Likewise.
60775         * include/rpc/clnt.h: Likewise.
60776         * include/rpc/des_crypt.h: Likewise.
60777         * include/rpc/key_prot.h: Likewise.
60778         * include/rpc/pmap_clnt.h: Likewise.
60779         * include/rpc/pmap_prot.h: Likewise.
60780         * include/rpc/pmap_rmt.h: Likewise.
60781         * include/rpc/rpc_msg.h: Likewise.
60782         * include/rpc/svc.h: Likewise.
60783         * include/rpc/svc_auth.h: Likewise.
60784         * include/rpc/xdr.h: Likewise.
60785         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60786         * nss/Makefile: Likewise.
60787         * sunrpc/Makefile: Don't install headers.  Build library with normal
60788         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60789         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60790         for the compat linking library.  Remove use of INTDEF/INTUSE.
60791         * sunrpc/auth_none.c: Likewise.
60792         * sunrpc/auth_unix.c: Likewise.
60793         * sunrpc/authdes_prot.c: Likewise.
60794         * sunrpc/authuxprot.c: Likewise.
60795         * sunrpc/clnt_gen.c: Likewise.
60796         * sunrpc/clnt_perr.c: Likewise.
60797         * sunrpc/clnt_raw.c: Likewise.
60798         * sunrpc/clnt_simp.c: Likewise.
60799         * sunrpc/clnt_tcp.c: Likewise.
60800         * sunrpc/clnt_udp.c: Likewise.
60801         * sunrpc/clnt_unix.c: Likewise.
60802         * sunrpc/des_crypt.c: Likewise.
60803         * sunrpc/des_soft.c: Likewise.
60804         * sunrpc/get_myaddr.c: Likewise.
60805         * sunrpc/key_call.c: Likewise.
60806         * sunrpc/key_prot.c: Likewise.
60807         * sunrpc/netname.c: Likewise.
60808         * sunrpc/pm_getmaps.c: Likewise.
60809         * sunrpc/pm_getport.c: Likewise.
60810         * sunrpc/pmap_clnt.c: Likewise.
60811         * sunrpc/pmap_prot.c: Likewise.
60812         * sunrpc/pmap_prot2.c: Likewise.
60813         * sunrpc/pmap_rmt.c: Likewise.
60814         * sunrpc/publickey.c: Likewise.
60815         * sunrpc/rpc_cmsg.c: Likewise.
60816         * sunrpc/rpc_common.c: Likewise.
60817         * sunrpc/rpc_dtable.c: Likewise.
60818         * sunrpc/rpc_prot.c: Likewise.
60819         * sunrpc/rpc_thread.c: Likewise.
60820         * sunrpc/rtime.c: Likewise.
60821         * sunrpc/svc.c: Likewise.
60822         * sunrpc/svc_auth.c: Likewise.
60823         * sunrpc/svc_authux.c: Likewise.
60824         * sunrpc/svc_raw.c: Likewise.
60825         * sunrpc/svc_run.c: Likewise.
60826         * sunrpc/svc_simple.c: Likewise.
60827         * sunrpc/svc_tcp.c: Likewise.
60828         * sunrpc/svc_udp.c: Likewise.
60829         * sunrpc/svc_unix.c: Likewise.
60830         * sunrpc/svcauth_des.c: Likewise.
60831         * sunrpc/xcrypt.c: Likewise.
60832         * sunrpc/xdr.c: Likewise.
60833         * sunrpc/xdr_array.c: Likewise.
60834         * sunrpc/xdr_float.c: Likewise.
60835         * sunrpc/xdr_intXX_t.c: Likewise.
60836         * sunrpc/xdr_mem.c: Likewise.
60837         * sunrpc/xdr_rec.c: Likewise.
60838         * sunrpc/xdr_ref.c: Likewise.
60839         * sunrpc/xdr_sizeof.c: Likewise.
60840         * sunrpc/xdr_stdio.c: Likewise.
60842 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60844         [BZ #12650]
60845         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60846         * sysdeps/ia64/dl-tls.h: Likewise.
60847         * sysdeps/powerpc/dl-tls.h: Likewise.
60848         * sysdeps/s390/dl-tls.h: Likewise.
60849         * sysdeps/sh/dl-tls.h: Likewise.
60850         * sysdeps/sparc/dl-tls.h: Likewise.
60851         * sysdeps/x86_64/dl-tls.h: Likewise.
60852         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60854 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60856         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60857         rpath element also skip the following colon.
60858         (expand_dynamic_string_token): Add is_path parameter and pass
60859         down to DL_DST_REQUIRED and _dl_dst_substitute.
60860         (decompose_rpath): Call expand_dynamic_string_token with
60861         non-zero is_path.  Ignore empty rpaths.
60862         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60863         with zero is_path.
60865 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60868         Make cancelable.
60870 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60872         [BZ #12655]
60873         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60874         Patch by Filipe David Manana <fdmanana@apache.org>.
60876 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60878         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60879         Maintain aligned stack.
60880         (CHECK_RSP): Remove unused macro.
60882 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60884         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60885         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60887 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60889         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60891         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60893 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60895         [BZ #12518]
60896         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60897         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60898         * sysdeps/x86_64/memmove.c: New file.
60899         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60900         (memcpy): Renamed to ...
60901         (__new_memcpy): This.
60902         (memcpy): Provide GLIBC_2_14 memcpy.
60903         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60904         (memcpy): Provide GLIBC_2_2_5 memcpy.
60906 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60908         [BZ #12631]
60909         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60911 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60913         * misc/syncfs.c: New file.
60914         * misc/Makefile (routines): Add syncfs.
60915         * posix/unistd.h: Declare syncfs.
60916         * sysdeps/unix/syscalls.list: Add syncfs.
60918 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60920         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60921         open_by_handle_at.
60922         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60923         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60927         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60928         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60930 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60934         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60940         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60941         sync_file_range.c with -fexceptions.
60942         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60943         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60944         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60945         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60946         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60947         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60949         sync_file_range as cancellation point
60950         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60951         now a wrapper around __call_sync_file_range with cancellation handling.
60952         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60953         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60954         function name to __call_sync_file_range.
60955         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60956         Add call_sync_file_range.
60958 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60961         bits/timex.h.
60963 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60965         * iconv/iconv.h: Fix typo in comment.
60966         * io/fcntl.h: Likewise.
60967         * libio/stdio.h: Likewise.
60968         * posix/spawn.h: Likewise.
60969         * posix/unistd.h: Likewise.
60970         * stdlib/stdlib.h: Likewise.
60971         * time/time.h: Likewise.
60972         * wcsmbs/wchar.h: Likewise.
60974         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60975         open_by_handle): Add.
60976         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60977         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60978         Augment a few comments.
60979         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60980         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60981         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60983         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60984         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60985         open_by_handle.
60987         * io/fcntl.h (AT_EMPTY_PATH): Define.
60989 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60991         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60992         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60993         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60994         to...
60995         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60996         * Versions.def: Add GLIBC_2.14.
60997         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60998         Export.
61000 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61002         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61003         round counter.
61004         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61006 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61008         [BZ #12597]
61009         * string/test-strncmp.c (do_page_test): New function.
61010         (check2): Likewise.
61011         (test_main): Call check2.
61012         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61014 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61016         [BZ #12587]
61017         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61018         Handle cache information in CPU leaf 4.
61019         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61021 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61023         [BZ #12583]
61024         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61025         character representation.
61026         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61028 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61030         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61031         END(__isnan) to END(__isnanf) to match function entry point/label
61032         EALIGN(__isnanf,...).
61034 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61036         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61038 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61040         [BZ #12510]
61041         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61042         copy from the symbol referenced in the relocation to initialize the
61043         used variable.
61044         Patch by Piotr Bury <pbury@goahead.com>.
61045         * elf/Makefile: Add rules to build and tst-unique3.
61046         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61047         * elf/tst-unique3.cc: New file.
61048         * elf/tst-unique3.h: New file.
61049         * elf/tst-unique3lib.cc: New file.
61050         * elf/tst-unique3lib2.cc: New file.
61052         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61054 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61056         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61057         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61058         to _start.
61060 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61062         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61063         to-be-loaded object along a path to loader is ld.so.
61065 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61066             Ulrich Drepper  <drepper@gmail.com>
61068         * sysdeps/x86_64/memset.S: After aligning destination, code
61069         branches to different locations depending on the value of
61070         misalignment, when multiarch is enabled. Fix this.
61072 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61074         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61075         Set _x86_64_preferred_memory_instruction for AMD processsors.
61076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61077         Set bit_Prefer_SSE_for_memop for AMD processors.
61079 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61081         * libio/fmemopen.c (fmemopen): Optimize a bit.
61083 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61085         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61087 2011-03-03  Roland McGrath  <roland@redhat.com>
61089         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61091 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61093         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61094         __bzero_ultra1 instead of __memset_ultra1.
61096 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61097             Ulrich Drepper  <drepper@gmail.com>
61099         [BZ #12509]
61100         * include/link.h (struct link_map): Add l_orig_initfini.
61101         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61102         returning unsuccessfully.
61103         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61104         close of a file loaded at startup, restore the original l_initfini
61105         list.
61106         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61107         list, store the pointer.
61108         * elf/Makefile ($(objpfx)noload-mem): New rule.
61109         (noload-ENV): Define.
61110         (tests): Add $(objpfx)noload-mem.
61111         * elf/noload.c: Include <memcheck.h>.
61112         (main): Call mtrace.  Close all opened handles.
61114 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61116         [BZ #12454]
61117         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61118         dependencies are missing.
61120 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61122         Fix __if_freereq crash: Unlike the generic version which uses free,
61123         Hurd needs munmap.
61124         * sysdeps/mach/hurd/ifreq.h: New file.
61126 2011-01-27  Petr Baudis  <pasky@suse.cz>
61127             Ulrich Drepper  <drepper@gmail.com>
61129         [BZ 12445]#
61130         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61131         to extend_alloca().
61132         * stdio-common/bug23.c: New file.
61133         * stdio-common/Makefile (tests): Add bug23.
61135 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61136             Ulrich Drepper  <drepper@gmail.com>
61138         [BZ #12489]
61139         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61140         before performing relro protection.  At old place add assertion
61141         to make sure nothing changed.
61143 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61144             Glauber de Oliveira Costa  <glommer@gmail.com>
61146         * elf/elf.h: Add new ARM TLS relocs.
61148 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61151         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61152         cast from r3.
61153         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61154         'tests' variable.
61155         * sysdeps/wordsize-64/tst-writev.c: New file.
61157 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61159         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61160         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61161         insns in _dl_start to prevent a TOC reference before relocs are
61162         resolved.
61164 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61166         [BZ #12469]
61167         * Makeconfig: Remove RANLIB definition.
61168         * Makerules: Don't use RANLIB.
61169         * aclocal.m4: Remove ranlib test.
61170         * configure.in: No need to check for ranlib.
61171         * elf/rtld-Rules: Don't use RANLIB.
61173 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61175         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61176         protection macro.
61177         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61178         inclusion protection macro.
61180         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61181         SIGRTMIN and SIGRTMAX and print information in that case only when
61182         SIGRTMIN is defined.
61184 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61186         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61187         arginfo fn returning -1.
61189         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61190         and thousands string is zero terminated.
61192 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61195         sysdeps/unix/sysv/linux/bits/socket.h.
61197 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61199         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61200         (__CPU_COUNT): Remove old macros.
61201         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61202         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61203         (__CPU_ALLOC, __CPU_FREE): Add macros.
61204         (__sched_cpualloc, __sched_cpufree): Add declarations.
61206 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61208         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61209         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61210         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61211         (readdhstai): Return value of addhstaiX call.
61212         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61213         (addgrbyX): Return value returned by cache_addgr.
61214         (readdgrbyname): Return value returned by addgrbyX.
61215         (readdgrbygid): Likewise.
61216         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61217         (addpwbyX): Return value returned by cache_addpw.
61218         (readdpwbyname): Return value returned by addhstbyX.
61219         (readdpwbyuid): Likewise.
61220         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61221         (addservbyX): Return value returned by cache_addserv.
61222         (readdservbyname): Return value returned by addservbyX:
61223         (readdservbyport): Likewise.
61224         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61225         (addhstbyX): Return value returned by cache_addhst.
61226         (readdhstbyname): Return value returned by addhstbyX.
61227         (readdhstbyaddr): Likewise.
61228         (readdhstbynamev6): Likewise.
61229         (readdhstbyaddrv6): Likewise.
61230         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61231         (readdinitgroups): Return value returned by addinitgroupsX.
61232         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61233         (prune_cache): Keep track of timeout value of re-added entries.
61234         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61235         * nscd/nscd.h: Adjust prototypes of readd* functions.
61237 2011-02-04  Roland McGrath  <roland@redhat.com>
61239         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61240         (nis_stats): Likewise.
61241         * nis/nis_modify.c (nis_modify): Likewise.
61242         * nis/nis_remove.c (nis_remove): Likewise.
61243         * nis/nis_add.c (nis_add): Likewise.
61245         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61247         * posix/fnmatch_loop.c: Add some consts.
61249         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61251 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61253         [BZ #12460]
61254         * config.make.in (config-cflags-novzeroupper): Define.
61255         * configure.in: Substitute libc_cv_cc_novzeroupper.
61256         * elf/Makefile (AVX-CFLAGS): Define.
61257         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61258         (CFLAGS-tst-auditmod4a.c): Likewise.
61259         (CFLAGS-tst-auditmod4b.c): Likewise.
61260         (CFLAGS-tst-auditmod6b.c): Likewise.
61261         (CFLAGS-tst-auditmod6c.c): Likewise.
61262         (CFLAGS-tst-auditmod7b.c): Likewise.
61263         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61265 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61267         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61268         function to the callback.
61269         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61271 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61273         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61274         of errno.
61276 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61278         [BZ #11724]
61279         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61280         of constructors.
61281         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61282         of destructors.
61283         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61285         [BZ #11724]
61286         * elf/Makefile: Add rules to build and run new test.
61287         * elf/tst-initorder.c: New file.
61288         * elf/tst-initorder.exp: New file.
61289         * elf/tst-initordera1.c: New file.
61290         * elf/tst-initordera2.c: New file.
61291         * elf/tst-initordera3.c: New file.
61292         * elf/tst-initordera4.c: New file.
61293         * elf/tst-initorderb1.c: New file.
61294         * elf/tst-initorderb2.c: New file.
61295         * elf/tst-order-a1.c: New file.
61296         * elf/tst-order-a2.c: New file.
61297         * elf/tst-order-a3.c: New file.
61298         * elf/tst-order-a4.c: New file.
61299         * elf/tst-order-b1.c: New file.
61300         * elf/tst-order-b2.c: New file.
61301         * elf/tst-order-main.c: New file.
61302         New test case by George Gensure <werkt0@gmail.com>.
61304 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61307         decoding ACE if AI_CANONIDN.
61309 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61311         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61313 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61315         * version.h (RELEASE): Bump for 2.13 release.
61316         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61318         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61320         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61321         MADV_NOHUGEPAGE.
61322         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61323         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61324         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61325         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61326         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61329         * posix/getconf.c: Update copyright year.
61330         * catgets/gencat.c: Likewise.
61331         * csu/version.c: Likewise.
61332         * debug/catchsegv.sh: Likewise.
61333         * debug/xtrace.sh: Likewise.
61334         * elf/ldconfig.c: Likewise.
61335         * elf/ldd.bash.in: Likewise.
61336         * elf/sprof.c (print_version): Likewise.
61337         * iconv/iconv_prog.c: Likewise.
61338         * iconv/iconvconfig.c: Likewise.
61339         * locale/programs/locale.c: Likewise.
61340         * locale/programs/localedef.c: Likewise.
61341         * malloc/memusage.sh: Likewise.
61342         * malloc/mtrace.pl: Likewise.
61343         * nscd/nscd.c (print_version): Likewise.
61344         * nss/getent.c: Likewise.
61346         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61347         PF_CAIF, and PF_ALG.
61348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61350 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61352         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61353         (modules-names): Use them.
61354         (ifunc-test-modules, ifunc-pie-tests): Define.
61355         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61356         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61357         (test-extras): Likewise.
61358         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61359         $(compile-command.c).
61360         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61361         (all-built-dso): Define.
61362         (check-textrel.out, check-execstack.out): Depend on it.
61364         * configure.in: Don't override --enable-multi-arch.
61366 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61368         [BZ #6812]
61369         * nscd/hstcache.c (tryagain): Define.
61370         (cache_addhst): Return tryagain not notfound for temporary errors.
61371         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61372         failed.
61374 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61376         [BZ #10563]
61377         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61378         to make the syscall.
61379         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61381         [BZ #12378]
61382         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61383         and fall back to matching as normal character if the string ends before
61384         the matching ']' is found.  This is what POSIX requires.
61385         * posix/testfnm.c: Adjust test result.
61386         * posix/globtest.sh: Adjust test result.  Add new test.
61387         * posix/tst-fnmatch.input: Likewise.
61388         * posix/tst-fnmatch2.c: Add new test.
61390 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61392         * elf/Makefile (check-execstack): Revert last change.  Depend on
61393         check-execstack.h.
61394         (check-execstack.h): New target.
61395         (generated): Add check-execstack.h.
61396         * elf/check-execstack.c: Include "check-execstack.h".
61397         (main): Revert last change.
61398         (handle_file): Return zero if GNU_STACK is absent and
61399         DEFAULT_STACK_PERMS doesn't include PF_X.
61401 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61403         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61404         in child fails because the descriptor is already closed.
61405         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61406         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61407         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61409         [BZ #12397]
61410         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61411         syscall.
61413         [BZ #10484]
61414         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61415         temporary buffer used to handle multi lookups locally.
61416         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61418 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61420         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61421         loader is ld.so.
61423 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61425         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61426         alignment for SSE2.
61428 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61430         [BZ #12394]
61431         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61432         characters.  When rounding increased number of integer digits recompute
61433         number of groups.
61434         * stdio-common/tst-grouping.c: New file.
61435         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61437 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61439         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61440         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61442         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61443         void.
61444         * bits/select.h: Likewise.
61446 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61448         * po/ja.po: Update from translation team.
61450 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61452         [BZ #11155]
61453         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61454         implementation just like for lxstat, fxstatat, et al.
61456 2010-12-27  Jim Meyering  <meyering@redhat.com>
61458         [BZ #12348]
61459         * posix/regexec.c (build_trtable): Return failure indication upon
61460         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61462 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61464         [BZ #12201]
61465         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61466         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61467         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61468         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61470         [BZ #12207]
61471         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61473         [BZ #12204]
61474         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61475         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61477 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61479         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61480         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61481         script has SORT_BY_INIT_PRIORITY.
61482         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61483         NO_CTORS_DTORS_SECTIONS is defined.
61484         * elf/soinit.c: Likewise.
61485         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61486         NO_CTORS_DTORS_SECTIONS is defined.
61487         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61488         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61489         * sysdeps/sh/init-first.c: Likewise.
61490         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61492 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61494         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61495         always use the slow path.
61497 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61499         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61500         similar rule which adds the sysdep directories to the header search in
61501         order to pick up the correct platform stackinfo.h.
61502         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61503         perform test if it is, otherwise return successfully without testing.
61504         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61505         DEFAULT_STACK_PERMS define in stackinfo.h.
61506         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61507         defined in stackinfo.h.
61508         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61509         DEFAULT_STACK_PERMS defined in stackinfo.h.
61510         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61511         * sysdeps/ia64/stackinfo.h: Likewise.
61512         * sysdeps/s390/stackinfo.h: Likewise.
61513         * sysdeps/sh/stackinfo.h: Likewise.
61514         * sysdeps/sparc/stackinfo.h: Likewise.
61515         * sysdeps/x86_64/stackinfo.h: Likewise.
61516         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61517         PF_X for powerpc64.  Retain PF_X for powerpc32.
61519 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61521         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61522         accurately.
61523         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61524         GETDENTS_64BIT_ALIGNED.
61526 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61528         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61530 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61532         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61533         _GNU_SOURCE.
61535         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61536         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61537         Remove __restrict.
61538         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61539         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61541 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61543         [BZ #11655]
61544         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61545         are initialized.
61547 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61549         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61551 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61553         * po/it.po: Update from translation team.
61555 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61558         unused codes.
61560 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61562         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61564 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61566         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61567         specially.
61568         (gaih_getanswer_slice): Likewise.
61570 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61574 2010-05-31  Petr Baudis  <pasky@suse.cz>
61576         [BZ #11149]
61577         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61578         silently even in the chroot mode.
61580 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61582         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61583         last patch a bit.  Pretty printing
61585 2010-05-31  Petr Baudis <pasky@suse.cz>
61587         [BZ #10085]
61588         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61589         initialization of skip_initgroups_dyn.
61591 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61593         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61596 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61598         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61600 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61602         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61603         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61604         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61605         ($(objpfx)tst-fnmatch-mem): New rule.
61606         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61607         * posix/tst-fnmatch.c (main): Call mtrace.
61609 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61612         Support Intel processor model 6 and model 0x2c.
61614 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61616         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61617           signed comparison.
61619 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61621         [BZ #12205]
61622         * string/test-strncasecmp.c (check_result): New function.
61623         (do_one_test): Use it.
61624         (check1): New function.
61625         (test_main): Use it.
61626         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61627         Support strcasecmp and strncasecmp.
61629 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61631         [BZ #12194]
61632         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61635 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61637         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61638         IFUNC support.
61639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61640         memset-x86-64.
61641         * sysdeps/x86_64/multiarch/bzero.S: New file.
61642         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61643         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61644         * sysdeps/x86_64/multiarch/memset.S: New file.
61645         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61647         Set bit_Prefer_SSE_for_memop for Intel processors.
61648         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61649         Define.
61650         (index_Prefer_SSE_for_memop): Define.
61651         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61653 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61655         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61656         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61658 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61660         [BZ #12191]
61661         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61662         (__x86_64_raw_data_cache_size_half): Likewise.
61663         (__x86_64_raw_shared_cache_size): Likewise.
61664         (__x86_64_raw_shared_cache_size_half): Likewise.
61666         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61667         (__x86_64_raw_data_cache_size_half): Likewise.
61668         (__x86_64_raw_shared_cache_size): Likewise.
61669         (__x86_64_raw_shared_cache_size_half): Likewise.
61670         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61671         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61672         and __x86_64_raw_shared_cache_size_half.  Round
61673         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61674         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61675         to multiple of 256 bytes.
61677 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61679         [BZ #12167]
61680         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61681         of inacessible symlinks.  Verify result of symlink before returning it.
61682         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61683         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61685 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61687         * math/math.h (isinf): Fix typo in comment.
61689 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61691         * po/da.po: Update from translation team.
61693 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61695         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61696         is added to the list.
61698 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61699             Ulrich Drepper  <drepper@gmail.com>
61701         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61702         the global list here.  Move code to...
61703         (_dl_add_to_namespace_list): ...here.  New function.
61704         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61705         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61706         * elf/dl-load.c (lose): Don't remove the element from the list.
61707         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61708         (_dl_map_object): Likewise.
61710 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61712         [BZ #12159]
61713         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61714         into all bytes of SSE register.
61715         Patch by Richard Li <richardpku@gmail.com>.
61717 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61719         [BZ #12140]
61720         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61721         perturbing.
61723 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61725         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61726         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61727         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61728         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61730         submachine.
61731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61733 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61735         * include/dlfcn.h (__RTLD_SECURE): Define.
61736         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61737         mode & __RTLD_SECURE instead.
61738         (open_path): Rename preloaded parameter to secure.
61739         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61740         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61741         * elf/dl-deps.c (openaux): Likewise.
61742         * elf/rtld.c (struct map_args): Remove is_preloaded.
61743         (map_doit): Don't use it.
61744         (dl_main): Likewise.
61745         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61746         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61748 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61750         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61751         (sysd-rules-targets): Remove duplicates.
61752         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61753         rtld-%.$o dependency.
61755 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61757         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61758         _dl_map_object do it.
61760 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61762         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61763         fast fma builtins, define the macros in the C99 standard.
61764         (FP_FAST_FMAF): Likewise.
61765         (FP_FAST_FMAL): Likewise.
61766         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61768         * bits/mathdef.h: Update copyright year.
61769         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61771 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61773         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61774         builtins, define the macros in the C99 standard.
61775         (FP_FAST_FMAF): Likewise.
61776         (FP_FAST_FMAL): Likewise.
61777         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61778         multiply/add.
61779         (FP_FAST_FMAF): Likewise.
61781 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61783         [BZ #3268]
61784         * math/libm-test.inc (fma_test): Some new testcases.
61785         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61786         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61787         y and infinite z.  Do multiplication by C already in long double.
61788         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61790         y and infinite z.  Do bitwise or of inexact bit into u.d.
61791         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61792         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61793         * sysdeps/i386/fpu/s_fma.S: Removed.
61794         * sysdeps/i386/fpu/s_fmal.S: Removed.
61796 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61798         [BZ #3268]
61799         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61801         computation is not scheduled after fetestexcept.  Fix value
61802         of minimum denormal long double.
61804 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61806         [BZ #3268]
61807         * math/libm-test.inc (fma_test): Add some more tests.
61808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61809         correctly.
61811 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61813         * scripts/data/localplt-s390-linux-gnu.data: New file.
61814         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61816 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61818         [BZ #3268]
61819         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61820         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61821         instead of dbl-64.
61822         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61823         inlines.
61824         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61826         if one of x and y is very large and the other is subnormal.
61827         * sysdeps/s390/fpu/s_fmaf.c: New file.
61828         * sysdeps/s390/fpu/s_fma.c: New file.
61829         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61830         * sysdeps/powerpc/fpu/s_fma.S: New file.
61831         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61832         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61833         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61835 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61837         [BZ #3268]
61838         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61839         fma tests.
61840         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61841         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61842         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61843         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61844         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61845         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61846         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61848 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61850         [BZ #12078]
61851         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61852         * posix/bug-regex31.input: Add test case.
61854 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61856         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61857         * posix/bug-regex31.input: New file.
61859         [BZ #12078]
61860         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61861         (parse_sub_exp): Fix last change, use postorder.
61863         * posix/bug-regex31.c: New file.
61864         * posix/Makefile: Add rules to build and run bug-regex31.
61866         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61868         [BZ #12078]
61869         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61871         [BZ #12108]
61872         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61873         to have entries in sys_siglist.
61875         [BZ #12093]
61876         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61877         be NULL.
61879 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61881         [BZ #3268]
61882         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61883         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61884         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61885         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61886         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61887         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61888         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61889         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61890         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61891         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61892         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61893         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61894         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61895         * math/ftestexcept.c (fetestexcept): Likewise.
61896         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61897         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61898         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61899         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61900         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61901         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61902         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61904 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61906         [BZ #12107]
61907         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61908         newline.
61910 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61912         * string/bug-strstr1.c: New file.
61913         * string/Makefile: Add rules to build and run bug-strstr1.
61915 2010-10-05  Eric Blake  <eblake@redhat.com>
61917         [BZ #12092]
61918         * string/str-two-way.h (two_way_long_needle): Always clear memory
61919         when skipping input due to the shift table.
61921 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61923         [BZ #12005]
61924         * malloc/mcheck.c: Handle large requests.
61926         [BZ #12077]
61927         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61928         for strncmp and strncasecmp.
61929         * string/stratcliff.c: Add tests for strcmp and strncmp.
61930         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61932 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61934         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61935         __set_fpscr.
61937 2010-09-30  Andreas Jaeger  <aj@suse.de>
61939         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61940         (CGROUP_SUPER_MAGIC): Define.
61941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61942         Handle btrfs and cgroup file systems.
61943         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61944         Likewise.
61946 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61948         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61949         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61951 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61953         [BZ #12067]
61954         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61955         trying to locate the ELF header.
61957 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61959         [BZ #11611]
61960         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61961         Mask out sign-bit copies when constructing f_fsid.
61963 2010-09-24  Petr Baudis <pasky@suse.cz>
61965         * debug/stack_chk_fail_local.c: Add missing licence exception.
61966         * debug/warning-nop.c: Likewise.
61968 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61970         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61971         implementing getdents64 using getdents syscall, set d_type if
61972         __ASSUME_GETDENTS32_D_TYPE.
61974 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61976         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61977         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61979 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61981         [BZ #12037]
61982         * posix/unistd.h: Undo change of feature selection for ftruncate from
61983         2010-01-11.
61985 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61987         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61988         detection.
61990 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61992         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61993         fanotify_mark.
61994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61996 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61998         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61999         variables after CHECK_SP call.
62000         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62002 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62003             Ulrich Drepper  <drepper@redhat.com>
62005         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62006         re-relocationg ld.so.
62007         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62008         _dl_init_paths call.
62009         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62010         here anymore.
62012 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62014         * resolv/res_init.c (__res_vinit): Count the default server we added.
62016 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62017             Ulrich Drepper  <drepper@redhat.com>
62019         [BZ #11968]
62020         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62021         (____longjmp_chk): Use %ebx for saving value across system call.
62022         Add unwind info.
62024 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62026         * manual/Makefile: Don't mix pattern rules with normal rules.
62028 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62030         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62031         operation.
62032         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62033         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62034         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62035         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62037         Likewise.
62039 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62041         [BZ #11979]
62042         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62043         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62045 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62047         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62048         * sysdeps/x86_64/addmul_1.S: Likewise.
62049         * sysdeps/x86_64/lshift.S: Likewise.
62050         * sysdeps/x86_64/mul_1.S: Likewise.
62051         * sysdeps/x86_64/rshift.S: Likewise.
62052         * sysdeps/x86_64/sub_n.S: Likewise.
62053         * sysdeps/x86_64/submul_1.S: Likewise.
62055 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62057         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62058         Define __sched_param instead of SCHED_* and sched_param when
62059         <bits/sched.h> is included with __need_schedparam defined.
62060         * bits/sched.h [__need_schedparam]
62061         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62062         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62063         (__defined_schedparam): Define to 1.
62064         (__sched_param): New structure, identical to sched_param.
62065         (__need_schedparam): Undefine.
62067 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62069         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62070         (epoll_create1): Declare.
62072         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62074 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62076         [BZ #7066]
62077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62078         shifting retval into place.
62080 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62082         * nis/rpcsvc/nis.h: Update copyright notice.
62083         * nis/rpcsvc/nis.x: Likewise.
62084         * nis/rpcsvc/nis_callback.h: Likewise.
62085         * nis/rpcsvc/nis_callback.x: Likewise.
62086         * nis/rpcsvc/nis_object.x: Likewise.
62087         * nis/rpcsvc/nis_tags.h: Likewise.
62088         * nis/rpcsvc/yp.h: Likewise.
62089         * nis/rpcsvc/yp.x: Likewise.
62090         * nis/rpcsvc/ypupd.h: Likewise.
62091         * nis/yp_xdr.c: Likewise.
62092         * nis/ypupdate_xdr.c: Likewise.
62094         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62095         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62096         (pmap_getport): Use __libc_rpc_getport.
62097         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62098         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62099         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62101 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62104         fanotify_mark.
62106 2010-08-27  Roland McGrath  <roland@redhat.com>
62108         * sysdeps/i386/i686/multiarch/Makefile
62109         (CFLAGS-varshift.c): New variable.
62111 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62113         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62114         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62118         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62120 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62122         * sysdeps/x86_64/strlen.S: Unroll the loop.
62123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62124         strlen-sse2 strlen-sse2-bsf.
62125         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62126         __strlen_no_bsf if bit_Slow_BSF is set.
62127         (__strlen_sse42): Removed.
62128         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62129         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62131 2010-08-25  Roland McGrath  <roland@redhat.com>
62133         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62134         * sysdeps/x86_64/multiarch/varshift.c: New file.
62135         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62136         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62137         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62138         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62140 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62143         strlen-sse2 strlen-sse2-bsf.
62144         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62145         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62146         (__strlen_sse2): Removed.
62147         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62148         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62150         bit_Slow_BSF for Atom.
62151         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62152         (index_Slow_BSF): Define.
62153         (HAS_SLOW_BSF): Define.
62155 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62157         [BZ #10851]
62158         * resolv/res_init.c (__res_vinit): When no server address at all
62159         is given default to loopback.
62161 2010-08-24  Roland McGrath  <roland@redhat.com>
62163         * configure.in: Remove config-name.h generation.
62164         * configure: Regenerated.
62165         * config-name.in: File removed.
62166         * scripts/config-uname.sh: New file.
62167         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62168         ($(objdir)config-name.h): New target.
62170         * sunrpc/rpc_parse.h: Avoid nested comment.
62172 2010-08-24  Richard Henderson  <rth@redhat.com>
62173             Ulrich Drepper  <drepper@redhat.com>
62174             H.J. Lu  <hongjiu.lu@intel.com>
62176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62178         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62179         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62180         _mm_alignr_epi8 with _mm_loadu_si128.
62181         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62182         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62183         (__m128i_shift_right): Removed.
62184         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62185         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62186         * sysdeps/x86_64/multiarch/varshift.h: New file.
62187         * sysdeps/x86_64/multiarch/varshift.S: New file.
62189 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62191         * configure.in: Move assembler checks to before sysdep dir checking.
62193 2010-08-20  Petr Baudis  <pasky@suse.cz>
62195         * LICENSES: Sync the sunrpc license.
62197 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62199         * sunrpc/auth_des.c: Update copyright notice once again.
62200         * sunrpc/auth_none.c: Likewise.
62201         * sunrpc/auth_unix.c: Likewise.
62202         * sunrpc/authdes_prot.c: Likewise.
62203         * sunrpc/authuxprot.c: Likewise.
62204         * sunrpc/bindrsvprt.c: Likewise.
62205         * sunrpc/clnt_gen.c: Likewise.
62206         * sunrpc/clnt_perr.c: Likewise.
62207         * sunrpc/clnt_raw.c: Likewise.
62208         * sunrpc/clnt_simp.c: Likewise.
62209         * sunrpc/clnt_tcp.c: Likewise.
62210         * sunrpc/clnt_udp.c: Likewise.
62211         * sunrpc/clnt_unix.c: Likewise.
62212         * sunrpc/des_crypt.c: Likewise.
62213         * sunrpc/des_soft.c: Likewise.
62214         * sunrpc/get_myaddr.c: Likewise.
62215         * sunrpc/getrpcport.c: Likewise.
62216         * sunrpc/key_call.c: Likewise.
62217         * sunrpc/key_prot.c: Likewise.
62218         * sunrpc/openchild.c: Likewise.
62219         * sunrpc/pm_getmaps.c: Likewise.
62220         * sunrpc/pm_getport.c: Likewise.
62221         * sunrpc/pmap_clnt.c: Likewise.
62222         * sunrpc/pmap_prot.c: Likewise.
62223         * sunrpc/pmap_prot2.c: Likewise.
62224         * sunrpc/pmap_rmt.c: Likewise.
62225         * sunrpc/rpc/auth.h: Likewise.
62226         * sunrpc/rpc/auth_unix.h: Likewise.
62227         * sunrpc/rpc/clnt.h: Likewise.
62228         * sunrpc/rpc/des_crypt.h: Likewise.
62229         * sunrpc/rpc/key_prot.h: Likewise.
62230         * sunrpc/rpc/netdb.h: Likewise.
62231         * sunrpc/rpc/pmap_clnt.h: Likewise.
62232         * sunrpc/rpc/pmap_prot.h: Likewise.
62233         * sunrpc/rpc/pmap_rmt.h: Likewise.
62234         * sunrpc/rpc/rpc.h: Likewise.
62235         * sunrpc/rpc/rpc_des.h: Likewise.
62236         * sunrpc/rpc/rpc_msg.h: Likewise.
62237         * sunrpc/rpc/svc.h: Likewise.
62238         * sunrpc/rpc/svc_auth.h: Likewise.
62239         * sunrpc/rpc/types.h: Likewise.
62240         * sunrpc/rpc/xdr.h: Likewise.
62241         * sunrpc/rpc_clntout.c: Likewise.
62242         * sunrpc/rpc_cmsg.c: Likewise.
62243         * sunrpc/rpc_common.c: Likewise.
62244         * sunrpc/rpc_cout.c: Likewise.
62245         * sunrpc/rpc_dtable.c: Likewise.
62246         * sunrpc/rpc_hout.c: Likewise.
62247         * sunrpc/rpc_main.c: Likewise.
62248         * sunrpc/rpc_parse.c: Likewise.
62249         * sunrpc/rpc_parse.h: Likewise.
62250         * sunrpc/rpc_prot.c: Likewise.
62251         * sunrpc/rpc_sample.c: Likewise.
62252         * sunrpc/rpc_scan.c: Likewise.
62253         * sunrpc/rpc_scan.h: Likewise.
62254         * sunrpc/rpc_svcout.c: Likewise.
62255         * sunrpc/rpc_tblout.c: Likewise.
62256         * sunrpc/rpc_util.c: Likewise.
62257         * sunrpc/rpc_util.h: Likewise.
62258         * sunrpc/rpcinfo.c: Likewise.
62259         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62260         * sunrpc/rpcsvc/key_prot.x: Likewise.
62261         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62262         * sunrpc/rpcsvc/mount.x: Likewise.
62263         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62264         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62265         * sunrpc/rpcsvc/rex.x: Likewise.
62266         * sunrpc/rpcsvc/rstat.x: Likewise.
62267         * sunrpc/rpcsvc/rusers.x: Likewise.
62268         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62269         * sunrpc/rpcsvc/spray.x: Likewise.
62270         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62271         * sunrpc/rtime.c: Likewise.
62272         * sunrpc/svc.c: Likewise.
62273         * sunrpc/svc_auth.c: Likewise.
62274         * sunrpc/svc_authux.c: Likewise.
62275         * sunrpc/svc_raw.c: Likewise.
62276         * sunrpc/svc_run.c: Likewise.
62277         * sunrpc/svc_simple.c: Likewise.
62278         * sunrpc/svc_tcp.c: Likewise.
62279         * sunrpc/svc_udp.c: Likewise.
62280         * sunrpc/svc_unix.c: Likewise.
62281         * sunrpc/svcauth_des.c: Likewise.
62282         * sunrpc/xcrypt.c: Likewise.
62283         * sunrpc/xdr.c: Likewise.
62284         * sunrpc/xdr_array.c: Likewise.
62285         * sunrpc/xdr_float.c: Likewise.
62286         * sunrpc/xdr_mem.c: Likewise.
62287         * sunrpc/xdr_rec.c: Likewise.
62288         * sunrpc/xdr_ref.c: Likewise.
62289         * sunrpc/xdr_sizeof.c: Likewise.
62290         * sunrpc/xdr_stdio.c: Likewise.
62292         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62293         handling.
62295 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62297         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62299 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62301         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62302         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62303         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62304         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62305         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62306         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62307         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62308         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62309         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62310         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62311         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62312         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62313         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62314         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62316 2010-07-26  Anton Blanchard  <anton@samba.org>
62318         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62319         * malloc/arena.c (heap_trim): Likewise.
62321 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62323         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62324         here.  Not...
62325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62326         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62328 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62330         * sysdeps/i386/elf/Makefile: New file.
62332 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62334         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62335         from fanotify_init.
62336         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62337         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62339 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62341         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62342         of strncasecmp_l.
62343         * sysdeps/multiarch/strcmp.S: Likewise.
62345 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62347         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62348         strncase_l-nonascii.
62349         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62350         Add strncase_l-ssse3.
62351         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62352         * sysdeps/x86_64/strcmp.S: Likewise.
62353         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62354         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62355         * sysdeps/x86_64/strncase.S: New file.
62356         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62357         * sysdeps/x86_64/strncase_l.S: New file.
62358         * string/Makefile (strop-tests): Add strncasecmp.
62359         * string/test-strncasecmp.c: New file.
62361         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62362         warning.
62364         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62365         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62367 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62369         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62371 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62373         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62374         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62375         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62377 2010-05-01  Alan Modra  <amodra@gmail.com>
62379         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62380         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62381         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62382         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62383         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62384         tidying.  Don't tail-call __sigjmp_save for static lib.
62385         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62386         save location.
62387         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62388         (CALL_MCOUNT): Add eh info, and nop after bl.
62389         (TAIL_CALL_SYSCALL_ERROR): New macro.
62390         (PSEUDO_RET): Use it.
62391         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62392         Correct save location of integer regs and cr.
62393         (_dl_profile_resolve): Correct cr save location.  Delete nops
62394         after bl when SHARED.  Reduce cfi size a little by better
62395         placement of cfi directives.
62396         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62397         make a stack frame.  Instead use parm save area as a temp.
62398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62399         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62401         Don't make a stack frame for parent, use parm save area.
62402         Increase child stack frame to 112 bytes.  Don't save unused reg,
62403         and adjust reg usage.  Set up cfi on error recovery and
62404         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62406         (__makecontext): Add dummy nop after jump to exit.
62407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62408         Use correct parm save area and cr save, reduce stack frame.
62409         Correct cfi for possible PSEUDO_RET frame setup.
62410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62411         Branch to local label emitted by PSEUDO_RET rather than
62412         __syscall_error.
62414 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62416         [BZ #11904]
62417         * locale/programs/locale.c (print_assignment): New function.
62418         (show_locale_vars): Use it.
62420 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62422         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62423         field.
62424         (struct statfs64): Likewise.
62425         (_STATFS_F_FLAGS): Define.
62426         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62428         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62429         (ST_VALID): Define locally.
62430         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62431         __statvfs_getflags, use the provided value.
62432         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62433         __ASSUME_STATFS_F_FLAGS.
62435         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62437         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62438         Add sys/fanotify.h.
62439         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62440         fanotify_mask for GLIBC_2.13.
62441         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62442         fanotify_init and fanotify_mark.
62443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62444         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62446         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62447         Add prlimit.
62448         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62449         prlimit64 for GLIBC_2.13.
62450         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62451         prlimit64.
62452         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62453         syscall.
62454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62456         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62457         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62458         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62459         add prlimit alias.
62460         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62462         [BZ #11903]
62463         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62464         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62466         * nss/Makefile: Add rules to build and run tst-nss-test1.
62467         * shlib-versions: Add entry for libnss_test1.
62468         * nss/nss_test1.c: New file.
62469         * nss/tst-nss-test1.c: New file.
62471         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62472         (__nss_configure_lookup): Set appropriate entry in
62473         __nss_configure_lookup to true.
62474         * nss/nsswitch.h: Define enum with indeces of databases in
62475         databases and __nss_database_custom arrays.  Declare
62476         __nss_database_custom.
62477         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62478         to avoid using nscd when custom rules are installed.
62479         * nss/getXXbyYY_r.c: Likewise.
62480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62482         * nss/nss_files/files-parse.c: Whitespace fixes.
62484 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62486         [BZ #11883]
62487         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62488         * posix/fnmatch_loop.c: Likewise.
62490 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62492         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62493         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62494         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62495         * Versions.def [GLIBC_2.13]: Add.
62497 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62500         Also fail if tpwd after pwuid call is NULL.
62502 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62504         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62505         when converting to ms.
62507 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62509         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62510         EOPNOTSUPP errors with ENOTTY.
62511         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62512         EOPNOTSUPP errors with ENOTTY.
62514 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62516         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62517         Add strcasecmp_l-ssse3.
62518         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62519         strcasecmp.
62520         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62521         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62522         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62524 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62526         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62528         * string/Makefile (strop-tests): Add strcasecmp.
62529         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62530         strcasecmp_l-nonascii.
62531         (gen-as-const-headers): Add locale-defines.sym.
62532         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62533         * sysdeps/x86_64/strcasecmp.S: New file.
62534         * sysdeps/x86_64/strcasecmp_l.S: New file.
62535         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62536         * sysdeps/x86_64/locale-defines.sym: New file.
62537         * string/test-strcasecmp.c: New file.
62539         * string/test-strcasestr.c: Test both ends of the range of characters.
62540         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62542 2010-07-29  Roland McGrath  <roland@redhat.com>
62544         [BZ #11856]
62545         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62547 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62549         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62550         for ld.so.
62552 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62554         * manual/memory.texi (Malloc Tunable Parameters): Document
62555         M_PERTURB.
62557 2010-07-26  Roland McGrath  <roland@redhat.com>
62559         [BZ #11840]
62560         * configure.in (-fgnu89-inline check): Set and substitute
62561         gnu89_inline, not libc_cv_gnu89_inline.
62562         * configure: Regenerated.
62563         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62565 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62567         * string/test-strnlen.c: New file.
62568         * string/Makefile (strop-tests): Add strnlen.
62569         * string/tester.c (test_strnlen): Add a few more test cases.
62570         * string/tst-strlen.c: Better error reporting.
62572         * sysdeps/x86_64/strnlen.S: New file.
62574 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62577         lower-latency instructions.
62579 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62581         * string/test-strcasestr.c: New file.
62582         * string/test-strstr.c: New file.
62583         * string/Makefile (strop-tests): Add strstr and strcasestr.
62584         * string/str-two-way.h: Don't undefine MAX.
62585         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62587 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62590         strcasestr-nonascii.
62591         (CFLAGS-strcasestr-nonascii.c): Define.
62592         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62593         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62594         Remove unused attribute.
62596 2010-07-20  Roland McGrath  <roland@redhat.com>
62598         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62599         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62600         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62601         like LD_HWCAP_MASK can disable hwcaps.
62603 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62605         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62607 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62609         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62610         call in strcasestr.
62611         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62612         __strcasestr_sse42_nonascii.
62613         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62614         strcasestr-nonascii.c.
62615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62617 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62619         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62620         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62621         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62622         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62624 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62626         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62627         fcntl.
62629 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62631         [BZ #11577]
62632         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62633         dl_signal_cerror.
62635 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62637         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62638         _PC_PIPE_BUF using F_GETPIPE_SZ.
62640 2010-07-05  Roland McGrath  <roland@redhat.com>
62642         * manual/arith.texi (Rounding Functions): Fix rint description
62643         implicit in round description.
62645 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62647         * elf/Makefile: Fix linking for a few tests to make recent linker
62648         happy.
62650 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62653         $(common-objpfx)libc_nonshared.a.
62655 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62657         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62658         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62659         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62660         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62661         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62662         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62663         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62664         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62679         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62680         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62681         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62682         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62683         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62684         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62685         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62686         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62687         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62688         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62689         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62690         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62706 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62708         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62709         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62710         * string/memmove.c (memmove): Renamed to ...
62711         (MEMMOVE): ...this.  Default to memmove.
62712         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62713         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62714         (END_CHK): Define.
62715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62716         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62717         mempcpy-ssse3-back memmove-ssse3-back.
62718         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62720         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62721         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62722         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62723         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62724         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62725         * sysdeps/x86_64/multiarch/memmove.c: New file.
62726         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62727         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62728         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62729         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62730         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62731         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62732         Define.
62733         (index_Fast_Copy_Backward): Define.
62734         (HAS_ARCH_FEATURE): Define.
62735         (HAS_FAST_REP_STRING): Define.
62736         (HAS_FAST_COPY_BACKWARD): Define.
62738 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62741         Restore proper fallback handling.
62743 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62745         [BZ #11701]
62746         * posix/group_member.c (__group_member): Correct checking loop.
62748         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62749         OOM in getpwuid_r correctly.  Return error number when the caller
62750         should return, otherwise -1.
62751         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62752         call returning > 0 value.
62753         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62755 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62757         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62758         libc_nonshared.a from targets in modules-names.
62760 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62762         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62763         requires it.
62765 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62767         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62768         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62769         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62770         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62772 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62774         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62776 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62778         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62779         and F_GETPIPE_SZ.
62780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62787 2010-06-14  Roland McGrath  <roland@redhat.com>
62789         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62791 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62793         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62794         __REDIRECT followed by __THROW.
62795         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62796         * posix/getopt.h (getopt): Likewise.
62798 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62800         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62801         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62802         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62803         in AT_FLAGS.
62804         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62805         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62807 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62809         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62811 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62813         [BZ #11640]
62814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62815         Properly check family and model.
62817 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62819         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62821 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62823         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62825 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62827         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62828         symbol reference.
62830 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62832         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62833         symbol reference.
62835 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62837         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62838         and internal_recvmmsg.
62839         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62840         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62841         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62842         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62844         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62845         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62846         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62848 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62850         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62852 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62854         POWER7 optimizations.
62855         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62856         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62858 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62860         * version.h: Update for 2.13 development version.
62862 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62864         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62865         exceptions.  Return 0.
62867 2010-05-07  Roland McGrath  <roland@redhat.com>
62869         * elf/ldconfig.c (main): Add a const.
62871 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62873         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62874         (args_options): Add no-idn option.
62875         (ahosts_keys_int): Add idn_flags to ai_flags.
62876         (parse_option): Handle 'i' option to clear idn_flags.
62878         * malloc/malloc.c (_int_free): Possible race in the most recently
62879         added check.  Only act on the data if no current modification
62880         happened.
62882 See ChangeLog.17 for earlier changes.